Searched refs:gbpsy (Results 1 – 1 of 1) sorted by relevance
85 void (*prop_changed)(struct gb_power_supply *gbpsy,89 static void gb_power_supply_state_change(struct gb_power_supply *gbpsy,311 static struct gb_connection *get_conn_from_psy(struct gb_power_supply *gbpsy) in get_conn_from_psy() argument313 return gbpsy->supplies->connection; in get_conn_from_psy()316 static struct gb_power_supply_prop *get_psy_prop(struct gb_power_supply *gbpsy, in get_psy_prop() argument321 for (i = 0; i < gbpsy->properties_count; i++) in get_psy_prop()322 if (gbpsy->props[i].prop == psp) in get_psy_prop()323 return &gbpsy->props[i]; in get_psy_prop()327 static int is_psy_prop_writeable(struct gb_power_supply *gbpsy, in is_psy_prop_writeable() argument332 prop = get_psy_prop(gbpsy, psp); in is_psy_prop_writeable()[all …]