Searched refs:octeon_device (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Dcn68xx_device.h25 int lio_setup_cn68xx_octeon_device(struct octeon_device *oct);
H A Dcn23xx_vf_device.h39 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 Dcn66xx_device.h68 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 Docteon_mem_ops.h36 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 Dcn23xx_pf_device.h55 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 Dlio_vf_rep.h34 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 Docteon_iq.h77 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 Docteon_device.h18 /*! \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 Dresponse_manager.h130 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 Docteon_droq.h254 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 Docteon_mailbox.h62 typedef void (*octeon_mbox_callback_t)(struct octeon_device *,
89 struct octeon_device *oct_dev;
120 int octeon_mbox_write(struct octeon_device *oct,
123 int octeon_mbox_cancel(struct octeon_device *oct, int q_no);
H A Docteon_mem_ops.c24 #include "octeon_device.h"
31 octeon_toggle_bar1_swapmode(struct octeon_device *oct, u32 idx)
44 octeon_pci_fastwrite(struct octeon_device *oct, u8 __iomem *mapped_addr,
68 octeon_pci_fastread(struct octeon_device *oct, u8 __iomem *mapped_addr,
94 __octeon_pci_rw_core_mem(struct octeon_device *oct, u64 addr,
160 octeon_pci_read_core_mem(struct octeon_device *oct,
170 octeon_pci_write_core_mem(struct octeon_device *oct,
179 u64 octeon_read_device_mem64(struct octeon_device *oct, u64 coreaddr)
189 u32 octeon_read_device_mem32(struct octeon_device *oct, u64 coreaddr)
199 void octeon_write_device_mem32(struct octeon_device *oc
[all...]
H A Docteon_device.c25 #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 Dcn66xx_device.c24 #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 Dcn68xx_device.c24 #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 Docteon_main.h42 struct octeon_device *dev;
73 void octeon_pf_changed_vf_macaddr(struct octeon_device *oct, u8 *mac);
75 void octeon_schedule_rxq_oom_work(struct octeon_device *oct,
93 static inline void octeon_unmap_pci_barx(struct octeon_device *oct, int baridx)
111 static inline int octeon_map_pci_barx(struct octeon_device *oct,
185 wait_for_sc_completion_timeout(struct octeon_device *oct_dev,
H A DMakefile12 octeon_device.o \
H A Docteon_console.c29 #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 Dresponse_manager.c25 #include "octeon_device.h"
30 int octeon_setup_response_list(struct octeon_device *oct)
57 void octeon_delete_response_list(struct octeon_device *oct)
64 int lio_process_ordered_list(struct octeon_device *octeon_dev,
229 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr;
H A Dcn23xx_vf_device.c25 #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 Docteon_nic.h112 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 Dcn23xx_pf_device.c25 #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 Docteon_nic.c25 #include "octeon_device.h"
30 octeon_alloc_soft_command_resp(struct octeon_device *oct,
84 int octnet_send_nic_data_pkt(struct octeon_device *oct,
97 *octnic_alloc_ctrl_pkt_sc(struct octeon_device *oct,
139 octnet_send_nic_ctrl_pkt(struct octeon_device *oct,
H A Docteon_network.h127 struct octeon_device *oct_dev;
219 int liquidio_setup_io_queues(struct octeon_device *octeon_dev, int ifidx,
225 int octeon_setup_interrupt(struct octeon_device *oct, u32 num_ioqs);
229 int lio_wait_for_clean_oq(struct octeon_device *oct);
238 int lio_setup_glists(struct octeon_device *oct, struct lio *lio, int num_qs);
260 *recv_buffer_alloc(struct octeon_device *oct,
331 recv_buffer_recycle(struct octeon_device *oct, void *buf)
363 *recv_buffer_reuse(struct octeon_device *oct, void *buf)
535 static inline int wait_for_pending_requests(struct octeon_device *oct)
602 static inline int skb_iq(struct octeon_device *oc
[all...]
H A Drequest_manager.c26 #include "octeon_device.h"
39 static void __check_db_timeout(struct octeon_device *oct, u64 iq_no);
47 int octeon_init_instr_queue(struct octeon_device *oct,
156 int octeon_delete_instr_queue(struct octeon_device *oct, u32 iq_no)
191 int octeon_setup_iq(struct octeon_device *oct,
236 int lio_wait_for_instr_fetch(struct octeon_device *oct)
265 ring_doorbell(struct octeon_device *oct, struct octeon_instr_queue *iq)
277 octeon_ring_doorbell_locked(struct octeon_device *oct, u32 iq_no)
338 octeon_register_reqtype_free_fn(struct octeon_device *oct, int reqtype,
363 lio_process_iq_request_list(struct octeon_device *oc
[all...]

Completed in 196 milliseconds

12