Searched refs:attr (Results 176 - 200 of 3257) sorted by relevance

1234567891011>>

/linux-master/drivers/s390/net/
H A Dqeth_l2_sys.c13 struct device_attribute *attr, char *buf,
64 struct device_attribute *attr, char *buf)
71 return qeth_bridge_port_role_state_show(dev, attr, buf, 0);
75 struct device_attribute *attr, const char *buf, size_t count)
115 struct device_attribute *attr, char *buf)
122 return qeth_bridge_port_role_state_show(dev, attr, buf, 1);
129 struct device_attribute *attr, char *buf)
143 struct device_attribute *attr, const char *buf, size_t count)
177 struct device_attribute *attr, char *buf)
197 struct device_attribute *attr, cons
12 qeth_bridge_port_role_state_show(struct device *dev, struct device_attribute *attr, char *buf, int show_state) argument
63 qeth_bridge_port_role_show(struct device *dev, struct device_attribute *attr, char *buf) argument
74 qeth_bridge_port_role_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
114 qeth_bridge_port_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
128 qeth_bridgeport_hostnotification_show(struct device *dev, struct device_attribute *attr, char *buf) argument
142 qeth_bridgeport_hostnotification_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
176 qeth_bridgeport_reflect_show(struct device *dev, struct device_attribute *attr, char *buf) argument
196 qeth_bridgeport_reflect_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
274 qeth_vnicc_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) argument
290 qeth_vnicc_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
309 qeth_vnicc_char_show(struct device *dev, struct device_attribute *attr, char *buf) argument
328 qeth_vnicc_char_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/usb/core/
H A Dsysfs.c27 struct device_attribute *attr, char *buf) \
53 struct device_attribute *attr, char *buf)
72 struct device_attribute *attr, char *buf)
94 struct device_attribute *attr,
113 static ssize_t devspec_show(struct device *dev, struct device_attribute *attr, argument
126 struct device_attribute *attr, char *buf) \
145 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, argument
180 static ssize_t rx_lanes_show(struct device *dev, struct device_attribute *attr, argument
190 static ssize_t tx_lanes_show(struct device *dev, struct device_attribute *attr, argument
200 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, argument
52 bMaxPower_show(struct device *dev, struct device_attribute *attr, char *buf) argument
71 configuration_show(struct device *dev, struct device_attribute *attr, char *buf) argument
93 bConfigurationValue_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
210 devnum_show(struct device *dev, struct device_attribute *attr, char *buf) argument
220 devpath_show(struct device *dev, struct device_attribute *attr, char *buf) argument
230 version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
242 maxchild_show(struct device *dev, struct device_attribute *attr, char *buf) argument
252 quirks_show(struct device *dev, struct device_attribute *attr, char *buf) argument
262 avoid_reset_quirk_show(struct device *dev, struct device_attribute *attr, char *buf) argument
271 avoid_reset_quirk_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
293 urbnum_show(struct device *dev, struct device_attribute *attr, char *buf) argument
303 ltm_capable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
314 persist_show(struct device *dev, struct device_attribute *attr, char *buf) argument
322 persist_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
370 connected_duration_show(struct device *dev, struct device_attribute *attr, char *buf) argument
387 active_duration_show(struct device *dev, struct device_attribute *attr, char *buf) argument
401 autosuspend_show(struct device *dev, struct device_attribute *attr, char *buf) argument
407 autosuspend_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
436 level_show(struct device *dev, struct device_attribute *attr, char *buf) argument
448 level_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
482 usb2_hardware_lpm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
496 usb2_hardware_lpm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
527 usb2_lpm_l1_timeout_show(struct device *dev, struct device_attribute *attr, char *buf) argument
535 usb2_lpm_l1_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
551 usb2_lpm_besl_show(struct device *dev, struct device_attribute *attr, char *buf) argument
558 usb2_lpm_besl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
574 usb3_hardware_lpm_u1_show(struct device *dev, struct device_attribute *attr, char *buf) argument
596 usb3_hardware_lpm_u2_show(struct device *dev, struct device_attribute *attr, char *buf) argument
726 authorized_show(struct device *dev, struct device_attribute *attr, char *buf) argument
738 authorized_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
758 remove_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
855 descriptors_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
895 bos_descriptors_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument
960 authorized_default_show(struct device *dev, struct device_attribute *attr, char *buf) argument
971 authorized_default_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
1001 interface_authorized_default_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1017 interface_authorized_default_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1142 interface_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1156 modalias_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1183 supports_autosuspend_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1204 interface_authorized_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1215 interface_authorized_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1286 wireless_status_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/hwmon/
H A Dadm1029.c161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
164 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index]));
170 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
174 if (data->fan[attr->index] == 0 ||
175 (data->fan_div[attr->index] & 0xC0) == 0 ||
176 data->fan[attr->index] == 255) {
180 val = 1880 * 120 / DIV_FROM_REG(data->fan_div[attr->index])
181 / data->fan[attr->index];
188 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
191 if ((data->fan_div[attr
202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); local
[all...]
H A Dlm85.c552 static ssize_t fan_show(struct device *dev, struct device_attribute *attr, argument
555 int nr = to_sensor_dev_attr(attr)->index;
560 static ssize_t fan_min_show(struct device *dev, struct device_attribute *attr, argument
563 int nr = to_sensor_dev_attr(attr)->index;
569 struct device_attribute *attr, const char *buf,
572 int nr = to_sensor_dev_attr(attr)->index;
601 struct device_attribute *attr, char *buf)
619 static ssize_t vrm_show(struct device *dev, struct device_attribute *attr, argument
626 static ssize_t vrm_store(struct device *dev, struct device_attribute *attr, argument
646 static ssize_t alarms_show(struct device *dev, struct device_attribute *attr, argument
568 fan_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
600 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
655 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
683 pwm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
691 pwm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
711 pwm_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
733 pwm_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
777 pwm_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
793 pwm_freq_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
843 in_show(struct device *dev, struct device_attribute *attr, char *buf) argument
852 in_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
860 in_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
880 in_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
888 in_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
935 temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
944 temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
952 temp_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
976 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
984 temp_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1020 pwm_auto_channels_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1029 pwm_auto_channels_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1052 pwm_auto_pwm_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1060 pwm_auto_pwm_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1082 pwm_auto_pwm_minctl_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1091 pwm_auto_pwm_minctl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1129 temp_auto_temp_off_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1139 temp_auto_temp_off_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1169 temp_auto_temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1178 temp_auto_temp_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1209 temp_auto_temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1219 temp_auto_temp_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1246 temp_auto_temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1255 temp_auto_temp_crit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dnzxt-kraken3.c123 static umode_t kraken3_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, argument
151 switch (attr) {
289 static int kraken3_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, argument
316 switch (attr) {
334 static int kraken3_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, argument
406 static int kraken3_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, argument
414 switch (attr) {
482 static ssize_t kraken3_fan_curve_pwm_store(struct device *dev, struct device_attribute *attr, argument
485 struct sensor_device_attribute_2 *dev_attr = to_sensor_dev_attr_2(attr);
511 static umode_t kraken3_curve_props_are_visible(struct kobject *kobj, struct attribute *attr, argument
[all...]
H A Dadm1026.c467 static ssize_t in_show(struct device *dev, struct device_attribute *attr, argument
470 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
475 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, argument
478 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
483 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, argument
486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
503 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, argument
506 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
511 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, argument
514 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
581 in16_show(struct device *dev, struct device_attribute *attr, char *buf) argument
588 in16_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
595 in16_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
617 in16_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
624 in16_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
653 fan_show(struct device *dev, struct device_attribute *attr, char *buf) argument
662 fan_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
671 fan_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
730 fan_div_show(struct device *dev, struct device_attribute *attr, char *buf) argument
738 fan_div_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
791 temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
799 temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) argument
807 temp_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
829 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) argument
837 temp_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
870 temp_offset_show(struct device *dev, struct device_attribute *attr, char *buf) argument
878 temp_offset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
905 temp_auto_point1_temp_hyst_show(struct device *dev, struct device_attribute *attr, char *buf) argument
915 temp_auto_point2_temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
925 temp_auto_point1_temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
934 temp_auto_point1_temp_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
970 show_temp_crit_enable(struct device *dev, struct device_attribute *attr, char *buf) argument
976 set_temp_crit_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1006 temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1014 temp_crit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1041 analog_out_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1047 analog_out_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1069 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1081 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1088 vrm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1108 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1117 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1154 alarm_mask_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1160 alarm_mask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1195 gpio_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1201 gpio_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1228 gpio_mask_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1235 gpio_mask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1263 pwm1_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1270 pwm1_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1292 temp1_auto_point1_pwm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1300 temp1_auto_point1_pwm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1324 temp1_auto_point2_pwm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1331 pwm1_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1338 pwm1_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dasb100.c235 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \
238 int nr = to_sensor_dev_attr(attr)->index; \
248 static ssize_t set_in_##reg(struct device *dev, struct device_attribute *attr, \
251 int nr = to_sensor_dev_attr(attr)->index; \
286 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, argument
289 int nr = to_sensor_dev_attr(attr)->index;
295 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, argument
298 int nr = to_sensor_dev_attr(attr)->index;
304 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, argument
307 int nr = to_sensor_dev_attr(attr)
312 set_fan_min(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
338 set_fan_div(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
472 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) argument
482 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
489 vrm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
510 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
519 show_alarm(struct device *dev, struct device_attribute *attr, char *buf) argument
539 pwm1_show(struct device *dev, struct device_attribute *attr, char *buf) argument
546 pwm1_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
566 pwm1_enable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
573 pwm1_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/fs/ntfs3/
H A Dattrib.c58 * attr_load_runs - Load all runs stored in @attr.
60 static int attr_load_runs(struct ATTRIB *attr, struct ntfs_inode *ni, argument
64 CLST svcn = le64_to_cpu(attr->nres.svcn);
65 CLST evcn = le64_to_cpu(attr->nres.evcn);
75 asize = le32_to_cpu(attr->size);
76 run_off = le16_to_cpu(attr->nres.run_off);
82 vcn ? *vcn : svcn, Add2Ptr(attr, run_off),
226 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr, argument
240 if (attr->non_res) {
241 *ins_attr = attr;
352 attr_set_size_res(struct ntfs_inode *ni, struct ATTRIB *attr, struct ATTR_LIST_ENTRY *le, struct mft_inode *mi, u64 new_size, struct runs_tree *run, struct ATTRIB **ins_attr) argument
411 struct ATTRIB *attr = NULL, *attr_b; local
889 struct ATTRIB *attr, *attr_b; local
1229 struct ATTRIB *attr; local
1266 struct ATTRIB *attr; local
1303 struct ATTRIB *attr; local
1372 attr_wof_frame_info(struct ntfs_inode *ni, struct ATTRIB *attr, struct runs_tree *run, u64 frame, u64 frames, u8 frame_bits, u32 *ondisk_size, u64 *vbo_data) argument
1517 attr_is_frame_compressed(struct ntfs_inode *ni, struct ATTRIB *attr, CLST frame, CLST *clst_data) argument
1627 struct ATTRIB *attr = NULL, *attr_b; local
1852 struct ATTRIB *attr = NULL, *attr_b; local
2110 struct ATTRIB *attr = NULL, *attr_b; local
2328 struct ATTRIB *attr = NULL, *attr_b; local
2570 struct ATTRIB *attr; local
[all...]
H A Dfrecord.c76 const struct ATTRIB *attr; local
78 attr = mi_find_attr(&ni->mi, NULL, ATTR_STD, NULL, 0, NULL);
79 return attr ? resident_data_ex(attr, sizeof(struct ATTR_STD_INFO)) :
90 const struct ATTRIB *attr; local
92 attr = mi_find_attr(&ni->mi, NULL, ATTR_STD, NULL, 0, NULL);
94 return attr ? resident_data_ex(attr, sizeof(struct ATTR_STD_INFO5)) :
186 struct ATTRIB *ni_find_attr(struct ntfs_inode *ni, struct ATTRIB *attr, argument
202 return mi_find_attr(&ni->mi, attr, typ
247 ni_enum_attr_ex(struct ntfs_inode *ni, struct ATTRIB *attr, struct ATTR_LIST_ENTRY **le, struct mft_inode **mi) argument
287 struct ATTRIB *attr; local
392 struct ATTRIB *attr; local
462 struct ATTRIB *attr; local
659 struct ATTRIB *attr, *attr_list, *attr_ins; local
802 struct ATTRIB *attr; local
945 struct ATTRIB *attr; local
1098 struct ATTRIB *attr, *eattr; local
1246 struct ATTRIB *attr; local
1379 struct ATTRIB *attr, *ins_attr; local
1447 struct ATTRIB *attr; local
1523 struct ATTRIB *attr; local
1553 ni_remove_attr_le(struct ntfs_inode *ni, struct ATTRIB *attr, struct mft_inode *mi, struct ATTR_LIST_ENTRY *le) argument
1571 struct ATTRIB *attr = NULL; local
1652 struct ATTRIB *attr = NULL; local
1692 struct ATTRIB *attr = NULL; local
1721 struct ATTRIB *attr; local
1799 ni_parse_reparse(struct ntfs_inode *ni, struct ATTRIB *attr, struct REPARSE_DATA_BUFFER *buffer) argument
1913 struct ATTRIB *attr; local
2181 struct ATTRIB *attr; local
2464 struct ATTRIB *attr; local
2746 struct ATTRIB *attr; local
2971 struct ATTRIB *attr; local
3017 struct ATTRIB *attr; local
3137 struct ATTRIB *attr; local
[all...]
/linux-master/drivers/base/
H A Dphysical_location.c42 static ssize_t panel_show(struct device *dev, struct device_attribute *attr, argument
74 struct device_attribute *attr, char *buf)
96 struct device_attribute *attr, char *buf)
117 static ssize_t dock_show(struct device *dev, struct device_attribute *attr, argument
125 static ssize_t lid_show(struct device *dev, struct device_attribute *attr, argument
134 &dev_attr_panel.attr,
135 &dev_attr_vertical_position.attr,
136 &dev_attr_horizontal_position.attr,
137 &dev_attr_dock.attr,
138 &dev_attr_lid.attr,
73 vertical_position_show(struct device *dev, struct device_attribute *attr, char *buf) argument
95 horizontal_position_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
H A Dtopology.c19 struct device_attribute *attr, char *buf) \
26 struct bin_attribute *attr, char *buf, \
36 struct bin_attribute *attr, char *buf, \
137 &dev_attr_physical_package_id.attr,
139 &dev_attr_die_id.attr,
142 &dev_attr_cluster_id.attr,
144 &dev_attr_core_id.attr,
146 &dev_attr_book_id.attr,
149 &dev_attr_drawer_id.attr,
151 &dev_attr_ppin.attr,
155 topology_is_visible(struct kobject *kobj, struct attribute *attr, int unused) argument
[all...]
/linux-master/drivers/thermal/
H A Dthermal_sysfs.c27 type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
35 temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
49 mode_show(struct device *dev, struct device_attribute *attr, char *buf) argument
62 mode_store(struct device *dev, struct device_attribute *attr, argument
82 trip_point_type_show(struct device *dev, struct device_attribute *attr, argument
88 if (sscanf(attr->attr.name, "trip_point_%d_type", &trip_id) != 1)
106 trip_point_temp_store(struct device *dev, struct device_attribute *attr, argument
118 if (sscanf(attr->attr
144 trip_point_temp_show(struct device *dev, struct device_attribute *attr, char *buf) argument
157 trip_point_hyst_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
188 trip_point_hyst_show(struct device *dev, struct device_attribute *attr, char *buf) argument
201 policy_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
234 emul_temp_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
546 cdev_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
553 max_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
561 cur_state_show(struct device *dev, struct device_attribute *attr, char *buf) argument
575 cur_state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
668 total_trans_show(struct device *dev, struct device_attribute *attr, char *buf) argument
692 time_in_state_ms_show(struct device *dev, struct device_attribute *attr, char *buf) argument
723 reset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
756 trans_table_show(struct device *dev, struct device_attribute *attr, char *buf) argument
899 trip_point_show(struct device *dev, struct device_attribute *attr, char *buf) argument
911 weight_show(struct device *dev, struct device_attribute *attr, char *buf) argument
920 weight_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/arch/powerpc/perf/
H A Dhv-gpci.c54 &format_attr_request.attr,
55 &format_attr_starting_index.attr,
56 &format_attr_phys_processor_idx.attr,
57 &format_attr_sibling_part_id.attr,
58 &format_attr_hw_chip_id.attr,
59 &format_attr_partition_id.attr,
60 &format_attr_secondary_index.attr,
61 &format_attr_counter_info_version.attr,
63 &format_attr_offset.attr,
64 &format_attr_length.attr,
92 kernel_version_show(struct device *dev, struct device_attribute *attr, char *page) argument
99 cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) argument
192 processor_bus_topology_show(struct device *dev, struct device_attribute *attr, char *buf) argument
260 processor_config_show(struct device *dev, struct device_attribute *attr, char *buf) argument
328 affinity_domain_via_virtual_processor_show(struct device *dev, struct device_attribute *attr, char *buf) argument
398 affinity_domain_via_domain_show(struct device *dev, struct device_attribute *attr, char *buf) argument
509 affinity_domain_via_partition_show(struct device *dev, struct device_attribute *attr, char *buf) argument
887 struct device_attribute *attr = NULL; local
951 struct device_attribute *attr[INTERFACE_NULL_ATTR - INTERFACE_PROCESSOR_BUS_TOPOLOGY_ATTR]; local
[all...]
/linux-master/drivers/rtc/
H A Dsysfs.c25 name_show(struct device *dev, struct device_attribute *attr, char *buf) argument
33 date_show(struct device *dev, struct device_attribute *attr, char *buf) argument
47 time_show(struct device *dev, struct device_attribute *attr, char *buf) argument
61 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) argument
79 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) argument
85 max_user_freq_store(struct device *dev, struct device_attribute *attr, argument
108 * @attr: The attribute being read.
115 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) argument
128 wakealarm_show(struct device *dev, struct device_attribute *attr, char *buf) argument
152 wakealarm_store(struct device *dev, struct device_attribute *attr, argument
219 offset_show(struct device *dev, struct device_attribute *attr, char *buf) argument
232 offset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) argument
247 range_show(struct device *dev, struct device_attribute *attr, char *buf) argument
280 rtc_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) argument
[all...]
/linux-master/tools/perf/arch/x86/tests/
H A Dhybrid.c12 return (evsel->core.attr.config & PERF_HW_EVENT_MASK) == expected_config;
17 return (evsel->attr.config & PERF_HW_EVENT_MASK) == expected_config;
22 return (evsel->core.attr.config >> PERF_PMU_TYPE_SHIFT) == expected_config;
30 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type);
42 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type);
48 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type);
61 TEST_ASSERT_VAL("wrong type", PERF_TYPE_SOFTWARE == evsel->core.attr.type);
65 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type);
78 TEST_ASSERT_VAL("wrong type", PERF_TYPE_HARDWARE == evsel->core.attr.type);
84 TEST_ASSERT_VAL("wrong type", PERF_TYPE_SOFTWARE == evsel->core.attr
[all...]
/linux-master/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c57 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr,
59 ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr,
135 struct device_attribute *attr,
165 struct device_attribute *attr,
263 struct device_attribute *attr,
301 struct device_attribute *attr,
363 struct device_attribute *attr,
401 struct device_attribute *attr,
443 struct device_attribute *attr,
455 return amdgpu_get_pp_cur_state(dev, attr, bu
134 amdgpu_get_power_dpm_state(struct device *dev, struct device_attribute *attr, char *buf) argument
164 amdgpu_set_power_dpm_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
262 amdgpu_get_power_dpm_force_performance_level(struct device *dev, struct device_attribute *attr, char *buf) argument
300 amdgpu_set_power_dpm_force_performance_level(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
362 amdgpu_get_pp_num_states(struct device *dev, struct device_attribute *attr, char *buf) argument
400 amdgpu_get_pp_cur_state(struct device *dev, struct device_attribute *attr, char *buf) argument
442 amdgpu_get_pp_force_state(struct device *dev, struct device_attribute *attr, char *buf) argument
460 amdgpu_set_pp_force_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
533 amdgpu_get_pp_table(struct device *dev, struct device_attribute *attr, char *buf) argument
569 amdgpu_set_pp_table(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
745 amdgpu_set_pp_od_clk_voltage(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
845 amdgpu_get_pp_od_clk_voltage(struct device *dev, struct device_attribute *attr, char *buf) argument
913 amdgpu_set_pp_features(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
949 amdgpu_get_pp_features(struct device *dev, struct device_attribute *attr, char *buf) argument
1122 amdgpu_get_pp_dpm_sclk(struct device *dev, struct device_attribute *attr, char *buf) argument
1129 amdgpu_set_pp_dpm_sclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1137 amdgpu_get_pp_dpm_mclk(struct device *dev, struct device_attribute *attr, char *buf) argument
1144 amdgpu_set_pp_dpm_mclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1152 amdgpu_get_pp_dpm_socclk(struct device *dev, struct device_attribute *attr, char *buf) argument
1159 amdgpu_set_pp_dpm_socclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1167 amdgpu_get_pp_dpm_fclk(struct device *dev, struct device_attribute *attr, char *buf) argument
1174 amdgpu_set_pp_dpm_fclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1182 amdgpu_get_pp_dpm_vclk(struct device *dev, struct device_attribute *attr, char *buf) argument
1189 amdgpu_set_pp_dpm_vclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1197 amdgpu_get_pp_dpm_vclk1(struct device *dev, struct device_attribute *attr, char *buf) argument
1204 amdgpu_set_pp_dpm_vclk1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1212 amdgpu_get_pp_dpm_dclk(struct device *dev, struct device_attribute *attr, char *buf) argument
1219 amdgpu_set_pp_dpm_dclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1227 amdgpu_get_pp_dpm_dclk1(struct device *dev, struct device_attribute *attr, char *buf) argument
1234 amdgpu_set_pp_dpm_dclk1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1242 amdgpu_get_pp_dpm_dcefclk(struct device *dev, struct device_attribute *attr, char *buf) argument
1249 amdgpu_set_pp_dpm_dcefclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1257 amdgpu_get_pp_dpm_pcie(struct device *dev, struct device_attribute *attr, char *buf) argument
1264 amdgpu_set_pp_dpm_pcie(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1272 amdgpu_get_pp_sclk_od(struct device *dev, struct device_attribute *attr, char *buf) argument
1300 amdgpu_set_pp_sclk_od(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1334 amdgpu_get_pp_mclk_od(struct device *dev, struct device_attribute *attr, char *buf) argument
1362 amdgpu_set_pp_mclk_od(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1416 amdgpu_get_pp_power_profile_mode(struct device *dev, struct device_attribute *attr, char *buf) argument
1447 amdgpu_set_pp_power_profile_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1546 amdgpu_get_gpu_busy_percent(struct device *dev, struct device_attribute *attr, char *buf) argument
1570 amdgpu_get_mem_busy_percent(struct device *dev, struct device_attribute *attr, char *buf) argument
1594 amdgpu_get_vcn_busy_percent(struct device *dev, struct device_attribute *attr, char *buf) argument
1622 amdgpu_get_pcie_bw(struct device *dev, struct device_attribute *attr, char *buf) argument
1667 amdgpu_get_unique_id(struct device *dev, struct device_attribute *attr, char *buf) argument
1700 amdgpu_get_thermal_throttling_logging(struct device *dev, struct device_attribute *attr, char *buf) argument
1713 amdgpu_set_thermal_throttling_logging(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1764 amdgpu_get_apu_thermal_cap(struct device *dev, struct device_attribute *attr, char *buf) argument
1791 amdgpu_set_apu_thermal_cap(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1828 amdgpu_pm_metrics_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument
1839 amdgpu_get_pm_metrics(struct device *dev, struct device_attribute *attr, char *buf) argument
1878 amdgpu_get_gpu_metrics(struct device *dev, struct device_attribute *attr, char *buf) argument
1955 amdgpu_get_smartshift_apu_power(struct device *dev, struct device_attribute *attr, char *buf) argument
1971 amdgpu_get_smartshift_dgpu_power(struct device *dev, struct device_attribute *attr, char *buf) argument
1986 amdgpu_get_smartshift_bias(struct device *dev, struct device_attribute *attr, char *buf) argument
1997 amdgpu_set_smartshift_bias(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2037 ss_power_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument
2046 ss_bias_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument
2063 pp_od_clk_voltage_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument
2088 pp_dpm_dcefclk_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument
2120 pp_dpm_clk_default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument
2219 amdgpu_get_xgmi_plpd_policy(struct device *dev, struct device_attribute *attr, char *buf) argument
2243 amdgpu_set_xgmi_plpd_policy(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2329 default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument
2424 amdgpu_device_attr_create(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, struct list_head *attr_list) argument
2473 amdgpu_device_attr_remove(struct amdgpu_device *adev, struct amdgpu_device_attr *attr) argument
2521 amdgpu_hwmon_show_temp(struct device *dev, struct device_attribute *attr, char *buf) argument
2559 amdgpu_hwmon_show_temp_thresh(struct device *dev, struct device_attribute *attr, char *buf) argument
2575 amdgpu_hwmon_show_hotspot_temp_thresh(struct device *dev, struct device_attribute *attr, char *buf) argument
2591 amdgpu_hwmon_show_mem_temp_thresh(struct device *dev, struct device_attribute *attr, char *buf) argument
2607 amdgpu_hwmon_show_temp_label(struct device *dev, struct device_attribute *attr, char *buf) argument
2619 amdgpu_hwmon_show_temp_emergency(struct device *dev, struct device_attribute *attr, char *buf) argument
2645 amdgpu_hwmon_get_pwm1_enable(struct device *dev, struct device_attribute *attr, char *buf) argument
2675 amdgpu_hwmon_set_pwm1_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2720 amdgpu_hwmon_get_pwm1_min(struct device *dev, struct device_attribute *attr, char *buf) argument
2727 amdgpu_hwmon_get_pwm1_max(struct device *dev, struct device_attribute *attr, char *buf) argument
2734 amdgpu_hwmon_set_pwm1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2780 amdgpu_hwmon_get_pwm1(struct device *dev, struct device_attribute *attr, char *buf) argument
2810 amdgpu_hwmon_get_fan1_input(struct device *dev, struct device_attribute *attr, char *buf) argument
2840 amdgpu_hwmon_get_fan1_min(struct device *dev, struct device_attribute *attr, char *buf) argument
2857 amdgpu_hwmon_get_fan1_max(struct device *dev, struct device_attribute *attr, char *buf) argument
2874 amdgpu_hwmon_get_fan1_target(struct device *dev, struct device_attribute *attr, char *buf) argument
2904 amdgpu_hwmon_set_fan1_target(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2949 amdgpu_hwmon_get_fan1_enable(struct device *dev, struct device_attribute *attr, char *buf) argument
2979 amdgpu_hwmon_set_fan1_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
3022 amdgpu_hwmon_show_vddgfx(struct device *dev, struct device_attribute *attr, char *buf) argument
3039 amdgpu_hwmon_show_vddgfx_label(struct device *dev, struct device_attribute *attr, char *buf) argument
3046 amdgpu_hwmon_show_vddnb(struct device *dev, struct device_attribute *attr, char *buf) argument
3067 amdgpu_hwmon_show_vddnb_label(struct device *dev, struct device_attribute *attr, char *buf) argument
3092 amdgpu_hwmon_show_power_avg(struct device *dev, struct device_attribute *attr, char *buf) argument
3105 amdgpu_hwmon_show_power_input(struct device *dev, struct device_attribute *attr, char *buf) argument
3118 amdgpu_hwmon_show_power_cap_generic(struct device *dev, struct device_attribute *attr, char *buf, enum pp_power_limit_level pp_limit_level) argument
3154 amdgpu_hwmon_show_power_cap_min(struct device *dev, struct device_attribute *attr, char *buf) argument
3161 amdgpu_hwmon_show_power_cap_max(struct device *dev, struct device_attribute *attr, char *buf) argument
3169 amdgpu_hwmon_show_power_cap(struct device *dev, struct device_attribute *attr, char *buf) argument
3177 amdgpu_hwmon_show_power_cap_default(struct device *dev, struct device_attribute *attr, char *buf) argument
3185 amdgpu_hwmon_show_power_label(struct device *dev, struct device_attribute *attr, char *buf) argument
3200 amdgpu_hwmon_set_power_cap(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
3242 amdgpu_hwmon_show_sclk(struct device *dev, struct device_attribute *attr, char *buf) argument
3259 amdgpu_hwmon_show_sclk_label(struct device *dev, struct device_attribute *attr, char *buf) argument
3266 amdgpu_hwmon_show_mclk(struct device *dev, struct device_attribute *attr, char *buf) argument
3283 amdgpu_hwmon_show_mclk_label(struct device *dev, struct device_attribute *attr, char *buf) argument
3472 hwmon_attributes_visible(struct kobject *kobj, struct attribute *attr, int index) argument
3820 fan_curve_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
3830 fan_curve_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
3878 acoustic_limit_threshold_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
3888 acoustic_limit_threshold_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
3938 acoustic_target_threshold_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
3948 acoustic_target_threshold_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
3999 fan_target_temperature_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
4009 fan_target_temperature_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
4058 fan_minimum_pwm_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
4068 fan_minimum_pwm_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/drivers/acpi/
H A Dfan_attr.c19 static ssize_t show_state(struct device *dev, struct device_attribute *attr, char *buf) argument
21 struct acpi_fan_fps *fps = container_of(attr, struct acpi_fan_fps, dev_attr);
52 static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, char *buf) argument
65 static ssize_t show_fine_grain_control(struct device *dev, struct device_attribute *attr, char *buf) argument
78 sysfs_attr_init(&fan->fine_grain_control.attr);
81 fan->fine_grain_control.attr.name = "fine_grain_control";
82 fan->fine_grain_control.attr.mode = 0444;
83 status = sysfs_create_file(&device->dev.kobj, &fan->fine_grain_control.attr);
88 sysfs_attr_init(&fan->fst_speed.attr);
91 fan->fst_speed.attr
[all...]
/linux-master/fs/coda/
H A Dcoda_linux.c90 umode_t coda_inode_type(struct coda_vattr *attr) argument
92 switch (attr->va_type) {
105 void coda_vattr_to_iattr(struct inode *inode, struct coda_vattr *attr) argument
110 umode_t inode_type = coda_inode_type(attr);
113 if (attr->va_mode != (u_short) -1)
114 inode->i_mode = attr->va_mode | inode_type;
115 if (attr->va_uid != -1)
116 inode->i_uid = make_kuid(&init_user_ns, (uid_t) attr->va_uid);
117 if (attr->va_gid != -1)
118 inode->i_gid = make_kgid(&init_user_ns, (gid_t) attr
[all...]
/linux-master/tools/bpf/bpftool/
H A Dnetlink_dumper.c14 static void xdp_dump_prog_id(struct nlattr **tb, int attr, argument
18 if (!tb[attr])
24 NET_DUMP_UINT("id", " id %u", libbpf_nla_getattr_u32(tb[attr]))
29 static int do_xdp_dump_one(struct nlattr *attr, unsigned int ifindex, argument
35 if (libbpf_nla_parse_nested(tb, IFLA_XDP_MAX, attr, NULL) < 0)
81 static int do_bpf_dump_one_act(struct nlattr *attr) argument
85 if (libbpf_nla_parse_nested(tb, TCA_ACT_BPF_MAX, attr, NULL) < 0)
102 static int do_dump_one_act(struct nlattr *attr) argument
106 if (!attr)
109 if (libbpf_nla_parse_nested(tb, TCA_ACT_MAX, attr, NUL
119 do_bpf_act_dump(struct nlattr *attr) argument
138 do_bpf_filter_dump(struct nlattr *attr) argument
[all...]
/linux-master/drivers/platform/mips/
H A Dcpu_hwmon.c59 struct device_attribute *attr, char *buf)
61 int id = (to_sensor_dev_attr(attr))->index - 1;
67 struct device_attribute *attr, char *buf)
69 int id = (to_sensor_dev_attr(attr))->index - 1;
85 &sensor_dev_attr_temp1_input.dev_attr.attr,
86 &sensor_dev_attr_temp1_label.dev_attr.attr,
87 &sensor_dev_attr_temp2_input.dev_attr.attr,
88 &sensor_dev_attr_temp2_label.dev_attr.attr,
89 &sensor_dev_attr_temp3_input.dev_attr.attr,
90 &sensor_dev_attr_temp3_label.dev_attr.attr,
58 cpu_temp_label(struct device *dev, struct device_attribute *attr, char *buf) argument
66 get_cpu_temp(struct device *dev, struct device_attribute *attr, char *buf) argument
96 cpu_hwmon_is_visible(struct kobject *kobj, struct attribute *attr, int i) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hubp.c110 const struct dc_cursor_attributes *attr)
113 enum cursor_pitch hw_pitch = hubp1_get_cursor_pitch(attr->pitch);
115 attr->width, attr->color_format);
118 uint32_t cursor_width = ((attr->width + 63) / 64) * 64;
119 uint32_t cursor_height = attr->height;
122 hubp->curs_attr = *attr;
125 CURSOR_SURFACE_ADDRESS_HIGH, attr->address.high_part);
127 CURSOR_SURFACE_ADDRESS, attr->address.low_part);
130 CURSOR_WIDTH, attr
108 hubp32_cursor_set_attributes( struct hubp *hubp, const struct dc_cursor_attributes *attr) argument
[all...]
/linux-master/drivers/net/bonding/
H A Dbond_sysfs.c35 const struct class_attribute *attr,
39 container_of_const(attr, struct bond_net, class_attr_bonding_masters);
79 const struct class_attribute *attr,
83 container_of_const(attr, struct bond_net, class_attr_bonding_masters);
132 .attr = {
142 struct device_attribute *attr,
150 opt = bond_opt_get_by_name(attr->attr.name);
166 struct device_attribute *attr, char *buf)
198 struct device_attribute *attr, cha
34 bonding_show_bonds(const struct class *cls, const struct class_attribute *attr, char *buf) argument
78 bonding_store_bonds(const struct class *cls, const struct class_attribute *attr, const char *buffer, size_t count) argument
141 bonding_sysfs_store_option(struct device *d, struct device_attribute *attr, const char *buffer, size_t count) argument
165 bonding_show_slaves(struct device *d, struct device_attribute *attr, char *buf) argument
197 bonding_show_mode(struct device *d, struct device_attribute *attr, char *buf) argument
210 bonding_show_xmit_hash(struct device *d, struct device_attribute *attr, char *buf) argument
225 bonding_show_arp_validate(struct device *d, struct device_attribute *attr, char *buf) argument
241 bonding_show_arp_all_targets(struct device *d, struct device_attribute *attr, char *buf) argument
257 bonding_show_fail_over_mac(struct device *d, struct device_attribute *attr, char *buf) argument
273 bonding_show_arp_interval(struct device *d, struct device_attribute *attr, char *buf) argument
285 bonding_show_arp_targets(struct device *d, struct device_attribute *attr, char *buf) argument
306 bonding_show_missed_max(struct device *d, struct device_attribute *attr, char *buf) argument
318 bonding_show_downdelay(struct device *d, struct device_attribute *attr, char *buf) argument
329 bonding_show_updelay(struct device *d, struct device_attribute *attr, char *buf) argument
341 bonding_show_peer_notif_delay(struct device *d, struct device_attribute *attr, char *buf) argument
354 bonding_show_lacp_active(struct device *d, struct device_attribute *attr, char *buf) argument
368 bonding_show_lacp_rate(struct device *d, struct device_attribute *attr, char *buf) argument
382 bonding_show_min_links(struct device *d, struct device_attribute *attr, char *buf) argument
393 bonding_show_ad_select(struct device *d, struct device_attribute *attr, char *buf) argument
408 bonding_show_num_peer_notif(struct device *d, struct device_attribute *attr, char *buf) argument
422 bonding_show_miimon(struct device *d, struct device_attribute *attr, char *buf) argument
434 bonding_show_primary(struct device *d, struct device_attribute *attr, char *buf) argument
454 bonding_show_primary_reselect(struct device *d, struct device_attribute *attr, char *buf) argument
471 bonding_show_carrier(struct device *d, struct device_attribute *attr, char *buf) argument
484 bonding_show_active_slave(struct device *d, struct device_attribute *attr, char *buf) argument
504 bonding_show_mii_status(struct device *d, struct device_attribute *attr, char *buf) argument
516 bonding_show_ad_aggregator(struct device *d, struct device_attribute *attr, char *buf) argument
537 bonding_show_ad_num_ports(struct device *d, struct device_attribute *attr, char *buf) argument
558 bonding_show_ad_actor_key(struct device *d, struct device_attribute *attr, char *buf) argument
579 bonding_show_ad_partner_key(struct device *d, struct device_attribute *attr, char *buf) argument
600 bonding_show_ad_partner_mac(struct device *d, struct device_attribute *attr, char *buf) argument
619 bonding_show_queue_id(struct device *d, struct device_attribute *attr, char *buf) argument
654 bonding_show_slaves_active(struct device *d, struct device_attribute *attr, char *buf) argument
666 bonding_show_resend_igmp(struct device *d, struct device_attribute *attr, char *buf) argument
678 bonding_show_lp_interval(struct device *d, struct device_attribute *attr, char *buf) argument
689 bonding_show_tlb_dynamic_lb(struct device *d, struct device_attribute *attr, char *buf) argument
700 bonding_show_packets_per_slave(struct device *d, struct device_attribute *attr, char *buf) argument
712 bonding_show_ad_actor_sys_prio(struct device *d, struct device_attribute *attr, char *buf) argument
726 bonding_show_ad_actor_system(struct device *d, struct device_attribute *attr, char *buf) argument
741 bonding_show_ad_user_port_key(struct device *d, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/xen/
H A Dsys-hypervisor.c31 struct attribute attr; member in struct:hyp_sysfs_attr
40 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) argument
49 return sysfs_create_file(hypervisor_kobj, &type_attr.attr);
52 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) argument
78 return sysfs_create_file(hypervisor_kobj, &guest_type_attr.attr);
82 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) argument
92 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) argument
102 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) argument
121 &major_attr.attr,
122 &minor_attr.attr,
139 uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) argument
160 uuid_show(struct hyp_sysfs_attr *attr, char *buffer) argument
180 compiler_show(struct hyp_sysfs_attr *attr, char *buffer) argument
198 compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) argument
216 compile_date_show(struct hyp_sysfs_attr *attr, char *buffer) argument
253 capabilities_show(struct hyp_sysfs_attr *attr, char *buffer) argument
271 changeset_show(struct hyp_sysfs_attr *attr, char *buffer) argument
289 virtual_start_show(struct hyp_sysfs_attr *attr, char *buffer) argument
309 pagesize_show(struct hyp_sysfs_attr *attr, char *buffer) argument
335 features_show(struct hyp_sysfs_attr *attr, char *buffer) argument
358 buildid_show(struct hyp_sysfs_attr *attr, char *buffer) argument
412 flag_show(struct hyp_sysfs_attr *attr, char *buffer) argument
472 pmu_mode_store(struct hyp_sysfs_attr *attr, const char *buffer, size_t len) argument
498 pmu_mode_show(struct hyp_sysfs_attr *attr, char *buffer) argument
521 pmu_features_store(struct hyp_sysfs_attr *attr, const char *buffer, size_t len) argument
542 pmu_features_show(struct hyp_sysfs_attr *attr, char *buffer) argument
630 hyp_sysfs_show(struct kobject *kobj, struct attribute *attr, char *buffer) argument
641 hyp_sysfs_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t len) argument
[all...]
/linux-master/net/openvswitch/
H A Dflow_netlink.h34 int attr, bool is_mask, struct sk_buff *);
35 int parse_flow_nlattrs(const struct nlattr *attr, const struct nlattr *a[],
55 u32 ovs_nla_get_ufid_flags(const struct nlattr *attr);
57 int ovs_nla_copy_actions(struct net *net, const struct nlattr *attr,
62 int ovs_nla_put_actions(const struct nlattr *attr,
68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
70 int nsh_hdr_from_nlattr(const struct nlattr *attr, struct nshhdr *nh,
/linux-master/drivers/cpufreq/
H A Dcpufreq_governor_attr_set.c11 static inline struct governor_attr *to_gov_attr(struct attribute *attr) argument
13 return container_of(attr, struct governor_attr, attr);
16 static ssize_t governor_show(struct kobject *kobj, struct attribute *attr, argument
19 struct governor_attr *gattr = to_gov_attr(attr);
24 static ssize_t governor_store(struct kobject *kobj, struct attribute *attr, argument
28 struct governor_attr *gattr = to_gov_attr(attr);

Completed in 223 milliseconds

1234567891011>>