Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/greybus/
Dpower_supply.c44 enum power_supply_property *props_raw; member
435 new_props_raw = krealloc(gbpsy->props_raw, total_props(gbpsy) * in prop_append()
440 gbpsy->props_raw = new_props_raw; in prop_append()
441 gbpsy->props_raw[total_props(gbpsy) - 1] = prop; in prop_append()
555 gbpsy->props_raw = kcalloc(gbpsy->properties_count, in gb_power_supply_prop_descriptors_get()
556 sizeof(*gbpsy->props_raw), GFP_KERNEL); in gb_power_supply_prop_descriptors_get()
557 if (!gbpsy->props_raw) { in gb_power_supply_prop_descriptors_get()
571 gbpsy->props_raw[i - r] = psp; in gb_power_supply_prop_descriptors_get()
826 gbpsy->desc.properties = gbpsy->props_raw; in gb_power_supply_register()
842 kfree(gbpsy->props_raw); in _gb_power_supply_free()