Home
last modified time | relevance | path

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

/drivers/extcon/
Dextcon.c214 struct device_attribute attr_state; member
399 attr_state); in cable_state_show()
1153 cable->attrs[1] = &cable->attr_state.attr; in extcon_dev_register()
1163 sysfs_attr_init(&cable->attr_state.attr); in extcon_dev_register()
1164 cable->attr_state.attr.name = "state"; in extcon_dev_register()
1165 cable->attr_state.attr.mode = 0444; in extcon_dev_register()
1166 cable->attr_state.show = cable_state_show; in extcon_dev_register()
/drivers/power/supply/
Dcharger-manager.c1088 = container_of(attr, struct charger_regulator, attr_state); in charger_state_show()
1190 charger->attrs[1] = &charger->attr_state.attr; in charger_manager_prepare_sysfs()
1203 sysfs_attr_init(&charger->attr_state.attr); in charger_manager_prepare_sysfs()
1204 charger->attr_state.attr.name = "state"; in charger_manager_prepare_sysfs()
1205 charger->attr_state.attr.mode = 0444; in charger_manager_prepare_sysfs()
1206 charger->attr_state.show = charger_state_show; in charger_manager_prepare_sysfs()
/drivers/md/
Ddm-bow.c580 static struct kobj_attribute attr_state = __ATTR_RW(state); variable
584 &attr_state.attr,