Lines Matching defs:cptvf
28 static int init_worker_threads(struct otx_cptvf *cptvf) in init_worker_threads()
53 static void cleanup_worker_threads(struct otx_cptvf *cptvf) in cleanup_worker_threads()
125 static int init_pending_queues(struct otx_cptvf *cptvf, u32 qlen, in init_pending_queues()
143 static void cleanup_pending_queues(struct otx_cptvf *cptvf) in cleanup_pending_queues()
155 static void free_command_queues(struct otx_cptvf *cptvf, in free_command_queues()
185 static int alloc_command_queues(struct otx_cptvf *cptvf, in alloc_command_queues()
262 static int init_command_queues(struct otx_cptvf *cptvf, u32 qlen) in init_command_queues()
277 static void cleanup_command_queues(struct otx_cptvf *cptvf) in cleanup_command_queues()
289 static void cptvf_sw_cleanup(struct otx_cptvf *cptvf) in cptvf_sw_cleanup()
296 static int cptvf_sw_init(struct otx_cptvf *cptvf, u32 qlen, u32 num_queues) in cptvf_sw_init()
339 static void cptvf_free_irq_affinity(struct otx_cptvf *cptvf, int vec) in cptvf_free_irq_affinity()
345 static void cptvf_write_vq_ctl(struct otx_cptvf *cptvf, bool val) in cptvf_write_vq_ctl()
354 void otx_cptvf_write_vq_doorbell(struct otx_cptvf *cptvf, u32 val) in otx_cptvf_write_vq_doorbell()
363 static void cptvf_write_vq_inprog(struct otx_cptvf *cptvf, u8 val) in cptvf_write_vq_inprog()
372 static void cptvf_write_vq_done_numwait(struct otx_cptvf *cptvf, u32 val) in cptvf_write_vq_done_numwait()
381 static u32 cptvf_read_vq_done_numwait(struct otx_cptvf *cptvf) in cptvf_read_vq_done_numwait()
389 static void cptvf_write_vq_done_timewait(struct otx_cptvf *cptvf, u16 time) in cptvf_write_vq_done_timewait()
399 static u16 cptvf_read_vq_done_timewait(struct otx_cptvf *cptvf) in cptvf_read_vq_done_timewait()
407 static void cptvf_enable_swerr_interrupts(struct otx_cptvf *cptvf) in cptvf_enable_swerr_interrupts()
417 static void cptvf_enable_mbox_interrupts(struct otx_cptvf *cptvf) in cptvf_enable_mbox_interrupts()
427 static void cptvf_enable_done_interrupts(struct otx_cptvf *cptvf) in cptvf_enable_done_interrupts()
437 static void cptvf_clear_dovf_intr(struct otx_cptvf *cptvf) in cptvf_clear_dovf_intr()
447 static void cptvf_clear_irde_intr(struct otx_cptvf *cptvf) in cptvf_clear_irde_intr()
457 static void cptvf_clear_nwrp_intr(struct otx_cptvf *cptvf) in cptvf_clear_nwrp_intr()
467 static void cptvf_clear_mbox_intr(struct otx_cptvf *cptvf) in cptvf_clear_mbox_intr()
477 static void cptvf_clear_swerr_intr(struct otx_cptvf *cptvf) in cptvf_clear_swerr_intr()
487 static u64 cptvf_read_vf_misc_intr_status(struct otx_cptvf *cptvf) in cptvf_read_vf_misc_intr_status()
495 struct otx_cptvf *cptvf = arg; in cptvf_misc_intr_handler() local
536 static inline struct otx_cptvf_wqe *get_cptvf_vq_wqe(struct otx_cptvf *cptvf, in get_cptvf_vq_wqe()
548 static inline u32 cptvf_read_vq_done_count(struct otx_cptvf *cptvf) in cptvf_read_vq_done_count()
556 static inline void cptvf_write_vq_done_ack(struct otx_cptvf *cptvf, in cptvf_write_vq_done_ack()
569 struct otx_cptvf *cptvf = (struct otx_cptvf *)cptvf_dev; in cptvf_done_intr_handler() local
594 static void cptvf_set_irq_affinity(struct otx_cptvf *cptvf, int vec) in cptvf_set_irq_affinity()
614 static void cptvf_write_vq_saddr(struct otx_cptvf *cptvf, u64 val) in cptvf_write_vq_saddr()
622 static void cptvf_device_init(struct otx_cptvf *cptvf) in cptvf_device_init()
648 struct otx_cptvf *cptvf = dev_get_drvdata(dev); in vf_type_show() local
671 struct otx_cptvf *cptvf = dev_get_drvdata(dev); in vf_engine_group_show() local
680 struct otx_cptvf *cptvf = dev_get_drvdata(dev); in vf_engine_group_store() local
707 struct otx_cptvf *cptvf = dev_get_drvdata(dev); in vf_coalesc_time_wait_show() local
717 struct otx_cptvf *cptvf = dev_get_drvdata(dev); in vf_coalesc_num_wait_show() local
727 struct otx_cptvf *cptvf = dev_get_drvdata(dev); in vf_coalesc_time_wait_store() local
747 struct otx_cptvf *cptvf = dev_get_drvdata(dev); in vf_coalesc_num_wait_store() local
784 struct otx_cptvf *cptvf; in otx_cptvf_probe() local
931 struct otx_cptvf *cptvf = pci_get_drvdata(pdev); in otx_cptvf_remove() local