Home
last modified time | relevance | path

Searched defs:oct (Results 1 – 15 of 15) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dcn66xx_device.c43 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 …]
Docteon_device.c483 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 …]
Dcn68xx_device.c45 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()
Drequest_manager.c58 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 …]
Docteon_mem_ops.c48 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()
Docteon_console.c168 #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 …]
Docteon_nic.c46 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()
Docteon_droq.c107 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 …]
Dlio_ethtool.c110 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 …]
Dlio_main.c218 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 …]
Dresponse_manager.c47 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
Docteon_network.h135 *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()
Docteon_main.h71 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()
Docteon_device.h393 #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()
Docteon_nic.h120 static inline int octnet_iq_is_full(struct octeon_device *oct, u32 q_no) in octnet_iq_is_full()