Searched refs:shpc_get_status (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/pci/ |
H A D | shpc.c | 155 static uint8_t shpc_get_status(SHPCDevice *shpc, int slot, uint16_t msk) in shpc_get_status() function 300 uint8_t old_state = shpc_get_status(shpc, slot, SHPC_SLOT_STATE_MASK); in shpc_slot_command() 301 uint8_t old_power = shpc_get_status(shpc, slot, SHPC_SLOT_PWR_LED_MASK); in shpc_slot_command() 302 uint8_t old_attn = shpc_get_status(shpc, slot, SHPC_SLOT_ATTN_LED_MASK); in shpc_slot_command() 397 state = shpc_get_status(shpc, i, SHPC_SLOT_STATE_MASK); in shpc_command() 404 if (!(shpc_get_status(shpc, i, SHPC_SLOT_STATUS_MRL_OPEN))) { in shpc_command() 418 state = shpc_get_status(shpc, i, SHPC_SLOT_STATE_MASK); in shpc_command() 425 if (!(shpc_get_status(shpc, i, SHPC_SLOT_STATUS_MRL_OPEN))) { in shpc_command() 586 if (shpc_get_status(shpc, slot, SHPC_SLOT_STATUS_MRL_OPEN)) { in shpc_device_plug_cb() 622 state = shpc_get_status(shpc, slot, SHPC_SLOT_STATE_MASK); in shpc_device_unplug_request_cb() [all …]
|