Lines Matching defs:state
35 int rpaphp_get_sensor_state(struct slot *slot, int *state)
40 rc = rtas_get_sensor(DR_ENTITY_SENSE, slot->index, state);
44 dbg("%s: slot must be power up to get sensor-state\n",
57 slot->index, state);
62 err("%s failed to get sensor state\n", __func__);
68 * rpaphp_enable_slot - record slot state, config pci device
78 int rc, level, state;
83 slot->state = EMPTY;
92 rc = rpaphp_get_sensor_state(slot, &state);
107 if (state == PRESENT) {
109 slot->state = NOT_CONFIGURED;
123 slot->state = CONFIGURED;