otx2_cptlfs_info
struct otx2_cptlfs_info *lfs = &cptvf->lfs;
void cn10k_cpt_lmtst_free(struct pci_dev *pdev, struct otx2_cptlfs_info *lfs)
struct otx2_cptlfs_info *lfs, u32 size)
void cn10k_cpt_lmtst_free(struct pci_dev *pdev, struct otx2_cptlfs_info *lfs);
struct otx2_cptlfs_info;
int otx2_cpt_attach_rscrs_msg(struct otx2_cptlfs_info *lfs);
int otx2_cpt_detach_rsrcs_msg(struct otx2_cptlfs_info *lfs);
int otx2_cpt_msix_offset_msg(struct otx2_cptlfs_info *lfs);
int otx2_cpt_lf_reset_msg(struct otx2_cptlfs_info *lfs, int slot);
int otx2_cpt_lmtst_tbl_setup_msg(struct otx2_cptlfs_info *lfs);
int otx2_cpt_attach_rscrs_msg(struct otx2_cptlfs_info *lfs)
int otx2_cpt_detach_rsrcs_msg(struct otx2_cptlfs_info *lfs)
int otx2_cpt_msix_offset_msg(struct otx2_cptlfs_info *lfs)
int otx2_cpt_lf_reset_msg(struct otx2_cptlfs_info *lfs, int slot)
int otx2_cpt_lmtst_tbl_setup_msg(struct otx2_cptlfs_info *lfs)
static int cptlf_set_ctx_ilen(struct otx2_cptlfs_info *lfs, int ctx_ilen)
static void cptlf_hw_init(struct otx2_cptlfs_info *lfs)
static void cptlf_hw_cleanup(struct otx2_cptlfs_info *lfs)
static void cptlf_set_misc_intrs(struct otx2_cptlfs_info *lfs, u8 enable)
static void cptlf_set_done_intrs(struct otx2_cptlfs_info *lfs, u8 enable)
void otx2_cptlf_unregister_misc_interrupts(struct otx2_cptlfs_info *lfs)
void otx2_cptlf_unregister_done_interrupts(struct otx2_cptlfs_info *lfs)
static int cptlf_do_register_interrrupts(struct otx2_cptlfs_info *lfs,
int otx2_cptlf_register_misc_interrupts(struct otx2_cptlfs_info *lfs)
static void cptlf_set_done_time_wait(struct otx2_cptlfs_info *lfs,
int otx2_cptlf_register_done_interrupts(struct otx2_cptlfs_info *lfs)
void otx2_cptlf_free_irqs_affinity(struct otx2_cptlfs_info *lfs)
int otx2_cptlf_set_irqs_affinity(struct otx2_cptlfs_info *lfs)
int otx2_cptlf_init(struct otx2_cptlfs_info *lfs, u8 eng_grp_mask, int pri,
static void cptlf_set_done_num_wait(struct otx2_cptlfs_info *lfs, int num_wait)
void otx2_cptlf_shutdown(struct otx2_cptlfs_info *lfs)
struct otx2_cptlfs_info *lfs = lf->lfs;
struct otx2_cptlfs_info *lfs = lf->lfs;
static int cptlf_set_grp_and_pri(struct otx2_cptlfs_info *lfs,
struct otx2_cptlfs_info *lfs)
struct otx2_cptlfs_info *lfs)
struct otx2_cptlfs_info *lfs)
static inline void otx2_cptlf_set_iqueues_size(struct otx2_cptlfs_info *lfs)
static inline void otx2_cptlf_disable_iqueues(struct otx2_cptlfs_info *lfs)
static inline void otx2_cptlf_enable_iqueues(struct otx2_cptlfs_info *lfs)
static inline bool otx2_cptlf_started(struct otx2_cptlfs_info *lfs)
static inline void otx2_cptlf_set_dev_info(struct otx2_cptlfs_info *lfs,
int otx2_cptlf_init(struct otx2_cptlfs_info *lfs, u8 eng_grp_msk, int pri,
void otx2_cptlf_shutdown(struct otx2_cptlfs_info *lfs);
int otx2_cptlf_register_misc_interrupts(struct otx2_cptlfs_info *lfs);
int otx2_cptlf_register_done_interrupts(struct otx2_cptlfs_info *lfs);
void otx2_cptlf_unregister_misc_interrupts(struct otx2_cptlfs_info *lfs);
void otx2_cptlf_unregister_done_interrupts(struct otx2_cptlfs_info *lfs);
void otx2_cptlf_free_irqs_affinity(struct otx2_cptlfs_info *lfs);
int otx2_cptlf_set_irqs_affinity(struct otx2_cptlfs_info *lfs);
struct otx2_cptlfs_info;
struct otx2_cptlfs_info *lfs;
struct otx2_cptlfs_info *lfs; /* Ptr to cptlfs_info struct */
struct otx2_cptlfs_info lfs; /* CPT LFs attached to this PF */
struct otx2_cptlfs_info cpt1_lfs; /* CPT1 LFs attached to this PF */
struct otx2_cptlfs_info *lfs, u8 egrp, int num_lfs);
void otx2_inline_cptlf_cleanup(struct otx2_cptlfs_info *lfs);
struct otx2_cptlfs_info *lfs, u8 egrp, int num_lfs)
otx2_inline_cptlf_cleanup(struct otx2_cptlfs_info *lfs)
struct otx2_cptlfs_info *lfs = &cptpf->lfs;
struct otx2_cptlfs_info *lfs = &cptpf->lfs;
struct otx2_cptlfs_info *lfs = &cptpf->lfs;
struct otx2_cptlfs_info lfs; /* CPT LFs attached to this VF */
static void cleanup_tasklet_work(struct otx2_cptlfs_info *lfs)
static int init_tasklet_work(struct otx2_cptlfs_info *lfs)
static void free_pending_queues(struct otx2_cptlfs_info *lfs)
static int alloc_pending_queues(struct otx2_cptlfs_info *lfs)
static void lf_sw_cleanup(struct otx2_cptlfs_info *lfs)
static int lf_sw_init(struct otx2_cptlfs_info *lfs)
static void cptvf_lf_shutdown(struct otx2_cptlfs_info *lfs)
struct otx2_cptlfs_info *lfs = &cptvf->lfs;
struct otx2_cptlfs_info *lfs = &cptvf->lfs;
struct otx2_cptlfs_info *lfs = &cptvf->lfs;
static int cpt_process_ccode(struct otx2_cptlfs_info *lfs,
static inline void process_pending_queue(struct otx2_cptlfs_info *lfs,