/linux-master/drivers/usb/core/ |
H A D | sysfs.c | 27 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 D | lm85.c | 552 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 D | nzxt-kraken3.c | 126 static umode_t kraken3_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, argument 153 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 399 static int kraken3_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, argument 407 switch (attr) { 475 static ssize_t kraken3_fan_curve_pwm_store(struct device *dev, struct device_attribute *attr, argument 478 struct sensor_device_attribute_2 *dev_attr = to_sensor_dev_attr_2(attr); 504 static umode_t kraken3_curve_props_are_visible(struct kobject *kobj, struct attribute *attr, argument [all...] |
H A D | adm1026.c | 467 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 D | asb100.c | 235 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/drivers/base/ |
H A D | physical_location.c | 42 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 D | topology.c | 19 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 D | thermal_sysfs.c | 27 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/fs/ntfs3/ |
H A D | attrib.c | 58 * 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 [all...] |
H A D | frecord.c | 76 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/arch/powerpc/perf/ |
H A D | hv-gpci.c | 54 &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 D | sysfs.c | 25 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 D | hybrid.c | 12 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/acpi/ |
H A D | fan_attr.c | 19 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 D | coda_linux.c | 90 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/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 55 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr, 57 ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr, 133 struct device_attribute *attr, 163 struct device_attribute *attr, 261 struct device_attribute *attr, 299 struct device_attribute *attr, 361 struct device_attribute *attr, 399 struct device_attribute *attr, 441 struct device_attribute *attr, 453 return amdgpu_get_pp_cur_state(dev, attr, bu 132 amdgpu_get_power_dpm_state(struct device *dev, struct device_attribute *attr, char *buf) argument 162 amdgpu_set_power_dpm_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 260 amdgpu_get_power_dpm_force_performance_level(struct device *dev, struct device_attribute *attr, char *buf) argument 298 amdgpu_set_power_dpm_force_performance_level(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 360 amdgpu_get_pp_num_states(struct device *dev, struct device_attribute *attr, char *buf) argument 398 amdgpu_get_pp_cur_state(struct device *dev, struct device_attribute *attr, char *buf) argument 440 amdgpu_get_pp_force_state(struct device *dev, struct device_attribute *attr, char *buf) argument 458 amdgpu_set_pp_force_state(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 531 amdgpu_get_pp_table(struct device *dev, struct device_attribute *attr, char *buf) argument 567 amdgpu_set_pp_table(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 743 amdgpu_set_pp_od_clk_voltage(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 843 amdgpu_get_pp_od_clk_voltage(struct device *dev, struct device_attribute *attr, char *buf) argument 911 amdgpu_set_pp_features(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 947 amdgpu_get_pp_features(struct device *dev, struct device_attribute *attr, char *buf) argument 1120 amdgpu_get_pp_dpm_sclk(struct device *dev, struct device_attribute *attr, char *buf) argument 1127 amdgpu_set_pp_dpm_sclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1135 amdgpu_get_pp_dpm_mclk(struct device *dev, struct device_attribute *attr, char *buf) argument 1142 amdgpu_set_pp_dpm_mclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1150 amdgpu_get_pp_dpm_socclk(struct device *dev, struct device_attribute *attr, char *buf) argument 1157 amdgpu_set_pp_dpm_socclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1165 amdgpu_get_pp_dpm_fclk(struct device *dev, struct device_attribute *attr, char *buf) argument 1172 amdgpu_set_pp_dpm_fclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1180 amdgpu_get_pp_dpm_vclk(struct device *dev, struct device_attribute *attr, char *buf) argument 1187 amdgpu_set_pp_dpm_vclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1195 amdgpu_get_pp_dpm_vclk1(struct device *dev, struct device_attribute *attr, char *buf) argument 1202 amdgpu_set_pp_dpm_vclk1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1210 amdgpu_get_pp_dpm_dclk(struct device *dev, struct device_attribute *attr, char *buf) argument 1217 amdgpu_set_pp_dpm_dclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1225 amdgpu_get_pp_dpm_dclk1(struct device *dev, struct device_attribute *attr, char *buf) argument 1232 amdgpu_set_pp_dpm_dclk1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1240 amdgpu_get_pp_dpm_dcefclk(struct device *dev, struct device_attribute *attr, char *buf) argument 1247 amdgpu_set_pp_dpm_dcefclk(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1255 amdgpu_get_pp_dpm_pcie(struct device *dev, struct device_attribute *attr, char *buf) argument 1262 amdgpu_set_pp_dpm_pcie(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1270 amdgpu_get_pp_sclk_od(struct device *dev, struct device_attribute *attr, char *buf) argument 1298 amdgpu_set_pp_sclk_od(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1332 amdgpu_get_pp_mclk_od(struct device *dev, struct device_attribute *attr, char *buf) argument 1360 amdgpu_set_pp_mclk_od(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1414 amdgpu_get_pp_power_profile_mode(struct device *dev, struct device_attribute *attr, char *buf) argument 1445 amdgpu_set_pp_power_profile_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1544 amdgpu_get_gpu_busy_percent(struct device *dev, struct device_attribute *attr, char *buf) argument 1568 amdgpu_get_mem_busy_percent(struct device *dev, struct device_attribute *attr, char *buf) argument 1596 amdgpu_get_pcie_bw(struct device *dev, struct device_attribute *attr, char *buf) argument 1641 amdgpu_get_unique_id(struct device *dev, struct device_attribute *attr, char *buf) argument 1674 amdgpu_get_thermal_throttling_logging(struct device *dev, struct device_attribute *attr, char *buf) argument 1687 amdgpu_set_thermal_throttling_logging(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1738 amdgpu_get_apu_thermal_cap(struct device *dev, struct device_attribute *attr, char *buf) argument 1765 amdgpu_set_apu_thermal_cap(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1802 amdgpu_pm_metrics_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument 1813 amdgpu_get_pm_metrics(struct device *dev, struct device_attribute *attr, char *buf) argument 1852 amdgpu_get_gpu_metrics(struct device *dev, struct device_attribute *attr, char *buf) argument 1929 amdgpu_get_smartshift_apu_power(struct device *dev, struct device_attribute *attr, char *buf) argument 1945 amdgpu_get_smartshift_dgpu_power(struct device *dev, struct device_attribute *attr, char *buf) argument 1960 amdgpu_get_smartshift_bias(struct device *dev, struct device_attribute *attr, char *buf) argument 1971 amdgpu_set_smartshift_bias(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2011 ss_power_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument 2020 ss_bias_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument 2037 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 2062 pp_dpm_dcefclk_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument 2100 amdgpu_get_xgmi_plpd_policy(struct device *dev, struct device_attribute *attr, char *buf) argument 2124 amdgpu_set_xgmi_plpd_policy(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2200 default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, enum amdgpu_device_attr_states *states) argument 2347 amdgpu_device_attr_create(struct amdgpu_device *adev, struct amdgpu_device_attr *attr, uint32_t mask, struct list_head *attr_list) argument 2396 amdgpu_device_attr_remove(struct amdgpu_device *adev, struct amdgpu_device_attr *attr) argument 2444 amdgpu_hwmon_show_temp(struct device *dev, struct device_attribute *attr, char *buf) argument 2482 amdgpu_hwmon_show_temp_thresh(struct device *dev, struct device_attribute *attr, char *buf) argument 2498 amdgpu_hwmon_show_hotspot_temp_thresh(struct device *dev, struct device_attribute *attr, char *buf) argument 2514 amdgpu_hwmon_show_mem_temp_thresh(struct device *dev, struct device_attribute *attr, char *buf) argument 2530 amdgpu_hwmon_show_temp_label(struct device *dev, struct device_attribute *attr, char *buf) argument 2542 amdgpu_hwmon_show_temp_emergency(struct device *dev, struct device_attribute *attr, char *buf) argument 2568 amdgpu_hwmon_get_pwm1_enable(struct device *dev, struct device_attribute *attr, char *buf) argument 2598 amdgpu_hwmon_set_pwm1_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2643 amdgpu_hwmon_get_pwm1_min(struct device *dev, struct device_attribute *attr, char *buf) argument 2650 amdgpu_hwmon_get_pwm1_max(struct device *dev, struct device_attribute *attr, char *buf) argument 2657 amdgpu_hwmon_set_pwm1(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2703 amdgpu_hwmon_get_pwm1(struct device *dev, struct device_attribute *attr, char *buf) argument 2733 amdgpu_hwmon_get_fan1_input(struct device *dev, struct device_attribute *attr, char *buf) argument 2763 amdgpu_hwmon_get_fan1_min(struct device *dev, struct device_attribute *attr, char *buf) argument 2780 amdgpu_hwmon_get_fan1_max(struct device *dev, struct device_attribute *attr, char *buf) argument 2797 amdgpu_hwmon_get_fan1_target(struct device *dev, struct device_attribute *attr, char *buf) argument 2827 amdgpu_hwmon_set_fan1_target(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2872 amdgpu_hwmon_get_fan1_enable(struct device *dev, struct device_attribute *attr, char *buf) argument 2902 amdgpu_hwmon_set_fan1_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2945 amdgpu_hwmon_show_vddgfx(struct device *dev, struct device_attribute *attr, char *buf) argument 2962 amdgpu_hwmon_show_vddgfx_label(struct device *dev, struct device_attribute *attr, char *buf) argument 2969 amdgpu_hwmon_show_vddnb(struct device *dev, struct device_attribute *attr, char *buf) argument 2990 amdgpu_hwmon_show_vddnb_label(struct device *dev, struct device_attribute *attr, char *buf) argument 3015 amdgpu_hwmon_show_power_avg(struct device *dev, struct device_attribute *attr, char *buf) argument 3028 amdgpu_hwmon_show_power_input(struct device *dev, struct device_attribute *attr, char *buf) argument 3041 amdgpu_hwmon_show_power_cap_generic(struct device *dev, struct device_attribute *attr, char *buf, enum pp_power_limit_level pp_limit_level) argument 3077 amdgpu_hwmon_show_power_cap_min(struct device *dev, struct device_attribute *attr, char *buf) argument 3084 amdgpu_hwmon_show_power_cap_max(struct device *dev, struct device_attribute *attr, char *buf) argument 3092 amdgpu_hwmon_show_power_cap(struct device *dev, struct device_attribute *attr, char *buf) argument 3100 amdgpu_hwmon_show_power_cap_default(struct device *dev, struct device_attribute *attr, char *buf) argument 3108 amdgpu_hwmon_show_power_label(struct device *dev, struct device_attribute *attr, char *buf) argument 3123 amdgpu_hwmon_set_power_cap(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 3165 amdgpu_hwmon_show_sclk(struct device *dev, struct device_attribute *attr, char *buf) argument 3182 amdgpu_hwmon_show_sclk_label(struct device *dev, struct device_attribute *attr, char *buf) argument 3189 amdgpu_hwmon_show_mclk(struct device *dev, struct device_attribute *attr, char *buf) argument 3206 amdgpu_hwmon_show_mclk_label(struct device *dev, struct device_attribute *attr, char *buf) argument 3395 hwmon_attributes_visible(struct kobject *kobj, struct attribute *attr, int index) argument 3743 fan_curve_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 3753 fan_curve_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 3801 acoustic_limit_threshold_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 3811 acoustic_limit_threshold_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 3861 acoustic_target_threshold_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 3871 acoustic_target_threshold_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 3922 fan_target_temperature_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 3932 fan_target_temperature_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 3981 fan_minimum_pwm_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument 3991 fan_minimum_pwm_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | netlink_dumper.c | 14 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 D | cpu_hwmon.c | 59 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 D | dcn32_hubp.c | 110 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 D | bond_sysfs.c | 35 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) 199 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 198 bonding_show_mode(struct device *d, struct device_attribute *attr, char *buf) argument 211 bonding_show_xmit_hash(struct device *d, struct device_attribute *attr, char *buf) argument 226 bonding_show_arp_validate(struct device *d, struct device_attribute *attr, char *buf) argument 242 bonding_show_arp_all_targets(struct device *d, struct device_attribute *attr, char *buf) argument 258 bonding_show_fail_over_mac(struct device *d, struct device_attribute *attr, char *buf) argument 274 bonding_show_arp_interval(struct device *d, struct device_attribute *attr, char *buf) argument 286 bonding_show_arp_targets(struct device *d, struct device_attribute *attr, char *buf) argument 307 bonding_show_missed_max(struct device *d, struct device_attribute *attr, char *buf) argument 319 bonding_show_downdelay(struct device *d, struct device_attribute *attr, char *buf) argument 330 bonding_show_updelay(struct device *d, struct device_attribute *attr, char *buf) argument 342 bonding_show_peer_notif_delay(struct device *d, struct device_attribute *attr, char *buf) argument 355 bonding_show_lacp_active(struct device *d, struct device_attribute *attr, char *buf) argument 369 bonding_show_lacp_rate(struct device *d, struct device_attribute *attr, char *buf) argument 383 bonding_show_min_links(struct device *d, struct device_attribute *attr, char *buf) argument 394 bonding_show_ad_select(struct device *d, struct device_attribute *attr, char *buf) argument 409 bonding_show_num_peer_notif(struct device *d, struct device_attribute *attr, char *buf) argument 423 bonding_show_miimon(struct device *d, struct device_attribute *attr, char *buf) argument 435 bonding_show_primary(struct device *d, struct device_attribute *attr, char *buf) argument 455 bonding_show_primary_reselect(struct device *d, struct device_attribute *attr, char *buf) argument 472 bonding_show_carrier(struct device *d, struct device_attribute *attr, char *buf) argument 485 bonding_show_active_slave(struct device *d, struct device_attribute *attr, char *buf) argument 505 bonding_show_mii_status(struct device *d, struct device_attribute *attr, char *buf) argument 517 bonding_show_ad_aggregator(struct device *d, struct device_attribute *attr, char *buf) argument 538 bonding_show_ad_num_ports(struct device *d, struct device_attribute *attr, char *buf) argument 559 bonding_show_ad_actor_key(struct device *d, struct device_attribute *attr, char *buf) argument 580 bonding_show_ad_partner_key(struct device *d, struct device_attribute *attr, char *buf) argument 601 bonding_show_ad_partner_mac(struct device *d, struct device_attribute *attr, char *buf) argument 620 bonding_show_queue_id(struct device *d, struct device_attribute *attr, char *buf) argument 655 bonding_show_slaves_active(struct device *d, struct device_attribute *attr, char *buf) argument 667 bonding_show_resend_igmp(struct device *d, struct device_attribute *attr, char *buf) argument 679 bonding_show_lp_interval(struct device *d, struct device_attribute *attr, char *buf) argument 690 bonding_show_tlb_dynamic_lb(struct device *d, struct device_attribute *attr, char *buf) argument 701 bonding_show_packets_per_slave(struct device *d, struct device_attribute *attr, char *buf) argument 713 bonding_show_ad_actor_sys_prio(struct device *d, struct device_attribute *attr, char *buf) argument 727 bonding_show_ad_actor_system(struct device *d, struct device_attribute *attr, char *buf) argument 742 bonding_show_ad_user_port_key(struct device *d, struct device_attribute *attr, char *buf) argument [all...] |
/linux-master/drivers/xen/ |
H A D | sys-hypervisor.c | 31 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 D | flow_netlink.h | 34 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 D | cpufreq_governor_attr_set.c | 11 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);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
H A D | mpls.c | 12 struct mlx5_flow_attr *attr) 40 struct mlx5_flow_attr *attr) 52 struct mlx5_flow_attr *attr) 57 filter_dev = attr->parse_attr->filter_dev; 82 struct mlx5_flow_attr *attr) 84 attr->esw_attr->eth.h_proto = act->mpls_pop.proto; 85 attr->action |= MLX5_FLOW_CONTEXT_ACTION_PACKET_REFORMAT; 9 tc_act_can_offload_mpls_push(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, int act_index, struct mlx5_flow_attr *attr) argument 37 tc_act_parse_mpls_push(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) argument 49 tc_act_can_offload_mpls_pop(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, int act_index, struct mlx5_flow_attr *attr) argument 79 tc_act_parse_mpls_pop(struct mlx5e_tc_act_parse_state *parse_state, const struct flow_action_entry *act, struct mlx5e_priv *priv, struct mlx5_flow_attr *attr) argument
|
/linux-master/arch/powerpc/platforms/cell/ |
H A D | cbe_thermal.c | 51 .attr = { .name = __stringify(_name), .mode = _mode }, \ 87 static ssize_t spu_show_temp(struct device *dev, struct device_attribute *attr, argument 138 struct device_attribute *attr, char *buf) 144 struct device_attribute *attr, char *buf) 150 struct device_attribute *attr, char *buf) 156 struct device_attribute *attr, const char *buf, size_t size) 162 struct device_attribute *attr, const char *buf, size_t size) 168 struct device_attribute *attr, const char *buf, size_t size) 190 struct device_attribute *attr, char *buf) 197 struct device_attribute *attr, cha 137 spu_show_throttle_end(struct device *dev, struct device_attribute *attr, char *buf) argument 143 spu_show_throttle_begin(struct device *dev, struct device_attribute *attr, char *buf) argument 149 spu_show_throttle_full_stop(struct device *dev, struct device_attribute *attr, char *buf) argument 155 spu_store_throttle_end(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 161 spu_store_throttle_begin(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 167 spu_store_throttle_full_stop(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 189 ppe_show_temp0(struct device *dev, struct device_attribute *attr, char *buf) argument 196 ppe_show_temp1(struct device *dev, struct device_attribute *attr, char *buf) argument 202 ppe_show_throttle_end(struct device *dev, struct device_attribute *attr, char *buf) argument 208 ppe_show_throttle_begin(struct device *dev, struct device_attribute *attr, char *buf) argument 214 ppe_show_throttle_full_stop(struct device *dev, struct device_attribute *attr, char *buf) argument 220 ppe_store_throttle_end(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 226 ppe_store_throttle_begin(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument 232 ppe_store_throttle_full_stop(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument [all...] |