Lines Matching refs:properties
83 * This properties are set based on the received platform data and this
247 enum power_supply_property *properties;
272 * copying the static properties and allocating extra memory for holding
273 * the extra configurable properties received from platform data.
275 properties = kcalloc(ARRAY_SIZE(gab_props) +
277 sizeof(*properties),
279 if (!properties) {
284 memcpy(properties, gab_props, sizeof(gab_props));
287 * getting channel from iio and copying the battery properties
297 /* copying properties for supported channels only */
301 if (properties[index2] == gab_dyn_props[chan])
305 properties[index++] = gab_dyn_props[chan];
317 * Total number of properties is equal to static properties
318 * plus the dynamic properties.Some properties may not be set
322 psy_desc->properties = properties;
364 kfree(properties);
387 kfree(adc_bat->psy_desc.properties);