Home
last modified time | relevance | path

Searched refs:octep_device (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_main.h79 void (*setup_iq_regs)(struct octep_device *oct, int q);
80 void (*setup_oq_regs)(struct octep_device *oct, int q);
81 void (*setup_mbox_regs)(struct octep_device *oct, int mbox);
95 int (*soft_reset)(struct octep_device *oct);
96 void (*reinit_regs)(struct octep_device *oct);
99 void (*enable_interrupts)(struct octep_device *oct);
100 void (*disable_interrupts)(struct octep_device *oct);
101 void (*poll_non_ioq_interrupts)(struct octep_device *oct);
103 void (*enable_io_queues)(struct octep_device *oct);
104 void (*disable_io_queues)(struct octep_device *oct);
[all …]
Doctep_ctrl_net.h252 int octep_ctrl_net_init(struct octep_device *oct);
262 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid);
274 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up,
287 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up,
299 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr);
311 int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr,
322 int octep_ctrl_net_get_mtu(struct octep_device *oct, int vfid);
334 int octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu,
347 int octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid,
360 int octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid,
[all …]
Doctep_cn9k_pf.c40 static void cn93_dump_regs(struct octep_device *oct, int qno) in cn93_dump_regs()
107 static int cn93_reset_iq(struct octep_device *oct, int q_no) in cn93_reset_iq()
135 static void cn93_reset_oq(struct octep_device *oct, int q_no) in cn93_reset_oq()
153 static void octep_reset_io_queues_cn93_pf(struct octep_device *oct) in octep_reset_io_queues_cn93_pf()
167 static void octep_setup_pci_window_regs_cn93_pf(struct octep_device *oct) in octep_setup_pci_window_regs_cn93_pf()
178 static void octep_configure_ring_mapping_cn93_pf(struct octep_device *oct) in octep_configure_ring_mapping_cn93_pf()
200 static void octep_init_config_cn93_pf(struct octep_device *oct) in octep_init_config_cn93_pf()
263 static void octep_setup_iq_regs_cn93_pf(struct octep_device *oct, int iq_no) in octep_setup_iq_regs_cn93_pf()
310 static void octep_setup_oq_regs_cn93_pf(struct octep_device *oct, int oq_no) in octep_setup_oq_regs_cn93_pf()
361 static void octep_setup_mbox_regs_cn93_pf(struct octep_device *oct, int q_no) in octep_setup_mbox_regs_cn93_pf()
[all …]
Doctep_cnxk_pf.c60 static void cnxk_dump_regs(struct octep_device *oct, int qno) in cnxk_dump_regs()
127 static int cnxk_reset_iq(struct octep_device *oct, int q_no) in cnxk_reset_iq()
155 static void cnxk_reset_oq(struct octep_device *oct, int q_no) in cnxk_reset_oq()
176 static void octep_reset_io_queues_cnxk_pf(struct octep_device *oct) in octep_reset_io_queues_cnxk_pf()
190 static void octep_setup_pci_window_regs_cnxk_pf(struct octep_device *oct) in octep_setup_pci_window_regs_cnxk_pf()
201 static void octep_configure_ring_mapping_cnxk_pf(struct octep_device *oct) in octep_configure_ring_mapping_cnxk_pf()
223 static void octep_init_config_cnxk_pf(struct octep_device *oct) in octep_init_config_cnxk_pf()
283 static void octep_setup_iq_regs_cnxk_pf(struct octep_device *oct, int iq_no) in octep_setup_iq_regs_cnxk_pf()
330 static void octep_setup_oq_regs_cnxk_pf(struct octep_device *oct, int oq_no) in octep_setup_oq_regs_cnxk_pf()
391 static void octep_setup_mbox_regs_cnxk_pf(struct octep_device *oct, int q_no) in octep_setup_mbox_regs_cnxk_pf()
[all …]
Doctep_main.c54 static int octep_alloc_ioq_vectors(struct octep_device *oct) in octep_alloc_ioq_vectors()
87 static void octep_free_ioq_vectors(struct octep_device *oct) in octep_free_ioq_vectors()
111 static int octep_enable_msix_range(struct octep_device *oct) in octep_enable_msix_range()
155 static void octep_disable_msix(struct octep_device *oct) in octep_disable_msix()
173 struct octep_device *oct = data; in octep_mbox_intr_handler()
188 struct octep_device *oct = data; in octep_oei_intr_handler()
203 struct octep_device *oct = data; in octep_ire_intr_handler()
218 struct octep_device *oct = data; in octep_ore_intr_handler()
233 struct octep_device *oct = data; in octep_vfire_intr_handler()
248 struct octep_device *oct = data; in octep_vfore_intr_handler()
[all …]
Doctep_ctrl_net.c59 static int octep_send_mbox_req(struct octep_device *oct, in octep_send_mbox_req()
101 int octep_ctrl_net_init(struct octep_device *oct) in octep_ctrl_net_init()
127 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid) in octep_ctrl_net_get_link_status()
143 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up, in octep_ctrl_net_set_link_status()
158 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up, in octep_ctrl_net_set_rx_state()
173 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr) in octep_ctrl_net_get_mac_addr()
191 int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr, in octep_ctrl_net_set_mac_addr()
205 int octep_ctrl_net_get_mtu(struct octep_device *oct, int vfid) in octep_ctrl_net_get_mtu()
223 int octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu, in octep_ctrl_net_set_mtu()
237 int octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid, in octep_ctrl_net_get_if_stats()
[all …]
Doctep_pfvf_mbox.c34 static void octep_pfvf_validate_version(struct octep_device *oct, u32 vf_id, in octep_pfvf_validate_version()
54 static void octep_pfvf_get_link_status(struct octep_device *oct, u32 vf_id, in octep_pfvf_get_link_status()
70 static void octep_pfvf_set_link_status(struct octep_device *oct, u32 vf_id, in octep_pfvf_set_link_status()
85 static void octep_pfvf_set_rx_state(struct octep_device *oct, u32 vf_id, in octep_pfvf_set_rx_state()
100 static int octep_send_notification(struct octep_device *oct, u32 vf_id, in octep_send_notification()
128 static void octep_pfvf_set_mtu(struct octep_device *oct, u32 vf_id, in octep_pfvf_set_mtu()
143 static void octep_pfvf_get_mtu(struct octep_device *oct, u32 vf_id, in octep_pfvf_get_mtu()
153 static void octep_pfvf_set_mac_addr(struct octep_device *oct, u32 vf_id, in octep_pfvf_set_mac_addr()
168 static void octep_pfvf_get_mac_addr(struct octep_device *oct, u32 vf_id, in octep_pfvf_get_mac_addr()
183 static void octep_pfvf_dev_remove(struct octep_device *oct, u32 vf_id, in octep_pfvf_dev_remove()
[all …]
Doctep_rx.c79 static int octep_oq_refill(struct octep_device *oct, struct octep_oq *oq) in octep_oq_refill()
123 static int octep_setup_oq(struct octep_device *oct, int q_no) in octep_setup_oq()
227 struct octep_device *oct = oq->octep_dev; in octep_free_oq()
250 int octep_setup_oqs(struct octep_device *oct) in octep_setup_oqs()
282 void octep_oq_dbell_init(struct octep_device *oct) in octep_oq_dbell_init()
295 void octep_free_oqs(struct octep_device *oct) in octep_free_oqs()
316 static int octep_oq_check_hw_for_pkts(struct octep_device *oct, in octep_oq_check_hw_for_pkts()
397 static int __octep_oq_process_rx(struct octep_device *oct, in __octep_oq_process_rx()
517 struct octep_device *oct = oq->octep_dev; in octep_oq_process_rx()
Doctep_tx.c35 struct octep_device *oct = iq->octep_dev; in octep_iq_process_completions()
157 void octep_clean_iqs(struct octep_device *oct) in octep_clean_iqs()
175 static int octep_setup_iq(struct octep_device *oct, int q_no) in octep_setup_iq()
264 struct octep_device *oct = iq->octep_dev; in octep_free_iq()
292 int octep_setup_iqs(struct octep_device *oct) in octep_setup_iqs()
321 void octep_free_iqs(struct octep_device *oct) in octep_free_iqs()
Doctep_pfvf_mbox.h164 int octep_setup_pfvf_mbox(struct octep_device *oct);
165 void octep_delete_pfvf_mbox(struct octep_device *oct);
166 void octep_pfvf_notify(struct octep_device *oct, struct octep_ctrl_mbox_msg *msg);
Doctep_ethtool.c72 struct octep_device *oct = netdev_priv(netdev); in octep_get_drvinfo()
81 struct octep_device *oct = netdev_priv(netdev); in octep_get_strings()
117 struct octep_device *oct = netdev_priv(netdev); in octep_get_sset_count()
134 struct octep_device *oct = netdev_priv(netdev); in octep_get_ethtool_stats()
282 struct octep_device *oct = netdev_priv(netdev); in octep_get_link_ksettings()
335 struct octep_device *oct = netdev_priv(netdev); in octep_set_link_ksettings()
Doctep_rx.h167 struct octep_device *octep_dev;
Doctep_tx.h157 struct octep_device *octep_dev;