Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.h64 void (*setup_iq_regs)(struct octep_device *oct, int q);
65 void (*setup_oq_regs)(struct octep_device *oct, int q);
66 void (*setup_mbox_regs)(struct octep_device *oct, int mbox);
70 int (*soft_reset)(struct octep_device *oct);
71 void (*reinit_regs)(struct octep_device *oct);
74 void (*enable_interrupts)(struct octep_device *oct);
75 void (*disable_interrupts)(struct octep_device *oct);
76 bool (*poll_non_ioq_interrupts)(struct octep_device *oct);
78 void (*enable_io_queues)(struct octep_device *oct);
79 void (*disable_io_queues)(struct octep_device *oct);
[all …]
H A Doctep_ctrl_net.h220 int octep_ctrl_net_init(struct octep_device *oct);
229 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid);
240 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up,
252 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up,
263 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr);
274 int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr,
286 int octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu,
298 int octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid,
310 int octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid,
322 int octep_ctrl_net_set_link_info(struct octep_device *oct,
[all …]
H A Doctep_main.c48 static int octep_alloc_ioq_vectors(struct octep_device *oct) in octep_alloc_ioq_vectors()
81 static void octep_free_ioq_vectors(struct octep_device *oct) in octep_free_ioq_vectors()
105 static int octep_enable_msix_range(struct octep_device *oct) in octep_enable_msix_range()
149 static void octep_disable_msix(struct octep_device *oct) in octep_disable_msix()
167 struct octep_device *oct = data; in octep_non_ioq_intr_handler()
184 struct octep_device *oct = ioq_vector->octep_dev; in octep_ioq_intr_handler()
199 static int octep_request_irqs(struct octep_device *oct) in octep_request_irqs()
287 static void octep_free_irqs(struct octep_device *oct) in octep_free_irqs()
316 static int octep_setup_irqs(struct octep_device *oct) in octep_setup_irqs()
342 static void octep_clean_irqs(struct octep_device *oct) in octep_clean_irqs()
[all …]
H A Doctep_ctrl_net.c55 static int octep_send_mbox_req(struct octep_device *oct, in octep_send_mbox_req()
97 int octep_ctrl_net_init(struct octep_device *oct) in octep_ctrl_net_init()
123 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid) in octep_ctrl_net_get_link_status()
139 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up, in octep_ctrl_net_set_link_status()
154 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up, in octep_ctrl_net_set_rx_state()
169 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr) in octep_ctrl_net_get_mac_addr()
187 int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr, in octep_ctrl_net_set_mac_addr()
201 int octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu, in octep_ctrl_net_set_mtu()
215 int octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid, in octep_ctrl_net_get_if_stats()
236 int octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid, in octep_ctrl_net_get_link_info()
[all …]
H A Doctep_cn9k_pf.c43 static void cn93_dump_regs(struct octep_device *oct, int qno) in cn93_dump_regs()
110 static int cn93_reset_iq(struct octep_device *oct, int q_no) in cn93_reset_iq()
138 static void cn93_reset_oq(struct octep_device *oct, int q_no) in cn93_reset_oq()
156 static void octep_reset_io_queues_cn93_pf(struct octep_device *oct) in octep_reset_io_queues_cn93_pf()
170 static void octep_setup_pci_window_regs_cn93_pf(struct octep_device *oct) in octep_setup_pci_window_regs_cn93_pf()
181 static void octep_configure_ring_mapping_cn93_pf(struct octep_device *oct) in octep_configure_ring_mapping_cn93_pf()
203 static void octep_init_config_cn93_pf(struct octep_device *oct) in octep_init_config_cn93_pf()
262 static void octep_setup_iq_regs_cn93_pf(struct octep_device *oct, int iq_no) in octep_setup_iq_regs_cn93_pf()
309 static void octep_setup_oq_regs_cn93_pf(struct octep_device *oct, int oq_no) in octep_setup_oq_regs_cn93_pf()
360 static void octep_setup_mbox_regs_cn93_pf(struct octep_device *oct, int q_no) in octep_setup_mbox_regs_cn93_pf()
[all …]
H A 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()
513 struct octep_device *oct = oq->octep_dev; in octep_oq_process_rx()
H A 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()
H A 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()
H A Doctep_rx.h142 struct octep_device *octep_dev;
H A Doctep_tx.h155 struct octep_device *octep_dev;