Lines Matching refs:ea
1256 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_ulong() local
1263 *(unsigned long *)(ea->var) = new; in device_store_ulong()
1273 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_ulong() local
1274 return snprintf(buf, PAGE_SIZE, "%lx\n", *(unsigned long *)(ea->var)); in device_show_ulong()
1282 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_int() local
1292 *(int *)(ea->var) = new; in device_store_int()
1302 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_int() local
1304 return snprintf(buf, PAGE_SIZE, "%d\n", *(int *)(ea->var)); in device_show_int()
1311 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_store_bool() local
1313 if (strtobool(buf, ea->var) < 0) in device_store_bool()
1323 struct dev_ext_attribute *ea = to_ext_attr(attr); in device_show_bool() local
1325 return snprintf(buf, PAGE_SIZE, "%d\n", *(bool *)(ea->var)); in device_show_bool()