Home
last modified time | relevance | path

Searched refs:ctrl_ver (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/efa/ !
Defa_com.c931 u32 ctrl_ver; in efa_com_validate_version() local
939 ctrl_ver = efa_com_reg_read32(edev, in efa_com_validate_version()
959 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_MAJOR_VERSION), in efa_com_validate_version()
960 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_MINOR_VERSION), in efa_com_validate_version()
961 EFA_GET(&ctrl_ver, in efa_com_validate_version()
963 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_IMPL_ID)); in efa_com_validate_version()
966 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_MAJOR_VERSION) | in efa_com_validate_version()
967 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_MINOR_VERSION) | in efa_com_validate_version()
968 EFA_GET(&ctrl_ver, in efa_com_validate_version()
/linux-6.6.21/drivers/spi/ !
Dspi-cadence-xspi.c305 u32 ctrl_ver; in cdns_xspi_controller_init() local
309 ctrl_ver = readl(cdns_xspi->iobase + CDNS_XSPI_CTRL_VERSION_REG); in cdns_xspi_controller_init()
310 hw_magic_num = FIELD_GET(CDNS_XSPI_MAGIC_NUM, ctrl_ver); in cdns_xspi_controller_init()
/linux-6.6.21/drivers/net/ethernet/amazon/ena/ !
Dena_com.c1626 u32 ctrl_ver; in ena_com_validate_version() local
1633 ctrl_ver = ena_com_reg_bar_read32(ena_dev, in ena_com_validate_version()
1637 (ctrl_ver == ENA_MMIO_READ_TIMEOUT))) { in ena_com_validate_version()
1649 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_MAJOR_VERSION_MASK) >> in ena_com_validate_version()
1651 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_MINOR_VERSION_MASK) >> in ena_com_validate_version()
1653 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_SUBMINOR_VERSION_MASK), in ena_com_validate_version()
1654 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_IMPL_ID_MASK) >> in ena_com_validate_version()
1658 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_MAJOR_VERSION_MASK) | in ena_com_validate_version()
1659 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_MINOR_VERSION_MASK) | in ena_com_validate_version()
1660 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_SUBMINOR_VERSION_MASK); in ena_com_validate_version()