Lines Matching defs:cptvf

19 	void *cptvf;  member
35 static int init_worker_threads(struct cpt_vf *cptvf) in init_worker_threads()
62 static void cleanup_worker_threads(struct cpt_vf *cptvf) in cleanup_worker_threads()
142 static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in init_pending_queues()
160 static void cleanup_pending_queues(struct cpt_vf *cptvf) in cleanup_pending_queues()
172 static void free_command_queues(struct cpt_vf *cptvf, in free_command_queues()
206 static int alloc_command_queues(struct cpt_vf *cptvf, in alloc_command_queues()
281 static int init_command_queues(struct cpt_vf *cptvf, u32 qlen) in init_command_queues()
298 static void cleanup_command_queues(struct cpt_vf *cptvf) in cleanup_command_queues()
310 static void cptvf_sw_cleanup(struct cpt_vf *cptvf) in cptvf_sw_cleanup()
317 static int cptvf_sw_init(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in cptvf_sw_init()
361 static void cptvf_free_irq_affinity(struct cpt_vf *cptvf, int vec) in cptvf_free_irq_affinity()
367 static void cptvf_write_vq_ctl(struct cpt_vf *cptvf, bool val) in cptvf_write_vq_ctl()
376 void cptvf_write_vq_doorbell(struct cpt_vf *cptvf, u32 val) in cptvf_write_vq_doorbell()
387 static void cptvf_write_vq_inprog(struct cpt_vf *cptvf, u8 val) in cptvf_write_vq_inprog()
396 static void cptvf_write_vq_done_numwait(struct cpt_vf *cptvf, u32 val) in cptvf_write_vq_done_numwait()
407 static void cptvf_write_vq_done_timewait(struct cpt_vf *cptvf, u16 time) in cptvf_write_vq_done_timewait()
418 static void cptvf_enable_swerr_interrupts(struct cpt_vf *cptvf) in cptvf_enable_swerr_interrupts()
430 static void cptvf_enable_mbox_interrupts(struct cpt_vf *cptvf) in cptvf_enable_mbox_interrupts()
442 static void cptvf_enable_done_interrupts(struct cpt_vf *cptvf) in cptvf_enable_done_interrupts()
454 static void cptvf_clear_dovf_intr(struct cpt_vf *cptvf) in cptvf_clear_dovf_intr()
466 static void cptvf_clear_irde_intr(struct cpt_vf *cptvf) in cptvf_clear_irde_intr()
478 static void cptvf_clear_nwrp_intr(struct cpt_vf *cptvf) in cptvf_clear_nwrp_intr()
490 static void cptvf_clear_mbox_intr(struct cpt_vf *cptvf) in cptvf_clear_mbox_intr()
502 static void cptvf_clear_swerr_intr(struct cpt_vf *cptvf) in cptvf_clear_swerr_intr()
514 static u64 cptvf_read_vf_misc_intr_status(struct cpt_vf *cptvf) in cptvf_read_vf_misc_intr_status()
521 struct cpt_vf *cptvf = (struct cpt_vf *)cptvf_irq; in cptvf_misc_intr_handler() local
558 static inline struct cptvf_wqe *get_cptvf_vq_wqe(struct cpt_vf *cptvf, in get_cptvf_vq_wqe()
570 static inline u32 cptvf_read_vq_done_count(struct cpt_vf *cptvf) in cptvf_read_vq_done_count()
578 static inline void cptvf_write_vq_done_ack(struct cpt_vf *cptvf, in cptvf_write_vq_done_ack()
592 struct cpt_vf *cptvf = (struct cpt_vf *)cptvf_irq; in cptvf_done_intr_handler() local
616 static void cptvf_set_irq_affinity(struct cpt_vf *cptvf, int vec) in cptvf_set_irq_affinity()
635 static void cptvf_write_vq_saddr(struct cpt_vf *cptvf, u64 val) in cptvf_write_vq_saddr()
643 void cptvf_device_init(struct cpt_vf *cptvf) in cptvf_device_init()
669 struct cpt_vf *cptvf; in cptvf_probe() local
817 struct cpt_vf *cptvf = pci_get_drvdata(pdev); in cptvf_remove() local