/linux-6.14.4/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_cn9k_pf.c | 40 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 …]
|
D | octep_cnxk_pf.c | 60 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 …]
|
D | octep_main.c | 54 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() local 188 struct octep_device *oct = data; in octep_oei_intr_handler() local 203 struct octep_device *oct = data; in octep_ire_intr_handler() local 218 struct octep_device *oct = data; in octep_ore_intr_handler() local 233 struct octep_device *oct = data; in octep_vfire_intr_handler() local 248 struct octep_device *oct = data; in octep_vfore_intr_handler() local [all …]
|
D | octep_pfvf_mbox.c | 34 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() 179 static void octep_pfvf_get_mac_addr(struct octep_device *oct, u32 vf_id, in octep_pfvf_get_mac_addr() 202 static void octep_pfvf_dev_remove(struct octep_device *oct, u32 vf_id, in octep_pfvf_dev_remove() [all …]
|
D | octep_ctrl_net.c | 59 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 …]
|
D | octep_rx.c | 79 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() local 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() 398 static int __octep_oq_process_rx(struct octep_device *oct, in __octep_oq_process_rx() 518 struct octep_device *oct = oq->octep_dev; in octep_oq_process_rx() local
|
/linux-6.14.4/drivers/net/ethernet/cavium/liquidio/ |
D | cn66xx_device.c | 29 int lio_cn6xxx_soft_reset(struct octeon_device *oct) in lio_cn6xxx_soft_reset() 55 void lio_cn6xxx_enable_error_reporting(struct octeon_device *oct) in lio_cn6xxx_enable_error_reporting() 71 void lio_cn6xxx_setup_pcie_mps(struct octeon_device *oct, in lio_cn6xxx_setup_pcie_mps() 94 void lio_cn6xxx_setup_pcie_mrrs(struct octeon_device *oct, in lio_cn6xxx_setup_pcie_mrrs() 122 u32 lio_cn6xxx_coprocessor_clock(struct octeon_device *oct) in lio_cn6xxx_coprocessor_clock() 130 u32 lio_cn6xxx_get_oq_ticks(struct octeon_device *oct, in lio_cn6xxx_get_oq_ticks() 155 void lio_cn6xxx_setup_global_input_regs(struct octeon_device *oct) in lio_cn6xxx_setup_global_input_regs() 170 static void lio_cn66xx_setup_pkt_ctl_regs(struct octeon_device *oct) in lio_cn66xx_setup_pkt_ctl_regs() 193 void lio_cn6xxx_setup_global_output_regs(struct octeon_device *oct) in lio_cn6xxx_setup_global_output_regs() 247 static int lio_cn6xxx_setup_device_regs(struct octeon_device *oct) in lio_cn6xxx_setup_device_regs() [all …]
|
D | cn23xx_pf_device.c | 39 static int cn23xx_pf_soft_reset(struct octeon_device *oct) in cn23xx_pf_soft_reset() 70 static void cn23xx_enable_error_reporting(struct octeon_device *oct) in cn23xx_enable_error_reporting() 100 static u32 cn23xx_coprocessor_clock(struct octeon_device *oct) in cn23xx_coprocessor_clock() 110 u32 cn23xx_pf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) in cn23xx_pf_get_oq_ticks() 132 static void cn23xx_setup_global_mac_regs(struct octeon_device *oct) in cn23xx_setup_global_mac_regs() 176 static int cn23xx_reset_io_queues(struct octeon_device *oct) in cn23xx_reset_io_queues() 231 static int cn23xx_pf_setup_global_input_regs(struct octeon_device *oct) in cn23xx_pf_setup_global_input_regs() 306 static void cn23xx_pf_setup_global_output_regs(struct octeon_device *oct) in cn23xx_pf_setup_global_output_regs() 395 static int cn23xx_setup_pf_device_regs(struct octeon_device *oct) in cn23xx_setup_pf_device_regs() 418 static void cn23xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) in cn23xx_setup_iq_regs() [all …]
|
D | cn23xx_vf_device.c | 30 u32 cn23xx_vf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) in cn23xx_vf_get_oq_ticks() 50 static int cn23xx_vf_reset_io_queues(struct octeon_device *oct, u32 num_queues) in cn23xx_vf_reset_io_queues() 101 static int cn23xx_vf_setup_global_input_regs(struct octeon_device *oct) in cn23xx_vf_setup_global_input_regs() 151 static void cn23xx_vf_setup_global_output_regs(struct octeon_device *oct) in cn23xx_vf_setup_global_output_regs() 202 static int cn23xx_setup_vf_device_regs(struct octeon_device *oct) in cn23xx_setup_vf_device_regs() 212 static void cn23xx_setup_vf_iq_regs(struct octeon_device *oct, u32 iq_no) in cn23xx_setup_vf_iq_regs() 245 static void cn23xx_setup_vf_oq_regs(struct octeon_device *oct, u32 oq_no) in cn23xx_setup_vf_oq_regs() 271 static int cn23xx_free_vf_mbox(struct octeon_device *oct) in cn23xx_free_vf_mbox() 278 static int cn23xx_setup_vf_mbox(struct octeon_device *oct) in cn23xx_setup_vf_mbox() 316 static int cn23xx_enable_vf_io_queues(struct octeon_device *oct) in cn23xx_enable_vf_io_queues() [all …]
|
D | octeon_device.c | 569 static void *__retrieve_octeon_config_info(struct octeon_device *oct, in __retrieve_octeon_config_info() 597 static int __verify_octeon_config_info(struct octeon_device *oct, void *conf) in __verify_octeon_config_info() 613 void *oct_get_config_info(struct octeon_device *oct, u16 card_type) in oct_get_config_info() 646 void octeon_free_device_mem(struct octeon_device *oct) in octeon_free_device_mem() 671 struct octeon_device *oct; in octeon_allocate_device_mem() local 724 struct octeon_device *oct = NULL; in octeon_allocate_device() local 763 int octeon_register_device(struct octeon_device *oct, in octeon_register_device() 817 int octeon_deregister_device(struct octeon_device *oct) in octeon_deregister_device() 832 octeon_allocate_ioq_vector(struct octeon_device *oct, u32 num_ioqs) in octeon_allocate_ioq_vector() 865 octeon_free_ioq_vector(struct octeon_device *oct) in octeon_free_ioq_vector() [all …]
|
D | request_manager.c | 47 int octeon_init_instr_queue(struct octeon_device *oct, in octeon_init_instr_queue() 156 int octeon_delete_instr_queue(struct octeon_device *oct, u32 iq_no) in octeon_delete_instr_queue() 191 int octeon_setup_iq(struct octeon_device *oct, in octeon_setup_iq() 236 int lio_wait_for_instr_fetch(struct octeon_device *oct) in lio_wait_for_instr_fetch() 265 ring_doorbell(struct octeon_device *oct, struct octeon_instr_queue *iq) in ring_doorbell() 277 octeon_ring_doorbell_locked(struct octeon_device *oct, u32 iq_no) in octeon_ring_doorbell_locked() 338 octeon_register_reqtype_free_fn(struct octeon_device *oct, int reqtype, in octeon_register_reqtype_free_fn() 363 lio_process_iq_request_list(struct octeon_device *oct, in lio_process_iq_request_list() 441 octeon_flush_iq(struct octeon_device *oct, struct octeon_instr_queue *iq, in octeon_flush_iq() 493 static void __check_db_timeout(struct octeon_device *oct, u64 iq_no) in __check_db_timeout() [all …]
|
D | octeon_mem_ops.c | 31 octeon_toggle_bar1_swapmode(struct octeon_device *oct, u32 idx) in octeon_toggle_bar1_swapmode() 40 #define octeon_toggle_bar1_swapmode(oct, idx) argument 44 octeon_pci_fastwrite(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastwrite() 68 octeon_pci_fastread(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastread() 94 __octeon_pci_rw_core_mem(struct octeon_device *oct, u64 addr, in __octeon_pci_rw_core_mem() 160 octeon_pci_read_core_mem(struct octeon_device *oct, in octeon_pci_read_core_mem() 170 octeon_pci_write_core_mem(struct octeon_device *oct, in octeon_pci_write_core_mem() 179 u64 octeon_read_device_mem64(struct octeon_device *oct, u64 coreaddr) in octeon_read_device_mem64() 189 u32 octeon_read_device_mem32(struct octeon_device *oct, u64 coreaddr) in octeon_read_device_mem32() 199 void octeon_write_device_mem32(struct octeon_device *oct, u64 coreaddr, in octeon_write_device_mem32()
|
D | lio_main.c | 159 struct octeon_device *oct = oct_priv->dev; in octeon_droq_bh() local 186 static int lio_wait_for_oq_pkts(struct octeon_device *oct) in lio_wait_for_oq_pkts() 216 static void force_io_queues_off(struct octeon_device *oct) in force_io_queues_off() 232 static inline void pcierror_quiesce_device(struct octeon_device *oct) in pcierror_quiesce_device() 297 static void stop_pci_io(struct octeon_device *oct) in stop_pci_io() 333 struct octeon_device *oct = pci_get_drvdata(pdev); in liquidio_pcie_error_detected() local 526 struct octeon_device *oct = lio->oct_dev; in setup_link_status_change_wq() local 565 struct octeon_device *oct = lio->oct_dev; in update_link_status() local 609 struct octeon_device *oct = lio->oct_dev; in lio_sync_octeon_time() local 659 struct octeon_device *oct = lio->oct_dev; in setup_sync_octeon_time_wq() local [all …]
|
D | cn68xx_device.c | 31 static void lio_cn68xx_set_dpi_regs(struct octeon_device *oct) in lio_cn68xx_set_dpi_regs() 60 static int lio_cn68xx_soft_reset(struct octeon_device *oct) in lio_cn68xx_soft_reset() 68 static void lio_cn68xx_setup_pkt_ctl_regs(struct octeon_device *oct) in lio_cn68xx_setup_pkt_ctl_regs() 90 static int lio_cn68xx_setup_device_regs(struct octeon_device *oct) in lio_cn68xx_setup_device_regs() 108 static inline void lio_cn68xx_vendor_message_fix(struct octeon_device *oct) in lio_cn68xx_vendor_message_fix() 118 static int lio_is_210nv(struct octeon_device *oct) in lio_is_210nv() 125 int lio_setup_cn68xx_octeon_device(struct octeon_device *oct) in lio_setup_cn68xx_octeon_device()
|
D | lio_vf_rep.c | 55 lio_vf_rep_send_soft_command(struct octeon_device *oct, in lio_vf_rep_send_soft_command() 113 struct octeon_device *oct; in lio_vf_rep_open() local 146 struct octeon_device *oct; in lio_vf_rep_stop() local 203 struct octeon_device *oct; in lio_vf_rep_change_mtu() local 231 struct octeon_device *oct = vf_rep->oct; in lio_vf_rep_phys_port_name() local 243 lio_vf_rep_get_ndev(struct octeon_device *oct, int ifidx) in lio_vf_rep_get_ndev() 261 lio_vf_rep_copy_packet(struct octeon_device *oct, in lio_vf_rep_copy_packet() 298 struct octeon_device *oct; in lio_vf_rep_pkt_recv() local 347 lio_vf_rep_packet_sent_callback(struct octeon_device *oct, in lio_vf_rep_packet_sent_callback() 373 struct octeon_device *oct = vf_rep->oct; in lio_vf_rep_pkt_xmit() local [all …]
|
D | lio_core.c | 86 int lio_setup_glists(struct octeon_device *oct, struct lio *lio, int num_iqs) in lio_setup_glists() 167 struct octeon_device *oct = lio->oct_dev; in liquidio_set_feature() local 263 struct octeon_device *oct = lio->oct_dev; in liquidio_link_ctrl_cmd_completion() local 407 void octeon_pf_changed_vf_macaddr(struct octeon_device *oct, u8 *mac) in octeon_pf_changed_vf_macaddr() 438 void octeon_schedule_rxq_oom_work(struct octeon_device *oct, in octeon_schedule_rxq_oom_work() 453 struct octeon_device *oct = lio->oct_dev; in octnet_poll_check_rxq_oom_status() local 467 struct octeon_device *oct = lio->oct_dev; in setup_rx_oom_poll_fn() local 494 struct octeon_device *oct = lio->oct_dev; in cleanup_rx_oom_poll_fn() local 510 static void lio_update_txq_status(struct octeon_device *oct, int iq_num) in lio_update_txq_status() 542 static int octeon_setup_droq(struct octeon_device *oct, int q_no, int num_descs, in octeon_setup_droq() [all …]
|
D | lio_vf_main.c | 73 static int lio_wait_for_oq_pkts(struct octeon_device *oct) in lio_wait_for_oq_pkts() 104 static void pcierror_quiesce_device(struct octeon_device *oct) in pcierror_quiesce_device() 168 static void stop_pci_io(struct octeon_device *oct) in stop_pci_io() 217 struct octeon_device *oct = pci_get_drvdata(pdev); in liquidio_pcie_error_detected() local 304 struct octeon_device *oct = lio->oct_dev; in setup_link_status_change_wq() local 342 struct octeon_device *oct = lio->oct_dev; in update_link_status() local 421 static void octeon_pci_flr(struct octeon_device *oct) in octeon_pci_flr() 442 static void octeon_destroy_resources(struct octeon_device *oct) in octeon_destroy_resources() 597 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; in send_rx_ctrl_cmd() local 657 static void liquidio_destroy_nic_device(struct octeon_device *oct, int ifidx) in liquidio_destroy_nic_device() [all …]
|
D | octeon_droq.c | 136 octeon_droq_destroy_ring_buffers(struct octeon_device *oct, in octeon_droq_destroy_ring_buffers() 163 octeon_droq_setup_ring_buffers(struct octeon_device *oct, in octeon_droq_setup_ring_buffers() 194 int octeon_delete_droq(struct octeon_device *oct, u32 q_no) in octeon_delete_droq() 217 int octeon_init_droq(struct octeon_device *oct, in octeon_init_droq() 497 struct octeon_device *oct = droq->oct_dev; in octeon_retry_droq_refill() local 525 octeon_droq_dispatch_pkt(struct octeon_device *oct, in octeon_droq_dispatch_pkt() 561 static inline void octeon_droq_drop_packets(struct octeon_device *oct, in octeon_droq_drop_packets() 590 octeon_droq_fast_process_packets(struct octeon_device *oct, in octeon_droq_fast_process_packets() 738 octeon_droq_process_packets(struct octeon_device *oct, in octeon_droq_process_packets() 781 octeon_droq_process_poll_pkts(struct octeon_device *oct, in octeon_droq_process_poll_pkts() [all …]
|
D | lio_ethtool.c | 219 struct octeon_device *oct = lio->oct_dev; in lio_get_link_ksettings() local 400 struct octeon_device *oct; in lio_set_link_ksettings() local 439 struct octeon_device *oct; in lio_get_drvinfo() local 455 struct octeon_device *oct; in lio_get_vf_drvinfo() local 473 struct octeon_device *oct = lio->oct_dev; in lio_send_queue_count_update() local 502 struct octeon_device *oct = lio->oct_dev; in lio_ethtool_get_channels() local 542 lio_irq_reallocate_irqs(struct octeon_device *oct, uint32_t num_ioqs) in lio_irq_reallocate_irqs() 608 struct octeon_device *oct = lio->oct_dev; in lio_ethtool_set_channels() local 708 struct octeon_device *oct = lio->oct_dev; in octnet_gpio_access() local 735 struct octeon_device *oct = lio->oct_dev; in octnet_id_active() local [all …]
|
D | octeon_console.c | 147 static inline u64 __cvmx_bootmem_desc_get(struct octeon_device *oct, in __cvmx_bootmem_desc_get() 173 static void CVMX_BOOTMEM_NAMED_GET_NAME(struct octeon_device *oct, in CVMX_BOOTMEM_NAMED_GET_NAME() 195 static int __cvmx_bootmem_check_version(struct octeon_device *oct, in __cvmx_bootmem_check_version() 228 *__cvmx_bootmem_find_named_block_flags(struct octeon_device *oct, in __cvmx_bootmem_find_named_block_flags() 257 static u64 cvmx_bootmem_phy_named_block_find(struct octeon_device *oct, in cvmx_bootmem_phy_named_block_find() 334 static int octeon_named_block_find(struct octeon_device *oct, const char *name, in octeon_named_block_find() 360 int octeon_console_send_cmd(struct octeon_device *oct, char *cmd_str, in octeon_console_send_cmd() 399 int octeon_wait_for_bootloader(struct octeon_device *oct, in octeon_wait_for_bootloader() 419 static void octeon_console_handle_result(struct octeon_device *oct, in octeon_console_handle_result() 431 static void output_console_line(struct octeon_device *oct, in output_console_line() [all …]
|
/linux-6.14.4/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_cn9k.c | 17 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() local [all …]
|
D | octep_vf_cnxk.c | 17 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() local [all …]
|
D | octep_vf_main.c | 53 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() local 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 …]
|
D | octep_vf_mbox.c | 23 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() local 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() 289 int octep_vf_mbox_get_mac_addr(struct octep_vf_device *oct, char *mac_addr) in octep_vf_mbox_get_mac_addr() [all …]
|
D | octep_vf_rx.c | 79 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() 229 struct octep_vf_device *oct = oq->octep_vf_dev; in octep_vf_free_oq() local 252 int octep_vf_setup_oqs(struct octep_vf_device *oct) in octep_vf_setup_oqs() 284 void octep_vf_oq_dbell_init(struct octep_vf_device *oct) in octep_vf_oq_dbell_init() 297 void octep_vf_free_oqs(struct octep_vf_device *oct) in octep_vf_free_oqs() 318 static int octep_vf_oq_check_hw_for_pkts(struct octep_vf_device *oct, in octep_vf_oq_check_hw_for_pkts() 354 static int __octep_vf_oq_process_rx(struct octep_vf_device *oct, in __octep_vf_oq_process_rx() 482 struct octep_vf_device *oct = oq->octep_vf_dev; in octep_vf_oq_process_rx() local
|