Lines Matching full:oct

212 typedef int (*octeon_console_print_fn)(struct octeon_device *oct,
423 struct octeon_device *oct; member
621 #define OCTEON_CN6XXX(oct) ({ \ argument
622 typeof(oct) _oct = (oct); \
625 #define OCTEON_CN23XX_PF(oct) ((oct)->chip_id == OCTEON_CN23XX_PF_VID) argument
626 #define OCTEON_CN23XX_VF(oct) ((oct)->chip_id == OCTEON_CN23XX_VF_VID) argument
627 #define CHIP_CONF(oct, TYPE) \ argument
628 (((struct octeon_ ## TYPE *)((oct)->chip))->conf)
638 void octeon_free_device_mem(struct octeon_device *oct);
655 int octeon_register_device(struct octeon_device *oct,
662 int octeon_deregister_device(struct octeon_device *oct);
709 * @param oct - pointer to the Octeon device.
718 u64 lio_pci_readq(struct octeon_device *oct, u64 addr);
721 * @param oct - pointer to the Octeon device.
730 void lio_pci_writeq(struct octeon_device *oct, u64 val, u64 addr);
748 * @param oct which octeon to send to
751 int octeon_mem_access_ok(struct octeon_device *oct);
756 * @param oct which octeon to send to
763 int octeon_wait_for_ddr_init(struct octeon_device *oct,
774 int octeon_wait_for_bootloader(struct octeon_device *oct,
780 * @param oct which octeon initialize
783 int octeon_init_consoles(struct octeon_device *oct);
788 * @param oct: which octeon to add to
797 int octeon_add_console(struct octeon_device *oct, u32 console_num,
801 void octeon_remove_consoles(struct octeon_device *oct);
806 * @param oct which octeon to send to
812 int octeon_console_send_cmd(struct octeon_device *oct, char *cmd_str,
816 * @param oct which octeon to download firmware to
825 int octeon_download_firmware(struct octeon_device *oct, const u8 *data,
831 * @param oct which octeon to setup
835 int octeon_setup_instr_queues(struct octeon_device *oct);
838 * @param oct which octeon to setup
842 int octeon_setup_output_queues(struct octeon_device *oct);
844 int octeon_get_tx_qsize(struct octeon_device *oct, u32 q_no);
846 int octeon_get_rx_qsize(struct octeon_device *oct, u32 q_no);
849 * @param oct which octeon to disable
851 int octeon_set_io_queues_off(struct octeon_device *oct);
854 * @param oct which octeon to change
858 void octeon_set_droq_pkt_op(struct octeon_device *oct, u32 q_no, u32 enable);
861 * @param oct which octeon
866 void *oct_get_config_info(struct octeon_device *oct, u16 card_type);
871 struct octeon_config *octeon_get_conf(struct octeon_device *oct);
873 void octeon_free_ioq_vector(struct octeon_device *oct);
874 int octeon_allocate_ioq_vector(struct octeon_device *oct, u32 num_ioqs);