Home
last modified time | relevance | path

Searched defs:attr (Results 201 – 400 of 1519) sorted by relevance

12345678

/linux-4.4.14/drivers/video/backlight/
Dadp8860_bl.c465 struct device_attribute *attr, char *buf) in adp8860_bl_l3_dark_max_show()
471 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l3_dark_max_store()
480 struct device_attribute *attr, char *buf) in adp8860_bl_l2_office_max_show()
486 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l2_office_max_store()
494 struct device_attribute *attr, char *buf) in adp8860_bl_l1_daylight_max_show()
500 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l1_daylight_max_store()
514 struct device_attribute *attr, char *buf) in adp8860_bl_l3_dark_dim_show()
520 struct device_attribute *attr, in adp8860_bl_l3_dark_dim_store()
529 struct device_attribute *attr, char *buf) in adp8860_bl_l2_office_dim_show()
535 struct device_attribute *attr, in adp8860_bl_l2_office_dim_store()
[all …]
Dbacklight.c124 static ssize_t bl_power_show(struct device *dev, struct device_attribute *attr, in bl_power_show()
132 static ssize_t bl_power_store(struct device *dev, struct device_attribute *attr, in bl_power_store()
160 struct device_attribute *attr, char *buf) in brightness_show()
168 struct device_attribute *attr, const char *buf, size_t count) in brightness_store()
199 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
209 struct device_attribute *attr, char *buf) in max_brightness_show()
218 struct device_attribute *attr, char *buf) in actual_brightness_show()
Dlcd.c92 static ssize_t lcd_power_show(struct device *dev, struct device_attribute *attr, in lcd_power_show()
109 struct device_attribute *attr, const char *buf, size_t count) in lcd_power_store()
134 struct device_attribute *attr, char *buf) in contrast_show()
148 struct device_attribute *attr, const char *buf, size_t count) in contrast_store()
173 struct device_attribute *attr, char *buf) in max_contrast_show()
/linux-4.4.14/drivers/thermal/
Dthermal_core.c591 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show()
599 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show()
613 mode_show(struct device *dev, struct device_attribute *attr, char *buf) in mode_show()
631 mode_store(struct device *dev, struct device_attribute *attr, in mode_store()
654 trip_point_type_show(struct device *dev, struct device_attribute *attr, in trip_point_type_show()
686 trip_point_temp_store(struct device *dev, struct device_attribute *attr, in trip_point_temp_store()
708 trip_point_temp_show(struct device *dev, struct device_attribute *attr, in trip_point_temp_show()
730 trip_point_hyst_store(struct device *dev, struct device_attribute *attr, in trip_point_hyst_store()
757 trip_point_hyst_show(struct device *dev, struct device_attribute *attr, in trip_point_hyst_show()
776 passive_store(struct device *dev, struct device_attribute *attr, in passive_store()
[all …]
Dthermal_hwmon.c45 struct device_attribute attr; member
62 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show()
70 temp_input_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_input_show()
90 temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_crit_show()
/linux-4.4.14/tools/lib/bpf/
Dbpf.c37 static int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf()
46 union bpf_attr attr; in bpf_create_map() local
63 union bpf_attr attr; in bpf_load_program() local
/linux-4.4.14/drivers/hwmon/
Dlm92.c148 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local
157 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp() local
178 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_hyst() local
185 struct device_attribute *attr, char *buf) in show_temp_min_hyst()
196 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_hyst() local
216 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, in show_alarms()
223 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
Dultra45_env.c96 static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, in show_fan_speed()
114 static ssize_t set_fan_speed(struct device *dev, struct device_attribute *attr, in set_fan_speed()
138 static ssize_t show_fan_fault(struct device *dev, struct device_attribute *attr, in show_fan_fault()
161 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp()
182 static ssize_t show_stat_bit(struct device *dev, struct device_attribute *attr, in show_stat_bit()
199 static ssize_t show_fwver(struct device *dev, struct device_attribute *attr, in show_fwver()
211 static ssize_t show_name(struct device *dev, struct device_attribute *attr, in show_name()
Dasb100.c300 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan()
309 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, in show_fan_min()
318 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
326 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min()
352 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, in set_fan_div()
486 static ssize_t show_vid(struct device *dev, struct device_attribute *attr, in show_vid()
496 static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, in show_vrm()
503 static ssize_t set_vrm(struct device *dev, struct device_attribute *attr, in set_vrm()
524 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, in show_alarms()
533 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
[all …]
Dw83793.c327 show_vrm(struct device *dev, struct device_attribute *attr, char *buf) in show_vrm()
334 show_vid(struct device *dev, struct device_attribute *attr, char *buf) in show_vid()
345 store_vrm(struct device *dev, struct device_attribute *attr, in store_vrm()
366 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm_beep()
386 store_beep(struct device *dev, struct device_attribute *attr, in store_beep()
417 show_beep_enable(struct device *dev, struct device_attribute *attr, char *buf) in show_beep_enable()
424 store_beep_enable(struct device *dev, struct device_attribute *attr, in store_beep_enable()
452 struct device_attribute *attr, const char *buf, in store_chassis_clear()
478 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan()
496 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min()
[all …]
Dlm80.c272 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in()
284 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in()
306 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan()
318 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
328 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min()
355 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, in set_fan_div()
409 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local
419 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp() local
435 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, in show_alarms()
444 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
Dnct6775.c1618 show_in_reg(struct device *dev, struct device_attribute *attr, char *buf) in show_in_reg()
1629 store_in_reg(struct device *dev, struct device_attribute *attr, const char *buf, in store_in_reg()
1651 show_alarm(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm()
1678 show_temp_alarm(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_alarm()
1699 show_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_beep()
1710 store_beep(struct device *dev, struct device_attribute *attr, const char *buf, in store_beep()
1738 show_temp_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_beep()
1760 store_temp_beep(struct device *dev, struct device_attribute *attr, in store_temp_beep()
1795 struct attribute *attr, int index) in nct6775_in_is_visible()
1836 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan()
[all …]
Dit87.c606 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in()
617 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in()
692 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp()
703 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, in set_temp()
765 static ssize_t show_temp_type(struct device *dev, struct device_attribute *attr, in show_temp_type()
784 static ssize_t set_temp_type(struct device *dev, struct device_attribute *attr, in set_temp_type()
854 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan()
870 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
880 struct device_attribute *attr, char *buf) in show_pwm_enable()
888 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm()
[all …]
Di5k_amb.c143 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm() local
158 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min() local
178 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid() local
198 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max() local
217 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min() local
227 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid() local
237 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max() local
247 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp() local
257 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label() local
Dwm831x-hwmon.c43 struct device_attribute *attr, char *buf) in show_voltage()
57 struct device_attribute *attr, char *buf) in show_chip_temp()
75 struct device_attribute *attr, char *buf) in show_label()
Dk10temp.c76 struct device_attribute *attr, char *buf) in show_temp()
92 struct device_attribute *attr, char *buf) in show_temp_max()
100 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_crit() local
119 struct attribute *attr, int index) in k10temp_is_visible()
Dmax31790.c175 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_fan() local
191 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_fan_target() local
208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_target() local
259 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_pwm() local
275 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm() local
306 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_pwm_enable() local
327 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm_enable() local
377 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_fan_fault() local
Dlm63.c346 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() local
376 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm1() local
394 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm1() local
472 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_local_temp8() local
481 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_remote_temp8() local
491 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp() local
500 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp8() local
539 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp11() local
574 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp11() local
615 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp_hyst() local
[all …]
Dvt1211.c347 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in()
378 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in()
421 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp()
452 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, in set_temp()
497 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan()
528 static ssize_t set_fan(struct device *dev, struct device_attribute *attr, in set_fan()
603 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm()
634 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm()
758 struct device_attribute *attr, in show_pwm_auto_point_temp()
772 struct device_attribute *attr, in set_pwm_auto_point_temp()
[all …]
Dmenf21bmc_hwmon.c106 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label() local
114 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in() local
126 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_min() local
135 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_max() local
Dnct6683.c654 show_in_label(struct device *dev, struct device_attribute *attr, char *buf) in show_in_label()
664 show_in_reg(struct device *dev, struct device_attribute *attr, char *buf) in show_in_reg()
676 struct attribute *attr, int index) in nct6683_in_is_visible()
712 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan()
721 show_fan_min(struct device *dev, struct device_attribute *attr, char *buf) in show_fan_min()
731 show_fan_pulses(struct device *dev, struct device_attribute *attr, char *buf) in show_fan_pulses()
741 struct attribute *attr, int index) in nct6683_fan_is_visible()
784 show_temp_label(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_label()
794 show_temp8(struct device *dev, struct device_attribute *attr, char *buf) in show_temp8()
805 show_temp_hyst(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_hyst()
[all …]
Dad7414.c111 struct device_attribute *attr, char *buf) in show_temp_input()
118 static ssize_t show_max_min(struct device *dev, struct device_attribute *attr, in show_max_min()
127 struct device_attribute *attr, in set_max_min()
155 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
Dadt7475.c322 static ssize_t show_voltage(struct device *dev, struct device_attribute *attr, in show_voltage()
340 static ssize_t set_voltage(struct device *dev, struct device_attribute *attr, in set_voltage()
377 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp()
432 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, in set_temp()
539 static ssize_t show_point2(struct device *dev, struct device_attribute *attr, in show_point2()
554 static ssize_t set_point2(struct device *dev, struct device_attribute *attr, in set_point2()
597 static ssize_t show_tach(struct device *dev, struct device_attribute *attr, in show_tach()
612 static ssize_t set_tach(struct device *dev, struct device_attribute *attr, in set_tach()
635 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm()
644 static ssize_t show_pwmchan(struct device *dev, struct device_attribute *attr, in show_pwmchan()
[all …]
Dw83781d.c329 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in store_fan_min() local
419 show_vid_reg(struct device *dev, struct device_attribute *attr, char *buf) in show_vid_reg()
428 show_vrm_reg(struct device *dev, struct device_attribute *attr, char *buf) in show_vrm_reg()
435 store_vrm_reg(struct device *dev, struct device_attribute *attr, in store_vrm_reg()
453 show_alarms_reg(struct device *dev, struct device_attribute *attr, char *buf) in show_alarms_reg()
461 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
471 struct device_attribute *attr, char *buf) in show_temp3_alarm()
495 struct device_attribute *attr, char *buf) in show_beep_mask()
503 store_beep_mask(struct device *dev, struct device_attribute *attr, in store_beep_mask()
533 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, in show_beep()
[all …]
Dadt7411.c112 struct device_attribute *attr, char *buf) in adt7411_show_vdd()
123 struct device_attribute *attr, char *buf) in adt7411_show_temp()
139 struct device_attribute *attr, char *buf) in adt7411_show_input()
182 struct device_attribute *attr, char *buf) in adt7411_show_bit()
193 struct device_attribute *attr, const char *buf, in adt7411_set_bit()
Ds3c-hwmon.c99 struct device_attribute *attr, char *buf) in s3c_hwmon_show_raw()
163 struct device_attribute *attr, in s3c_hwmon_ch_show()
193 struct device_attribute *attr, in s3c_hwmon_label_show()
224 struct sensor_device_attribute *attr; in s3c_hwmon_create_attr() local
Dpcf8591.c107 struct device_attribute *attr, char *buf) in show_out0_ouput()
114 struct device_attribute *attr, in set_out0_output()
139 struct device_attribute *attr, char *buf) in show_out0_enable()
146 struct device_attribute *attr, in set_out0_enable()
Dw83l786ng.c304 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min()
327 show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div()
342 store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div()
419 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp()
430 store_temp(struct device *dev, struct device_attribute *attr, in store_temp()
516 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm()
540 store_pwm_enable(struct device *dev, struct device_attribute *attr, in store_pwm_enable()
588 show_tolerance(struct device *dev, struct device_attribute *attr, char *buf) in show_tolerance()
596 store_tolerance(struct device *dev, struct device_attribute *attr, in store_tolerance()
Dadc128d818.c143 static ssize_t adc128_show_in(struct device *dev, struct device_attribute *attr, in adc128_show_in()
158 static ssize_t adc128_set_in(struct device *dev, struct device_attribute *attr, in adc128_set_in()
184 struct device_attribute *attr, char *buf) in adc128_show_temp()
198 struct device_attribute *attr, in adc128_set_temp()
224 struct device_attribute *attr, char *buf) in adc128_show_alarm()
Dwm8350-hwmon.c38 struct device_attribute *attr, char *buf) in show_voltage()
51 struct device_attribute *attr, char *buf) in show_label()
Dmax6642.c212 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_max10() local
219 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, in show_temp_max()
228 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, in set_temp_max()
248 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
Dmax197.c94 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in max197_show_range() local
122 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in max197_store_range() local
177 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max197_show_input() local
211 struct device_attribute *attr, char *buf) in max197_show_name()
Dltc4245.c263 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4245_show_voltage() local
273 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4245_show_current() local
283 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4245_show_power() local
297 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(da); in ltc4245_show_alarm() local
309 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4245_show_gpio() local
Dgl518sm.c267 struct device_attribute *attr, char *buf) in show_fan_input()
276 struct device_attribute *attr, char *buf) in show_fan_min()
285 struct device_attribute *attr, char *buf) in show_fan_div()
352 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min()
385 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, in set_fan_div()
462 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
478 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, in show_beep()
486 static ssize_t set_beep(struct device *dev, struct device_attribute *attr, in set_beep()
Dsmsc47m1.c208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_fan() local
227 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_fan_min() local
238 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_fan_div() local
254 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_pwm() local
262 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in get_pwm_en() local
277 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_min() local
313 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_div() local
376 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm() local
402 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm_en() local
Dlm78.c161 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in() local
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_min() local
177 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_max() local
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_min() local
205 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_max() local
306 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_fan() local
316 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_fan_min() local
326 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_fan_min() local
346 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_fan_div() local
360 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_fan_div() local
Dmax1619.c151 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local
160 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp() local
176 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, in show_alarms()
183 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
Dltc2945.c232 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2945_show_value() local
245 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2945_set_value() local
280 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2945_reset_history() local
332 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc2945_show_bool() local
Dadm1029.c175 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local
183 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() local
200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_div() local
212 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_div() local
Dlm77.c143 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local
152 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_hyst() local
166 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp() local
211 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
Ddme1737.c809 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in()
840 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in()
887 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp()
924 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, in set_temp()
975 static ssize_t show_zone(struct device *dev, struct device_attribute *attr, in show_zone()
1016 static ssize_t set_zone(struct device *dev, struct device_attribute *attr, in set_zone()
1089 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan()
1129 static ssize_t set_fan(struct device *dev, struct device_attribute *attr, in set_fan()
1205 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm()
1268 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm()
[all …]
/linux-4.4.14/drivers/staging/iio/meter/
Dade7753.c137 struct device_attribute *attr, in ade7753_read_8bit()
152 struct device_attribute *attr, in ade7753_read_16bit()
167 struct device_attribute *attr, in ade7753_read_24bit()
182 struct device_attribute *attr, in ade7753_write_8bit()
200 struct device_attribute *attr, in ade7753_write_16bit()
378 struct device_attribute *attr, in ade7753_read_frequency()
396 struct device_attribute *attr, in ade7753_write_frequency()
Dade7754.c137 struct device_attribute *attr, in ade7754_read_8bit()
152 struct device_attribute *attr, in ade7754_read_16bit()
167 struct device_attribute *attr, in ade7754_read_24bit()
182 struct device_attribute *attr, in ade7754_write_8bit()
200 struct device_attribute *attr, in ade7754_write_16bit()
408 struct device_attribute *attr, in ade7754_read_frequency()
428 struct device_attribute *attr, in ade7754_write_frequency()
Dade7759.c136 struct device_attribute *attr, in ade7759_read_8bit()
151 struct device_attribute *attr, in ade7759_read_16bit()
166 struct device_attribute *attr, in ade7759_read_40bit()
181 struct device_attribute *attr, in ade7759_write_8bit()
199 struct device_attribute *attr, in ade7759_write_16bit()
347 struct device_attribute *attr, in ade7759_read_frequency()
367 struct device_attribute *attr, in ade7759_write_frequency()
Dade7758_core.c221 struct device_attribute *attr, in ade7758_read_8bit()
236 struct device_attribute *attr, in ade7758_read_16bit()
251 struct device_attribute *attr, in ade7758_read_24bit()
266 struct device_attribute *attr, in ade7758_write_8bit()
284 struct device_attribute *attr, in ade7758_write_16bit()
485 struct device_attribute *attr, in ade7758_read_frequency()
505 struct device_attribute *attr, in ade7758_write_frequency()
/linux-4.4.14/drivers/platform/chrome/
Dcros_ec_sysfs.c42 struct device_attribute *attr, char *buf) in show_ec_reboot()
54 struct device_attribute *attr, in store_ec_reboot()
134 struct device_attribute *attr, char *buf) in show_ec_version()
243 struct device_attribute *attr, char *buf) in show_ec_flashinfo()
/linux-4.4.14/drivers/hid/
Dhid-roccat-arvo.c32 struct device_attribute *attr, char *buf) in arvo_sysfs_show_mode_key()
52 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_mode_key()
82 struct device_attribute *attr, char *buf) in arvo_sysfs_show_key_mask()
102 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_key_mask()
147 struct device_attribute *attr, char *buf) in arvo_sysfs_show_actual_profile()
156 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_actual_profile()
234 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_write_button()
244 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_read_info()
Dhid-roccat-kovaplus.c221 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings()
240 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
278 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_profile()
286 struct device_attribute *attr, char const *buf, size_t size) in kovaplus_sysfs_set_actual_profile()
331 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_cpi()
340 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_sensitivity_x()
350 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_actual_sensitivity_y()
360 struct device_attribute *attr, char *buf) in kovaplus_sysfs_show_firmware_version()
Dhid-roccat-pyra.c191 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_settings()
210 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_buttons()
248 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_settings()
293 struct device_attribute *attr, char *buf) in pyra_sysfs_show_actual_cpi()
302 struct device_attribute *attr, char *buf) in pyra_sysfs_show_actual_profile()
320 struct device_attribute *attr, char *buf) in pyra_sysfs_show_firmware_version()
Dhid-picolcd_core.c263 struct device_attribute *attr, char *buf) in picolcd_operation_mode_show()
274 struct device_attribute *attr, const char *buf, size_t count) in picolcd_operation_mode_store()
316 struct device_attribute *attr, char *buf) in picolcd_operation_mode_delay_show()
324 struct device_attribute *attr, const char *buf, size_t count) in picolcd_operation_mode_delay_store()
Dhid-roccat-koneplus.c193 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_settings()
212 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_buttons()
250 struct device_attribute *attr, char *buf) in koneplus_sysfs_show_actual_profile()
258 struct device_attribute *attr, char const *buf, size_t size) in koneplus_sysfs_set_actual_profile()
306 struct device_attribute *attr, char *buf) in koneplus_sysfs_show_firmware_version()
/linux-4.4.14/fs/configfs/
Dfile.c66 struct configfs_attribute * attr = to_attr(dentry); in fill_read_buffer() local
172 struct configfs_attribute * attr = to_attr(dentry); in flush_write_buffer() local
215 struct configfs_attribute * attr = to_attr(file->f_path.dentry); in check_perm() local
288 struct configfs_attribute * attr = to_attr(filp->f_path.dentry); in configfs_release() local
320 int configfs_create_file(struct config_item * item, const struct configfs_attribute * attr) in configfs_create_file()
/linux-4.4.14/drivers/edac/
Dedac_device_sysfs.c108 struct attribute attr; member
118 struct attribute *attr, char *buffer) in edac_dev_ctl_info_show()
130 struct attribute *attr, in edac_dev_ctl_info_store()
348 struct attribute attr; member
355 struct attribute *attr, char *buffer) in edac_dev_instance_show()
367 struct attribute *attr, in edac_dev_instance_store()
423 struct attribute *attr, char *data) in block_ue_count_show()
431 struct attribute *attr, char *data) in block_ce_count_show()
457 struct attribute *attr, char *buffer) in edac_dev_block_show()
469 struct attribute *attr, in edac_dev_block_store()
Dedac_pci_sysfs.c91 struct attribute attr; member
98 struct attribute *attr, char *buffer) in edac_pci_instance_show()
110 struct attribute *attr, in edac_pci_instance_store()
231 struct attribute attr; member
238 static ssize_t edac_pci_dev_show(struct kobject *kobj, struct attribute *attr, in edac_pci_dev_show()
250 struct attribute *attr, const char *buffer, in edac_pci_dev_store()
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorbus_main.c79 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
259 struct attribute attr; member
277 devmajorminor_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in devmajorminor_attr_show()
292 struct attribute *attr, const char *buf, size_t count) in devmajorminor_attr_store()
424 static ssize_t physaddr_show(struct device *dev, struct device_attribute *attr, in physaddr_show()
435 static ssize_t nbytes_show(struct device *dev, struct device_attribute *attr, in nbytes_show()
447 struct device_attribute *attr, char *buf) in clientpartition_show()
457 static ssize_t typeguid_show(struct device *dev, struct device_attribute *attr, in typeguid_show()
469 static ssize_t zoneguid_show(struct device *dev, struct device_attribute *attr, in zoneguid_show()
481 static ssize_t typename_show(struct device *dev, struct device_attribute *attr, in typename_show()
[all …]
/linux-4.4.14/drivers/scsi/aacraid/
Dlinit.c497 static ssize_t aac_show_raid_level(struct device *dev, struct device_attribute *attr, char *buf) in aac_show_raid_level()
774 struct device_attribute *attr, char *buf) in aac_show_model()
793 struct device_attribute *attr, char *buf) in aac_show_vendor()
812 struct device_attribute *attr, char *buf) in aac_show_flags()
838 struct device_attribute *attr, in aac_show_kernel_version()
852 struct device_attribute *attr, in aac_show_monitor_version()
866 struct device_attribute *attr, in aac_show_bios_version()
880 struct device_attribute *attr, char *buf) in aac_show_serial_number()
900 struct device_attribute *attr, char *buf) in aac_show_max_channel()
907 struct device_attribute *attr, char *buf) in aac_show_max_id()
[all …]
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c59 struct ib_ah_attr *attr, union ib_gid *sgid, in set_av_attr()
114 struct ib_ah *ocrdma_create_ah(struct ib_pd *ibpd, struct ib_ah_attr *attr) in ocrdma_create_ah()
198 int ocrdma_query_ah(struct ib_ah *ibah, struct ib_ah_attr *attr) in ocrdma_query_ah()
221 int ocrdma_modify_ah(struct ib_ah *ibah, struct ib_ah_attr *attr) in ocrdma_modify_ah()
Docrdma_main.c91 struct ib_port_attr attr; in ocrdma_port_immutable() local
248 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
256 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
265 struct device_attribute *attr, char *buf) in show_hca_type()
/linux-4.4.14/drivers/s390/cio/
Dchp.c235 struct device_attribute *attr, char *buf) in chp_status_show()
248 struct device_attribute *attr, in chp_status_write()
277 struct device_attribute *attr, char *buf) in chp_configure_show()
293 struct device_attribute *attr, in chp_configure_write()
313 static ssize_t chp_type_show(struct device *dev, struct device_attribute *attr, in chp_type_show()
327 static ssize_t chp_cmg_show(struct device *dev, struct device_attribute *attr, in chp_cmg_show()
342 struct device_attribute *attr, char *buf) in chp_shared_show()
355 static ssize_t chp_chid_show(struct device *dev, struct device_attribute *attr, in chp_chid_show()
373 struct device_attribute *attr, char *buf) in chp_chid_external_show()
/linux-4.4.14/drivers/misc/
Dds1682.c57 static ssize_t ds1682_show(struct device *dev, struct device_attribute *attr, in ds1682_show()
83 static ssize_t ds1682_store(struct device *dev, struct device_attribute *attr, in ds1682_store()
142 struct bin_attribute *attr, in ds1682_eeprom_read()
160 struct bin_attribute *attr, in ds1682_eeprom_write()
Dhmc6352.c62 struct device_attribute *attr, const char *buf, size_t count) in compass_calibration_store()
68 struct device_attribute *attr, const char *buf, size_t count) in compass_power_mode_store()
74 struct device_attribute *attr, char *buf) in compass_heading_data_show()
Dtsl2550.c191 struct device_attribute *attr, char *buf) in tsl2550_show_power_state()
199 struct device_attribute *attr, const char *buf, size_t count) in tsl2550_store_power_state()
223 struct device_attribute *attr, char *buf) in tsl2550_show_operating_mode()
231 struct device_attribute *attr, const char *buf, size_t count) in tsl2550_store_operating_mode()
284 struct device_attribute *attr, char *buf) in tsl2550_show_lux1_input()
Disl29020.c36 struct device_attribute *attr, char *buf) in als_sensing_range_show()
50 struct device_attribute *attr, char *buf) in als_lux_input_data_show()
86 struct device_attribute *attr, const char *buf, size_t count) in als_sensing_range_store()
Dapds9802als.c45 struct device_attribute *attr, char *buf) in als_sensing_range_show()
79 struct device_attribute *attr, char *buf) in als_lux0_input_data_show()
121 struct device_attribute *attr, const char *buf, size_t count) in als_sensing_range_store()
/linux-4.4.14/drivers/xen/
Dxen-balloon.c138 static ssize_t show_target_kb(struct device *dev, struct device_attribute *attr, in show_target_kb()
145 struct device_attribute *attr, in store_target_kb()
166 static ssize_t show_target(struct device *dev, struct device_attribute *attr, in show_target()
175 struct device_attribute *attr, in store_target()
Defi.c119 u32 *attr, in xen_efi_get_variable()
167 u32 attr, in xen_efi_set_variable()
187 static efi_status_t xen_efi_query_variable_info(u32 attr, in xen_efi_query_variable_info()
/linux-4.4.14/drivers/power/
Dpower_supply_sysfs.c44 struct device_attribute *attr, in power_supply_show_property()
113 struct device_attribute *attr, in power_supply_store_property()
210 struct attribute *attr, in power_supply_attr_is_visible()
298 struct device_attribute *attr; in power_supply_uevent() local
Dmax77693_charger.c266 struct device_attribute *attr, const char *buf, size_t count, in device_attr_store()
285 struct device_attribute *attr, char *buf) in fast_charge_timer_show()
344 struct device_attribute *attr, const char *buf, size_t count) in fast_charge_timer_store()
351 struct device_attribute *attr, char *buf) in top_off_threshold_current_show()
395 struct device_attribute *attr, const char *buf, size_t count) in top_off_threshold_current_store()
402 struct device_attribute *attr, char *buf) in top_off_timer_show()
438 struct device_attribute *attr, const char *buf, size_t count) in top_off_timer_store()
Dpcf50633-charger.c156 show_chgmode(struct device *dev, struct device_attribute *attr, char *buf) in show_chgmode()
168 show_usblim(struct device *dev, struct device_attribute *attr, char *buf) in show_usblim()
188 struct device_attribute *attr, const char *buf, size_t count) in set_usblim()
206 show_chglim(struct device *dev, struct device_attribute *attr, char *buf) in show_chglim()
221 struct device_attribute *attr, const char *buf, size_t count) in set_chglim()
Dbq2415x_charger.c1094 struct device_attribute *attr, in bq2415x_sysfs_show_status()
1126 struct device_attribute *attr, in bq2415x_sysfs_set_timer()
1148 struct device_attribute *attr, in bq2415x_sysfs_show_timer()
1171 struct device_attribute *attr, in bq2415x_sysfs_set_mode()
1224 struct device_attribute *attr, in bq2415x_sysfs_show_mode()
1261 struct device_attribute *attr, in bq2415x_sysfs_show_reported_mode()
1288 struct device_attribute *attr, in bq2415x_sysfs_set_registers()
1324 struct device_attribute *attr, in bq2415x_sysfs_show_registers()
1341 struct device_attribute *attr, in bq2415x_sysfs_set_limit()
1373 struct device_attribute *attr, in bq2415x_sysfs_show_limit()
[all …]
Dds2780_battery.c453 struct device_attribute *attr, in ds2780_get_pmod_enabled()
471 struct device_attribute *attr, in ds2780_set_pmod_enabled()
507 struct device_attribute *attr, in ds2780_get_sense_resistor_value()
524 struct device_attribute *attr, in ds2780_set_sense_resistor_value()
545 struct device_attribute *attr, in ds2780_get_rsgain_setting()
561 struct device_attribute *attr, in ds2780_set_rsgain_setting()
588 struct device_attribute *attr, in ds2780_get_pio_pin()
605 struct device_attribute *attr, in ds2780_set_pio_pin()
/linux-4.4.14/drivers/acpi/
Dacpi_pad.c268 struct device_attribute *attr, const char *buf, size_t count) in acpi_pad_rrtime_store()
282 struct device_attribute *attr, char *buf) in acpi_pad_rrtime_show()
291 struct device_attribute *attr, const char *buf, size_t count) in acpi_pad_idlepct_store()
305 struct device_attribute *attr, char *buf) in acpi_pad_idlepct_show()
314 struct device_attribute *attr, const char *buf, size_t count) in acpi_pad_idlecpus_store()
326 struct device_attribute *attr, char *buf) in acpi_pad_idlecpus_show()
Dsysfs.c318 struct bin_attribute attr; member
351 struct acpi_table_attr *attr = NULL; in acpi_table_attr_init() local
579 struct kobj_attribute *attr, char *buf) in counter_show()
623 struct kobj_attribute *attr, const char *buf, in counter_set()
780 acpi_show_profile(struct device *dev, struct device_attribute *attr, in acpi_show_profile()
790 struct kobj_attribute *attr, char *buf) in hotplug_enabled_show()
798 struct kobj_attribute *attr, in hotplug_enabled_store()
846 struct kobj_attribute *attr, char *buf) in force_remove_show()
852 struct kobj_attribute *attr, in force_remove_store()
Ddock.c506 struct device_attribute *attr, char *buf) in show_docked()
520 struct device_attribute *attr, char *buf) in show_flags()
531 static ssize_t write_undock(struct device *dev, struct device_attribute *attr, in write_undock()
552 struct device_attribute *attr, char *buf) in show_dock_uid()
566 struct device_attribute *attr, char *buf) in show_dock_type()
/linux-4.4.14/kernel/power/
Dhibernate.c909 static ssize_t disk_show(struct kobject *kobj, struct kobj_attribute *attr, in disk_show()
943 static ssize_t disk_store(struct kobject *kobj, struct kobj_attribute *attr, in disk_store()
993 static ssize_t resume_show(struct kobject *kobj, struct kobj_attribute *attr, in resume_show()
1000 static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, in resume_store()
1029 static ssize_t image_size_show(struct kobject *kobj, struct kobj_attribute *attr, in image_size_show()
1035 static ssize_t image_size_store(struct kobject *kobj, struct kobj_attribute *attr, in image_size_store()
1051 struct kobj_attribute *attr, char *buf) in reserved_size_show()
1057 struct kobj_attribute *attr, in reserved_size_store()
/linux-4.4.14/drivers/base/
Dnode.c40 struct device_attribute *attr, char *buf) in node_read_cpumask()
45 struct device_attribute *attr, char *buf) in node_read_cpulist()
55 struct device_attribute *attr, char *buf) in node_read_meminfo()
149 struct device_attribute *attr, char *buf) in node_read_numastat()
168 struct device_attribute *attr, char *buf) in node_read_vmstat()
183 struct device_attribute *attr, char *buf) in node_read_distance()
628 struct device_attribute attr; member
633 struct device_attribute *attr, char *buf) in show_node_state()
Dcacheinfo.c243 struct device_attribute *attr, char *buf) in size_show()
259 struct device_attribute *attr, char *buf) in shared_cpu_map_show()
265 struct device_attribute *attr, char *buf) in shared_cpu_list_show()
271 struct device_attribute *attr, char *buf) in type_show()
288 struct device_attribute *attr, char *buf) in allocation_policy_show()
304 struct device_attribute *attr, char *buf) in write_policy_show()
346 struct attribute *attr, int unused) in cache_default_attrs_is_visible()
Dsoc.c26 struct soc_device_attribute *attr; member
45 struct attribute *attr, in soc_attribute_mode()
69 struct device_attribute *attr, in soc_info_get()
Dcore.c113 static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr, in dev_attr_show()
129 static ssize_t dev_attr_store(struct kobject *kobj, struct attribute *attr, in dev_attr_store()
149 struct device_attribute *attr, in device_store_ulong()
164 struct device_attribute *attr, in device_show_ulong()
173 struct device_attribute *attr, in device_store_int()
188 struct device_attribute *attr, in device_show_int()
197 ssize_t device_store_bool(struct device *dev, struct device_attribute *attr, in device_store_bool()
209 ssize_t device_show_bool(struct device *dev, struct device_attribute *attr, in device_show_bool()
371 static ssize_t uevent_show(struct device *dev, struct device_attribute *attr, in uevent_show()
414 static ssize_t uevent_store(struct device *dev, struct device_attribute *attr, in uevent_store()
[all …]
Dclass.c26 static ssize_t class_attr_show(struct kobject *kobj, struct attribute *attr, in class_attr_show()
38 static ssize_t class_attr_store(struct kobject *kobj, struct attribute *attr, in class_attr_store()
89 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, in class_create_file_ns()
102 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, in class_remove_file_ns()
489 struct class_attribute *attr, char *buf) in show_class_attr_string()
/linux-4.4.14/drivers/input/misc/
Dyealink.c570 static ssize_t show_map(struct device *dev, struct device_attribute *attr, in show_map()
577 static ssize_t store_map(struct device *dev, struct device_attribute *attr, in store_map()
620 static ssize_t show_line1(struct device *dev, struct device_attribute *attr, in show_line1()
626 static ssize_t show_line2(struct device *dev, struct device_attribute *attr, in show_line2()
632 static ssize_t show_line3(struct device *dev, struct device_attribute *attr, in show_line3()
667 static ssize_t store_line1(struct device *dev, struct device_attribute *attr, in store_line1()
673 static ssize_t store_line2(struct device *dev, struct device_attribute *attr, in store_line2()
679 static ssize_t store_line3(struct device *dev, struct device_attribute *attr, in store_line3()
690 static ssize_t get_icons(struct device *dev, struct device_attribute *attr, in get_icons()
741 static ssize_t show_icon(struct device *dev, struct device_attribute *attr, in show_icon()
[all …]
Dadxl34x.c442 struct device_attribute *attr, char *buf) in adxl34x_disable_show()
450 struct device_attribute *attr, in adxl34x_disable_store()
483 struct device_attribute *attr, char *buf) in adxl34x_calibrate_show()
499 struct device_attribute *attr, in adxl34x_calibrate_store()
531 struct device_attribute *attr, char *buf) in adxl34x_rate_show()
539 struct device_attribute *attr, in adxl34x_rate_store()
565 struct device_attribute *attr, char *buf) in adxl34x_autosleep_show()
574 struct device_attribute *attr, in adxl34x_autosleep_store()
604 struct device_attribute *attr, char *buf) in adxl34x_position_show()
621 struct device_attribute *attr, in adxl34x_write_store()
Daxp20x-pek.c72 static struct axp20x_pek_ext_attr *get_axp_ext_attr(struct device_attribute *attr) in get_axp_ext_attr()
78 struct device_attribute *attr, char *buf) in axp20x_show_ext_attr()
100 struct device_attribute *attr, in axp20x_store_ext_attr()
/linux-4.4.14/drivers/zorro/
Dzorro-sysfs.c42 show_serial(struct device *dev, struct device_attribute *attr, char *buf) in show_serial()
52 static ssize_t zorro_show_resource(struct device *dev, struct device_attribute *attr, char *buf) in zorro_show_resource()
92 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
/linux-4.4.14/drivers/usb/usbip/
Dvhci_sysfs.c30 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show()
111 static ssize_t store_detach(struct device *dev, struct device_attribute *attr, in store_detach()
172 static ssize_t store_attach(struct device *dev, struct device_attribute *attr, in store_attach()
/linux-4.4.14/drivers/iio/
Dindustrialio-buffer.c201 struct device_attribute *attr, in iio_show_scan_index()
208 struct device_attribute *attr, in iio_show_fixed_type()
239 struct device_attribute *attr, in iio_scan_el_show()
339 struct device_attribute *attr, in iio_scan_el_store()
378 struct device_attribute *attr, in iio_scan_el_ts_show()
386 struct device_attribute *attr, in iio_scan_el_ts_store()
464 struct device_attribute *attr, in iio_buffer_read_length()
474 struct device_attribute *attr, in iio_buffer_write_length()
507 struct device_attribute *attr, in iio_buffer_show_enable()
903 struct device_attribute *attr, in iio_buffer_store_enable()
[all …]
Dindustrialio-core.c169 struct device_attribute *attr, in iio_read_const_attr()
321 struct device_attribute *attr, in iio_read_channel_ext_info()
334 struct device_attribute *attr, in iio_write_channel_ext_info()
475 struct device_attribute *attr, in iio_read_channel_info()
558 struct device_attribute *attr, in iio_write_channel_info()
601 struct device_attribute *attr, in __iio_device_attr_init()
734 struct device_attribute *attr, in __iio_add_chan_devattr()
888 struct device_attribute *attr, in iio_show_dev_name()
901 struct attribute **attr; in iio_device_register_sysfs() local
/linux-4.4.14/drivers/scsi/
Dscsi_transport_srp.c128 show_srp_rport_id(struct device *dev, struct device_attribute *attr, in show_srp_rport_id()
146 show_srp_rport_roles(struct device *dev, struct device_attribute *attr, in show_srp_rport_roles()
164 struct device_attribute *attr, in store_srp_rport_delete()
182 struct device_attribute *attr, in show_srp_rport_state()
220 struct device_attribute *attr, char *buf) in show_reconnect_delay()
228 struct device_attribute *attr, in store_reconnect_delay()
260 struct device_attribute *attr, char *buf) in show_failed_reconnects()
270 struct device_attribute *attr, in show_srp_rport_fast_io_fail_tmo()
279 struct device_attribute *attr, in store_srp_rport_fast_io_fail_tmo()
305 struct device_attribute *attr, in show_srp_rport_dev_loss_tmo()
[all …]
Discsi_boot_sysfs.c32 struct attribute attr; member
41 struct attribute *attr, char *buf) in iscsi_boot_show_attribute()
116 struct attribute *attr, int i) in iscsi_boot_tgt_attr_is_visible()
197 struct attribute *attr, int i) in iscsi_boot_eth_attr_is_visible()
269 struct attribute *attr, int i) in iscsi_boot_ini_attr_is_visible()
Dsd.c152 cache_type_store(struct device *dev, struct device_attribute *attr, in cache_type_store()
221 manage_start_stop_show(struct device *dev, struct device_attribute *attr, in manage_start_stop_show()
231 manage_start_stop_store(struct device *dev, struct device_attribute *attr, in manage_start_stop_store()
247 allow_restart_show(struct device *dev, struct device_attribute *attr, char *buf) in allow_restart_show()
255 allow_restart_store(struct device *dev, struct device_attribute *attr, in allow_restart_store()
274 cache_type_show(struct device *dev, struct device_attribute *attr, char *buf) in cache_type_show()
284 FUA_show(struct device *dev, struct device_attribute *attr, char *buf) in FUA_show()
293 protection_type_show(struct device *dev, struct device_attribute *attr, in protection_type_show()
302 protection_type_store(struct device *dev, struct device_attribute *attr, in protection_type_store()
325 protection_mode_show(struct device *dev, struct device_attribute *attr, in protection_mode_show()
[all …]
Dscsi_transport_spi.c411 store_spi_revalidate(struct device *dev, struct device_attribute *attr, in store_spi_revalidate()
492 struct device_attribute *attr, char *buf) in show_spi_transport_period()
507 store_spi_transport_period(struct device *cdev, struct device_attribute *attr, in store_spi_transport_period()
536 struct device_attribute *attr, char *buf) in show_spi_transport_min_period()
552 struct device_attribute *attr, in store_spi_transport_min_period()
570 struct device_attribute *attr, in show_spi_host_signalling()
582 struct device_attribute *attr, in store_spi_host_signalling()
602 struct device_attribute *attr, in show_spi_host_width()
613 struct device_attribute *attr, in show_spi_host_hba_id()
1444 struct attribute *attr = &dev_attr_signalling.attr; in spi_host_configure() local
[all …]
/linux-4.4.14/drivers/usb/wusbcore/
Ddev-sysfs.c32 struct device_attribute *attr, in wusb_disconnect_store()
59 struct device_attribute *attr, char *buf) in wusb_cdid_show()
75 struct device_attribute *attr, in wusb_ck_store()
/linux-4.4.14/drivers/platform/x86/
Dalienware-wmi.c127 struct device_attribute *attr; member
198 static struct platform_zone *match_zone(struct device_attribute *attr) in match_zone()
254 static ssize_t zone_show(struct device *dev, struct device_attribute *attr, in zone_show()
267 static ssize_t zone_set(struct device *dev, struct device_attribute *attr, in zone_set()
332 struct device_attribute *attr, char *buf) in show_control_state()
342 struct device_attribute *attr, in store_control_state()
471 struct device_attribute *attr, char *buf) in show_hdmi_cable()
494 struct device_attribute *attr, char *buf) in show_hdmi_source()
518 struct device_attribute *attr, in toggle_hdmi_source()
Dintel_menlow.c237 struct device_attribute attr; member
312 struct intel_menlow_attribute *attr = to_intel_menlow_attr(dev_attr); in aux0_show() local
324 struct intel_menlow_attribute *attr = to_intel_menlow_attr(dev_attr); in aux1_show() local
337 struct intel_menlow_attribute *attr = to_intel_menlow_attr(dev_attr); in aux0_store() local
356 struct intel_menlow_attribute *attr = to_intel_menlow_attr(dev_attr); in aux1_store() local
374 struct device_attribute *attr, char *buf) in bios_enabled_show()
390 struct intel_menlow_attribute *attr; in intel_menlow_add_one_attribute() local
Dsony-laptop.c838 struct device_attribute *attr, char *buffer) in sony_nc_handles_show()
970 static ssize_t sony_nc_sysfs_show(struct device *dev, struct device_attribute *attr, in sony_nc_sysfs_show()
992 struct device_attribute *attr, in sony_nc_sysfs_store()
1805 struct device_attribute *attr, in sony_nc_kbd_backlight_mode_store()
1825 struct device_attribute *attr, char *buffer) in sony_nc_kbd_backlight_mode_show()
1849 struct device_attribute *attr, in sony_nc_kbd_backlight_timeout_store()
1869 struct device_attribute *attr, char *buffer) in sony_nc_kbd_backlight_timeout_show()
1965 struct device_attribute *attr, in sony_nc_battery_care_limit_store()
2022 struct device_attribute *attr, char *buffer) in sony_nc_battery_care_limit_show()
2049 struct device_attribute *attr, char *buffer) in sony_nc_battery_care_health_show()
[all …]
Dtoshiba_acpi.c1542 struct device_attribute *attr, char *buf) in version_show()
1549 struct device_attribute *attr, in fan_store()
1571 struct device_attribute *attr, char *buf) in fan_show()
1586 struct device_attribute *attr, in kbd_backlight_mode_store()
1643 struct device_attribute *attr, in kbd_backlight_mode_show()
1657 struct device_attribute *attr, char *buf) in kbd_type_show()
1666 struct device_attribute *attr, in available_kbd_modes_show()
1681 struct device_attribute *attr, in kbd_backlight_timeout_store()
1724 struct device_attribute *attr, in kbd_backlight_timeout_show()
1738 struct device_attribute *attr, in touchpad_store()
[all …]
Dasus-laptop.c861 static ssize_t infos_show(struct device *dev, struct device_attribute *attr, in infos_show()
963 static ssize_t ledd_show(struct device *dev, struct device_attribute *attr, in ledd_show()
971 static ssize_t ledd_store(struct device *dev, struct device_attribute *attr, in ledd_store()
1021 static ssize_t wlan_show(struct device *dev, struct device_attribute *attr, in wlan_show()
1029 static ssize_t wlan_store(struct device *dev, struct device_attribute *attr, in wlan_store()
1050 static ssize_t bluetooth_show(struct device *dev, struct device_attribute *attr, in bluetooth_show()
1059 struct device_attribute *attr, const char *buf, in bluetooth_store()
1080 static ssize_t wimax_show(struct device *dev, struct device_attribute *attr, in wimax_show()
1088 static ssize_t wimax_store(struct device *dev, struct device_attribute *attr, in wimax_store()
1109 static ssize_t wwan_show(struct device *dev, struct device_attribute *attr, in wwan_show()
[all …]
Dtoshiba_haps.c69 struct device_attribute *attr, char *buf) in protection_level_show()
77 struct device_attribute *attr, in protection_level_store()
106 struct device_attribute *attr, in reset_protection_store()
Dpanasonic-laptop.c367 static ssize_t show_numbatt(struct device *dev, struct device_attribute *attr, in show_numbatt()
379 static ssize_t show_lcdtype(struct device *dev, struct device_attribute *attr, in show_lcdtype()
391 static ssize_t show_mute(struct device *dev, struct device_attribute *attr, in show_mute()
403 static ssize_t show_sticky(struct device *dev, struct device_attribute *attr, in show_sticky()
415 static ssize_t set_sticky(struct device *dev, struct device_attribute *attr, in set_sticky()
Dfujitsu-laptop.c432 struct device_attribute *attr, char *buf) in show_max_brightness()
446 struct device_attribute *attr, char *buf) in show_brightness_changed()
459 struct device_attribute *attr, char *buf) in show_lcd_level()
472 struct device_attribute *attr, const char *buf, in store_lcd_level()
498 struct device_attribute *attr, const char *buf, size_t count) in ignore_store()
505 struct device_attribute *attr, char *buf) in show_lid_state()
517 struct device_attribute *attr, char *buf) in show_dock_state()
529 struct device_attribute *attr, char *buf) in show_radios_state()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft-sysfs.c115 struct device_attribute *attr, in store_gamma_curve()
140 struct device_attribute *attr, char *buf) in show_gamma_curve()
180 struct device_attribute *attr, in store_debug()
196 struct device_attribute *attr, char *buf) in show_debug()
/linux-4.4.14/net/openvswitch/
Dflow_netlink.c381 static int __parse_flow_nlattrs(const struct nlattr *attr, in __parse_flow_nlattrs()
426 static int parse_flow_mask_nlattrs(const struct nlattr *attr, in parse_flow_mask_nlattrs()
433 static int parse_flow_nlattrs(const struct nlattr *attr, in parse_flow_nlattrs()
491 static int vxlan_tun_opt_from_nlattr(const struct nlattr *attr, in vxlan_tun_opt_from_nlattr()
547 static int ip_tun_from_nlattr(const struct nlattr *attr, in ip_tun_from_nlattr()
1136 static void nlattr_set(struct nlattr *attr, u8 val, in nlattr_set()
1157 static void mask_set_nlattr(struct nlattr *attr, u8 val) in mask_set_nlattr()
1322 static size_t get_ufid_len(const struct nlattr *attr, bool log) in get_ufid_len()
1342 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid()
1370 u32 ovs_nla_get_ufid_flags(const struct nlattr *attr) in ovs_nla_get_ufid_flags()
[all …]
/linux-4.4.14/drivers/usb/misc/
Dusbsevseg.c197 struct device_attribute *attr, char *buf) in show_attr_text()
206 struct device_attribute *attr, const char *buf, size_t count) in set_attr_text()
228 struct device_attribute *attr, char *buf) in show_attr_decimals()
250 struct device_attribute *attr, const char *buf, size_t count) in set_attr_decimals()
277 struct device_attribute *attr, char *buf) in show_attr_textmode()
303 struct device_attribute *attr, const char *buf, size_t count) in set_attr_textmode()
Dlvstest.c107 struct device_attribute *attr, const char *buf, size_t count) in u3_entry_store()
136 struct device_attribute *attr, const char *buf, size_t count) in u3_exit_store()
165 struct device_attribute *attr, const char *buf, size_t count) in hot_reset_store()
184 struct device_attribute *attr, const char *buf, size_t count) in u2_timeout_store()
213 struct device_attribute *attr, const char *buf, size_t count) in u1_timeout_store()
242 struct device_attribute *attr, const char *buf, size_t count) in get_dev_desc_store()
/linux-4.4.14/drivers/staging/iio/accel/
Dadis16220_core.c24 struct device_attribute *attr, in adis16220_read_16bit()
43 struct device_attribute *attr, in adis16220_write_16bit()
78 struct device_attribute *attr, in adis16220_write_capture()
160 struct bin_attribute *attr, in adis16220_accel_bin_read()
182 struct bin_attribute *attr, in adis16220_adc1_bin_read()
203 struct bin_attribute *attr, in adis16220_adc2_bin_read()
Dsca3000_core.c229 struct device_attribute *attr, in sca3000_show_rev()
258 struct device_attribute *attr, in sca3000_show_available_measurement_modes()
290 struct device_attribute *attr, in sca3000_show_measurement_mode()
340 struct device_attribute *attr, in sca3000_store_measurement_mode()
513 struct device_attribute *attr, in sca3000_read_av_freq()
585 struct device_attribute *attr, in sca3000_read_frequency()
626 struct device_attribute *attr, in sca3000_set_frequency()
871 struct device_attribute *attr, in sca3000_query_free_fall_mode()
896 struct device_attribute *attr, in sca3000_set_free_fall_mode()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dsysfs.c28 struct device_attribute *attr, in wl1271_sysfs_show_bt_coex_state()
46 struct device_attribute *attr, in wl1271_sysfs_store_bt_coex_state()
88 struct device_attribute *attr, in wl1271_sysfs_show_hw_pg_ver()
/linux-4.4.14/arch/mips/kernel/
Dvpe-cmp.c24 static ssize_t store_kill(struct device *dev, struct device_attribute *attr, in store_kill()
40 static ssize_t ntcs_show(struct device *cd, struct device_attribute *attr, in ntcs_show()
48 static ssize_t ntcs_store(struct device *dev, struct device_attribute *attr, in ntcs_store()
/linux-4.4.14/sound/pci/hda/
Dhda_sysfs.c30 struct device_attribute *attr, in power_on_acct_show()
39 struct device_attribute *attr, in power_off_acct_show()
95 struct device_attribute *attr, in init_pin_configs_show()
103 struct device_attribute *attr, in driver_pin_configs_show()
216 struct device_attribute *attr, in init_verbs_show()
255 struct device_attribute *attr, in init_verbs_store()
266 struct device_attribute *attr, in hints_show()
360 struct device_attribute *attr, in hints_store()
371 struct device_attribute *attr, in user_pin_configs_show()
395 struct device_attribute *attr, in user_pin_configs_store()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dpseries_energy.c178 struct device_attribute *attr, char *page) in cpu_activate_hint_list_show()
184 struct device_attribute *attr, char *page) in cpu_deactivate_hint_list_show()
190 struct device_attribute *attr, char *page) in percpu_activate_hint_show()
196 struct device_attribute *attr, char *page) in percpu_deactivate_hint_show()
Dpower.c33 struct kobj_attribute *attr, char *buf) in auto_poweron_show()
39 struct kobj_attribute *attr, in auto_poweron_store()
/linux-4.4.14/drivers/staging/iio/frequency/
Dad9834.c66 struct device_attribute *attr, in ad9834_write()
145 struct device_attribute *attr, in ad9834_store_wavetype()
205 struct device_attribute *attr, in ad9834_show_out0_wavetype_available()
227 struct device_attribute *attr, in ad9834_show_out1_wavetype_available()
/linux-4.4.14/arch/s390/crypto/
Dprng.c683 struct device_attribute *attr, in prng_chunksize_show()
692 struct device_attribute *attr, in prng_counter_show()
711 struct device_attribute *attr, in prng_errorflag_show()
720 struct device_attribute *attr, in prng_mode_show()
732 struct device_attribute *attr, in prng_reseed_store()
746 struct device_attribute *attr, in prng_reseed_limit_show()
752 struct device_attribute *attr, in prng_reseed_limit_store()
777 struct device_attribute *attr, in prng_strength_show()
/linux-4.4.14/drivers/s390/net/
Dnetiucv.c1457 static ssize_t user_show(struct device *dev, struct device_attribute *attr, in user_show()
1514 static ssize_t user_write(struct device *dev, struct device_attribute *attr, in user_write()
1553 static ssize_t buffer_show (struct device *dev, struct device_attribute *attr, in buffer_show()
1562 static ssize_t buffer_write (struct device *dev, struct device_attribute *attr, in buffer_write()
1611 static ssize_t dev_fsm_show (struct device *dev, struct device_attribute *attr, in dev_fsm_show()
1623 struct device_attribute *attr, char *buf) in conn_fsm_show()
1634 struct device_attribute *attr, char *buf) in maxmulti_show()
1643 struct device_attribute *attr, in maxmulti_write()
1655 static ssize_t maxcq_show (struct device *dev, struct device_attribute *attr, in maxcq_show()
1664 static ssize_t maxcq_write (struct device *dev, struct device_attribute *attr, in maxcq_write()
[all …]
/linux-4.4.14/drivers/usb/chipidea/
Dotg_fsm.c35 get_a_bus_req(struct device *dev, struct device_attribute *attr, char *buf) in get_a_bus_req()
51 set_a_bus_req(struct device *dev, struct device_attribute *attr, in set_a_bus_req()
79 get_a_bus_drop(struct device *dev, struct device_attribute *attr, char *buf) in get_a_bus_drop()
95 set_a_bus_drop(struct device *dev, struct device_attribute *attr, in set_a_bus_drop()
120 get_b_bus_req(struct device *dev, struct device_attribute *attr, char *buf) in get_b_bus_req()
136 set_b_bus_req(struct device *dev, struct device_attribute *attr, in set_b_bus_req()
158 set_a_clr_err(struct device *dev, struct device_attribute *attr, in set_a_clr_err()
/linux-4.4.14/drivers/staging/most/hdm-dim2/
Ddim2_sysfs.c22 struct attribute attr; member
50 static ssize_t bus_kobj_attr_show(struct kobject *kobj, struct attribute *attr, in bus_kobj_attr_show()
63 static ssize_t bus_kobj_attr_store(struct kobject *kobj, struct attribute *attr, in bus_kobj_attr_store()
/linux-4.4.14/drivers/regulator/
Duserspace-consumer.c38 struct device_attribute *attr, char *buf) in reg_show_name()
46 struct device_attribute *attr, char *buf) in reg_show_state()
56 static ssize_t reg_set_state(struct device *dev, struct device_attribute *attr, in reg_set_state()
Dcore.c351 struct device_attribute *attr, char *buf) in regulator_uV_show()
365 struct device_attribute *attr, char *buf) in regulator_uA_show()
373 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
398 struct device_attribute *attr, char *buf) in regulator_opmode_show()
417 struct device_attribute *attr, char *buf) in regulator_state_show()
431 struct device_attribute *attr, char *buf) in regulator_status_show()
478 struct device_attribute *attr, char *buf) in regulator_min_uA_show()
490 struct device_attribute *attr, char *buf) in regulator_max_uA_show()
502 struct device_attribute *attr, char *buf) in regulator_min_uV_show()
514 struct device_attribute *attr, char *buf) in regulator_max_uV_show()
[all …]
/linux-4.4.14/arch/s390/kvm/
Dkvm-s390.c370 static int kvm_s390_get_mem_control(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_get_mem_control()
389 static int kvm_s390_set_mem_control(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_set_mem_control()
462 static int kvm_s390_vm_set_crypto(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_vm_set_crypto()
511 static int kvm_s390_set_tod_high(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_set_tod_high()
526 static int kvm_s390_set_tod_low(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_set_tod_low()
538 static int kvm_s390_set_tod(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_set_tod()
559 static int kvm_s390_get_tod_high(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_get_tod_high()
571 static int kvm_s390_get_tod_low(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_get_tod_low()
583 static int kvm_s390_get_tod(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_get_tod()
604 static int kvm_s390_set_processor(struct kvm *kvm, struct kvm_device_attr *attr) in kvm_s390_set_processor()
[all …]
/linux-4.4.14/mm/
Dhuge_memory.c241 struct kobj_attribute *attr, char *buf, in double_flag_show()
254 struct kobj_attribute *attr, in double_flag_store()
278 struct kobj_attribute *attr, char *buf) in enabled_show()
285 struct kobj_attribute *attr, in enabled_store()
311 struct kobj_attribute *attr, char *buf, in single_flag_show()
319 struct kobj_attribute *attr, in single_flag_store()
346 struct kobj_attribute *attr, char *buf) in defrag_show()
353 struct kobj_attribute *attr, in defrag_store()
364 struct kobj_attribute *attr, char *buf) in use_zero_page_show()
370 struct kobj_attribute *attr, const char *buf, size_t count) in use_zero_page_store()
[all …]
Dksm.c2106 struct kobj_attribute *attr, char *buf) in sleep_millisecs_show()
2112 struct kobj_attribute *attr, in sleep_millisecs_store()
2129 struct kobj_attribute *attr, char *buf) in pages_to_scan_show()
2135 struct kobj_attribute *attr, in pages_to_scan_store()
2151 static ssize_t run_show(struct kobject *kobj, struct kobj_attribute *attr, in run_show()
2157 static ssize_t run_store(struct kobject *kobj, struct kobj_attribute *attr, in run_store()
2201 struct kobj_attribute *attr, char *buf) in merge_across_nodes_show()
2207 struct kobj_attribute *attr, in merge_across_nodes_store()
2258 struct kobj_attribute *attr, char *buf) in pages_shared_show()
2265 struct kobj_attribute *attr, char *buf) in pages_sharing_show()
[all …]
/linux-4.4.14/arch/x86/platform/uv/
Duv_sysfs.c29 struct kobj_attribute *attr, char *buf) in partition_id_show()
35 struct kobj_attribute *attr, char *buf) in coherence_id_show()
/linux-4.4.14/drivers/spi/
Dspi-tle62x0.c100 struct device_attribute *attr, char *buf) in tle62x0_status_show()
137 struct device_attribute *attr, char *buf) in tle62x0_gpio_show()
151 struct device_attribute *attr, in tle62x0_gpio_store()
230 static int to_gpio_num(struct device_attribute *attr) in to_gpio_num()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlproc_lmv.c45 static ssize_t numobd_show(struct kobject *kobj, struct attribute *attr, in numobd_show()
80 static ssize_t placement_show(struct kobject *kobj, struct attribute *attr, in placement_show()
93 static ssize_t placement_store(struct kobject *kobj, struct attribute *attr, in placement_store()
124 static ssize_t activeobd_show(struct kobject *kobj, struct attribute *attr, in activeobd_show()
/linux-4.4.14/drivers/virtio/
Dvirtio.c12 struct device_attribute *attr, char *buf) in device_show()
20 struct device_attribute *attr, char *buf) in vendor_show()
28 struct device_attribute *attr, char *buf) in status_show()
36 struct device_attribute *attr, char *buf) in modalias_show()
45 struct device_attribute *attr, char *buf) in features_show()
/linux-4.4.14/drivers/input/serio/
Dserio.c360 static ssize_t serio_show_description(struct device *dev, struct device_attribute *attr, char *buf) in serio_show_description()
366 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, char *buf) in modalias_show()
374 static ssize_t type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show()
380 static ssize_t proto_show(struct device *dev, struct device_attribute *attr, char *buf) in proto_show()
386 static ssize_t id_show(struct device *dev, struct device_attribute *attr, char *buf) in id_show()
392 static ssize_t extra_show(struct device *dev, struct device_attribute *attr, char *buf) in extra_show()
398 static ssize_t drvctl_store(struct device *dev, struct device_attribute *attr, const char *buf, siz… in drvctl_store()
429 static ssize_t serio_show_bind_mode(struct device *dev, struct device_attribute *attr, char *buf) in serio_show_bind_mode()
435 static ssize_t serio_set_bind_mode(struct device *dev, struct device_attribute *attr, const char *b… in serio_set_bind_mode()
452 static ssize_t firmware_id_show(struct device *dev, struct device_attribute *attr, char *buf) in firmware_id_show()
/linux-4.4.14/drivers/input/mouse/
Dcyapa.c737 struct device_attribute *attr, in cyapa_show_suspend_scanrate()
776 struct device_attribute *attr, in cyapa_update_suspend_scanrate()
862 struct device_attribute *attr, in cyapa_show_rt_suspend_scanrate()
886 struct device_attribute *attr, in cyapa_update_rt_suspend_scanrate()
982 struct device_attribute *attr, char *buf) in cyapa_show_fm_ver()
997 struct device_attribute *attr, char *buf) in cyapa_show_product_id()
1075 struct device_attribute *attr, in cyapa_update_fw_store()
1135 struct device_attribute *attr, in cyapa_calibrate_store()
1158 struct device_attribute *attr, char *buf) in cyapa_show_baseline()
1201 struct device_attribute *attr, char *buf) in cyapa_show_mode()
Delan_i2c_core.c438 struct device_attribute *attr, in elan_sysfs_read_fw_checksum()
448 struct device_attribute *attr, in elan_sysfs_read_product_id()
459 struct device_attribute *attr, in elan_sysfs_read_fw_ver()
469 struct device_attribute *attr, in elan_sysfs_read_sm_ver()
479 struct device_attribute *attr, in elan_sysfs_read_iap_ver()
489 struct device_attribute *attr, in elan_sysfs_update_fw()
541 struct device_attribute *attr, in calibrate_store()
607 struct device_attribute *attr, in elan_sysfs_read_mode()
655 static ssize_t acquire_store(struct device *dev, struct device_attribute *attr, in acquire_store()
715 struct device_attribute *attr, char *buf) in min_show()
[all …]
/linux-4.4.14/fs/coda/
Dcnode.c26 static void coda_fill_inode(struct inode *inode, struct coda_vattr *attr) in coda_fill_inode()
60 struct coda_vattr * attr) in coda_iget()
93 struct coda_vattr attr; in coda_cnode_make() local
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dlproc_mdc.c44 struct attribute *attr, in max_rpcs_in_flight_show()
60 struct attribute *attr, in max_rpcs_in_flight_store()
176 struct attribute *attr, in max_pages_per_rpc_show()
/linux-4.4.14/drivers/input/
Dinput-polldev.c74 struct device_attribute *attr, char *buf) in input_polldev_get_poll()
82 struct device_attribute *attr, const char *buf, in input_polldev_set_poll()
120 struct device_attribute *attr, char *buf) in input_polldev_get_max()
130 struct device_attribute *attr, char *buf) in input_polldev_get_min()
/linux-4.4.14/fs/sysfs/
Dgroup.c24 struct attribute *const *attr; in remove_files() local
38 struct attribute *const *attr; in create_files() local
287 struct attribute *const *attr; in sysfs_merge_group() local
315 struct attribute *const *attr; in sysfs_unmerge_group() local
/linux-4.4.14/drivers/sh/intc/
Duserimask.c24 struct device_attribute *attr, char *buf) in show_intc_userimask()
31 struct device_attribute *attr, in store_intc_userimask()
/linux-4.4.14/drivers/isdn/gigaset/
Dproc.c19 struct device_attribute *attr, char *buf) in show_cidmode()
26 static ssize_t set_cidmode(struct device *dev, struct device_attribute *attr, in set_cidmode()
/linux-4.4.14/drivers/md/
Ddm-sysfs.c12 struct attribute attr; member
21 static ssize_t dm_attr_show(struct kobject *kobj, struct attribute *attr, in dm_attr_show()
46 static ssize_t dm_attr_store(struct kobject *kobj, struct attribute *attr, in dm_attr_store()
/linux-4.4.14/drivers/block/aoe/
Daoeblk.c35 struct device_attribute *attr, char *page) in aoedisk_show_state()
48 struct device_attribute *attr, char *page) in aoedisk_show_mac()
59 struct device_attribute *attr, char *page) in aoedisk_show_netif()
97 struct device_attribute *attr, char *page) in aoedisk_show_fwver()
105 struct device_attribute *attr, char *page) in aoedisk_show_payload()
/linux-4.4.14/drivers/leds/
Dleds-lp5523.c400 struct device_attribute *attr, in show_engine_mode()
422 struct device_attribute *attr, in store_engine_mode()
489 struct device_attribute *attr, in show_engine_leds()
533 struct device_attribute *attr, in store_engine_leds()
566 struct device_attribute *attr, in store_engine_load()
588 struct device_attribute *attr, in lp5523_selftest()
691 struct device_attribute *attr, in show_master_fader()
713 struct device_attribute *attr, in store_master_fader()
742 struct device_attribute *attr, in show_master_fader_leds()
773 struct device_attribute *attr, in store_master_fader_leds()
Dleds-lp55xx-common.c85 struct device_attribute *attr, in lp55xx_show_current()
94 struct device_attribute *attr, in lp55xx_store_current()
118 struct device_attribute *attr, in lp55xx_show_max_current()
231 struct device_attribute *attr, in lp55xx_show_engine_select()
241 struct device_attribute *attr, in lp55xx_store_engine_select()
283 struct device_attribute *attr, in lp55xx_store_engine_run()
Dleds-blinkm.c215 static ssize_t show_red(struct device *dev, struct device_attribute *attr, in show_red()
221 static ssize_t store_red(struct device *dev, struct device_attribute *attr, in store_red()
234 static ssize_t show_green(struct device *dev, struct device_attribute *attr, in show_green()
240 static ssize_t store_green(struct device *dev, struct device_attribute *attr, in store_green()
254 static ssize_t show_blue(struct device *dev, struct device_attribute *attr, in show_blue()
260 static ssize_t store_blue(struct device *dev, struct device_attribute *attr, in store_blue()
273 static ssize_t show_test(struct device *dev, struct device_attribute *attr, in show_test()
280 static ssize_t store_test(struct device *dev, struct device_attribute *attr, in store_test()
Dled-class.c28 struct device_attribute *attr, char *buf) in brightness_show()
39 struct device_attribute *attr, const char *buf, size_t size) in brightness_store()
68 struct device_attribute *attr, char *buf) in max_brightness_show()
/linux-4.4.14/crypto/
Dalgboss.c32 struct rtattr attr; member
37 struct rtattr attr; member
39 struct rtattr attr; member
43 struct rtattr attr; member
/linux-4.4.14/net/switchdev/
Dswitchdev.c184 int switchdev_port_attr_get(struct net_device *dev, struct switchdev_attr *attr) in switchdev_port_attr_get()
221 const struct switchdev_attr *attr, in __switchdev_port_attr_set()
256 const struct switchdev_attr *attr) in switchdev_port_attr_set_now()
301 const struct switchdev_attr *attr = data; in switchdev_port_attr_set_deferred() local
311 const struct switchdev_attr *attr) in switchdev_port_attr_set_defer()
331 const struct switchdev_attr *attr) in switchdev_port_attr_set()
760 struct switchdev_attr attr = { in switchdev_port_bridge_getlink() local
781 struct switchdev_attr attr = { in switchdev_port_br_setflag() local
816 struct nlattr *attr; in switchdev_port_br_setlink_protinfo() local
854 struct nlattr *attr; in switchdev_port_br_afspec() local
[all …]
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_main.c69 struct bin_attribute *attr, in read_fw()
78 struct bin_attribute *attr, in write_fw()
87 struct bin_attribute *attr, in read_fs()
96 struct bin_attribute *attr, in write_fs()
112 struct bin_attribute *attr, in read_vda()
121 struct bin_attribute *attr, in write_vda()
130 struct bin_attribute *attr, in read_live_nvram()
141 struct bin_attribute *attr, in write_live_nvram()
161 struct bin_attribute *attr, in read_default_nvram()
172 struct bin_attribute *attr, in read_hw()
[all …]
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-sysparam.c117 struct param_attr *attr = container_of(kobj_attr, struct param_attr, in sys_param_show() local
138 struct param_attr *attr = container_of(kobj_attr, struct param_attr, in sys_param_store() local
159 struct param_attr *attr; in opal_sys_param_init() local
Dopal-flash.c155 struct kobj_attribute *attr, char *buf) in validate_show()
195 struct kobj_attribute *attr, in validate_store()
240 struct kobj_attribute *attr, char *buf) in manage_show()
257 struct kobj_attribute *attr, in manage_store()
351 struct kobj_attribute *attr, char *buf) in update_show()
363 struct kobj_attribute *attr, in update_store()
/linux-4.4.14/drivers/uwb/
Ddriver.c78 struct class_attribute *attr, in beacon_timeout_ms_show()
86 struct class_attribute *attr, in beacon_timeout_ms_store()
Dscan.c101 struct device_attribute *attr, char *buf) in uwb_rc_scan_show()
117 struct device_attribute *attr, in uwb_rc_scan_store()
/linux-4.4.14/drivers/misc/ti-st/
Dst_kim.c586 struct device_attribute *attr, char *buf) in show_install()
594 struct device_attribute *attr, const char *buf, size_t count) in store_dev_name()
604 struct device_attribute *attr, const char *buf, size_t count) in store_baud_rate()
615 struct device_attribute *attr, char *buf) in show_dev_name()
622 struct device_attribute *attr, char *buf) in show_baud_rate()
629 struct device_attribute *attr, char *buf) in show_flow_cntrl()
/linux-4.4.14/drivers/staging/iio/cdc/
Dad7746.c278 struct device_attribute *attr, in ad7746_start_calib()
318 struct device_attribute *attr, in ad7746_start_offset_calib()
333 struct device_attribute *attr, in ad7746_start_gain_calib()
359 struct device_attribute *attr, in ad7746_show_cap_filter_rate_setup()
370 struct device_attribute *attr, in ad7746_store_cap_filter_rate_setup()
399 struct device_attribute *attr, in ad7746_show_vt_filter_rate_setup()
410 struct device_attribute *attr, in ad7746_store_vt_filter_rate_setup()
Dad7152.c95 struct device_attribute *attr, in ad7152_start_calib()
138 struct device_attribute *attr, in ad7152_start_offset_calib()
146 struct device_attribute *attr, in ad7152_start_gain_calib()
169 struct device_attribute *attr, in ad7152_show_filter_rate_setup()
180 struct device_attribute *attr, in ad7152_store_filter_rate_setup()
/linux-4.4.14/fs/ocfs2/cluster/
Dmasklog.c102 struct attribute attr; member
141 static ssize_t mlog_show(struct kobject *obj, struct attribute *attr, in mlog_show()
149 static ssize_t mlog_store(struct kobject *obj, struct attribute *attr, in mlog_store()
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c831 const struct nlattr * const attr[]) in ip_set_none()
839 const struct nlattr * const attr[]) in ip_set_create()
982 const struct nlattr * const attr[]) in ip_set_destroy()
1058 const struct nlattr * const attr[]) in ip_set_flush()
1098 const struct nlattr * const attr[]) in ip_set_rename()
1148 const struct nlattr * const attr[]) in ip_set_swap()
1221 const struct nlattr *attr; in dump_attrs() local
1236 struct nlattr *attr = (void *)nlh + min_len; in dump_init() local
1419 const struct nlattr * const attr[]) in ip_set_dump()
1506 const struct nlattr * const attr[]) in ip_set_uadd()
[all …]
/linux-4.4.14/drivers/firmware/efi/
Druntime-wrappers.c154 u32 *attr, in virt_efi_get_variable()
183 u32 attr, in virt_efi_set_variable()
199 u32 attr, unsigned long data_size, in virt_efi_set_variable_nonblocking()
215 static efi_status_t virt_efi_query_variable_info(u32 attr, in virt_efi_query_variable_info()
Druntime-map.c29 struct attribute attr; member
33 static inline struct map_attribute *to_map_attr(struct attribute *attr) in to_map_attr()
61 static ssize_t map_attr_show(struct kobject *kobj, struct attribute *attr, in map_attr_show()
/linux-4.4.14/include/linux/
Dinetdevice.h49 #define IPV4_DEVCONF(cnf, attr) ((cnf).data[IPV4_DEVCONF_ ## attr - 1]) argument
50 #define IPV4_DEVCONF_ALL(net, attr) \ argument
72 #define IN_DEV_CONF_GET(in_dev, attr) \ argument
74 #define IN_DEV_CONF_SET(in_dev, attr, val) \ argument
77 #define IN_DEV_ANDCONF(in_dev, attr) \ argument
81 #define IN_DEV_NET_ORCONF(in_dev, net, attr) \ argument
85 #define IN_DEV_ORCONF(in_dev, attr) \ argument
88 #define IN_DEV_MAXCONF(in_dev, attr) \ argument
/linux-4.4.14/drivers/staging/iio/light/
Dtsl2x7x_core.c911 struct device_attribute *attr, char *buf) in tsl2x7x_power_state_show()
919 struct device_attribute *attr, const char *buf, size_t len) in tsl2x7x_power_state_store()
936 struct device_attribute *attr, char *buf) in tsl2x7x_gain_available_show()
953 struct device_attribute *attr, char *buf) in tsl2x7x_prox_gain_available_show()
959 struct device_attribute *attr, char *buf) in tsl2x7x_als_time_show()
973 struct device_attribute *attr, const char *buf, size_t len) in tsl2x7x_als_time_store()
1000 struct device_attribute *attr, char *buf) in tsl2x7x_als_cal_target_show()
1009 struct device_attribute *attr, const char *buf, size_t len) in tsl2x7x_als_cal_target_store()
1028 struct device_attribute *attr, char *buf) in tsl2x7x_als_persistence_show()
1044 struct device_attribute *attr, const char *buf, size_t len) in tsl2x7x_als_persistence_store()
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dcacheinfo.c521 static ssize_t cache_index_show(struct kobject *k, struct attribute *attr, char *buf) in cache_index_show()
539 static ssize_t size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in size_show()
556 static ssize_t line_size_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in line_size_show()
572 static ssize_t nr_sets_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in nr_sets_show()
588 static ssize_t associativity_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in associativity_show()
604 static ssize_t type_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in type_show()
616 static ssize_t level_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in level_show()
630 static ssize_t shared_cpu_map_show(struct kobject *k, struct kobj_attribute *attr, char *buf) in shared_cpu_map_show()
702 struct kobj_attribute *attr; in cacheinfo_create_index_opt_attrs() local
Deeh_sysfs.c58 struct device_attribute *attr, char *buf) in eeh_pe_state_show()
73 struct device_attribute *attr, in eeh_pe_state_store()
/linux-4.4.14/drivers/firewire/
Dcore-device.c257 struct device_attribute attr; member
264 struct config_rom_attribute *attr = in show_immediate() local
296 struct config_rom_attribute *attr = in show_text_leaf() local
350 struct device_attribute *attr; in init_fw_attribute_group() local
371 struct device_attribute *attr, char *buf) in modalias_show()
383 struct device_attribute *attr, char *buf) in rom_index_show()
399 struct device_attribute *attr, char *buf) in config_rom_show()
413 struct device_attribute *attr, char *buf) in guid_show()
427 struct device_attribute *attr, char *buf) in is_local_show()
457 struct device_attribute *attr, char *buf) in units_show()
/linux-4.4.14/tools/perf/util/
Ddwarf-aux.c66 Dwarf_Attribute attr; in cu_get_comp_dir() local
171 Dwarf_Attribute attr; in die_get_call_lineno() local
191 Dwarf_Attribute attr; in die_get_type() local
241 Dwarf_Attribute attr; in die_get_attr_udata() local
254 Dwarf_Attribute attr; in die_get_attr_sdata() local
290 Dwarf_Attribute attr; in die_is_func_def() local
321 Dwarf_Attribute attr; in die_get_data_member_location() local
583 Dwarf_Attribute *attr; in __die_walk_instances_cb() local
827 Dwarf_Attribute attr; in __die_find_variable_cb() local
1041 Dwarf_Attribute attr; in die_get_var_range() local
/linux-4.4.14/fs/ocfs2/
Dstackglue.c483 struct kobj_attribute *attr, in ocfs2_max_locking_protocol_show()
503 struct kobj_attribute *attr, in ocfs2_loaded_cluster_plugins_show()
535 struct kobj_attribute *attr, in ocfs2_active_cluster_plugin_show()
557 struct kobj_attribute *attr, in ocfs2_cluster_stack_show()
569 struct kobj_attribute *attr, in ocfs2_cluster_stack_store()
609 struct kobj_attribute *attr, in ocfs2_dlm_recover_show()
/linux-4.4.14/fs/xfs/
Dxfs_sysfs.c27 struct attribute attr; member
34 to_attr(struct attribute *attr) in to_attr()
61 struct attribute *attr, in xfs_sysfs_object_show()
72 struct attribute *attr, in xfs_sysfs_object_store()
/linux-4.4.14/drivers/iio/humidity/
Dhtu21.c130 struct device_attribute *attr, char *buf) in htu21_show_battery_low()
139 struct device_attribute *attr, char *buf) in htu21_show_heater()
148 struct device_attribute *attr, in htu21_write_heater()
/linux-4.4.14/drivers/iio/trigger/
Diio-trig-sysfs.c30 struct device_attribute *attr, in iio_sysfs_trig_add()
49 struct device_attribute *attr, in iio_sysfs_trig_remove()
103 struct device_attribute *attr, const char *buf, size_t count) in iio_sysfs_trigger_poll()
/linux-4.4.14/net/netfilter/
Dxt_IDLETIMER.c45 struct attribute attr; member
56 struct idletimer_tg_attr attr; member
81 static ssize_t idletimer_tg_show(struct kobject *kobj, struct attribute *attr, in idletimer_tg_show()
/linux-4.4.14/drivers/pnp/
Dinterface.c206 static ssize_t options_show(struct device *dmdev, struct device_attribute *attr, in options_show()
247 struct device_attribute *attr, char *buf) in resources_show()
335 struct device_attribute *attr, const char *ubuf, in resources_store()
439 static ssize_t id_show(struct device *dmdev, struct device_attribute *attr, in id_show()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dprovider.c401 static ssize_t show_rev(struct device *dev, struct device_attribute *attr, in show_rev()
411 static ssize_t show_fw_ver(struct device *dev, struct device_attribute *attr, in show_fw_ver()
425 static ssize_t show_hca(struct device *dev, struct device_attribute *attr, in show_hca()
438 static ssize_t show_board(struct device *dev, struct device_attribute *attr, in show_board()
479 struct ib_port_attr attr; in c4iw_port_immutable() local
/linux-4.4.14/drivers/net/ethernet/sfc/
Dmcdi_mon.c190 struct device_attribute *attr, in efx_mcdi_mon_show_value()
227 struct device_attribute *attr, in efx_mcdi_mon_show_limit()
254 struct device_attribute *attr, in efx_mcdi_mon_show_alarm()
272 struct device_attribute *attr, in efx_mcdi_mon_show_label()
289 struct efx_mcdi_mon_attribute *attr = &hwmon->attrs[hwmon->n_attrs]; in efx_mcdi_mon_add_attr() local
/linux-4.4.14/block/
Dblk-mq-sysfs.c21 struct attribute attr; member
27 struct attribute attr; member
32 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_show()
55 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_store()
79 struct attribute *attr, char *page) in blk_mq_hw_sysfs_show()
102 struct attribute *attr, const char *page, in blk_mq_hw_sysfs_store()
/linux-4.4.14/drivers/rtc/
Drtc-ds1343.c116 struct device_attribute *attr, char *buf) in ds1343_show_glitchfilter()
132 struct device_attribute *attr, in ds1343_store_glitchfilter()
158 struct bin_attribute *attr, in ds1343_nvram_write()
177 struct bin_attribute *attr, in ds1343_nvram_read()
204 struct device_attribute *attr, char *buf) in ds1343_show_alarmstatus()
222 struct device_attribute *attr, char *buf) in ds1343_show_alarmmode()
272 struct device_attribute *attr, char *buf) in ds1343_show_tricklecharger()
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dmain.c559 struct ib_port_attr attr; in mlx5_ib_modify_port() local
877 static ssize_t show_fw_pages(struct device *device, struct device_attribute *attr, in show_fw_pages()
887 struct device_attribute *attr, char *buf) in show_reg_pages()
895 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
903 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
912 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
920 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
1078 struct ib_qp_attr *attr = NULL; in create_umr_res() local
1187 struct ib_srq_init_attr attr; in create_dev_resources() local
1310 struct ib_port_attr attr; in mlx5_port_immutable() local
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945-mac.c3101 il3945_show_debug_level(struct device *d, struct device_attribute *attr, in il3945_show_debug_level()
3109 il3945_store_debug_level(struct device *d, struct device_attribute *attr, in il3945_store_debug_level()
3131 il3945_show_temperature(struct device *d, struct device_attribute *attr, in il3945_show_temperature()
3145 il3945_show_tx_power(struct device *d, struct device_attribute *attr, char *buf) in il3945_show_tx_power()
3152 il3945_store_tx_power(struct device *d, struct device_attribute *attr, in il3945_store_tx_power()
3172 il3945_show_flags(struct device *d, struct device_attribute *attr, char *buf) in il3945_show_flags()
3180 il3945_store_flags(struct device *d, struct device_attribute *attr, in il3945_store_flags()
3206 il3945_show_filter_flags(struct device *d, struct device_attribute *attr, in il3945_show_filter_flags()
3215 il3945_store_filter_flags(struct device *d, struct device_attribute *attr, in il3945_store_filter_flags()
3242 il3945_show_measurement(struct device *d, struct device_attribute *attr, in il3945_show_measurement()
[all …]
/linux-4.4.14/drivers/infiniband/ulp/srp/
Dib_srp.c261 struct ib_qp_attr *attr; in srp_init_qp() local
459 static struct ib_qp_attr attr = { .qp_state = IB_QPS_ERR }; in srp_destroy_qp() local
918 struct device_attribute **attr; in srp_del_scsi_host_attr() local
2615 static ssize_t show_id_ext(struct device *dev, struct device_attribute *attr, in show_id_ext()
2623 static ssize_t show_ioc_guid(struct device *dev, struct device_attribute *attr, in show_ioc_guid()
2632 struct device_attribute *attr, char *buf) in show_service_id()
2639 static ssize_t show_pkey(struct device *dev, struct device_attribute *attr, in show_pkey()
2647 static ssize_t show_sgid(struct device *dev, struct device_attribute *attr, in show_sgid()
2655 static ssize_t show_dgid(struct device *dev, struct device_attribute *attr, in show_dgid()
2665 struct device_attribute *attr, char *buf) in show_orig_dgid()
[all …]
/linux-4.4.14/arch/ia64/mm/
Dioremap.c27 u64 attr; in early_ioremap() local
41 u64 attr; in ioremap() local
/linux-4.4.14/drivers/net/wireless/b43/
Dsysfs.c51 struct device_attribute *attr, in b43_attr_interfmode_show()
93 struct device_attribute *attr, in b43_attr_interfmode_store()
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dsysfs.c63 struct device_attribute *attr, in ath5k_attr_show_noise_immunity_level_max()
72 struct device_attribute *attr, in ath5k_attr_show_firstep_level_max()
/linux-4.4.14/tools/testing/selftests/mqueue/
Dmq_open_tests.c197 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result) in test_queue()
219 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result) in test_queue_fail()
238 struct mq_attr attr, result; in main() local
/linux-4.4.14/virt/kvm/
Dvfio.c113 static int kvm_vfio_set_group(struct kvm_device *dev, long attr, u64 arg) in kvm_vfio_set_group()
210 struct kvm_device_attr *attr) in kvm_vfio_set_attr()
221 struct kvm_device_attr *attr) in kvm_vfio_has_attr()
/linux-4.4.14/drivers/misc/mic/bus/
Dmic_bus.c29 struct device_attribute *attr, char *buf) in device_show()
37 struct device_attribute *attr, char *buf) in vendor_show()
45 struct device_attribute *attr, char *buf) in modalias_show()
Dscif_bus.c25 struct device_attribute *attr, char *buf) in device_show()
34 struct device_attribute *attr, char *buf) in vendor_show()
43 struct device_attribute *attr, char *buf) in modalias_show()
/linux-4.4.14/drivers/usb/phy/
Dphy-mv-usb.c532 get_a_bus_req(struct device *dev, struct device_attribute *attr, char *buf) in get_a_bus_req()
540 set_a_bus_req(struct device *dev, struct device_attribute *attr, in set_a_bus_req()
576 set_a_clr_err(struct device *dev, struct device_attribute *attr, in set_a_clr_err()
603 get_a_bus_drop(struct device *dev, struct device_attribute *attr, in get_a_bus_drop()
612 set_a_bus_drop(struct device *dev, struct device_attribute *attr, in set_a_bus_drop()
/linux-4.4.14/drivers/staging/android/
Dtimed_output.c31 static ssize_t enable_show(struct device *dev, struct device_attribute *attr, in enable_show()
40 static ssize_t enable_store(struct device *dev, struct device_attribute *attr, in enable_store()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c155 static ssize_t resource_count_show(struct kobject *kobj, struct attribute *attr, in resource_count_show()
171 static ssize_t lock_count_show(struct kobject *kobj, struct attribute *attr, in lock_count_show()
185 struct attribute *attr, in lock_unused_count_show()
195 static ssize_t lru_size_show(struct kobject *kobj, struct attribute *attr, in lru_size_show()
207 static ssize_t lru_size_store(struct kobject *kobj, struct attribute *attr, in lru_size_store()
292 static ssize_t lru_max_age_show(struct kobject *kobj, struct attribute *attr, in lru_max_age_show()
301 static ssize_t lru_max_age_store(struct kobject *kobj, struct attribute *attr, in lru_max_age_store()
320 struct attribute *attr, in early_lock_cancel_show()
330 struct attribute *attr, in early_lock_cancel_store()
/linux-4.4.14/drivers/staging/iio/adc/
Dad7606_core.c111 struct device_attribute *attr, char *buf) in ad7606_show_range()
120 struct device_attribute *attr, in ad7606_store_range()
149 struct device_attribute *attr, in ad7606_show_oversampling_ratio()
171 struct device_attribute *attr, in ad7606_store_oversampling_ratio()
/linux-4.4.14/drivers/s390/block/
Ddcssblk.c313 dcssblk_shared_show(struct device *dev, struct device_attribute *attr, char *buf) in dcssblk_shared_show()
322 dcssblk_shared_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t c… in dcssblk_shared_store()
417 dcssblk_save_show(struct device *dev, struct device_attribute *attr, char *buf) in dcssblk_save_show()
426 dcssblk_save_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t cou… in dcssblk_save_store()
481 dcssblk_seglist_show(struct device *dev, struct device_attribute *attr, in dcssblk_seglist_show()
522 dcssblk_add_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in dcssblk_add_store()
710 dcssblk_remove_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t cou… in dcssblk_remove_store()
/linux-4.4.14/drivers/nvdimm/
Dnamespace_devs.c210 struct device_attribute *attr, char *buf) in nstype_show()
378 struct device_attribute *attr, const char *buf, size_t len) in alt_name_store()
397 struct device_attribute *attr, char *buf) in alt_name_show()
942 struct device_attribute *attr, const char *buf, size_t len) in size_store()
1017 struct device_attribute *attr, char *buf) in size_show()
1025 struct device_attribute *attr, char *buf) in uuid_show()
1105 struct device_attribute *attr, const char *buf, size_t len) in uuid_store()
1146 struct device_attribute *attr, char *buf) in resource_show()
1172 struct device_attribute *attr, char *buf) in sector_size_show()
1183 struct device_attribute *attr, const char *buf, size_t len) in sector_size_store()
[all …]
/linux-4.4.14/drivers/message/fusion/
Dmptscsih.c3047 mptscsih_version_fw_show(struct device *dev, struct device_attribute *attr, in mptscsih_version_fw_show()
3063 mptscsih_version_bios_show(struct device *dev, struct device_attribute *attr, in mptscsih_version_bios_show()
3079 mptscsih_version_mpi_show(struct device *dev, struct device_attribute *attr, in mptscsih_version_mpi_show()
3092 struct device_attribute *attr, in mptscsih_version_product_show()
3106 struct device_attribute *attr, in mptscsih_version_nvdata_persistent_show()
3121 struct device_attribute *attr, char *buf) in mptscsih_version_nvdata_default_show()
3133 mptscsih_board_name_show(struct device *dev, struct device_attribute *attr, in mptscsih_board_name_show()
3146 struct device_attribute *attr, char *buf) in mptscsih_board_assembly_show()
3158 mptscsih_board_tracer_show(struct device *dev, struct device_attribute *attr, in mptscsih_board_tracer_show()
3171 mptscsih_io_delay_show(struct device *dev, struct device_attribute *attr, in mptscsih_io_delay_show()
[all …]
/linux-4.4.14/net/rfkill/
Dcore.c585 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
620 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
629 static ssize_t index_show(struct device *dev, struct device_attribute *attr, in index_show()
639 struct device_attribute *attr, char *buf) in persistent_show()
647 static ssize_t hard_show(struct device *dev, struct device_attribute *attr, in hard_show()
656 static ssize_t soft_show(struct device *dev, struct device_attribute *attr, in soft_show()
664 static ssize_t soft_store(struct device *dev, struct device_attribute *attr, in soft_store()
699 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
707 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
733 static ssize_t claim_show(struct device *dev, struct device_attribute *attr, in claim_show()
/linux-4.4.14/drivers/ide/
Dide-park.c88 ssize_t ide_park_show(struct device *dev, struct device_attribute *attr, in ide_park_show()
111 ssize_t ide_park_store(struct device *dev, struct device_attribute *attr, in ide_park_store()
/linux-4.4.14/arch/s390/pci/
Dpci_sysfs.c37 static ssize_t recover_store(struct device *dev, struct device_attribute *attr, in recover_store()
69 struct bin_attribute *attr, char *buf, in util_string_read()
/linux-4.4.14/drivers/infiniband/core/
Dcache.c90 struct ib_gid_attr attr; member
118 const struct ib_gid_attr *attr, in write_gid()
182 const struct ib_gid_attr *attr, in add_gid()
191 const struct ib_gid_attr *attr, in modify_gid()
212 struct ib_gid_attr *attr = &table->data_vec[i].attr; in find_gid() local
248 union ib_gid *gid, struct ib_gid_attr *attr) in ib_cache_gid_add()
299 union ib_gid *gid, struct ib_gid_attr *attr) in ib_cache_gid_del()
343 union ib_gid *gid, struct ib_gid_attr *attr) in __ib_cache_gid_get()
488 struct ib_gid_attr attr; in ib_cache_gid_find_by_filter() local
/linux-4.4.14/drivers/media/usb/usbvision/
Dusbvision-video.c171 struct device_attribute *attr, char *buf) in show_version()
178 struct device_attribute *attr, char *buf) in show_model()
189 struct device_attribute *attr, char *buf) in show_hue()
204 struct device_attribute *attr, char *buf) in show_contrast()
219 struct device_attribute *attr, char *buf) in show_brightness()
234 struct device_attribute *attr, char *buf) in show_saturation()
249 struct device_attribute *attr, char *buf) in show_streaming()
260 struct device_attribute *attr, char *buf) in show_compression()
271 struct device_attribute *attr, char *buf) in show_device_bridge()
/linux-4.4.14/arch/powerpc/sysdev/
Dfsl_mpic_timer_wakeup.c56 struct device_attribute *attr, in fsl_timer_wakeup_show()
73 struct device_attribute *attr, in fsl_timer_wakeup_store()
/linux-4.4.14/fs/adfs/
Dinode.c91 unsigned int attr = ADFS_I(inode)->attr; in adfs_atts2mode() local
136 int attr; in adfs_mode2atts() local
299 adfs_notify_change(struct dentry *dentry, struct iattr *attr) in adfs_notify_change()
/linux-4.4.14/arch/alpha/kernel/
Dpci-sysfs.c64 struct bin_attribute *attr, in pci_mmap_resource()
94 struct bin_attribute *attr, in pci_mmap_resource_sparse()
101 struct bin_attribute *attr, in pci_mmap_resource_dense()
175 struct bin_attribute *attr; in pci_create_attr() local
/linux-4.4.14/drivers/macintosh/ams/
Dams-input.c111 struct device_attribute *attr, char *buf) in ams_input_show_joystick()
117 struct device_attribute *attr, const char *buf, size_t count) in ams_input_store_joystick()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_provider.c293 const struct ib_cq_init_attr *attr, in c2_create_cq()
521 static ssize_t show_rev(struct device *dev, struct device_attribute *attr, in show_rev()
529 static ssize_t show_fw_ver(struct device *dev, struct device_attribute *attr, in show_fw_ver()
540 static ssize_t show_hca(struct device *dev, struct device_attribute *attr, in show_hca()
547 static ssize_t show_board(struct device *dev, struct device_attribute *attr, in show_board()
566 static int c2_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in c2_modify_qp()
775 struct ib_port_attr attr; in c2_port_immutable() local
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_provider.c208 struct ib_port_attr attr; in mthca_modify_port() local
649 const struct ib_cq_init_attr *attr, in mthca_create_cq()
1159 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
1167 static ssize_t show_fw_ver(struct device *device, struct device_attribute *attr, in show_fw_ver()
1177 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
1197 static ssize_t show_board(struct device *device, struct device_attribute *attr, in show_board()
1258 struct ib_port_attr attr; in mthca_port_immutable() local
/linux-4.4.14/drivers/block/
Dosdblk.c179 static int extract_attr_from_req(struct osd_request *or, struct osd_attr *attr) in extract_attr_from_req()
202 struct osd_attr attr; in osdblk_get_obj_size() local
472 struct class_attribute *attr, in class_osdblk_list()
498 struct class_attribute *attr, in class_osdblk_add()
592 struct class_attribute *attr, in class_osdblk_remove()
/linux-4.4.14/fs/overlayfs/
Dcopy_up.c172 struct iattr attr = { in ovl_set_timestamps() local
187 struct iattr attr = { in ovl_set_attr() local
194 struct iattr attr = { in ovl_set_attr() local

12345678