Searched refs:gbpsy (Results 1 – 1 of 1) sorted by relevance
426 return (gbpsy->properties_count + gbpsy->properties_count_str); in total_props()435 new_props_raw = krealloc(gbpsy->props_raw, total_props(gbpsy) * in prop_append()441 gbpsy->props_raw[total_props(gbpsy) - 1] = prop; in prop_append()548 gbpsy->props = kcalloc(gbpsy->properties_count, sizeof(*gbpsy->props), in gb_power_supply_prop_descriptors_get()555 gbpsy->props_raw = kcalloc(gbpsy->properties_count, in gb_power_supply_prop_descriptors_get()750 schedule_delayed_work(&gbpsy->work, gbpsy->update_interval); in gb_power_supply_work()824 gbpsy->desc.name = gbpsy->name; in gb_power_supply_register()825 gbpsy->desc.type = gbpsy->type; in gb_power_supply_register()826 gbpsy->desc.properties = gbpsy->props_raw; in gb_power_supply_register()827 gbpsy->desc.num_properties = total_props(gbpsy); in gb_power_supply_register()[all …]