Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/marvell/octeon_ep/
Doctep_main.h62 void (*setup_iq_regs)(struct octep_device *oct, int q);
63 void (*setup_oq_regs)(struct octep_device *oct, int q);
64 void (*setup_mbox_regs)(struct octep_device *oct, int mbox);
68 int (*soft_reset)(struct octep_device *oct);
69 void (*reinit_regs)(struct octep_device *oct);
72 void (*enable_interrupts)(struct octep_device *oct);
73 void (*disable_interrupts)(struct octep_device *oct);
75 void (*enable_io_queues)(struct octep_device *oct);
76 void (*disable_io_queues)(struct octep_device *oct);
77 void (*enable_iq)(struct octep_device *oct, int q);
[all …]
Doctep_ctrl_net.h238 int octep_get_link_status(struct octep_device *oct);
245 void octep_set_link_status(struct octep_device *oct, bool up);
252 void octep_set_rx_state(struct octep_device *oct, bool up);
261 int octep_get_mac_addr(struct octep_device *oct, u8 *addr);
268 int octep_set_mac_addr(struct octep_device *oct, u8 *addr);
275 int octep_set_mtu(struct octep_device *oct, int mtu);
283 int octep_get_if_stats(struct octep_device *oct);
291 int octep_get_link_info(struct octep_device *oct);
297 int octep_set_link_info(struct octep_device *oct, struct octep_iface_link_info *link_info);
Doctep_main.c47 static int octep_alloc_ioq_vectors(struct octep_device *oct) in octep_alloc_ioq_vectors()
80 static void octep_free_ioq_vectors(struct octep_device *oct) in octep_free_ioq_vectors()
104 static int octep_enable_msix_range(struct octep_device *oct) in octep_enable_msix_range()
148 static void octep_disable_msix(struct octep_device *oct) in octep_disable_msix()
166 struct octep_device *oct = data; in octep_non_ioq_intr_handler()
183 struct octep_device *oct = ioq_vector->octep_dev; in octep_ioq_intr_handler()
198 static int octep_request_irqs(struct octep_device *oct) in octep_request_irqs()
286 static void octep_free_irqs(struct octep_device *oct) in octep_free_irqs()
315 static int octep_setup_irqs(struct octep_device *oct) in octep_setup_irqs()
341 static void octep_clean_irqs(struct octep_device *oct) in octep_clean_irqs()
[all …]
Doctep_cn9k_pf.c37 static void cn93_dump_regs(struct octep_device *oct, int qno) in cn93_dump_regs()
104 static int cn93_reset_iq(struct octep_device *oct, int q_no) in cn93_reset_iq()
132 static void cn93_reset_oq(struct octep_device *oct, int q_no) in cn93_reset_oq()
150 static void octep_reset_io_queues_cn93_pf(struct octep_device *oct) in octep_reset_io_queues_cn93_pf()
164 static void octep_setup_pci_window_regs_cn93_pf(struct octep_device *oct) in octep_setup_pci_window_regs_cn93_pf()
175 static void octep_configure_ring_mapping_cn93_pf(struct octep_device *oct) in octep_configure_ring_mapping_cn93_pf()
197 static void octep_init_config_cn93_pf(struct octep_device *oct) in octep_init_config_cn93_pf()
241 static void octep_setup_iq_regs_cn93_pf(struct octep_device *oct, int iq_no) in octep_setup_iq_regs_cn93_pf()
288 static void octep_setup_oq_regs_cn93_pf(struct octep_device *oct, int oq_no) in octep_setup_oq_regs_cn93_pf()
339 static void octep_setup_mbox_regs_cn93_pf(struct octep_device *oct, int q_no) in octep_setup_mbox_regs_cn93_pf()
[all …]
Doctep_ctrl_net.c16 int octep_get_link_status(struct octep_device *oct) in octep_get_link_status()
37 void octep_set_link_status(struct octep_device *oct, bool up) in octep_set_link_status()
52 void octep_set_rx_state(struct octep_device *oct, bool up) in octep_set_rx_state()
67 int octep_get_mac_addr(struct octep_device *oct, u8 *addr) in octep_get_mac_addr()
90 int octep_set_mac_addr(struct octep_device *oct, u8 *addr) in octep_set_mac_addr()
106 int octep_set_mtu(struct octep_device *oct, int mtu) in octep_set_mtu()
122 int octep_get_if_stats(struct octep_device *oct) in octep_get_if_stats()
150 int octep_get_link_info(struct octep_device *oct) in octep_get_link_info()
177 int octep_set_link_info(struct octep_device *oct, struct octep_iface_link_info *link_info) in octep_set_link_info()
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()
228 struct octep_device *oct = oq->octep_dev; in octep_free_oq()
251 int octep_setup_oqs(struct octep_device *oct) in octep_setup_oqs()
283 void octep_oq_dbell_init(struct octep_device *oct) in octep_oq_dbell_init()
296 void octep_free_oqs(struct octep_device *oct) in octep_free_oqs()
317 static int octep_oq_check_hw_for_pkts(struct octep_device *oct, in octep_oq_check_hw_for_pkts()
353 static int __octep_oq_process_rx(struct octep_device *oct, in __octep_oq_process_rx()
478 struct octep_device *oct = oq->octep_dev; in octep_oq_process_rx()
Doctep_tx.c36 struct octep_device *oct = iq->octep_dev; in octep_iq_process_completions()
160 void octep_clean_iqs(struct octep_device *oct) in octep_clean_iqs()
178 static int octep_setup_iq(struct octep_device *oct, int q_no) in octep_setup_iq()
267 struct octep_device *oct = iq->octep_dev; in octep_free_iq()
295 int octep_setup_iqs(struct octep_device *oct) in octep_setup_iqs()
324 void octep_free_iqs(struct octep_device *oct) in octep_free_iqs()
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()
279 struct octep_device *oct = netdev_priv(netdev); in octep_get_link_ksettings()
332 struct octep_device *oct = netdev_priv(netdev); in octep_set_link_ksettings()
Doctep_rx.h142 struct octep_device *octep_dev;
Doctep_tx.h141 struct octep_device *octep_dev;