Lines Matching defs:state
21 int rpaphp_get_sensor_state(struct slot *slot, int *state)
26 rc = rtas_get_sensor(DR_ENTITY_SENSE, slot->index, state);
30 dbg("%s: slot must be power up to get sensor-state\n",
43 slot->index, state);
48 err("%s failed to get sensor state\n", __func__);
54 * rpaphp_enable_slot - record slot state, config pci device
63 int rc, level, state;
66 slot->state = EMPTY;
74 rc = rpaphp_get_sensor_state(slot, &state);
88 if (state == PRESENT) {
89 slot->state = NOT_CONFIGURED;
104 slot->state = CONFIGURED;