Lines Matching +full:firmware +full:- +full:initialized

58 /* Endian-swap modes supported by Octeon. */
74 /*--------------- PCI BAR1 index registers -------------*/
87 * as it is initialized.
120 /*---------------------------DISPATCH LIST-------------------------------*/
131 /* Singly-linked tail queue node for this entry */
134 /* Singly-linked tail queue head for this entry */
162 /*----------------------- THE OCTEON DEVICE ---------------------------*/
269 uint64_t app_cap_flags; /* firmware cap flags */
273 * See octeon-drv-opcodes.h for values.
398 /* This device's id - set by the driver. */
427 /* The doubly-linked list of instruction response */
447 * Assumes single-threaded access
492 /* For PF, there is one non-ioq interrupt handler */
506 /* IOq information of it's corresponding MSI-X interrupt. */
516 struct octeon_link_stats link_stats; /* stastics from firmware */
542 #define LIO_CN23XX_PF(oct) ((oct)->chip_id == LIO_CN23XX_PF_VID)
544 (((struct lio_ ## TYPE *)((oct)->chip))->conf)
547 /*------------------ Function Prototypes ----------------------*/
564 * @param oct - pointer to the octeon device structure.
565 * @param bus - PCIe bus #
566 * @param dev - PCIe device #
567 * @param func - PCIe function #
568 * @param is_pf - TRUE for PF, FALSE for VF
575 * Deregister a device at de-initialization time.
576 * @param oct - pointer to the octeon device structure.
584 * @param octeon_dev - pointer to the octeon device structure.
585 * @return 0 on success, else -ve error value
592 * @param octeon_dev - pointer to the octeon device structure.
598 * @param recv_info - Receive info structure
599 * @param buf - Receive buffer
606 * @param octeon_dev - the octeon device pointer.
607 * @param opcode - the opcode for which the dispatch function
609 * @param subcode - the subcode for which the dispatch function
623 * @param octeon_id - The id for which the octeon device pointer is required.
632 * @param dev - octeon device pointer passed as a void *.
641 uint16_t rev = (oct->rev_id & 0xC) >> 2; in OCTEON_MAJOR_REV()
650 return (oct->rev_id & 0x3); in OCTEON_MINOR_REV()
655 * @param oct - pointer to the Octeon device.
656 * @param addr - Address of the register to read.
661 * @return - 64 bit value read from the register.
668 * @param oct - pointer to the Octeon device.
669 * @param val - Value to write
670 * @param addr - Address of the register to write
691 * @param timeout_in_ms pointer to how long to wait until DDR is initialized
693 * If contents are 0, it waits until contents are non-zero
701 * Wait for u-boot to boot and be waiting for a command.
743 * Send a string to u-boot on console 0 as a command.
747 * @param wait_hundredths Time to wait for u-boot to accept the command.
755 * Parses, validates, and downloads firmware, then boots associated cores.
756 * @param oct which octeon to download firmware to
757 * @param data - The complete firmware file image
758 * @param size - The size of the data
761 * -EINVAL if file is incompatible or badly formatted.
762 * -ENODEV if no handler was found for the application type or an
801 * @return - pointer to the octeon configuration structure
813 return (pci_read_config(oct->device, reg, 4)); in lio_read_pci_cfg()
820 pci_write_config(oct->device, reg, value, 4); in lio_write_pci_cfg()
827 return (bus_space_read_1(oct->mem_bus_space[0].tag, in lio_read_csr8()
828 oct->mem_bus_space[0].handle, reg)); in lio_read_csr8()
835 bus_space_write_1(oct->mem_bus_space[0].tag, in lio_write_csr8()
836 oct->mem_bus_space[0].handle, reg, val); in lio_write_csr8()
843 return (bus_space_read_2(oct->mem_bus_space[0].tag, in lio_read_csr16()
844 oct->mem_bus_space[0].handle, reg)); in lio_read_csr16()
851 bus_space_write_2(oct->mem_bus_space[0].tag, in lio_write_csr16()
852 oct->mem_bus_space[0].handle, reg, val); in lio_write_csr16()
859 return (bus_space_read_4(oct->mem_bus_space[0].tag, in lio_read_csr32()
860 oct->mem_bus_space[0].handle, reg)); in lio_read_csr32()
867 bus_space_write_4(oct->mem_bus_space[0].tag, in lio_write_csr32()
868 oct->mem_bus_space[0].handle, reg, val); in lio_write_csr32()
879 return (bus_space_read_8(oct->mem_bus_space[0].tag, in lio_read_csr64()
880 oct->mem_bus_space[0].handle, reg)); in lio_read_csr64()
892 bus_space_write_8(oct->mem_bus_space[0].tag, in lio_write_csr64()
893 oct->mem_bus_space[0].handle, reg, val); in lio_write_csr64()