Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/efa/
Defa_com.c935 u32 ctrl_ver; in efa_com_validate_version() local
943 ctrl_ver = efa_com_reg_read32(edev, in efa_com_validate_version()
963 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_MAJOR_VERSION), in efa_com_validate_version()
964 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_MINOR_VERSION), in efa_com_validate_version()
965 EFA_GET(&ctrl_ver, in efa_com_validate_version()
967 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_IMPL_ID)); in efa_com_validate_version()
970 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_MAJOR_VERSION) | in efa_com_validate_version()
971 EFA_GET(&ctrl_ver, EFA_REGS_CONTROLLER_VERSION_MINOR_VERSION) | in efa_com_validate_version()
972 EFA_GET(&ctrl_ver, in efa_com_validate_version()
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_com.c1560 u32 ctrl_ver; in ena_com_validate_version() local
1567 ctrl_ver = ena_com_reg_bar_read32(ena_dev, in ena_com_validate_version()
1570 if (unlikely((ver == ENA_MMIO_READ_TIMEOUT) || (ctrl_ver == ENA_MMIO_READ_TIMEOUT))) { in ena_com_validate_version()
1580 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_MAJOR_VERSION_MASK) >> in ena_com_validate_version()
1582 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_MINOR_VERSION_MASK) >> in ena_com_validate_version()
1584 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_SUBMINOR_VERSION_MASK), in ena_com_validate_version()
1585 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_IMPL_ID_MASK) >> in ena_com_validate_version()
1589 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_MAJOR_VERSION_MASK) | in ena_com_validate_version()
1590 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_MINOR_VERSION_MASK) | in ena_com_validate_version()
1591 (ctrl_ver & ENA_REGS_CONTROLLER_VERSION_SUBMINOR_VERSION_MASK); in ena_com_validate_version()
/linux-6.12.1/drivers/spi/
Dspi-cadence-xspi.c560 u32 ctrl_ver; in cdns_xspi_controller_init() local
564 ctrl_ver = readl(cdns_xspi->iobase + CDNS_XSPI_CTRL_VERSION_REG); in cdns_xspi_controller_init()
565 hw_magic_num = FIELD_GET(CDNS_XSPI_MAGIC_NUM, ctrl_ver); in cdns_xspi_controller_init()