Home
last modified time | relevance | path

Searched refs:attr2 (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/hwmon/
H A Dmax16065.c186 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_alarm_show() local
188 int val = data->fault[attr2->nr]; in max16065_alarm_show()
193 val &= (1 << attr2->index); in max16065_alarm_show()
196 MAX16065_FAULT(attr2->nr), val); in max16065_alarm_show()
231 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_store() local
241 limit = MV_TO_LIMIT(val, data->range[attr2->index]); in max16065_limit_store()
244 data->limit[attr2->nr][attr2->index] in max16065_limit_store()
245 = LIMIT_TO_MV(limit, data->range[attr2->index]); in max16065_limit_store()
247 MAX16065_LIMIT(attr2->nr, attr2->index), in max16065_limit_store()
257 struct sensor_device_attribute_2 *attr2 = to_sensor_dev_attr_2(da); in max16065_limit_show() local
[all …]
H A Dadt7411.c167 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/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_if.c201 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/tools/lib/perf/tests/
H A Dtest-evlist.c43 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/tools/lib/perf/Documentation/examples/
H A Dcounting.c32 struct perf_event_attr attr2 = { in main() local
57 evsel = perf_evsel__new(&attr2); in main()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c1789 struct mlx5_flow_attr *attr2; in extra_split_attr_dests() local
1795 attr2 = mlx5_alloc_flow_attr(mlx5e_get_flow_namespace(flow)); in extra_split_attr_dests()
1797 if (!attr2 || !parse_attr2) { in extra_split_attr_dests()
1801 attr2->parse_attr = parse_attr2; in extra_split_attr_dests()
1803 handle = mlx5e_tc_post_act_add(post_act, attr2); in extra_split_attr_dests()
1810 esw_attr2 = attr2->esw_attr; in extra_split_attr_dests()
1820 attr2->action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST; in extra_split_attr_dests()
1833 flow->extra_split_attr = attr2; in extra_split_attr_dests()
1835 attr2->post_act_handle = handle; in extra_split_attr_dests()
1845 kfree(attr2); in extra_split_attr_dests()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-event_source-devices-format16 attr2 = 'config:0-7'
/linux/tools/lib/perf/Documentation/
H A Dlibperf-counting.txt85 26 struct perf_event_attr attr2 = {
133 59 evsel = perf_evsel__new(&attr2);
/linux/Documentation/admin-guide/
H A Dxfs.rst37 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/fs/ntfs3/
H A Dattrib.c1032 struct ATTRIB *attr2; in attr_data_get_block() local
1034 attr2 = ni_find_attr(ni, attr_b, &le_b, ATTR_DATA, NULL, in attr_data_get_block()
1036 if (!attr2) { in attr_data_get_block()
1040 evcn1 = le64_to_cpu(attr2->nres.evcn) + 1; in attr_data_get_block()
1041 err = attr_load_runs(attr2, ni, run, NULL); in attr_data_get_block()
H A Dfslog.c3046 struct ATTRIB *attr = NULL, *attr2; in do_action() local
3222 attr2 = (struct ATTRIB *)data; in do_action()
3226 memmove(attr, attr2, dlen); in do_action()
3233 attr2 = (struct ATTRIB *)data; in do_action()
3234 asize = le32_to_cpu(attr2->size); in do_action()
3239 Add2Ptr(attr2, asize) > Add2Ptr(lrh, rec_len) || in do_action()
3245 memcpy(attr, attr2, asize); in do_action()
3249 id2 = le16_to_cpu(attr2->id); in do_action()
/linux/fs/xfs/
H A Dxfs_mount.h426 __XFS_ADD_V4_FEAT(attr2, ATTR2) in __XFS_HAS_V4_FEAT()
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c479 struct mount_attr attr2; in TEST_F() member
/linux/net/wireless/
H A Dnl80211.c9057 struct nlattr *attr1, *attr2; in validate_scan_freqs() local
9075 nla_for_each_nested(attr2, freqs, tmp2) in validate_scan_freqs()
9076 if (attr1 != attr2 && in validate_scan_freqs()
9077 nla_get_u32(attr1) == nla_get_u32(attr2)) in validate_scan_freqs()