Lines Matching defs:cptvf

16 	void *cptvf;  member
32 static int init_worker_threads(struct cpt_vf *cptvf) in init_worker_threads()
59 static void cleanup_worker_threads(struct cpt_vf *cptvf) in cleanup_worker_threads()
139 static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in init_pending_queues()
157 static void cleanup_pending_queues(struct cpt_vf *cptvf) in cleanup_pending_queues()
169 static void free_command_queues(struct cpt_vf *cptvf, in free_command_queues()
203 static int alloc_command_queues(struct cpt_vf *cptvf, in alloc_command_queues()
279 static int init_command_queues(struct cpt_vf *cptvf, u32 qlen) in init_command_queues()
296 static void cleanup_command_queues(struct cpt_vf *cptvf) in cleanup_command_queues()
308 static void cptvf_sw_cleanup(struct cpt_vf *cptvf) in cptvf_sw_cleanup()
315 static int cptvf_sw_init(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in cptvf_sw_init()
359 static void cptvf_free_irq_affinity(struct cpt_vf *cptvf, int vec) in cptvf_free_irq_affinity()
365 static void cptvf_write_vq_ctl(struct cpt_vf *cptvf, bool val) in cptvf_write_vq_ctl()
374 void cptvf_write_vq_doorbell(struct cpt_vf *cptvf, u32 val) in cptvf_write_vq_doorbell()
385 static void cptvf_write_vq_inprog(struct cpt_vf *cptvf, u8 val) in cptvf_write_vq_inprog()
394 static void cptvf_write_vq_done_numwait(struct cpt_vf *cptvf, u32 val) in cptvf_write_vq_done_numwait()
405 static void cptvf_write_vq_done_timewait(struct cpt_vf *cptvf, u16 time) in cptvf_write_vq_done_timewait()
416 static void cptvf_enable_swerr_interrupts(struct cpt_vf *cptvf) in cptvf_enable_swerr_interrupts()
428 static void cptvf_enable_mbox_interrupts(struct cpt_vf *cptvf) in cptvf_enable_mbox_interrupts()
440 static void cptvf_enable_done_interrupts(struct cpt_vf *cptvf) in cptvf_enable_done_interrupts()
452 static void cptvf_clear_dovf_intr(struct cpt_vf *cptvf) in cptvf_clear_dovf_intr()
464 static void cptvf_clear_irde_intr(struct cpt_vf *cptvf) in cptvf_clear_irde_intr()
476 static void cptvf_clear_nwrp_intr(struct cpt_vf *cptvf) in cptvf_clear_nwrp_intr()
488 static void cptvf_clear_mbox_intr(struct cpt_vf *cptvf) in cptvf_clear_mbox_intr()
500 static void cptvf_clear_swerr_intr(struct cpt_vf *cptvf) in cptvf_clear_swerr_intr()
512 static u64 cptvf_read_vf_misc_intr_status(struct cpt_vf *cptvf) in cptvf_read_vf_misc_intr_status()
519 struct cpt_vf *cptvf = (struct cpt_vf *)cptvf_irq; in cptvf_misc_intr_handler() local
556 static inline struct cptvf_wqe *get_cptvf_vq_wqe(struct cpt_vf *cptvf, in get_cptvf_vq_wqe()
568 static inline u32 cptvf_read_vq_done_count(struct cpt_vf *cptvf) in cptvf_read_vq_done_count()
576 static inline void cptvf_write_vq_done_ack(struct cpt_vf *cptvf, in cptvf_write_vq_done_ack()
590 struct cpt_vf *cptvf = (struct cpt_vf *)cptvf_irq; in cptvf_done_intr_handler() local
614 static void cptvf_set_irq_affinity(struct cpt_vf *cptvf, int vec) in cptvf_set_irq_affinity()
633 static void cptvf_write_vq_saddr(struct cpt_vf *cptvf, u64 val) in cptvf_write_vq_saddr()
641 static void cptvf_device_init(struct cpt_vf *cptvf) in cptvf_device_init()
667 struct cpt_vf *cptvf; in cptvf_probe() local
815 struct cpt_vf *cptvf = pci_get_drvdata(pdev); in cptvf_remove() local