/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | cn66xx_device.c | 43 int lio_cn6xxx_soft_reset(struct octeon_device *oct) in lio_cn6xxx_soft_reset() 72 void lio_cn6xxx_enable_error_reporting(struct octeon_device *oct) in lio_cn6xxx_enable_error_reporting() 88 void lio_cn6xxx_setup_pcie_mps(struct octeon_device *oct, in lio_cn6xxx_setup_pcie_mps() 111 void lio_cn6xxx_setup_pcie_mrrs(struct octeon_device *oct, in lio_cn6xxx_setup_pcie_mrrs() 139 u32 lio_cn6xxx_coprocessor_clock(struct octeon_device *oct) in lio_cn6xxx_coprocessor_clock() 147 u32 lio_cn6xxx_get_oq_ticks(struct octeon_device *oct, in lio_cn6xxx_get_oq_ticks() 172 void lio_cn6xxx_setup_global_input_regs(struct octeon_device *oct) in lio_cn6xxx_setup_global_input_regs() 187 static void lio_cn66xx_setup_pkt_ctl_regs(struct octeon_device *oct) in lio_cn66xx_setup_pkt_ctl_regs() 210 void lio_cn6xxx_setup_global_output_regs(struct octeon_device *oct) in lio_cn6xxx_setup_global_output_regs() 267 static int lio_cn6xxx_setup_device_regs(struct octeon_device *oct) in lio_cn6xxx_setup_device_regs() [all …]
|
D | octeon_device.c | 483 static void *__retrieve_octeon_config_info(struct octeon_device *oct, in __retrieve_octeon_config_info() 507 static int __verify_octeon_config_info(struct octeon_device *oct, void *conf) in __verify_octeon_config_info() 521 void *oct_get_config_info(struct octeon_device *oct, u16 card_type) in oct_get_config_info() 553 int octeon_download_firmware(struct octeon_device *oct, const u8 *data, in octeon_download_firmware() 647 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 720 struct octeon_device *oct = NULL; in octeon_allocate_device() local 746 int octeon_setup_instr_queues(struct octeon_device *oct) in octeon_setup_instr_queues() 779 int octeon_setup_output_queues(struct octeon_device *oct) in octeon_setup_output_queues() 813 void octeon_set_io_queues_off(struct octeon_device *oct) in octeon_set_io_queues_off() [all …]
|
D | cn68xx_device.c | 45 static void lio_cn68xx_set_dpi_regs(struct octeon_device *oct) in lio_cn68xx_set_dpi_regs() 74 static int lio_cn68xx_soft_reset(struct octeon_device *oct) in lio_cn68xx_soft_reset() 82 static void lio_cn68xx_setup_pkt_ctl_regs(struct octeon_device *oct) in lio_cn68xx_setup_pkt_ctl_regs() 104 static int lio_cn68xx_setup_device_regs(struct octeon_device *oct) in lio_cn68xx_setup_device_regs() 122 static inline void lio_cn68xx_vendor_message_fix(struct octeon_device *oct) in lio_cn68xx_vendor_message_fix() 132 int lio_is_210nv(struct octeon_device *oct) in lio_is_210nv() 139 int lio_setup_cn68xx_octeon_device(struct octeon_device *oct) in lio_setup_cn68xx_octeon_device()
|
D | request_manager.c | 58 static inline int IQ_INSTR_MODE_64B(struct octeon_device *oct, int iq_no) in IQ_INSTR_MODE_64B() 65 #define IQ_INSTR_MODE_32B(oct, iq_no) (!IQ_INSTR_MODE_64B(oct, iq_no)) argument 71 int octeon_init_instr_queue(struct octeon_device *oct, in octeon_init_instr_queue() 165 int octeon_delete_instr_queue(struct octeon_device *oct, u32 iq_no) in octeon_delete_instr_queue() 190 int octeon_setup_iq(struct octeon_device *oct, in octeon_setup_iq() 221 int lio_wait_for_instr_fetch(struct octeon_device *oct) in lio_wait_for_instr_fetch() 251 ring_doorbell(struct octeon_device *oct, struct octeon_instr_queue *iq) in ring_doorbell() 343 octeon_register_reqtype_free_fn(struct octeon_device *oct, int reqtype, in octeon_register_reqtype_free_fn() 366 lio_process_iq_request_list(struct octeon_device *oct, in lio_process_iq_request_list() 443 update_iq_indices(struct octeon_device *oct, struct octeon_instr_queue *iq) in update_iq_indices() [all …]
|
D | octeon_mem_ops.c | 48 octeon_toggle_bar1_swapmode(struct octeon_device *oct __attribute__((unused)), in octeon_toggle_bar1_swapmode() 61 octeon_pci_fastwrite(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastwrite() 85 octeon_pci_fastread(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastread() 111 __octeon_pci_rw_core_mem(struct octeon_device *oct, u64 addr, in __octeon_pci_rw_core_mem() 158 octeon_pci_read_core_mem(struct octeon_device *oct, in octeon_pci_read_core_mem() 167 octeon_pci_write_core_mem(struct octeon_device *oct, in octeon_pci_write_core_mem() 175 u64 octeon_read_device_mem64(struct octeon_device *oct, u64 coreaddr) in octeon_read_device_mem64() 184 u32 octeon_read_device_mem32(struct octeon_device *oct, u64 coreaddr) in octeon_read_device_mem32() 193 void octeon_write_device_mem32(struct octeon_device *oct, u64 coreaddr, in octeon_write_device_mem32()
|
D | octeon_console.c | 168 #define CVMX_BOOTMEM_DESC_GET_FIELD(oct, field) \ argument 187 #define CVMX_BOOTMEM_NAMED_GET_FIELD(oct, addr, field) \ argument 205 static inline u64 __cvmx_bootmem_desc_get(struct octeon_device *oct, in __cvmx_bootmem_desc_get() 231 static void CVMX_BOOTMEM_NAMED_GET_NAME(struct octeon_device *oct, in CVMX_BOOTMEM_NAMED_GET_NAME() 253 static int __cvmx_bootmem_check_version(struct octeon_device *oct, in __cvmx_bootmem_check_version() 281 *__cvmx_bootmem_find_named_block_flags(struct octeon_device *oct, in __cvmx_bootmem_find_named_block_flags() 301 static u64 cvmx_bootmem_phy_named_block_find(struct octeon_device *oct, in cvmx_bootmem_phy_named_block_find() 357 static int octeon_named_block_find(struct octeon_device *oct, const char *name, in octeon_named_block_find() 383 int octeon_console_send_cmd(struct octeon_device *oct, char *cmd_str, in octeon_console_send_cmd() 422 int octeon_wait_for_bootloader(struct octeon_device *oct, in octeon_wait_for_bootloader() [all …]
|
D | octeon_nic.c | 46 octeon_alloc_soft_command_resp(struct octeon_device *oct, in octeon_alloc_soft_command_resp() 86 int octnet_send_nic_data_pkt(struct octeon_device *oct, in octnet_send_nic_data_pkt() 99 static void octnet_link_ctrl_callback(struct octeon_device *oct, in octnet_link_ctrl_callback() 121 *octnic_alloc_ctrl_pkt_sc(struct octeon_device *oct, in octnic_alloc_ctrl_pkt_sc() 166 octnet_send_nic_ctrl_pkt(struct octeon_device *oct, in octnet_send_nic_ctrl_pkt()
|
D | octeon_droq.c | 107 u32 octeon_droq_check_hw_for_pkts(struct octeon_device *oct, in octeon_droq_check_hw_for_pkts() 150 octeon_droq_destroy_ring_buffers(struct octeon_device *oct, in octeon_droq_destroy_ring_buffers() 176 octeon_droq_setup_ring_buffers(struct octeon_device *oct, in octeon_droq_setup_ring_buffers() 212 int octeon_delete_droq(struct octeon_device *oct, u32 q_no) in octeon_delete_droq() 236 int octeon_init_droq(struct octeon_device *oct, in octeon_init_droq() 515 octeon_droq_dispatch_pkt(struct octeon_device *oct, in octeon_droq_dispatch_pkt() 549 static inline void octeon_droq_drop_packets(struct octeon_device *oct, in octeon_droq_drop_packets() 576 octeon_droq_fast_process_packets(struct octeon_device *oct, in octeon_droq_fast_process_packets() 710 octeon_droq_process_packets(struct octeon_device *oct, in octeon_droq_process_packets() 758 octeon_droq_process_poll_pkts(struct octeon_device *oct, in octeon_droq_process_poll_pkts() [all …]
|
D | lio_ethtool.c | 110 struct octeon_device *oct = lio->oct_dev; in lio_get_settings() local 145 struct octeon_device *oct; in lio_get_drvinfo() local 163 struct octeon_device *oct = lio->oct_dev; in lio_ethtool_get_channels() local 223 struct octeon_device *oct = lio->oct_dev; in octnet_gpio_access() local 252 static void octnet_mdio_resp_callback(struct octeon_device *oct, in octnet_mdio_resp_callback() 356 struct octeon_device *oct = lio->oct_dev; in lio_set_phys_id() local 459 struct octeon_device *oct = lio->oct_dev; in lio_ethtool_get_ringparam() local 620 struct octeon_device *oct = lio->oct_dev; in lio_get_intr_coalesce() local 690 static int octnet_set_intrmod_cfg(void *oct, struct oct_intrmod_cfg *intr_cfg) in octnet_set_intrmod_cfg() 738 struct octeon_device *oct = lio->oct_dev; in oct_cfg_adaptive_intr() local [all …]
|
D | lio_main.c | 218 struct octeon_device *oct = (struct octeon_device *)pdev; in octeon_droq_bh() local 234 static int lio_wait_for_oq_pkts(struct octeon_device *oct) in lio_wait_for_oq_pkts() 336 static void force_io_queues_off(struct octeon_device *oct) in force_io_queues_off() 354 static int wait_for_pending_requests(struct octeon_device *oct) in wait_for_pending_requests() 378 static inline void pcierror_quiesce_device(struct octeon_device *oct) in pcierror_quiesce_device() 443 static void stop_pci_io(struct octeon_device *oct) in stop_pci_io() 480 struct octeon_device *oct = pci_get_drvdata(pdev); in liquidio_pcie_error_detected() local 905 void liquidio_schedule_droq_pkt_handlers(struct octeon_device *oct) in liquidio_schedule_droq_pkt_handlers() 937 struct octeon_device *oct = (struct octeon_device *)dev; in liquidio_intr_handler() local 961 static int octeon_setup_interrupt(struct octeon_device *oct) in octeon_setup_interrupt() [all …]
|
D | response_manager.c | 47 int octeon_setup_response_list(struct octeon_device *oct) in octeon_setup_response_list() 72 void octeon_delete_response_list(struct octeon_device *oct) in octeon_delete_response_list() 172 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; in oct_poll_req_completion() local
|
D | octeon_network.h | 135 *recv_buffer_alloc(struct octeon_device *oct __attribute__((unused)), in recv_buffer_alloc() 157 #define lio_dma_alloc(oct, size, dma_addr) \ argument 159 #define lio_dma_free(oct, size, virt_addr, dma_addr) \ argument 168 struct octeon_device *oct = droq->oct_dev; in lio_map_ring_info() local 208 static inline void *octeon_fast_packet_alloc(struct octeon_device *oct, in octeon_fast_packet_alloc()
|
D | octeon_main.h | 71 static inline void octeon_unmap_pci_barx(struct octeon_device *oct, int baridx) in octeon_unmap_pci_barx() 89 static inline int octeon_map_pci_barx(struct octeon_device *oct, in octeon_map_pci_barx()
|
D | octeon_device.h | 393 #define OCTEON_CN6XXX(oct) ((oct->chip_id == OCTEON_CN66XX) || \ argument 395 #define CHIP_FIELD(oct, TYPE, field) \ argument 470 static inline u16 OCTEON_MAJOR_REV(struct octeon_device *oct) in OCTEON_MAJOR_REV() 477 static inline u16 OCTEON_MINOR_REV(struct octeon_device *oct) in OCTEON_MINOR_REV()
|
D | octeon_nic.h | 120 static inline int octnet_iq_is_full(struct octeon_device *oct, u32 q_no) in octnet_iq_is_full()
|