Lines Matching refs:bat_desc
112 struct power_supply_desc bat_desc; member
695 di->bat_desc.name = name; in w1_ds2760_add_slave()
696 di->bat_desc.type = POWER_SUPPLY_TYPE_BATTERY; in w1_ds2760_add_slave()
697 di->bat_desc.properties = ds2760_battery_props; in w1_ds2760_add_slave()
698 di->bat_desc.num_properties = ARRAY_SIZE(ds2760_battery_props); in w1_ds2760_add_slave()
699 di->bat_desc.get_property = ds2760_battery_get_property; in w1_ds2760_add_slave()
700 di->bat_desc.set_property = ds2760_battery_set_property; in w1_ds2760_add_slave()
701 di->bat_desc.property_is_writeable = in w1_ds2760_add_slave()
703 di->bat_desc.set_charged = ds2760_battery_set_charged; in w1_ds2760_add_slave()
704 di->bat_desc.external_power_changed = in w1_ds2760_add_slave()
750 di->bat = power_supply_register(dev, &di->bat_desc, &psy_cfg); in w1_ds2760_add_slave()