/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn68xx_device.h | 25 int lio_setup_cn68xx_octeon_device(struct octeon_device *oct);
|
H A D | cn68xx_device.c | 31 static void lio_cn68xx_set_dpi_regs(struct octeon_device *oct) argument 36 lio_pci_writeq(oct, CN6XXX_DPI_DMA_CTL_MASK, CN6XXX_DPI_DMA_CONTROL); 37 dev_dbg(&oct->pci_dev->dev, "DPI_DMA_CONTROL: 0x%016llx\n", 38 lio_pci_readq(oct, CN6XXX_DPI_DMA_CONTROL)); 45 lio_pci_writeq(oct, 0, CN6XXX_DPI_DMA_ENG_ENB(i)); 46 lio_pci_writeq(oct, fifo_sizes[i], CN6XXX_DPI_DMA_ENG_BUF(i)); 47 dev_dbg(&oct->pci_dev->dev, "DPI_ENG_BUF%d: 0x%016llx\n", i, 48 lio_pci_readq(oct, CN6XXX_DPI_DMA_ENG_BUF(i))); 55 lio_pci_writeq(oct, 1, CN6XXX_DPI_CTL); 56 dev_dbg(&oct 60 lio_cn68xx_soft_reset(struct octeon_device *oct) argument 68 lio_cn68xx_setup_pkt_ctl_regs(struct octeon_device *oct) argument 90 lio_cn68xx_setup_device_regs(struct octeon_device *oct) argument 108 lio_cn68xx_vendor_message_fix(struct octeon_device *oct) argument 118 lio_is_210nv(struct octeon_device *oct) argument 125 lio_setup_cn68xx_octeon_device(struct octeon_device *oct) argument [all...] |
H A D | cn66xx_device.c | 29 int lio_cn6xxx_soft_reset(struct octeon_device *oct) argument 31 octeon_write_csr64(oct, CN6XXX_WIN_WR_MASK_REG, 0xFF); 33 dev_dbg(&oct->pci_dev->dev, "BIST enabled for soft reset\n"); 35 lio_pci_writeq(oct, 1, CN6XXX_CIU_SOFT_BIST); 36 octeon_write_csr64(oct, CN6XXX_SLI_SCRATCH1, 0x1234ULL); 38 lio_pci_readq(oct, CN6XXX_CIU_SOFT_RST); 39 lio_pci_writeq(oct, 1, CN6XXX_CIU_SOFT_RST); 44 if (octeon_read_csr64(oct, CN6XXX_SLI_SCRATCH1)) { 45 dev_err(&oct->pci_dev->dev, "Soft reset failed\n"); 49 dev_dbg(&oct 55 lio_cn6xxx_enable_error_reporting(struct octeon_device *oct) argument 71 lio_cn6xxx_setup_pcie_mps(struct octeon_device *oct, enum octeon_pcie_mps mps) argument 94 lio_cn6xxx_setup_pcie_mrrs(struct octeon_device *oct, enum octeon_pcie_mrrs mrrs) argument 122 lio_cn6xxx_coprocessor_clock(struct octeon_device *oct) argument 130 lio_cn6xxx_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) argument 155 lio_cn6xxx_setup_global_input_regs(struct octeon_device *oct) argument 170 lio_cn66xx_setup_pkt_ctl_regs(struct octeon_device *oct) argument 193 lio_cn6xxx_setup_global_output_regs(struct octeon_device *oct) argument 247 lio_cn6xxx_setup_device_regs(struct octeon_device *oct) argument 264 lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) argument 290 lio_cn66xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) argument 301 lio_cn6xxx_setup_oq_regs(struct octeon_device *oct, u32 oq_no) argument 330 lio_cn6xxx_enable_io_queues(struct octeon_device *oct) argument 349 lio_cn6xxx_disable_io_queues(struct octeon_device *oct) argument 412 lio_cn6xxx_bar1_idx_setup(struct octeon_device *oct, u64 core_addr, u32 idx, int valid) argument 436 lio_cn6xxx_bar1_idx_write(struct octeon_device *oct, u32 idx, u32 mask) argument 443 lio_cn6xxx_bar1_idx_read(struct octeon_device *oct, u32 idx) argument 470 lio_cn6xxx_enable_interrupt(struct octeon_device *oct, u8 unused __attribute__((unused))) argument 480 lio_cn6xxx_disable_interrupt(struct octeon_device *oct, u8 unused __attribute__((unused))) argument 489 lio_cn6xxx_get_pcie_qlmport(struct octeon_device *oct) argument 500 lio_cn6xxx_process_pcie_error_intr(struct octeon_device *oct, u64 intr64) argument 506 lio_cn6xxx_process_droq_intr_regs(struct octeon_device *oct) argument 572 struct octeon_device *oct = (struct octeon_device *)dev; local 607 lio_cn6xxx_setup_reg_address(struct octeon_device *oct, void *chip, struct octeon_reg_list *reg_list) argument 650 lio_setup_cn66xx_octeon_device(struct octeon_device *oct) argument 702 lio_validate_cn6xxx_config_info(struct octeon_device *oct, struct octeon_config *conf6xxx) argument [all...] |
H A D | cn23xx_vf_device.h | 39 void cn23xx_vf_ask_pf_to_do_flr(struct octeon_device *oct); 41 int cn23xx_octeon_pfvf_handshake(struct octeon_device *oct); 43 int cn23xx_setup_octeon_vf_device(struct octeon_device *oct); 45 u32 cn23xx_vf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us); 47 void cn23xx_dump_vf_initialized_regs(struct octeon_device *oct);
|
H A D | cn23xx_pf_device.c | 39 void cn23xx_dump_pf_initialized_regs(struct octeon_device *oct) argument 43 struct octeon_cn23xx_pf *cn23xx = (struct octeon_cn23xx_pf *)oct->chip; 46 dev_dbg(&oct->pci_dev->dev, "%s[%llx] : 0x%llx\n", 48 CVM_CAST64(octeon_read_csr64(oct, CN23XX_WIN_WR_MASK_REG))); 49 dev_dbg(&oct->pci_dev->dev, "%s[%llx] : 0x%016llx\n", 51 CVM_CAST64(octeon_read_csr64(oct, CN23XX_SLI_SCRATCH1))); 52 dev_dbg(&oct->pci_dev->dev, "%s[%llx] : 0x%016llx\n", 54 lio_pci_readq(oct, CN23XX_RST_SOFT_RST)); 57 dev_dbg(&oct->pci_dev->dev, "%s[%llx] : 0x%016llx\n", 59 lio_pci_readq(oct, CN23XX_DPI_DMA_CONTRO 208 cn23xx_pf_soft_reset(struct octeon_device *oct) argument 239 cn23xx_enable_error_reporting(struct octeon_device *oct) argument 269 cn23xx_coprocessor_clock(struct octeon_device *oct) argument 279 cn23xx_pf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) argument 301 cn23xx_setup_global_mac_regs(struct octeon_device *oct) argument 345 cn23xx_reset_io_queues(struct octeon_device *oct) argument 400 cn23xx_pf_setup_global_input_regs(struct octeon_device *oct) argument 475 cn23xx_pf_setup_global_output_regs(struct octeon_device *oct) argument 564 cn23xx_setup_pf_device_regs(struct octeon_device *oct) argument 587 cn23xx_setup_iq_regs(struct octeon_device *oct, u32 iq_no) argument 628 cn23xx_setup_oq_regs(struct octeon_device *oct, u32 oq_no) argument 682 struct octeon_device *oct = mbox->oct_dev; local 709 cn23xx_setup_pf_mbox(struct octeon_device *oct) argument 771 cn23xx_free_pf_mbox(struct octeon_device *oct) argument 788 cn23xx_enable_io_queues(struct octeon_device *oct) argument 865 cn23xx_disable_io_queues(struct octeon_device *oct) argument 943 struct octeon_device *oct = ioq_vector->oct_dev; local 982 cn23xx_handle_pf_mbox_intr(struct octeon_device *oct) argument 1007 struct octeon_device *oct = (struct octeon_device *)dev; local 1040 cn23xx_bar1_idx_setup(struct octeon_device *oct, u64 core_addr, u32 idx, int valid) argument 1068 cn23xx_bar1_idx_write(struct octeon_device *oct, u32 idx, u32 mask) argument 1074 cn23xx_bar1_idx_read(struct octeon_device *oct, u32 idx) argument 1101 cn23xx_enable_pf_interrupt(struct octeon_device *oct, u8 intr_flag) argument 1124 cn23xx_disable_pf_interrupt(struct octeon_device *oct, u8 intr_flag) argument 1146 cn23xx_get_pcie_qlmport(struct octeon_device *oct) argument 1154 cn23xx_get_pf_num(struct octeon_device *oct) argument 1200 cn23xx_setup_reg_address(struct octeon_device *oct) argument 1249 cn23xx_sriov_config(struct octeon_device *oct) argument 1307 setup_cn23xx_octeon_pf_device(struct octeon_device *oct) argument 1380 validate_cn23xx_pf_config_info(struct octeon_device *oct, struct octeon_config *conf23xx) argument 1419 cn23xx_fw_loaded(struct octeon_device *oct) argument 1439 cn23xx_tell_vf_its_macaddr_changed(struct octeon_device *oct, int vfidx, u8 *mac) argument 1462 cn23xx_get_vf_stats_callback(struct octeon_device *oct, struct octeon_mbox_cmd *cmd, void *arg) argument 1471 cn23xx_get_vf_stats(struct octeon_device *oct, int vfidx, struct oct_vf_stats *stats) argument [all...] |
H A D | cn66xx_device.h | 68 int lio_cn6xxx_soft_reset(struct octeon_device *oct); 69 void lio_cn6xxx_enable_error_reporting(struct octeon_device *oct); 70 void lio_cn6xxx_setup_pcie_mps(struct octeon_device *oct, 72 void lio_cn6xxx_setup_pcie_mrrs(struct octeon_device *oct, 74 void lio_cn6xxx_setup_global_input_regs(struct octeon_device *oct); 75 void lio_cn6xxx_setup_global_output_regs(struct octeon_device *oct); 76 void lio_cn6xxx_setup_iq_regs(struct octeon_device *oct, u32 iq_no); 77 void lio_cn6xxx_setup_oq_regs(struct octeon_device *oct, u32 oq_no); 78 int lio_cn6xxx_enable_io_queues(struct octeon_device *oct); 79 void lio_cn6xxx_disable_io_queues(struct octeon_device *oct); [all...] |
H A D | octeon_device.c | 569 static void *__retrieve_octeon_config_info(struct octeon_device *oct, argument 572 u32 oct_id = oct->octeon_id; 577 if (oct->chip_id == OCTEON_CN66XX) { 579 } else if ((oct->chip_id == OCTEON_CN68XX) && 582 } else if ((oct->chip_id == OCTEON_CN68XX) && 585 } else if (oct->chip_id == OCTEON_CN23XX_PF_VID) { 587 } else if (oct->chip_id == OCTEON_CN23XX_VF_VID) { 597 static int __verify_octeon_config_info(struct octeon_device *oct, void *conf) argument 599 switch (oct->chip_id) { 602 return lio_validate_cn6xxx_config_info(oct, con 613 oct_get_config_info(struct octeon_device *oct, u16 card_type) argument 646 octeon_free_device_mem(struct octeon_device *oct) argument 671 struct octeon_device *oct; local 724 struct octeon_device *oct = NULL; local 763 octeon_register_device(struct octeon_device *oct, int bus, int dev, int func, int is_pf) argument 817 octeon_deregister_device(struct octeon_device *oct) argument 832 octeon_allocate_ioq_vector(struct octeon_device *oct, u32 num_ioqs) argument 865 octeon_free_ioq_vector(struct octeon_device *oct) argument 872 octeon_setup_instr_queues(struct octeon_device *oct) argument 917 octeon_setup_output_queues(struct octeon_device *oct) argument 954 octeon_set_io_queues_off(struct octeon_device *oct) argument 1004 octeon_set_droq_pkt_op(struct octeon_device *oct, u32 q_no, u32 enable) argument 1023 octeon_init_dispatch_list(struct octeon_device *oct) argument 1043 octeon_delete_dispatch_list(struct octeon_device *oct) argument 1134 octeon_register_dispatch_fn(struct octeon_device *oct, u16 opcode, u16 subcode, octeon_dispatch_fn_t fn, void *fn_arg) argument 1202 struct octeon_device *oct = (struct octeon_device *)buf; local 1282 octeon_get_tx_qsize(struct octeon_device *oct, u32 q_no) argument 1293 octeon_get_rx_qsize(struct octeon_device *oct, u32 q_no) argument 1303 octeon_get_conf(struct octeon_device *oct) argument 1342 lio_pci_readq(struct octeon_device *oct, u64 addr) argument 1374 lio_pci_writeq(struct octeon_device *oct, u64 val, u64 addr) argument 1395 octeon_mem_access_ok(struct octeon_device *oct) argument 1415 octeon_wait_for_ddr_init(struct octeon_device *oct, u32 *timeout) argument 1456 struct octeon_device *oct = NULL; local [all...] |
H A D | octeon_mem_ops.h | 28 * @param oct - pointer to the octeon device. 36 u64 octeon_read_device_mem64(struct octeon_device *oct, u64 core_addr); 39 * @param oct - pointer to the octeon device. 44 u32 octeon_read_device_mem32(struct octeon_device *oct, u64 core_addr); 47 * @param oct - pointer to the octeon device. 52 octeon_write_device_mem32(struct octeon_device *oct, 59 octeon_pci_read_core_mem(struct octeon_device *oct, 67 octeon_pci_write_core_mem(struct octeon_device *oct,
|
H A D | octeon_mem_ops.c | 31 octeon_toggle_bar1_swapmode(struct octeon_device *oct, u32 idx) argument 35 mask = oct->fn_list.bar1_idx_read(oct, idx); 37 oct->fn_list.bar1_idx_write(oct, idx, mask); 40 #define octeon_toggle_bar1_swapmode(oct, idx) 44 octeon_pci_fastwrite(struct octeon_device *oct, u8 __iomem *mapped_addr, argument 52 octeon_toggle_bar1_swapmode(oct, MEMOPS_IDX); 61 octeon_toggle_bar1_swapmode(oct, MEMOPS_IDX); 68 octeon_pci_fastread(struct octeon_device *oct, u argument 94 __octeon_pci_rw_core_mem(struct octeon_device *oct, u64 addr, u8 *hostbuf, u32 len, u32 op) argument 160 octeon_pci_read_core_mem(struct octeon_device *oct, u64 coreaddr, u8 *buf, u32 len) argument 170 octeon_pci_write_core_mem(struct octeon_device *oct, u64 coreaddr, const u8 *buf, u32 len) argument 179 octeon_read_device_mem64(struct octeon_device *oct, u64 coreaddr) argument 189 octeon_read_device_mem32(struct octeon_device *oct, u64 coreaddr) argument 199 octeon_write_device_mem32(struct octeon_device *oct, u64 coreaddr, u32 val) argument [all...] |
H A D | cn23xx_vf_device.c | 30 u32 cn23xx_vf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) argument 33 u32 oqticks_per_us = (u32)oct->pfvf_hsword.coproc_tics_per_us; 50 static int cn23xx_vf_reset_io_queues(struct octeon_device *oct, u32 num_queues) argument 59 d64 = octeon_read_csr64(oct, 62 octeon_write_csr64(oct, CN23XX_VF_SLI_IQ_PKT_CONTROL64(q_no), 68 u64 reg_val = octeon_read_csr64(oct, 74 oct, CN23XX_VF_SLI_IQ_PKT_CONTROL64(q_no))); 78 dev_err(&oct->pci_dev->dev, 85 octeon_write_csr64(oct, CN23XX_VF_SLI_IQ_PKT_CONTROL64(q_no), 89 oct, CN23XX_VF_SLI_IQ_PKT_CONTROL6 101 cn23xx_vf_setup_global_input_regs(struct octeon_device *oct) argument 151 cn23xx_vf_setup_global_output_regs(struct octeon_device *oct) argument 202 cn23xx_setup_vf_device_regs(struct octeon_device *oct) argument 212 cn23xx_setup_vf_iq_regs(struct octeon_device *oct, u32 iq_no) argument 245 cn23xx_setup_vf_oq_regs(struct octeon_device *oct, u32 oq_no) argument 271 cn23xx_free_vf_mbox(struct octeon_device *oct) argument 278 cn23xx_setup_vf_mbox(struct octeon_device *oct) argument 316 cn23xx_enable_vf_io_queues(struct octeon_device *oct) argument 357 cn23xx_disable_vf_io_queues(struct octeon_device *oct) argument 370 cn23xx_vf_ask_pf_to_do_flr(struct octeon_device *oct) argument 389 octeon_pfvf_hs_callback(struct octeon_device *oct, struct octeon_mbox_cmd *cmd, void *arg) argument 405 cn23xx_octeon_pfvf_handshake(struct octeon_device *oct) argument 474 struct octeon_device *oct = ioq_vector->oct_dev; local 490 struct octeon_device *oct = ioq_vector->oct_dev; local 544 cn23xx_enable_vf_interrupt(struct octeon_device *oct, u8 intr_flag) argument 585 cn23xx_disable_vf_interrupt(struct octeon_device *oct, u8 intr_flag) argument 616 cn23xx_setup_octeon_vf_device(struct octeon_device *oct) argument [all...] |
H A D | octeon_console.c | 35 static u64 cvmx_bootmem_phy_named_block_find(struct octeon_device *oct, 38 static int octeon_console_read(struct octeon_device *oct, u32 console_num, 139 * @param oct Pointer to current octeon device 147 static inline u64 __cvmx_bootmem_desc_get(struct octeon_device *oct, argument 155 return octeon_read_device_mem32(oct, base); 157 return octeon_read_device_mem64(oct, base); 173 static void CVMX_BOOTMEM_NAMED_GET_NAME(struct octeon_device *oct, argument 179 octeon_pci_read_core_mem(oct, addr, (u8 *)str, len); 195 static int __cvmx_bootmem_check_version(struct octeon_device *oct, argument 201 if (!oct 228 __cvmx_bootmem_find_named_block_flags(struct octeon_device *oct, const char *name, u32 flags) argument 257 cvmx_bootmem_phy_named_block_find(struct octeon_device *oct, const char *name, u32 flags) argument 334 octeon_named_block_find(struct octeon_device *oct, const char *name, u64 *base_addr, u64 *size) argument 360 octeon_console_send_cmd(struct octeon_device *oct, char *cmd_str, u32 wait_hundredths) argument 399 octeon_wait_for_bootloader(struct octeon_device *oct, u32 wait_time_hundredths) argument 419 octeon_console_handle_result(struct octeon_device *oct, size_t console_num) argument 431 output_console_line(struct octeon_device *oct, struct octeon_console *console, size_t console_num, char *console_buffer, s32 bytes_read) argument 484 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; local 533 octeon_init_consoles(struct octeon_device *oct) argument 576 octeon_get_uboot_version(struct octeon_device *oct) argument 652 octeon_add_console(struct octeon_device *oct, u32 console_num, char *dbg_enb) argument 714 octeon_remove_consoles(struct octeon_device *oct) argument 757 octeon_console_read(struct octeon_device *oct, u32 console_num, char *buffer, u32 buf_size) argument 807 octeon_download_firmware(struct octeon_device *oct, const u8 *data, size_t size) argument [all...] |
H A D | cn23xx_pf_device.h | 55 int setup_cn23xx_octeon_pf_device(struct octeon_device *oct); 57 int validate_cn23xx_pf_config_info(struct octeon_device *oct, 60 u32 cn23xx_pf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us); 62 void cn23xx_dump_pf_initialized_regs(struct octeon_device *oct); 64 int cn23xx_sriov_config(struct octeon_device *oct); 66 int cn23xx_fw_loaded(struct octeon_device *oct); 68 void cn23xx_tell_vf_its_macaddr_changed(struct octeon_device *oct, int vfidx, 71 int cn23xx_get_vf_stats(struct octeon_device *oct, int ifidx,
|
H A D | lio_vf_rep.h | 34 struct octeon_device *oct; member in struct:lio_vf_rep_desc 45 int lio_vf_rep_create(struct octeon_device *oct); 46 void lio_vf_rep_destroy(struct octeon_device *oct);
|
H A D | octeon_nic.c | 30 octeon_alloc_soft_command_resp(struct octeon_device *oct, argument 41 octeon_alloc_soft_command(oct, 0, rdatasize, 0); 52 if (OCTEON_CN23XX_PF(oct) || OCTEON_CN23XX_VF(oct)) { 68 rdp->pcie_port = oct->pcie_port; 73 if (OCTEON_CN23XX_PF(oct) || OCTEON_CN23XX_VF(oct)) 84 int octnet_send_nic_data_pkt(struct octeon_device *oct, argument 90 return octeon_send_command(oct, ndata->q_no, ring_doorbell, &ndata->cmd, 97 *octnic_alloc_ctrl_pkt_sc(struct octeon_device *oct, argument 139 octnet_send_nic_ctrl_pkt(struct octeon_device *oct, struct octnic_ctrl_pkt *nctrl) argument [all...] |
H A D | octeon_main.h | 73 void octeon_pf_changed_vf_macaddr(struct octeon_device *oct, u8 *mac); 75 void octeon_schedule_rxq_oom_work(struct octeon_device *oct, 90 * @param oct Pointer to Octeon device 93 static inline void octeon_unmap_pci_barx(struct octeon_device *oct, int baridx) argument 95 dev_dbg(&oct->pci_dev->dev, "Freeing PCI mapped regions for Bar%d\n", 98 if (oct->mmio[baridx].done) 99 iounmap(oct->mmio[baridx].hw_addr); 101 if (oct->mmio[baridx].start) 102 pci_release_region(oct->pci_dev, baridx * 2); 107 * @param oct Pointe 111 octeon_map_pci_barx(struct octeon_device *oct, int baridx, int max_map_len) argument [all...] |
H A D | request_manager.c | 39 static void __check_db_timeout(struct octeon_device *oct, u64 iq_no); 47 int octeon_init_instr_queue(struct octeon_device *oct, argument 56 int numa_node = dev_to_node(&oct->pci_dev->dev); 58 if (OCTEON_CN6XXX(oct)) 59 conf = &(CFG_GET_IQ_CFG(CHIP_CONF(oct, cn6xxx))); 60 else if (OCTEON_CN23XX_PF(oct)) 61 conf = &(CFG_GET_IQ_CFG(CHIP_CONF(oct, cn23xx_pf))); 62 else if (OCTEON_CN23XX_VF(oct)) 63 conf = &(CFG_GET_IQ_CFG(CHIP_CONF(oct, cn23xx_vf))); 66 dev_err(&oct 156 octeon_delete_instr_queue(struct octeon_device *oct, u32 iq_no) argument 191 octeon_setup_iq(struct octeon_device *oct, int ifidx, int q_index, union oct_txpciq txpciq, u32 num_descs, void *app_ctx) argument 236 lio_wait_for_instr_fetch(struct octeon_device *oct) argument 265 ring_doorbell(struct octeon_device *oct, struct octeon_instr_queue *iq) argument 277 octeon_ring_doorbell_locked(struct octeon_device *oct, u32 iq_no) argument 338 octeon_register_reqtype_free_fn(struct octeon_device *oct, int reqtype, void (*fn)(void *)) argument 363 lio_process_iq_request_list(struct octeon_device *oct, struct octeon_instr_queue *iq, u32 napi_budget) argument 441 octeon_flush_iq(struct octeon_device *oct, struct octeon_instr_queue *iq, u32 napi_budget) argument 493 __check_db_timeout(struct octeon_device *oct, u64 iq_no) argument 526 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; local 536 octeon_send_command(struct octeon_device *oct, u32 iq_no, u32 force_db, void *cmd, void *buf, u32 datasize, u32 reqtype) argument 577 octeon_prepare_soft_command(struct octeon_device *oct, struct octeon_soft_command *sc, u8 opcode, u8 subcode, u32 irh_ossp, u64 ossp0, u64 ossp1) argument 684 octeon_send_soft_command(struct octeon_device *oct, struct octeon_soft_command *sc) argument 738 octeon_setup_sc_buffer_pool(struct octeon_device *oct) argument 768 octeon_free_sc_done_list(struct octeon_device *oct) argument 808 octeon_free_sc_zombie_list(struct octeon_device *oct) argument 833 octeon_free_sc_buffer_pool(struct octeon_device *oct) argument 858 octeon_alloc_soft_command(struct octeon_device *oct, u32 datasize, u32 rdatasize, u32 ctxsize) argument 930 octeon_free_soft_command(struct octeon_device *oct, struct octeon_soft_command *sc) argument [all...] |
H A D | lio_vf_rep.c | 55 lio_vf_rep_send_soft_command(struct octeon_device *oct, argument 66 octeon_alloc_soft_command(oct, req_size, 82 octeon_prepare_soft_command(oct, sc, OPCODE_NIC, 85 err = octeon_send_soft_command(oct, sc); 89 err = wait_for_sc_completion_timeout(oct, sc, 0); 95 dev_err(&oct->pci_dev->dev, "VF rep send config failed\n"); 103 octeon_free_soft_command(oct, sc); 113 struct octeon_device *oct; local 116 oct = vf_rep->oct; 146 struct octeon_device *oct; local 203 struct octeon_device *oct; local 231 struct octeon_device *oct = vf_rep->oct; local 243 lio_vf_rep_get_ndev(struct octeon_device *oct, int ifidx) argument 261 lio_vf_rep_copy_packet(struct octeon_device *oct, struct sk_buff *skb, int len) argument 299 struct octeon_device *oct; local 348 lio_vf_rep_packet_sent_callback(struct octeon_device *oct, u32 status, void *buf) argument 374 struct octeon_device *oct = vf_rep->oct; local 468 struct octeon_device *oct; local 490 lio_vf_rep_create(struct octeon_device *oct) argument 576 lio_vf_rep_destroy(struct octeon_device *oct) argument 613 struct octeon_device *oct; local [all...] |
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_cn9k_pf.c | 40 static void cn93_dump_regs(struct octep_device *oct, int qno) argument 42 struct device *dev = &oct->pdev->dev; 47 octep_read_csr64(oct, CN93_SDP_R_IN_INSTR_DBELL(qno))); 50 octep_read_csr64(oct, CN93_SDP_R_IN_CONTROL(qno))); 53 octep_read_csr64(oct, CN93_SDP_R_IN_ENABLE(qno))); 56 octep_read_csr64(oct, CN93_SDP_R_IN_INSTR_BADDR(qno))); 59 octep_read_csr64(oct, CN93_SDP_R_IN_INSTR_RSIZE(qno))); 62 octep_read_csr64(oct, CN93_SDP_R_IN_CNTS(qno))); 65 octep_read_csr64(oct, CN93_SDP_R_IN_INT_LEVELS(qno))); 68 octep_read_csr64(oct, CN93_SDP_R_IN_PKT_CN 107 cn93_reset_iq(struct octep_device *oct, int q_no) argument 135 cn93_reset_oq(struct octep_device *oct, int q_no) argument 153 octep_reset_io_queues_cn93_pf(struct octep_device *oct) argument 167 octep_setup_pci_window_regs_cn93_pf(struct octep_device *oct) argument 178 octep_configure_ring_mapping_cn93_pf(struct octep_device *oct) argument 200 octep_init_config_cn93_pf(struct octep_device *oct) argument 263 octep_setup_iq_regs_cn93_pf(struct octep_device *oct, int iq_no) argument 310 octep_setup_oq_regs_cn93_pf(struct octep_device *oct, int oq_no) argument 361 octep_setup_mbox_regs_cn93_pf(struct octep_device *oct, int q_no) argument 373 octep_poll_pfvf_mailbox(struct octep_device *oct) argument 410 struct octep_device *oct = (struct octep_device *)dev; local 417 octep_poll_oei_cn93_pf(struct octep_device *oct) argument 434 struct octep_device *oct = (struct octep_device *)dev; local 443 octep_poll_non_ioq_interrupts_cn93_pf(struct octep_device *oct) argument 452 struct octep_device *oct = (struct octep_device *)dev; local 482 struct octep_device *oct = (struct octep_device *)dev; local 510 struct octep_device *oct = (struct octep_device *)dev; local 527 struct octep_device *oct = (struct octep_device *)dev; local 544 struct octep_device *oct = (struct octep_device *)dev; local 558 struct octep_device *oct = (struct octep_device *)dev; local 575 struct octep_device *oct = (struct octep_device *)dev; local 592 struct octep_device *oct = (struct octep_device *)dev; local 609 struct octep_device *oct = (struct octep_device *)dev; local 627 octep_soft_reset_cn98_pf(struct octep_device *oct) argument 634 octep_soft_reset_cn93_pf(struct octep_device *oct) argument 651 octep_reinit_regs_cn93_pf(struct octep_device *oct) argument 669 octep_enable_interrupts_cn93_pf(struct octep_device *oct) argument 697 octep_disable_interrupts_cn93_pf(struct octep_device *oct) argument 739 octep_enable_iq_cn93_pf(struct octep_device *oct, int iq_no) argument 763 octep_enable_oq_cn93_pf(struct octep_device *oct, int oq_no) argument 781 octep_enable_io_queues_cn93_pf(struct octep_device *oct) argument 792 octep_disable_iq_cn93_pf(struct octep_device *oct, int iq_no) argument 804 octep_disable_oq_cn93_pf(struct octep_device *oct, int oq_no) argument 815 octep_disable_io_queues_cn93_pf(struct octep_device *oct) argument 826 octep_dump_registers_cn93_pf(struct octep_device *oct) argument 848 octep_device_setup_cn93_pf(struct octep_device *oct) argument [all...] |
H A D | octep_cnxk_pf.c | 60 static void cnxk_dump_regs(struct octep_device *oct, int qno) argument 62 struct device *dev = &oct->pdev->dev; 67 octep_read_csr64(oct, CNXK_SDP_R_IN_INSTR_DBELL(qno))); 70 octep_read_csr64(oct, CNXK_SDP_R_IN_CONTROL(qno))); 73 octep_read_csr64(oct, CNXK_SDP_R_IN_ENABLE(qno))); 76 octep_read_csr64(oct, CNXK_SDP_R_IN_INSTR_BADDR(qno))); 79 octep_read_csr64(oct, CNXK_SDP_R_IN_INSTR_RSIZE(qno))); 82 octep_read_csr64(oct, CNXK_SDP_R_IN_CNTS(qno))); 85 octep_read_csr64(oct, CNXK_SDP_R_IN_INT_LEVELS(qno))); 88 octep_read_csr64(oct, CNXK_SDP_R_IN_PKT_CN 127 cnxk_reset_iq(struct octep_device *oct, int q_no) argument 155 cnxk_reset_oq(struct octep_device *oct, int q_no) argument 176 octep_reset_io_queues_cnxk_pf(struct octep_device *oct) argument 190 octep_setup_pci_window_regs_cnxk_pf(struct octep_device *oct) argument 201 octep_configure_ring_mapping_cnxk_pf(struct octep_device *oct) argument 223 octep_init_config_cnxk_pf(struct octep_device *oct) argument 283 octep_setup_iq_regs_cnxk_pf(struct octep_device *oct, int iq_no) argument 330 octep_setup_oq_regs_cnxk_pf(struct octep_device *oct, int oq_no) argument 391 octep_setup_mbox_regs_cnxk_pf(struct octep_device *oct, int q_no) argument 402 octep_poll_pfvf_mailbox_cnxk_pf(struct octep_device *oct) argument 429 struct octep_device *oct = (struct octep_device *)dev; local 436 octep_poll_oei_cnxk_pf(struct octep_device *oct) argument 454 struct octep_device *oct = (struct octep_device *)dev; local 464 octep_poll_non_ioq_interrupts_cnxk_pf(struct octep_device *oct) argument 473 struct octep_device *oct = (struct octep_device *)dev; local 503 struct octep_device *oct = (struct octep_device *)dev; local 531 struct octep_device *oct = (struct octep_device *)dev; local 548 struct octep_device *oct = (struct octep_device *)dev; local 565 struct octep_device *oct = (struct octep_device *)dev; local 579 struct octep_device *oct = (struct octep_device *)dev; local 596 struct octep_device *oct = (struct octep_device *)dev; local 613 struct octep_device *oct = (struct octep_device *)dev; local 630 struct octep_device *oct = (struct octep_device *)dev; local 648 octep_soft_reset_cnxk_pf(struct octep_device *oct) argument 676 octep_reinit_regs_cnxk_pf(struct octep_device *oct) argument 694 octep_enable_interrupts_cnxk_pf(struct octep_device *oct) argument 721 octep_disable_interrupts_cnxk_pf(struct octep_device *oct) argument 762 octep_enable_iq_cnxk_pf(struct octep_device *oct, int iq_no) argument 786 octep_enable_oq_cnxk_pf(struct octep_device *oct, int oq_no) argument 804 octep_enable_io_queues_cnxk_pf(struct octep_device *oct) argument 815 octep_disable_iq_cnxk_pf(struct octep_device *oct, int iq_no) argument 827 octep_disable_oq_cnxk_pf(struct octep_device *oct, int oq_no) argument 838 octep_disable_io_queues_cnxk_pf(struct octep_device *oct) argument 849 octep_dump_registers_cnxk_pf(struct octep_device *oct) argument 871 octep_device_setup_cnxk_pf(struct octep_device *oct) argument [all...] |
H A D | octep_main.c | 44 * @oct: Octeon device private data structure. 54 static int octep_alloc_ioq_vectors(struct octep_device *oct) argument 59 for (i = 0; i < oct->num_oqs; i++) { 60 oct->ioq_vector[i] = vzalloc(sizeof(*oct->ioq_vector[i])); 61 if (!oct->ioq_vector[i]) 64 ioq_vector = oct->ioq_vector[i]; 65 ioq_vector->iq = oct->iq[i]; 66 ioq_vector->oq = oct->oq[i]; 67 ioq_vector->octep_dev = oct; 87 octep_free_ioq_vectors(struct octep_device *oct) argument 111 octep_enable_msix_range(struct octep_device *oct) argument 155 octep_disable_msix(struct octep_device *oct) argument 173 struct octep_device *oct = data; local 188 struct octep_device *oct = data; local 203 struct octep_device *oct = data; local 218 struct octep_device *oct = data; local 233 struct octep_device *oct = data; local 248 struct octep_device *oct = data; local 263 struct octep_device *oct = data; local 278 struct octep_device *oct = data; local 293 struct octep_device *oct = data; local 308 struct octep_device *oct = data; local 323 struct octep_device *oct = data; local 340 struct octep_device *oct = ioq_vector->octep_dev; local 355 octep_request_irqs(struct octep_device *oct) argument 495 octep_free_irqs(struct octep_device *oct) argument 524 octep_setup_irqs(struct octep_device *oct) argument 550 octep_clean_irqs(struct octep_device *oct) argument 615 octep_napi_add(struct octep_device *oct) argument 632 octep_napi_delete(struct octep_device *oct) argument 648 octep_napi_enable(struct octep_device *oct) argument 663 octep_napi_disable(struct octep_device *oct) argument 692 struct octep_device *oct = netdev_priv(netdev); local 758 struct octep_device *oct = netdev_priv(netdev); local 844 struct octep_device *oct = netdev_priv(netdev); local 995 struct octep_device *oct = netdev_priv(netdev); local 1038 struct octep_device *oct = container_of(work, struct octep_device, local 1060 struct octep_device *oct = netdev_priv(netdev); local 1067 struct octep_device *oct = netdev_priv(netdev); local 1087 struct octep_device *oct = netdev_priv(netdev); local 1108 struct octep_device *oct = netdev_priv(dev); local 1160 struct octep_device *oct = container_of(work, struct octep_device, local 1184 struct octep_device *oct = container_of(work, struct octep_device, local 1213 struct octep_device *oct = container_of(work, struct octep_device, local 1219 octep_devid_to_str(struct octep_device *oct) argument 1248 octep_device_setup(struct octep_device *oct) argument 1330 octep_device_cleanup(struct octep_device *oct) argument 1517 octep_sriov_disable(struct octep_device *oct) argument 1542 struct octep_device *oct = pci_get_drvdata(pdev); local 1560 octep_sriov_enable(struct octep_device *oct, int num_vfs) argument 1578 struct octep_device *oct = pci_get_drvdata(pdev); local [all...] |
H A D | octep_pfvf_mbox.c | 33 static void octep_pfvf_validate_version(struct octep_device *oct, u32 vf_id, argument 39 dev_dbg(&oct->pdev->dev, "VF id:%d VF version:%d PF version:%d\n", 46 oct->vf_info[vf_id].mbox_version = rsp->s_version.version; 47 dev_dbg(&oct->pdev->dev, "VF id:%d negotiated VF version:%d\n", 48 vf_id, oct->vf_info[vf_id].mbox_version); 53 static void octep_pfvf_get_link_status(struct octep_device *oct, u32 vf_id, argument 59 status = octep_ctrl_net_get_link_status(oct, vf_id); 62 dev_err(&oct->pdev->dev, "Get VF link status failed via host control Mbox\n"); 69 static void octep_pfvf_set_link_status(struct octep_device *oct, u32 vf_id, argument 75 err = octep_ctrl_net_set_link_status(oct, vf_i 84 octep_pfvf_set_rx_state(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 99 octep_send_notification(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd) argument 127 octep_pfvf_set_mtu(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 142 octep_pfvf_get_mtu(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 152 octep_pfvf_set_mac_addr(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 167 octep_pfvf_get_mac_addr(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 182 octep_pfvf_dev_remove(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 198 octep_pfvf_get_fw_info(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 220 octep_pfvf_set_offloads(struct octep_device *oct, u32 vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 239 octep_setup_pfvf_mbox(struct octep_device *oct) argument 277 octep_delete_pfvf_mbox(struct octep_device *oct) argument 297 octep_pfvf_pf_get_data(struct octep_device *oct, struct octep_mbox *mbox, int vf_id, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 366 octep_pfvf_notify(struct octep_device *oct, struct octep_ctrl_mbox_msg *msg) argument 393 struct octep_device *oct = NULL; local [all...] |
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_cnxk.c | 17 static void cnxk_vf_dump_q_regs(struct octep_vf_device *oct, int qno) argument 19 struct device *dev = &oct->pdev->dev; 24 octep_vf_read_csr64(oct, CNXK_VF_SDP_R_IN_INSTR_DBELL(qno))); 27 octep_vf_read_csr64(oct, CNXK_VF_SDP_R_IN_CONTROL(qno))); 30 octep_vf_read_csr64(oct, CNXK_VF_SDP_R_IN_ENABLE(qno))); 33 octep_vf_read_csr64(oct, CNXK_VF_SDP_R_IN_INSTR_BADDR(qno))); 36 octep_vf_read_csr64(oct, CNXK_VF_SDP_R_IN_INSTR_RSIZE(qno))); 39 octep_vf_read_csr64(oct, CNXK_VF_SDP_R_IN_CNTS(qno))); 42 octep_vf_read_csr64(oct, CNXK_VF_SDP_R_IN_INT_LEVELS(qno))); 45 octep_vf_read_csr64(oct, CNXK_VF_SDP_R_IN_PKT_CN 84 cnxk_vf_reset_iq(struct octep_vf_device *oct, int q_no) argument 108 cnxk_vf_reset_oq(struct octep_vf_device *oct, int q_no) argument 124 octep_vf_reset_io_queues_cnxk(struct octep_vf_device *oct) argument 138 octep_vf_init_config_cnxk_vf(struct octep_vf_device *oct) argument 164 octep_vf_setup_iq_regs_cnxk(struct octep_vf_device *oct, int iq_no) argument 202 octep_vf_setup_oq_regs_cnxk(struct octep_vf_device *oct, int oq_no) argument 256 octep_vf_setup_mbox_regs_cnxk(struct octep_vf_device *oct, int q_no) argument 271 cnxk_handle_vf_mbox_intr(struct octep_vf_device *oct) argument 283 struct octep_vf_device *oct; local 302 octep_vf_reinit_regs_cnxk(struct octep_vf_device *oct) argument 320 octep_vf_enable_interrupts_cnxk(struct octep_vf_device *oct) argument 341 octep_vf_disable_interrupts_cnxk(struct octep_vf_device *oct) argument 377 octep_vf_enable_iq_cnxk(struct octep_vf_device *oct, int iq_no) argument 399 octep_vf_enable_oq_cnxk(struct octep_vf_device *oct, int oq_no) argument 415 octep_vf_enable_io_queues_cnxk(struct octep_vf_device *oct) argument 426 octep_vf_disable_iq_cnxk(struct octep_vf_device *oct, int iq_no) argument 436 octep_vf_disable_oq_cnxk(struct octep_vf_device *oct, int oq_no) argument 446 octep_vf_disable_io_queues_cnxk(struct octep_vf_device *oct) argument 457 octep_vf_dump_registers_cnxk(struct octep_vf_device *oct) argument 475 octep_vf_device_setup_cnxk(struct octep_vf_device *oct) argument [all...] |
H A D | octep_vf_cn9k.c | 17 static void cn93_vf_dump_q_regs(struct octep_vf_device *oct, int qno) argument 19 struct device *dev = &oct->pdev->dev; 24 octep_vf_read_csr64(oct, CN93_VF_SDP_R_IN_INSTR_DBELL(qno))); 27 octep_vf_read_csr64(oct, CN93_VF_SDP_R_IN_CONTROL(qno))); 30 octep_vf_read_csr64(oct, CN93_VF_SDP_R_IN_ENABLE(qno))); 33 octep_vf_read_csr64(oct, CN93_VF_SDP_R_IN_INSTR_BADDR(qno))); 36 octep_vf_read_csr64(oct, CN93_VF_SDP_R_IN_INSTR_RSIZE(qno))); 39 octep_vf_read_csr64(oct, CN93_VF_SDP_R_IN_CNTS(qno))); 42 octep_vf_read_csr64(oct, CN93_VF_SDP_R_IN_INT_LEVELS(qno))); 45 octep_vf_read_csr64(oct, CN93_VF_SDP_R_IN_PKT_CN 81 cn93_vf_reset_iq(struct octep_vf_device *oct, int q_no) argument 106 cn93_vf_reset_oq(struct octep_vf_device *oct, int q_no) argument 122 octep_vf_reset_io_queues_cn93(struct octep_vf_device *oct) argument 136 octep_vf_init_config_cn93_vf(struct octep_vf_device *oct) argument 161 octep_vf_setup_iq_regs_cn93(struct octep_vf_device *oct, int iq_no) argument 199 octep_vf_setup_oq_regs_cn93(struct octep_vf_device *oct, int oq_no) argument 245 octep_vf_setup_mbox_regs_cn93(struct octep_vf_device *oct, int q_no) argument 260 cn93_handle_vf_mbox_intr(struct octep_vf_device *oct) argument 272 struct octep_vf_device *oct; local 291 octep_vf_reinit_regs_cn93(struct octep_vf_device *oct) argument 309 octep_vf_enable_interrupts_cn93(struct octep_vf_device *oct) argument 330 octep_vf_disable_interrupts_cn93(struct octep_vf_device *oct) argument 366 octep_vf_enable_iq_cn93(struct octep_vf_device *oct, int iq_no) argument 388 octep_vf_enable_oq_cn93(struct octep_vf_device *oct, int oq_no) argument 404 octep_vf_enable_io_queues_cn93(struct octep_vf_device *oct) argument 415 octep_vf_disable_iq_cn93(struct octep_vf_device *oct, int iq_no) argument 425 octep_vf_disable_oq_cn93(struct octep_vf_device *oct, int oq_no) argument 435 octep_vf_disable_io_queues_cn93(struct octep_vf_device *oct) argument 446 octep_vf_dump_registers_cn93(struct octep_vf_device *oct) argument 464 octep_vf_device_setup_cn93(struct octep_vf_device *oct) argument [all...] |
H A D | octep_vf_main.c | 43 * @oct: Octeon device private data structure. 53 static int octep_vf_alloc_ioq_vectors(struct octep_vf_device *oct) argument 58 for (i = 0; i < oct->num_oqs; i++) { 59 oct->ioq_vector[i] = vzalloc(sizeof(*oct->ioq_vector[i])); 60 if (!oct->ioq_vector[i]) 63 ioq_vector = oct->ioq_vector[i]; 64 ioq_vector->iq = oct->iq[i]; 65 ioq_vector->oq = oct->oq[i]; 66 ioq_vector->octep_vf_dev = oct; 86 octep_vf_free_ioq_vectors(struct octep_vf_device *oct) argument 110 octep_vf_enable_msix_range(struct octep_vf_device *oct) argument 154 octep_vf_disable_msix(struct octep_vf_device *oct) argument 174 struct octep_vf_device *oct = ioq_vector->octep_vf_dev; local 189 octep_vf_request_irqs(struct octep_vf_device *oct) argument 235 octep_vf_free_irqs(struct octep_vf_device *oct) argument 257 octep_vf_setup_irqs(struct octep_vf_device *oct) argument 283 octep_vf_clean_irqs(struct octep_vf_device *oct) argument 349 octep_vf_napi_add(struct octep_vf_device *oct) argument 365 octep_vf_napi_delete(struct octep_vf_device *oct) argument 381 octep_vf_napi_enable(struct octep_vf_device *oct) argument 396 octep_vf_napi_disable(struct octep_vf_device *oct) argument 412 octep_vf_set_rx_state(struct octep_vf_device *oct, bool up) argument 421 octep_vf_get_link_status(struct octep_vf_device *oct) argument 431 octep_vf_set_link_status(struct octep_vf_device *oct, bool up) argument 456 struct octep_vf_device *oct = netdev_priv(netdev); local 524 struct octep_vf_device *oct = netdev_priv(netdev); local 598 struct octep_vf_device *oct = netdev_priv(netdev); local 739 octep_vf_get_if_stats(struct octep_vf_device *oct) argument 759 octep_vf_get_link_info(struct octep_vf_device *oct) argument 781 struct octep_vf_device *oct = netdev_priv(netdev); local 823 struct octep_vf_device *oct = container_of(work, struct octep_vf_device, local 846 struct octep_vf_device *oct = netdev_priv(netdev); local 854 struct octep_vf_device *oct = netdev_priv(netdev); local 873 struct octep_vf_device *oct = netdev_priv(netdev); local 892 struct octep_vf_device *oct = netdev_priv(netdev); local 933 octep_vf_devid_to_str(struct octep_vf_device *oct) argument 960 octep_vf_device_setup(struct octep_vf_device *oct) argument 1024 octep_vf_device_cleanup(struct octep_vf_device *oct) argument 1035 octep_vf_get_mac_addr(struct octep_vf_device *oct, u8 *addr) argument 1170 struct octep_vf_device *oct = pci_get_drvdata(pdev); local [all...] |
H A D | octep_vf_mbox.c | 22 int octep_vf_setup_mbox(struct octep_vf_device *oct) argument 26 oct->mbox = vzalloc(sizeof(*oct->mbox)); 27 if (!oct->mbox) 30 mutex_init(&oct->mbox->lock); 32 oct->hw_ops.setup_mbox_regs(oct, ring); 33 INIT_WORK(&oct->mbox->wk.work, octep_vf_mbox_work); 34 oct->mbox->wk.ctxptr = oct; 40 octep_vf_delete_mbox(struct octep_vf_device *oct) argument 53 octep_vf_mbox_version_check(struct octep_vf_device *oct) argument 80 struct octep_vf_device *oct = NULL; local 111 __octep_vf_mbox_send_cmd(struct octep_vf_device *oct, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 149 octep_vf_mbox_send_cmd(struct octep_vf_device *oct, union octep_pfvf_mbox_word cmd, union octep_pfvf_mbox_word *rsp) argument 169 octep_vf_mbox_bulk_read(struct octep_vf_device *oct, enum octep_pfvf_mbox_opcode opcode, u8 *data, int *size) argument 235 octep_vf_mbox_set_mtu(struct octep_vf_device *oct, int mtu) argument 266 octep_vf_mbox_set_mac_addr(struct octep_vf_device *oct, char *mac_addr) argument 288 octep_vf_mbox_get_mac_addr(struct octep_vf_device *oct, char *mac_addr) argument 310 octep_vf_mbox_set_rx_state(struct octep_vf_device *oct, bool state) argument 331 octep_vf_mbox_set_link_status(struct octep_vf_device *oct, bool status) argument 352 octep_vf_mbox_get_link_status(struct octep_vf_device *oct, u8 *oper_up) argument 373 octep_vf_mbox_dev_remove(struct octep_vf_device *oct) argument 384 octep_vf_mbox_get_fw_info(struct octep_vf_device *oct) argument 409 octep_vf_mbox_set_offloads(struct octep_vf_device *oct, u16 tx_offloads, u16 rx_offloads) argument [all...] |