Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
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,
78 int lio_cn6xxx_enable_io_queues(struct octeon_device *oct);
79 void lio_cn6xxx_disable_io_queues(struct octeon_device *oct);
84 u32 lio_cn6xxx_bar1_idx_read(struct octeon_device *oct, u32 idx);
89 void cn6xxx_get_pcie_qlmport(struct octeon_device *oct);
92 u32 lio_cn6xxx_coprocessor_clock(struct octeon_device *oct);
94 int lio_setup_cn66xx_octeon_device(struct octeon_device *oct);
[all …]
A Docteon_device.h233 void (*setup_iq_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 *);
246 u32 (*bar1_idx_read)(struct octeon_device *, u32);
255 int (*enable_io_queues)(struct octeon_device *);
256 void (*disable_io_queues)(struct octeon_device *);
408 struct octeon_device *oct_dev;
423 struct octeon_device *oct;
[all …]
A Docteon_iq.h77 struct octeon_device *oct_dev;
297 void (*callback)(struct octeon_device *, u32, void *);
328 int octeon_free_sc_done_list(struct octeon_device *oct);
329 int octeon_free_sc_zombie_list(struct octeon_device *oct);
332 octeon_alloc_soft_command(struct octeon_device *oct,
335 void octeon_free_soft_command(struct octeon_device *oct,
364 int lio_wait_for_instr_fetch(struct octeon_device *oct);
374 lio_process_iq_request_list(struct octeon_device *oct,
381 void octeon_dump_soft_command(struct octeon_device *oct,
390 int octeon_send_soft_command(struct octeon_device *oct,
[all …]
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,
A Docteon_device.c542 static struct octeon_device *octeon_device[MAX_OCTEON_DEVICES]; variable
661 octeon_device[i] = NULL; in octeon_free_device_mem()
668 struct octeon_device *oct; in octeon_allocate_device_mem()
721 struct octeon_device *oct = NULL; in octeon_allocate_device()
726 if (!octeon_device[oct_idx]) in octeon_allocate_device()
733 octeon_device[oct_idx] = oct; in octeon_allocate_device()
777 if (!octeon_device[idx]) { in octeon_register_device()
1188 struct octeon_device *oct = (struct octeon_device *)buf; in octeon_core_drv_init()
1319 return octeon_device[octeon_id]; in lio_get_device()
1419 struct octeon_device *octeon_dev = (struct octeon_device *)dev; in lio_get_device_id()
[all …]
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 *oct,
[all …]
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);
A Dcn66xx_device.c29 int lio_cn6xxx_soft_reset(struct octeon_device *oct) in lio_cn6xxx_soft_reset()
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()
330 int lio_cn6xxx_enable_io_queues(struct octeon_device *oct) in lio_cn6xxx_enable_io_queues()
349 void lio_cn6xxx_disable_io_queues(struct octeon_device *oct) in lio_cn6xxx_disable_io_queues()
412 lio_cn6xxx_bar1_idx_setup(struct octeon_device *oct, in lio_cn6xxx_bar1_idx_setup()
436 void lio_cn6xxx_bar1_idx_write(struct octeon_device *oct, in lio_cn6xxx_bar1_idx_write()
470 void lio_cn6xxx_enable_interrupt(struct octeon_device *oct, in lio_cn6xxx_enable_interrupt()
[all …]
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,
A Docteon_mem_ops.c31 octeon_toggle_bar1_swapmode(struct octeon_device *oct, u32 idx) in octeon_toggle_bar1_swapmode()
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()
169 octeon_pci_write_core_mem(struct octeon_device *oct, in octeon_pci_write_core_mem()
177 u64 octeon_read_device_mem64(struct octeon_device *oct, u64 coreaddr) in octeon_read_device_mem64()
186 u32 octeon_read_device_mem32(struct octeon_device *oct, u64 coreaddr) in octeon_read_device_mem32()
195 void octeon_write_device_mem32(struct octeon_device *oct, u64 coreaddr, in octeon_write_device_mem32()
A Dcn23xx_vf_device.c202 static int cn23xx_setup_vf_device_regs(struct octeon_device *oct) in cn23xx_setup_vf_device_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()
318 static int cn23xx_enable_vf_io_queues(struct octeon_device *oct) in cn23xx_enable_vf_io_queues()
359 static void cn23xx_disable_vf_io_queues(struct octeon_device *oct) in cn23xx_disable_vf_io_queues()
372 void cn23xx_vf_ask_pf_to_do_flr(struct octeon_device *oct) in cn23xx_vf_ask_pf_to_do_flr()
390 static void octeon_pfvf_hs_callback(struct octeon_device *oct, in octeon_pfvf_hs_callback()
406 int cn23xx_octeon_pfvf_handshake(struct octeon_device *oct) in cn23xx_octeon_pfvf_handshake()
474 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_handle_vf_mbox_intr()
490 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_vf_msix_interrupt_handler()
[all …]
A Dcn68xx_device.c31 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()
A Docteon_console.c35 static u64 cvmx_bootmem_phy_named_block_find(struct octeon_device *oct,
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()
399 int octeon_wait_for_bootloader(struct octeon_device *oct, in octeon_wait_for_bootloader()
431 static void output_console_line(struct octeon_device *oct, in output_console_line()
484 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; in check_console()
533 int octeon_init_consoles(struct octeon_device *oct) in octeon_init_consoles()
576 static void octeon_get_uboot_version(struct octeon_device *oct) in octeon_get_uboot_version()
[all …]
A Dcn23xx_pf_device.c39 void cn23xx_dump_pf_initialized_regs(struct octeon_device *oct) in cn23xx_dump_pf_initialized_regs()
208 static int cn23xx_pf_soft_reset(struct octeon_device *oct) in cn23xx_pf_soft_reset()
682 struct octeon_device *oct = mbox->oct_dev; in cn23xx_pf_mbox_thread()
709 static int cn23xx_setup_pf_mbox(struct octeon_device *oct) in cn23xx_setup_pf_mbox()
773 static int cn23xx_free_pf_mbox(struct octeon_device *oct) in cn23xx_free_pf_mbox()
945 struct octeon_device *oct = ioq_vector->oct_dev; in cn23xx_pf_msix_interrupt_handler()
1009 struct octeon_device *oct = (struct octeon_device *)dev; in cn23xx_interrupt_handler()
1156 static int cn23xx_get_pf_num(struct octeon_device *oct) in cn23xx_get_pf_num()
1251 int cn23xx_sriov_config(struct octeon_device *oct) in cn23xx_sriov_config()
1420 int cn23xx_fw_loaded(struct octeon_device *oct) in cn23xx_fw_loaded()
[all …]
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) in octeon_unmap_pci_barx()
111 static inline int octeon_map_pci_barx(struct octeon_device *oct, in octeon_map_pci_barx()
185 wait_for_sc_completion_timeout(struct octeon_device *oct_dev, in wait_for_sc_completion_timeout()
A Drequest_manager.c56 int octeon_init_instr_queue(struct octeon_device *oct, in octeon_init_instr_queue()
199 int octeon_setup_iq(struct octeon_device *oct, in octeon_setup_iq()
244 int lio_wait_for_instr_fetch(struct octeon_device *oct) in lio_wait_for_instr_fetch()
368 lio_process_iq_request_list(struct octeon_device *oct, in lio_process_iq_request_list()
530 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; in check_db_timeout()
540 octeon_send_command(struct octeon_device *oct, u32 iq_no, in octeon_send_command()
580 octeon_prepare_soft_command(struct octeon_device *oct, in octeon_prepare_soft_command()
686 int octeon_send_soft_command(struct octeon_device *oct, in octeon_send_soft_command()
768 int octeon_free_sc_done_list(struct octeon_device *oct) in octeon_free_sc_done_list()
807 int octeon_free_sc_zombie_list(struct octeon_device *oct) in octeon_free_sc_zombie_list()
[all …]
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);
A Docteon_nic.h112 static inline int octnet_iq_is_full(struct octeon_device *oct, u32 q_no) in octnet_iq_is_full()
119 octnet_prepare_pci_cmd_o2(struct octeon_device *oct, in octnet_prepare_pci_cmd_o2()
173 octnet_prepare_pci_cmd_o3(struct octeon_device *oct, in octnet_prepare_pci_cmd_o3()
243 octnet_prepare_pci_cmd(struct octeon_device *oct, union octeon_instr_64B *cmd, in octnet_prepare_pci_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,
A Dlio_main.c703 static struct octeon_device *get_other_octeon_device(struct octeon_device *oct) in get_other_octeon_device()
1154 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; in send_rx_ctrl_cmd()
1524 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; in liquidio_ptp_adjfine()
1582 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; in liquidio_ptp_gettime()
1605 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; in liquidio_ptp_settime()
1638 struct octeon_device *oct = (struct octeon_device *)lio->oct_dev; in oct_ptp_open()
2053 struct octeon_device *oct; in liquidio_get_stats64()
2314 struct octeon_device *oct; in liquidio_xmit()
3137 struct octeon_device *oct; in liquidio_eswitch_mode_get()
3304 struct octeon_device *oct = (struct octeon_device *)buf; in lio_nic_info()
[all …]
A Dlio_vf_rep.c113 struct octeon_device *oct; in lio_vf_rep_open()
146 struct octeon_device *oct; in lio_vf_rep_stop()
203 struct octeon_device *oct; in lio_vf_rep_change_mtu()
231 struct octeon_device *oct = vf_rep->oct; in lio_vf_rep_phys_port_name()
261 lio_vf_rep_copy_packet(struct octeon_device *oct, in lio_vf_rep_copy_packet()
299 struct octeon_device *oct; in lio_vf_rep_pkt_recv()
374 struct octeon_device *oct = vf_rep->oct; in lio_vf_rep_pkt_xmit()
468 struct octeon_device *oct; in lio_vf_rep_fetch_stats()
490 lio_vf_rep_create(struct octeon_device *oct) in lio_vf_rep_create()
576 lio_vf_rep_destroy(struct octeon_device *oct) in lio_vf_rep_destroy()
[all …]
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,
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, in recv_buffer_alloc()
331 recv_buffer_recycle(struct octeon_device *oct, void *buf) in recv_buffer_recycle()
363 *recv_buffer_reuse(struct octeon_device *oct, void *buf) in recv_buffer_reuse()
535 static inline int wait_for_pending_requests(struct octeon_device *oct) in wait_for_pending_requests()
602 static inline int skb_iq(struct octeon_device *oct, struct sk_buff *skb) in skb_iq()
A Dresponse_manager.c30 int octeon_setup_response_list(struct octeon_device *oct) in octeon_setup_response_list()
56 void octeon_delete_response_list(struct octeon_device *oct) in octeon_delete_response_list()
62 int lio_process_ordered_list(struct octeon_device *octeon_dev, in lio_process_ordered_list()
226 struct octeon_device *oct = (struct octeon_device *)wk->ctxptr; in oct_poll_req_completion()
A Docteon_droq.c140 octeon_droq_destroy_ring_buffers(struct octeon_device *oct, in octeon_droq_destroy_ring_buffers()
167 octeon_droq_setup_ring_buffers(struct octeon_device *oct, in octeon_droq_setup_ring_buffers()
198 int octeon_delete_droq(struct octeon_device *oct, u32 q_no) in octeon_delete_droq()
220 int octeon_init_droq(struct octeon_device *oct, in octeon_init_droq()
333 struct octeon_device *octeon_dev, in octeon_create_recv_info()
500 struct octeon_device *oct = droq->oct_dev; in octeon_retry_droq_refill()
528 octeon_droq_dispatch_pkt(struct octeon_device *oct, in octeon_droq_dispatch_pkt()
741 octeon_droq_process_packets(struct octeon_device *oct, in octeon_droq_process_packets()
783 octeon_droq_process_poll_pkts(struct octeon_device *oct, in octeon_droq_process_poll_pkts()
825 octeon_enable_irq(struct octeon_device *oct, u32 q_no) in octeon_enable_irq()
[all …]
A Dlio_core.c161 struct octeon_device *oct = lio->oct_dev; in liquidio_set_feature()
256 struct octeon_device *oct = lio->oct_dev; in liquidio_link_ctrl_cmd_completion()
445 struct octeon_device *oct = lio->oct_dev; in octnet_poll_check_rxq_oom_status()
459 struct octeon_device *oct = lio->oct_dev; in setup_rx_oom_poll_fn()
485 struct octeon_device *oct = lio->oct_dev; in cleanup_rx_oom_poll_fn()
588 struct octeon_device *oct = lio->oct_dev; in liquidio_push_packet()
721 struct octeon_device *oct; in liquidio_napi_drv_callback()
744 struct octeon_device *oct; in liquidio_napi_poll()
981 struct octeon_device *oct = (struct octeon_device *)dev; in liquidio_legacy_intr_handler()
1667 struct octeon_device *oct; in liquidio_set_fec()
[all …]

Completed in 44 milliseconds

12