/linux-6.6.21/drivers/hwmon/ |
D | max16065.c | 178 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_alarm_show() local 180 int val = data->fault[attr2->nr]; in max16065_alarm_show() 185 val &= (1 << attr2->index); in max16065_alarm_show() 188 MAX16065_FAULT(attr2->nr), val); in max16065_alarm_show() 223 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_store() local 233 limit = MV_TO_LIMIT(val, data->range[attr2->index]); in max16065_limit_store() 236 data->limit[attr2->nr][attr2->index] in max16065_limit_store() 237 = LIMIT_TO_MV(limit, data->range[attr2->index]); in max16065_limit_store() 239 MAX16065_LIMIT(attr2->nr, attr2->index), in max16065_limit_store() 249 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_show() local [all …]
|
D | max6642.c | 209 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); in temp_max_show() local 212 return sprintf(buf, "%d\n", temp_from_reg(data->temp_high[attr2->nr])); in temp_max_show() 219 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); in temp_max_store() local 229 data->temp_high[attr2->nr] = clamp_val(temp_to_reg(val), 0, 255); in temp_max_store() 230 i2c_smbus_write_byte_data(data->client, attr2->index, in temp_max_store() 231 data->temp_high[attr2->nr]); in temp_max_store()
|
D | adt7411.c | 167 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(attr); in adt7411_show_bit() local 170 int ret = i2c_smbus_read_byte_data(client, attr2->index); in adt7411_show_bit() 172 return ret < 0 ? ret : sprintf(buf, "%u\n", !!(ret & attr2->nr)); in adt7411_show_bit()
|
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_if.c | 201 u32 attr2) in set_hwif_attr() argument 212 hwif->attr.global_vf_id_of_pf = HINIC_FA2_GET(attr2, in set_hwif_attr() 222 u32 addr, attr0, attr1, attr2; in read_hwif_attr() local 231 attr2 = hinic_hwif_read_reg(hwif, addr); in read_hwif_attr() 233 set_hwif_attr(hwif, attr0, attr1, attr2); in read_hwif_attr()
|
/linux-6.6.21/tools/lib/perf/Documentation/examples/ |
D | counting.c | 32 struct perf_event_attr attr2 = { in main() local 57 evsel = perf_evsel__new(&attr2); in main()
|
/linux-6.6.21/tools/lib/perf/tests/ |
D | test-evlist.c | 43 struct perf_event_attr attr2 = { in test_stat_cpu() local 60 evsel = perf_evsel__new(&attr2); in test_stat_cpu() 102 struct perf_event_attr attr2 = { in test_stat_thread() local 121 evsel = perf_evsel__new(&attr2); in test_stat_thread() 158 struct perf_event_attr attr2 = { in test_stat_thread_enable() local 178 evsel = perf_evsel__new(&attr2); in test_stat_thread_enable()
|
/linux-6.6.21/drivers/ps3/ |
D | ps3-lpm.c | 749 u64 signal_select, u64 attr1, u64 attr2, u64 attr3) in __ps3_set_signal() argument 754 signal_select, attr1, attr2, attr3); in __ps3_set_signal() 759 signal_select, attr1, attr2, attr3); in __ps3_set_signal() 771 u64 attr1, attr2, attr3; in ps3_set_signal() local 807 attr2 = sub_unit; in ps3_set_signal() 809 attr2 = lpm_priv->pu_id; in ps3_set_signal() 817 attr1, attr2, attr3); in ps3_set_signal()
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-format | 16 attr2 = 'config:0-7'
|
/linux-6.6.21/sound/pci/hda/ |
D | hda_auto_parser.c | 537 int i, attr, attr2; in check_mic_location_need() local 548 attr2 = snd_hda_get_input_pin_attr(defc); in check_mic_location_need() 549 if (attr2 >= INPUT_PIN_ATTR_NORMAL) { in check_mic_location_need() 550 if (attr && attr != attr2) in check_mic_location_need() 552 attr = attr2; in check_mic_location_need()
|
/linux-6.6.21/tools/lib/perf/Documentation/ |
D | libperf-counting.txt | 85 26 struct perf_event_attr attr2 = { 133 59 evsel = perf_evsel__new(&attr2);
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 3552 struct mlx5_flow_attr *attr2; in mlx5e_clone_flow_attr_for_post_act() local 3554 attr2 = mlx5_alloc_flow_attr(ns_type); in mlx5e_clone_flow_attr_for_post_act() 3556 if (!attr2 || !parse_attr) { in mlx5e_clone_flow_attr_for_post_act() 3558 kfree(attr2); in mlx5e_clone_flow_attr_for_post_act() 3562 memcpy(attr2, attr, attr_sz); in mlx5e_clone_flow_attr_for_post_act() 3563 INIT_LIST_HEAD(&attr2->list); in mlx5e_clone_flow_attr_for_post_act() 3565 attr2->action = 0; in mlx5e_clone_flow_attr_for_post_act() 3566 attr2->counter = NULL; in mlx5e_clone_flow_attr_for_post_act() 3567 attr2->tc_act_cookies_count = 0; in mlx5e_clone_flow_attr_for_post_act() 3568 attr2->flags = 0; in mlx5e_clone_flow_attr_for_post_act() [all …]
|
/linux-6.6.21/Documentation/admin-guide/ |
D | xfs.rst | 37 attr2 or noattr2 41 ``attr2`` is selected (either when setting or removing extended 46 bit indicating that ``attr2`` behaviour is active. If either 50 CRC enabled filesystems always use the ``attr2`` format, and so 245 attr2/noattr2 September 2025
|
/linux-6.6.21/fs/xfs/ |
D | xfs_mount.h | 336 __XFS_ADD_FEAT(attr2, ATTR2) in __XFS_ADD_FEAT()
|
/linux-6.6.21/fs/ntfs3/ |
D | fslog.c | 3026 struct ATTRIB *attr = NULL, *attr2; in do_action() local 3202 attr2 = (struct ATTRIB *)data; in do_action() 3206 memmove(attr, attr2, dlen); in do_action() 3213 attr2 = (struct ATTRIB *)data; in do_action() 3214 asize = le32_to_cpu(attr2->size); in do_action() 3219 Add2Ptr(attr2, asize) > Add2Ptr(lrh, rec_len) || in do_action() 3225 memcpy(attr, attr2, asize); in do_action() 3229 id2 = le16_to_cpu(attr2->id); in do_action()
|
/linux-6.6.21/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 479 struct mount_attr attr2; in TEST_F() member
|
/linux-6.6.21/net/wireless/ |
D | nl80211.c | 8882 struct nlattr *attr1, *attr2; in validate_scan_freqs() local 8900 nla_for_each_nested(attr2, freqs, tmp2) in validate_scan_freqs() 8901 if (attr1 != attr2 && in validate_scan_freqs() 8902 nla_get_u32(attr1) == nla_get_u32(attr2)) in validate_scan_freqs()
|