Lines Matching refs:octeon_device
462 static struct octeon_device *octeon_device[MAX_OCTEON_DEVICES]; variable
478 memset(octeon_device, 0, (sizeof(void *) * MAX_OCTEON_DEVICES)); in octeon_init_device_list()
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()
664 octeon_device[i] = NULL; in octeon_free_device_mem()
668 static struct octeon_device *octeon_allocate_device_mem(u32 pci_id, in octeon_allocate_device_mem()
671 struct octeon_device *oct; in octeon_allocate_device_mem()
691 octdevsize = sizeof(struct octeon_device); in octeon_allocate_device_mem()
707 oct = (struct octeon_device *)buf; in octeon_allocate_device_mem()
716 struct octeon_device *octeon_allocate_device(u32 pci_id, in octeon_allocate_device()
720 struct octeon_device *oct = NULL; in octeon_allocate_device()
723 if (!octeon_device[oct_idx]) in octeon_allocate_device()
737 octeon_device[oct_idx] = oct; in octeon_allocate_device()
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()
821 void octeon_set_droq_pkt_op(struct octeon_device *oct, in octeon_set_droq_pkt_op()
838 int octeon_init_dispatch_list(struct octeon_device *oct) in octeon_init_dispatch_list()
857 void octeon_delete_dispatch_list(struct octeon_device *oct) in octeon_delete_dispatch_list()
890 octeon_get_dispatch(struct octeon_device *octeon_dev, u16 opcode, in octeon_get_dispatch()
948 octeon_register_dispatch_fn(struct octeon_device *oct, in octeon_register_dispatch_fn()
1024 octeon_unregister_dispatch_fn(struct octeon_device *oct, u16 opcode, in octeon_unregister_dispatch_fn()
1087 struct octeon_device *oct = (struct octeon_device *)buf; in octeon_core_drv_init()
1154 int octeon_get_tx_qsize(struct octeon_device *oct, u32 q_no) in octeon_get_tx_qsize()
1164 int octeon_get_rx_qsize(struct octeon_device *oct, u32 q_no) in octeon_get_rx_qsize()
1173 struct octeon_config *octeon_get_conf(struct octeon_device *oct) in octeon_get_conf()
1197 struct octeon_device *lio_get_device(u32 octeon_id) in lio_get_device()
1202 return octeon_device[octeon_id]; in lio_get_device()
1205 u64 lio_pci_readq(struct octeon_device *oct, u64 addr) in lio_pci_readq()
1234 void lio_pci_writeq(struct octeon_device *oct, in lio_pci_writeq()
1255 int octeon_mem_access_ok(struct octeon_device *oct) in octeon_mem_access_ok()
1267 int octeon_wait_for_ddr_init(struct octeon_device *oct, u32 *timeout) in octeon_wait_for_ddr_init()
1297 struct octeon_device *octeon_dev = (struct octeon_device *)dev; in lio_get_device_id()
1301 if (octeon_device[i] == octeon_dev) in lio_get_device_id()