Home
last modified time | relevance | path

Searched refs:octep_vf_device (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/
Doctep_vf_main.h57 void (*setup_iq_regs)(struct octep_vf_device *oct, int q);
58 void (*setup_oq_regs)(struct octep_vf_device *oct, int q);
59 void (*setup_mbox_regs)(struct octep_vf_device *oct, int mbox);
63 void (*reinit_regs)(struct octep_vf_device *oct);
66 void (*enable_interrupts)(struct octep_vf_device *oct);
67 void (*disable_interrupts)(struct octep_vf_device *oct);
69 void (*enable_io_queues)(struct octep_vf_device *oct);
70 void (*disable_io_queues)(struct octep_vf_device *oct);
71 void (*enable_iq)(struct octep_vf_device *oct, int q);
72 void (*disable_iq)(struct octep_vf_device *oct, int q);
[all …]
Doctep_vf_mbox.h149 int octep_vf_setup_mbox(struct octep_vf_device *oct);
150 void octep_vf_delete_mbox(struct octep_vf_device *oct);
151 int octep_vf_mbox_send_cmd(struct octep_vf_device *oct, union octep_pfvf_mbox_word cmd,
153 int octep_vf_mbox_bulk_read(struct octep_vf_device *oct, enum octep_pfvf_mbox_opcode opcode,
155 int octep_vf_mbox_set_mtu(struct octep_vf_device *oct, int mtu);
156 int octep_vf_mbox_set_mac_addr(struct octep_vf_device *oct, char *mac_addr);
157 int octep_vf_mbox_get_mac_addr(struct octep_vf_device *oct, char *mac_addr);
158 int octep_vf_mbox_version_check(struct octep_vf_device *oct);
159 int octep_vf_mbox_set_rx_state(struct octep_vf_device *oct, bool state);
160 int octep_vf_mbox_set_link_status(struct octep_vf_device *oct, bool status);
[all …]
Doctep_vf_main.c53 static int octep_vf_alloc_ioq_vectors(struct octep_vf_device *oct) in octep_vf_alloc_ioq_vectors()
86 static void octep_vf_free_ioq_vectors(struct octep_vf_device *oct) in octep_vf_free_ioq_vectors()
110 static int octep_vf_enable_msix_range(struct octep_vf_device *oct) in octep_vf_enable_msix_range()
154 static void octep_vf_disable_msix(struct octep_vf_device *oct) in octep_vf_disable_msix()
174 struct octep_vf_device *oct = ioq_vector->octep_vf_dev; in octep_vf_ioq_intr_handler()
189 static int octep_vf_request_irqs(struct octep_vf_device *oct) in octep_vf_request_irqs()
235 static void octep_vf_free_irqs(struct octep_vf_device *oct) in octep_vf_free_irqs()
257 static int octep_vf_setup_irqs(struct octep_vf_device *oct) in octep_vf_setup_irqs()
283 static void octep_vf_clean_irqs(struct octep_vf_device *oct) in octep_vf_clean_irqs()
349 static void octep_vf_napi_add(struct octep_vf_device *oct) in octep_vf_napi_add()
[all …]
Doctep_vf_cn9k.c17 static void cn93_vf_dump_q_regs(struct octep_vf_device *oct, int qno) in cn93_vf_dump_q_regs()
81 static void cn93_vf_reset_iq(struct octep_vf_device *oct, int q_no) in cn93_vf_reset_iq()
106 static void cn93_vf_reset_oq(struct octep_vf_device *oct, int q_no) in cn93_vf_reset_oq()
122 static void octep_vf_reset_io_queues_cn93(struct octep_vf_device *oct) in octep_vf_reset_io_queues_cn93()
136 static void octep_vf_init_config_cn93_vf(struct octep_vf_device *oct) in octep_vf_init_config_cn93_vf()
161 static void octep_vf_setup_iq_regs_cn93(struct octep_vf_device *oct, int iq_no) in octep_vf_setup_iq_regs_cn93()
199 static void octep_vf_setup_oq_regs_cn93(struct octep_vf_device *oct, int oq_no) in octep_vf_setup_oq_regs_cn93()
245 static void octep_vf_setup_mbox_regs_cn93(struct octep_vf_device *oct, int q_no) in octep_vf_setup_mbox_regs_cn93()
260 static void cn93_handle_vf_mbox_intr(struct octep_vf_device *oct) in cn93_handle_vf_mbox_intr()
272 struct octep_vf_device *oct; in octep_vf_ioq_intr_handler_cn93()
[all …]
Doctep_vf_mbox.c23 int octep_vf_setup_mbox(struct octep_vf_device *oct) in octep_vf_setup_mbox()
41 void octep_vf_delete_mbox(struct octep_vf_device *oct) in octep_vf_delete_mbox()
54 int octep_vf_mbox_version_check(struct octep_vf_device *oct) in octep_vf_mbox_version_check()
81 struct octep_vf_device *oct = NULL; in octep_vf_mbox_work()
86 oct = (struct octep_vf_device *)wk->ctxptr; in octep_vf_mbox_work()
112 static int __octep_vf_mbox_send_cmd(struct octep_vf_device *oct, in __octep_vf_mbox_send_cmd()
150 int octep_vf_mbox_send_cmd(struct octep_vf_device *oct, union octep_pfvf_mbox_word cmd, in octep_vf_mbox_send_cmd()
170 int octep_vf_mbox_bulk_read(struct octep_vf_device *oct, enum octep_pfvf_mbox_opcode opcode, in octep_vf_mbox_bulk_read()
236 int octep_vf_mbox_set_mtu(struct octep_vf_device *oct, int mtu) in octep_vf_mbox_set_mtu()
267 int octep_vf_mbox_set_mac_addr(struct octep_vf_device *oct, char *mac_addr) in octep_vf_mbox_set_mac_addr()
[all …]
Doctep_vf_cnxk.c17 static void cnxk_vf_dump_q_regs(struct octep_vf_device *oct, int qno) in cnxk_vf_dump_q_regs()
84 static void cnxk_vf_reset_iq(struct octep_vf_device *oct, int q_no) in cnxk_vf_reset_iq()
108 static void cnxk_vf_reset_oq(struct octep_vf_device *oct, int q_no) in cnxk_vf_reset_oq()
124 static void octep_vf_reset_io_queues_cnxk(struct octep_vf_device *oct) in octep_vf_reset_io_queues_cnxk()
138 static void octep_vf_init_config_cnxk_vf(struct octep_vf_device *oct) in octep_vf_init_config_cnxk_vf()
164 static void octep_vf_setup_iq_regs_cnxk(struct octep_vf_device *oct, int iq_no) in octep_vf_setup_iq_regs_cnxk()
202 static void octep_vf_setup_oq_regs_cnxk(struct octep_vf_device *oct, int oq_no) in octep_vf_setup_oq_regs_cnxk()
256 static void octep_vf_setup_mbox_regs_cnxk(struct octep_vf_device *oct, int q_no) in octep_vf_setup_mbox_regs_cnxk()
271 static void cnxk_handle_vf_mbox_intr(struct octep_vf_device *oct) in cnxk_handle_vf_mbox_intr()
283 struct octep_vf_device *oct; in octep_vf_ioq_intr_handler_cnxk()
[all …]
Doctep_vf_rx.c79 static int octep_vf_oq_refill(struct octep_vf_device *oct, struct octep_vf_oq *oq) in octep_vf_oq_refill()
123 static int octep_vf_setup_oq(struct octep_vf_device *oct, int q_no) in octep_vf_setup_oq()
228 struct octep_vf_device *oct = oq->octep_vf_dev; in octep_vf_free_oq()
251 int octep_vf_setup_oqs(struct octep_vf_device *oct) in octep_vf_setup_oqs()
283 void octep_vf_oq_dbell_init(struct octep_vf_device *oct) in octep_vf_oq_dbell_init()
296 void octep_vf_free_oqs(struct octep_vf_device *oct) in octep_vf_free_oqs()
317 static int octep_vf_oq_check_hw_for_pkts(struct octep_vf_device *oct, in octep_vf_oq_check_hw_for_pkts()
353 static int __octep_vf_oq_process_rx(struct octep_vf_device *oct, in __octep_vf_oq_process_rx()
481 struct octep_vf_device *oct = oq->octep_vf_dev; in octep_vf_oq_process_rx()
Doctep_vf_tx.c36 struct octep_vf_device *oct = iq->octep_vf_dev; in octep_vf_iq_process_completions()
156 void octep_vf_clean_iqs(struct octep_vf_device *oct) in octep_vf_clean_iqs()
174 static int octep_vf_setup_iq(struct octep_vf_device *oct, int q_no) in octep_vf_setup_iq()
263 struct octep_vf_device *oct = iq->octep_vf_dev; in octep_vf_free_iq()
291 int octep_vf_setup_iqs(struct octep_vf_device *oct) in octep_vf_setup_iqs()
320 void octep_vf_free_iqs(struct octep_vf_device *oct) in octep_vf_free_iqs()
Doctep_vf_ethtool.c50 struct octep_vf_device *oct = netdev_priv(netdev); in octep_vf_get_drvinfo()
59 struct octep_vf_device *oct = netdev_priv(netdev); in octep_vf_get_strings()
95 struct octep_vf_device *oct = netdev_priv(netdev); in octep_vf_get_sset_count()
111 struct octep_vf_device *oct = netdev_priv(netdev); in octep_vf_get_ethtool_stats()
218 struct octep_vf_device *oct = netdev_priv(netdev); in octep_vf_get_link_ksettings()
Doctep_vf_rx.h167 struct octep_vf_device *octep_vf_dev;
Doctep_vf_tx.h115 struct octep_vf_device *octep_vf_dev;