Lines Matching refs:octeon_device
197 void (*setup_iq_regs)(struct octeon_device *, u32);
198 void (*setup_oq_regs)(struct octeon_device *, u32);
201 int (*soft_reset)(struct octeon_device *);
202 int (*setup_device_regs)(struct octeon_device *);
203 void (*reinit_regs)(struct octeon_device *);
204 void (*bar1_idx_setup)(struct octeon_device *, u64, u32, int);
205 void (*bar1_idx_write)(struct octeon_device *, u32, u32);
206 u32 (*bar1_idx_read)(struct octeon_device *, u32);
207 u32 (*update_iq_read_idx)(struct octeon_device *,
210 void (*enable_oq_pkt_time_intr)(struct octeon_device *, u32);
211 void (*disable_oq_pkt_time_intr)(struct octeon_device *, u32);
216 void (*enable_io_queues)(struct octeon_device *);
217 void (*disable_io_queues)(struct octeon_device *);
277 struct octeon_device { struct
399 struct octeon_device *oct_dev; argument
410 void octeon_free_device_mem(struct octeon_device *);
416 struct octeon_device *octeon_allocate_device(u32 pci_id,
424 int octeon_init_dispatch_list(struct octeon_device *octeon_dev);
430 void octeon_delete_dispatch_list(struct octeon_device *octeon_dev);
453 octeon_get_dispatch(struct octeon_device *octeon_dev, u16 opcode,
461 struct octeon_device *lio_get_device(u32 octeon_id);
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()
492 u64 lio_pci_readq(struct octeon_device *oct, u64 addr);
504 void lio_pci_writeq(struct octeon_device *oct, u64 val, u64 addr);
525 int octeon_mem_access_ok(struct octeon_device *oct);
537 int octeon_wait_for_ddr_init(struct octeon_device *oct,
548 int octeon_wait_for_bootloader(struct octeon_device *oct,
557 int octeon_init_consoles(struct octeon_device *oct);
566 int octeon_add_console(struct octeon_device *oct, u32 console_num);
569 int octeon_console_write(struct octeon_device *oct, u32 console_num,
571 int octeon_console_write_avail(struct octeon_device *oct, u32 console_num);
572 int octeon_console_read(struct octeon_device *oct, u32 console_num,
574 int octeon_console_read_avail(struct octeon_device *oct, u32 console_num);
577 void octeon_remove_consoles(struct octeon_device *oct);
588 int octeon_console_send_cmd(struct octeon_device *oct, char *cmd_str,
601 int octeon_download_firmware(struct octeon_device *oct, const u8 *data,
611 int octeon_setup_instr_queues(struct octeon_device *oct);
618 int octeon_setup_output_queues(struct octeon_device *oct);
620 int octeon_get_tx_qsize(struct octeon_device *oct, u32 q_no);
622 int octeon_get_rx_qsize(struct octeon_device *oct, u32 q_no);
627 void octeon_set_io_queues_off(struct octeon_device *oct);
634 void octeon_set_droq_pkt_op(struct octeon_device *oct, u32 q_no, u32 enable);
642 void *oct_get_config_info(struct octeon_device *oct, u16 card_type);
647 struct octeon_config *octeon_get_conf(struct octeon_device *oct);