Searched refs:shpc_get_status (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/pci/ |
H A D | shpc.c | 126 static uint8_t shpc_get_status(SHPCDevice *shpc, int slot, uint16_t msk) in shpc_get_status() function 271 uint8_t old_state = shpc_get_status(shpc, slot, SHPC_SLOT_STATE_MASK); in shpc_slot_command() 272 uint8_t old_power = shpc_get_status(shpc, slot, SHPC_SLOT_PWR_LED_MASK); in shpc_slot_command() 273 uint8_t old_attn = shpc_get_status(shpc, slot, SHPC_SLOT_ATTN_LED_MASK); in shpc_slot_command() 351 state = shpc_get_status(shpc, i, SHPC_SLOT_STATE_MASK); in shpc_command() 358 if (!(shpc_get_status(shpc, i, SHPC_SLOT_STATUS_MRL_OPEN))) { in shpc_command() 372 state = shpc_get_status(shpc, i, SHPC_SLOT_STATE_MASK); in shpc_command() 379 if (!(shpc_get_status(shpc, i, SHPC_SLOT_STATUS_MRL_OPEN))) { in shpc_command() 540 if (shpc_get_status(shpc, slot, SHPC_SLOT_STATUS_MRL_OPEN)) { in shpc_device_plug_cb() 576 state = shpc_get_status(shpc, slot, SHPC_SLOT_STATE_MASK); in shpc_device_unplug_request_cb() [all …]
|