Home
last modified time | relevance | path

Searched refs:gbpsy (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/staging/greybus/
H A Dpower_supply.c84 void (*prop_changed)(struct gb_power_supply *gbpsy,
88 static void gb_power_supply_state_change(struct gb_power_supply *gbpsy,
310 static struct gb_connection *get_conn_from_psy(struct gb_power_supply *gbpsy) in get_conn_from_psy() argument
312 return gbpsy->supplies->connection; in get_conn_from_psy()
315 static struct gb_power_supply_prop *get_psy_prop(struct gb_power_supply *gbpsy, in get_psy_prop() argument
320 for (i = 0; i < gbpsy->properties_count; i++) in get_psy_prop()
321 if (gbpsy->props[i].prop == psp) in get_psy_prop()
322 return &gbpsy->props[i]; in get_psy_prop()
326 static int is_psy_prop_writeable(struct gb_power_supply *gbpsy, in is_psy_prop_writeable() argument
331 prop = get_psy_prop(gbpsy, psp); in is_psy_prop_writeable()
[all …]