Lines Matching refs:value
54 static int set_attention_status(struct hotplug_slot *hotplug_slot, u8 value) in set_attention_status() argument
59 switch (value) { in set_attention_status()
65 value = 1; in set_attention_status()
69 rc = rtas_set_indicator(DR_INDICATOR, slot->index, value); in set_attention_status()
71 slot->attention_status = value; in set_attention_status()
81 static int get_power_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_power_status() argument
88 *value = level; in get_power_status()
97 static int get_attention_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_attention_status() argument
100 *value = slot->attention_status; in get_attention_status()
104 static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value) in get_adapter_status() argument
111 *value = NOT_VALID; in get_adapter_status()
116 *value = EMPTY; in get_adapter_status()
118 *value = slot->state; in get_adapter_status()
233 const __be32 *value; in rpaphp_check_drc_props_v2() local
241 value = of_prop_next_u32(info, NULL, &entries); in rpaphp_check_drc_props_v2()
242 if (!value) in rpaphp_check_drc_props_v2()
245 value++; in rpaphp_check_drc_props_v2()
248 of_read_drc_info_cell(&info, &value, &drc); in rpaphp_check_drc_props_v2()