Searched refs:SHPC_SLOT_STATE_MASK (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/pci/ |
H A D | shpc.c | 63 #define SHPC_SLOT_STATE_MASK 0x03 macro 65 ctz32(SHPC_SLOT_STATE_MASK) 246 shpc_set_status(shpc, i, SHPC_STATE_ENABLED, SHPC_SLOT_STATE_MASK); in shpc_reset() 252 shpc_set_status(shpc, i, SHPC_STATE_DISABLED, SHPC_SLOT_STATE_MASK); in shpc_reset() 300 uint8_t old_state = shpc_get_status(shpc, slot, SHPC_SLOT_STATE_MASK); in shpc_slot_command() 331 shpc_set_status(shpc, slot, state, SHPC_SLOT_STATE_MASK); in shpc_slot_command() 384 state = (code & SHPC_SLOT_STATE_MASK) >> SHPC_SLOT_STATE_SHIFT; in shpc_command() 397 state = shpc_get_status(shpc, i, SHPC_SLOT_STATE_MASK); in shpc_command() 418 state = shpc_get_status(shpc, i, SHPC_SLOT_STATE_MASK); in shpc_command() 622 state = shpc_get_status(shpc, slot, SHPC_SLOT_STATE_MASK); in shpc_device_unplug_request_cb()
|