Lines Matching refs:cpt_vf

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()
136 static int init_pending_queues(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in init_pending_queues()
154 static void cleanup_pending_queues(struct cpt_vf *cptvf) in cleanup_pending_queues()
166 static void free_command_queues(struct cpt_vf *cptvf, in free_command_queues()
200 static int alloc_command_queues(struct cpt_vf *cptvf, in alloc_command_queues()
276 static int init_command_queues(struct cpt_vf *cptvf, u32 qlen) in init_command_queues()
293 static void cleanup_command_queues(struct cpt_vf *cptvf) in cleanup_command_queues()
305 static void cptvf_sw_cleanup(struct cpt_vf *cptvf) in cptvf_sw_cleanup()
312 static int cptvf_sw_init(struct cpt_vf *cptvf, u32 qlen, u32 nr_queues) in cptvf_sw_init()
356 static void cptvf_free_irq_affinity(struct cpt_vf *cptvf, int vec) in cptvf_free_irq_affinity()
362 static void cptvf_write_vq_ctl(struct cpt_vf *cptvf, bool val) in cptvf_write_vq_ctl()
371 void cptvf_write_vq_doorbell(struct cpt_vf *cptvf, u32 val) in cptvf_write_vq_doorbell()
382 static void cptvf_write_vq_inprog(struct cpt_vf *cptvf, u8 val) in cptvf_write_vq_inprog()
391 static void cptvf_write_vq_done_numwait(struct cpt_vf *cptvf, u32 val) in cptvf_write_vq_done_numwait()
402 static void cptvf_write_vq_done_timewait(struct cpt_vf *cptvf, u16 time) in cptvf_write_vq_done_timewait()
413 static void cptvf_enable_swerr_interrupts(struct cpt_vf *cptvf) in cptvf_enable_swerr_interrupts()
425 static void cptvf_enable_mbox_interrupts(struct cpt_vf *cptvf) in cptvf_enable_mbox_interrupts()
437 static void cptvf_enable_done_interrupts(struct cpt_vf *cptvf) in cptvf_enable_done_interrupts()
449 static void cptvf_clear_dovf_intr(struct cpt_vf *cptvf) in cptvf_clear_dovf_intr()
461 static void cptvf_clear_irde_intr(struct cpt_vf *cptvf) in cptvf_clear_irde_intr()
473 static void cptvf_clear_nwrp_intr(struct cpt_vf *cptvf) in cptvf_clear_nwrp_intr()
485 static void cptvf_clear_mbox_intr(struct cpt_vf *cptvf) in cptvf_clear_mbox_intr()
497 static void cptvf_clear_swerr_intr(struct cpt_vf *cptvf) in cptvf_clear_swerr_intr()
509 static u64 cptvf_read_vf_misc_intr_status(struct cpt_vf *cptvf) in cptvf_read_vf_misc_intr_status()
516 struct cpt_vf *cptvf = (struct cpt_vf *)cptvf_irq; in cptvf_misc_intr_handler()
553 static inline struct cptvf_wqe *get_cptvf_vq_wqe(struct cpt_vf *cptvf, in get_cptvf_vq_wqe()
565 static inline u32 cptvf_read_vq_done_count(struct cpt_vf *cptvf) in cptvf_read_vq_done_count()
573 static inline void cptvf_write_vq_done_ack(struct cpt_vf *cptvf, in cptvf_write_vq_done_ack()
587 struct cpt_vf *cptvf = (struct cpt_vf *)cptvf_irq; in cptvf_done_intr_handler()
611 static void cptvf_set_irq_affinity(struct cpt_vf *cptvf, int vec) in cptvf_set_irq_affinity()
630 static void cptvf_write_vq_saddr(struct cpt_vf *cptvf, u64 val) in cptvf_write_vq_saddr()
638 static void cptvf_device_init(struct cpt_vf *cptvf) in cptvf_device_init()
664 struct cpt_vf *cptvf; in cptvf_probe()
806 struct cpt_vf *cptvf = pci_get_drvdata(pdev); in cptvf_remove()