Lines Matching full:properties
83 * This properties are set based on the received platform data and this
244 enum power_supply_property *properties; in gab_probe() local
269 * copying the static properties and allocating extra memory for holding in gab_probe()
270 * the extra configurable properties received from platform data. in gab_probe()
272 properties = kcalloc(ARRAY_SIZE(gab_props) + in gab_probe()
274 sizeof(*properties), in gab_probe()
276 if (!properties) { in gab_probe()
281 memcpy(properties, gab_props, sizeof(gab_props)); in gab_probe()
284 * getting channel from iio and copying the battery properties in gab_probe()
294 /* copying properties for supported channels only */ in gab_probe()
298 if (properties[index2] == gab_dyn_props[chan]) in gab_probe()
302 properties[index++] = gab_dyn_props[chan]; in gab_probe()
314 * Total number of properties is equal to static properties in gab_probe()
315 * plus the dynamic properties.Some properties may not be set in gab_probe()
319 psy_desc->properties = properties; in gab_probe()
361 kfree(properties); in gab_probe()
384 kfree(adc_bat->psy_desc.properties); in gab_remove()