/linux-master/drivers/net/ethernet/cavium/liquidio/ |
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 | 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 | 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 *oc [all...] |
H A D | cn68xx_device.h | 25 int lio_setup_cn68xx_octeon_device(struct octeon_device *oct);
|
H A D | lio_vf_rep.h | 34 struct octeon_device *oct; 45 int lio_vf_rep_create(struct octeon_device *oct); 46 void lio_vf_rep_destroy(struct octeon_device *oct);
|
H A D | octeon_droq.h | 254 struct octeon_device *oct_dev; 337 int octeon_init_droq(struct octeon_device *oct_dev, 350 int octeon_delete_droq(struct octeon_device *oct_dev, u32 q_no); 364 octeon_register_droq_ops(struct octeon_device *oct, 376 int octeon_unregister_droq_ops(struct octeon_device *oct, u32 q_no); 390 int octeon_register_dispatch_fn(struct octeon_device *oct, 395 void *octeon_get_dispatch_arg(struct octeon_device *oct, 402 int octeon_create_droq(struct octeon_device *oct, u32 q_no, 405 int octeon_droq_process_packets(struct octeon_device *oct, 409 int octeon_droq_process_poll_pkts(struct octeon_device *oc [all...] |
H A D | octeon_iq.h | 77 struct octeon_device *oct_dev; 297 void (*callback)(struct octeon_device *, u32, void *); 327 int octeon_setup_sc_buffer_pool(struct octeon_device *oct); 328 int octeon_free_sc_done_list(struct octeon_device *oct); 329 int octeon_free_sc_zombie_list(struct octeon_device *oct); 330 int octeon_free_sc_buffer_pool(struct octeon_device *oct); 332 octeon_alloc_soft_command(struct octeon_device *oct, 335 void octeon_free_soft_command(struct octeon_device *oct, 348 int octeon_init_instr_queue(struct octeon_device *octeon_dev, 362 int octeon_delete_instr_queue(struct octeon_device *octeon_de [all...] |
H A D | octeon_mem_ops.h | 36 u64 octeon_read_device_mem64(struct octeon_device *oct, u64 core_addr); 44 u32 octeon_read_device_mem32(struct octeon_device *oct, u64 core_addr); 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_nic.h | 112 static inline int octnet_iq_is_full(struct octeon_device *oct, u32 q_no) 119 octnet_prepare_pci_cmd_o2(struct octeon_device *oct, 173 octnet_prepare_pci_cmd_o3(struct octeon_device *oct, 243 octnet_prepare_pci_cmd(struct octeon_device *oct, union octeon_instr_64B *cmd, 263 octeon_alloc_soft_command_resp(struct octeon_device *oct, 274 int octnet_send_nic_data_pkt(struct octeon_device *oct, 285 octnet_send_nic_ctrl_pkt(struct octeon_device *oct,
|
H A D | response_manager.h | 130 int octeon_setup_response_list(struct octeon_device *octeon_dev); 132 void octeon_delete_response_list(struct octeon_device *octeon_dev); 140 int lio_process_ordered_list(struct octeon_device *octeon_dev,
|
H A D | Makefile | 12 octeon_device.o \
|
H A D | cn23xx_pf_device.c | 25 #include "octeon_device.h" 39 void cn23xx_dump_pf_initialized_regs(struct octeon_device *oct) 208 static int cn23xx_pf_soft_reset(struct octeon_device *oct) 239 static void cn23xx_enable_error_reporting(struct octeon_device *oct) 269 static u32 cn23xx_coprocessor_clock(struct octeon_device *oct) 279 u32 cn23xx_pf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) 301 static void cn23xx_setup_global_mac_regs(struct octeon_device *oct) 345 static int cn23xx_reset_io_queues(struct octeon_device *oct) 400 static int cn23xx_pf_setup_global_input_regs(struct octeon_device *oct) 475 static void cn23xx_pf_setup_global_output_regs(struct octeon_device *oc [all...] |
H A D | cn23xx_vf_device.c | 25 #include "octeon_device.h" 30 u32 cn23xx_vf_get_oq_ticks(struct octeon_device *oct, u32 time_intr_in_us) 50 static int cn23xx_vf_reset_io_queues(struct octeon_device *oct, u32 num_queues) 101 static int cn23xx_vf_setup_global_input_regs(struct octeon_device *oct) 151 static void cn23xx_vf_setup_global_output_regs(struct octeon_device *oct) 202 static int cn23xx_setup_vf_device_regs(struct octeon_device *oct) 212 static void cn23xx_setup_vf_iq_regs(struct octeon_device *oct, u32 iq_no) 245 static void cn23xx_setup_vf_oq_regs(struct octeon_device *oct, u32 oq_no) 271 static int cn23xx_free_vf_mbox(struct octeon_device *oct) 278 static int cn23xx_setup_vf_mbox(struct octeon_device *oc [all...] |
H A D | cn66xx_device.c | 24 #include "octeon_device.h" 29 int lio_cn6xxx_soft_reset(struct octeon_device *oct) 55 void lio_cn6xxx_enable_error_reporting(struct octeon_device *oct) 71 void lio_cn6xxx_setup_pcie_mps(struct octeon_device *oct, 94 void lio_cn6xxx_setup_pcie_mrrs(struct octeon_device *oct, 122 u32 lio_cn6xxx_coprocessor_clock(struct octeon_device *oct) 130 u32 lio_cn6xxx_get_oq_ticks(struct octeon_device *oct, 155 void lio_cn6xxx_setup_global_input_regs(struct octeon_device *oct) 170 static void lio_cn66xx_setup_pkt_ctl_regs(struct octeon_device *oct) 193 void lio_cn6xxx_setup_global_output_regs(struct octeon_device *oc [all...] |
H A D | cn68xx_device.c | 24 #include "octeon_device.h" 31 static void lio_cn68xx_set_dpi_regs(struct octeon_device *oct) 60 static int lio_cn68xx_soft_reset(struct octeon_device *oct) 68 static void lio_cn68xx_setup_pkt_ctl_regs(struct octeon_device *oct) 90 static int lio_cn68xx_setup_device_regs(struct octeon_device *oct) 108 static inline void lio_cn68xx_vendor_message_fix(struct octeon_device *oct) 118 static int lio_is_210nv(struct octeon_device *oct) 125 int lio_setup_cn68xx_octeon_device(struct octeon_device *oct)
|
H A D | lio_core.c | 24 #include "octeon_device.h" 82 * @oct: octeon_device 86 int lio_setup_glists(struct octeon_device *oct, struct lio *lio, int num_iqs) 167 struct octeon_device *oct = lio->oct_dev; 263 struct octeon_device *oct = lio->oct_dev; 407 void octeon_pf_changed_vf_macaddr(struct octeon_device *oct, u8 *mac) 438 void octeon_schedule_rxq_oom_work(struct octeon_device *oct, 453 struct octeon_device *oct = lio->oct_dev; 467 struct octeon_device *oct = lio->oct_dev; 494 struct octeon_device *oc [all...] |
H A D | lio_ethtool.c | 26 #include "octeon_device.h" 219 struct octeon_device *oct = lio->oct_dev; 400 struct octeon_device *oct; 439 struct octeon_device *oct; 455 struct octeon_device *oct; 473 struct octeon_device *oct = lio->oct_dev; 502 struct octeon_device *oct = lio->oct_dev; 542 lio_irq_reallocate_irqs(struct octeon_device *oct, uint32_t num_ioqs) 608 struct octeon_device *oct = lio->oct_dev; 672 struct octeon_device *oct_de [all...] |
H A D | lio_main.c | 28 #include "octeon_device.h" 145 static int octeon_dbg_console_print(struct octeon_device *oct, u32 console_num, 148 static int octeon_device_init(struct octeon_device *); 165 struct octeon_device *oct = oct_priv->dev; 192 static int lio_wait_for_oq_pkts(struct octeon_device *oct) 222 static void force_io_queues_off(struct octeon_device *oct) 238 static inline void pcierror_quiesce_device(struct octeon_device *oct) 303 static void stop_pci_io(struct octeon_device *oct) 339 struct octeon_device *oct = pci_get_drvdata(pdev); 532 struct octeon_device *oc [all...] |
H A D | lio_vf_main.c | 26 #include "octeon_device.h" 70 static int octeon_device_init(struct octeon_device *oct); 73 static int lio_wait_for_oq_pkts(struct octeon_device *oct) 104 static void pcierror_quiesce_device(struct octeon_device *oct) 168 static void stop_pci_io(struct octeon_device *oct) 217 struct octeon_device *oct = pci_get_drvdata(pdev); 304 struct octeon_device *oct = lio->oct_dev; 342 struct octeon_device *oct = lio->oct_dev; 384 struct octeon_device *oct_dev = NULL; 398 /* Assign octeon_device fo [all...] |
H A D | lio_vf_rep.c | 24 #include "octeon_device.h" 55 lio_vf_rep_send_soft_command(struct octeon_device *oct, 113 struct octeon_device *oct; 146 struct octeon_device *oct; 203 struct octeon_device *oct; 231 struct octeon_device *oct = vf_rep->oct; 243 lio_vf_rep_get_ndev(struct octeon_device *oct, int ifidx) 261 lio_vf_rep_copy_packet(struct octeon_device *oct, 299 struct octeon_device *oct; 348 lio_vf_rep_packet_sent_callback(struct octeon_device *oc [all...] |
H A D | octeon_console.c | 29 #include "octeon_device.h" 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, 147 static inline u64 __cvmx_bootmem_desc_get(struct octeon_device *oct, 173 static void CVMX_BOOTMEM_NAMED_GET_NAME(struct octeon_device *oct, 195 static int __cvmx_bootmem_check_version(struct octeon_device *oct, 228 *__cvmx_bootmem_find_named_block_flags(struct octeon_device *oct, 257 static u64 cvmx_bootmem_phy_named_block_find(struct octeon_device *oct, 334 static int octeon_named_block_find(struct octeon_device *oct, const char *name, 360 int octeon_console_send_cmd(struct octeon_device *oc [all...] |
H A D | octeon_device.c | 25 #include "octeon_device.h" 542 static struct octeon_device *octeon_device[MAX_OCTEON_DEVICES]; variable in typeref:struct:octeon_device 547 /* locks device array (i.e. octeon_device[]) */ 563 memset(octeon_device, 0, (sizeof(void *) * MAX_OCTEON_DEVICES)); 569 static void *__retrieve_octeon_config_info(struct octeon_device *oct, 597 static int __verify_octeon_config_info(struct octeon_device *oct, void *conf) 613 void *oct_get_config_info(struct octeon_device *oct, u16 card_type) 646 void octeon_free_device_mem(struct octeon_device *oct) 663 octeon_device[ [all...] |
H A D | octeon_device.h | 18 /*! \file octeon_device.h 115 * octeon_device structure 212 typedef int (*octeon_console_print_fn)(struct octeon_device *oct, 233 void (*setup_iq_regs)(struct octeon_device *, u32); 234 void (*setup_oq_regs)(struct octeon_device *, u32); 239 int (*setup_mbox)(struct octeon_device *); 240 int (*free_mbox)(struct octeon_device *); 242 int (*soft_reset)(struct octeon_device *); 243 int (*setup_device_regs)(struct octeon_device *); 244 void (*bar1_idx_setup)(struct octeon_device *, u6 430 struct octeon_device { struct [all...] |
H A D | octeon_droq.c | 25 #include "octeon_device.h" 55 void *octeon_get_dispatch_arg(struct octeon_device *octeon_dev, 141 octeon_droq_destroy_ring_buffers(struct octeon_device *oct, 168 octeon_droq_setup_ring_buffers(struct octeon_device *oct, 199 int octeon_delete_droq(struct octeon_device *oct, u32 q_no) 222 int octeon_init_droq(struct octeon_device *oct, 335 struct octeon_device *octeon_dev, 433 octeon_droq_refill(struct octeon_device *octeon_dev, struct octeon_droq *droq) 502 struct octeon_device *oct = droq->oct_dev; 530 octeon_droq_dispatch_pkt(struct octeon_device *oc [all...] |
H A D | octeon_mailbox.c | 24 #include "octeon_device.h" 131 int octeon_mbox_write(struct octeon_device *oct, 209 static void get_vf_stats(struct octeon_device *oct, 239 struct octeon_device *oct = mbox->oct_dev; 355 int octeon_mbox_cancel(struct octeon_device *oct, int q_no)
|