Searched refs:BITSET (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A D | severity.c | 64 #define BITSET(x) .mask = x, .result = x macro 82 BITSET(MCI_STATUS_PCC) 151 SER, BITSET(MCI_STATUS_OVER|MCI_UC_SAR) 203 BITSET(MCI_STATUS_OVER|MCI_STATUS_UC) 207 BITSET(MCI_STATUS_UC), 212 BITSET(MCI_STATUS_UC) 216 BITSET(0)
|
/openbmc/qemu/tests/qtest/ |
H A D | ahci-test.c | 515 if (BITSET(ahci->cap, AHCI_CAP_SAM)) { in ahci_test_hba_spec() 558 if (BITSET(ahci->cap, AHCI_CAP_CCCS)) { in ahci_test_hba_spec() 580 if (BITSET(ahci->cap, AHCI_CAP_EMS)) { in ahci_test_hba_spec() 622 if (BITSET(ports, 0x1)) { in ahci_test_hba_spec() 708 g_assert(!BITSET(reg, AHCI_PX_CMD_HPCP | AHCI_PX_CMD_ESP)); in ahci_test_port_spec() 770 if (BITSET(ahci->cap, AHCI_CAP_FBSS)) { in ahci_test_port_spec()
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | ahci.c | 330 if (BITSET(reg, AHCI_PX_SERR_DIAG_X)) { in ahci_hba_enable() 380 if (BITSET(reg, AHCI_PX_CMD_ST)) { in ahci_port_select() 1261 #define RSET(REG, MASK) (BITSET(ahci_px_rreg(ahci, cmd->port, (REG)), (MASK))) in ahci_command_wait()
|
H A D | ahci.h | 497 #define BITSET(data, mask) (((data) & (mask)) == (mask)) macro
|