Home
last modified time | relevance | path

Searched refs:attr1 (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c195 u32 addr, attr1; in hwif_ready() local
198 attr1 = hinic_hwif_read_reg(hwif, addr); in hwif_ready()
200 if (!HINIC_FA1_GET(attr1, MGMT_INIT_STATUS)) in hwif_ready()
204 if (!HINIC_FA1_GET(attr1, PF_INIT_STATUS)) in hwif_ready()
235 static void set_hwif_attr(struct hinic_hwif *hwif, u32 attr0, u32 attr1, in set_hwif_attr() argument
243 hwif->attr.num_aeqs = BIT(HINIC_FA1_GET(attr1, AEQS_PER_FUNC)); in set_hwif_attr()
244 hwif->attr.num_ceqs = BIT(HINIC_FA1_GET(attr1, CEQS_PER_FUNC)); in set_hwif_attr()
245 hwif->attr.num_irqs = BIT(HINIC_FA1_GET(attr1, IRQS_PER_FUNC)); in set_hwif_attr()
246 hwif->attr.num_dma_attr = BIT(HINIC_FA1_GET(attr1, DMA_ATTR_PER_FUNC)); in set_hwif_attr()
257 u32 addr, attr0, attr1, attr2; in read_hwif_attr() local
[all …]
/linux-5.19.10/tools/lib/perf/Documentation/examples/
Dcounting.c26 struct perf_event_attr attr1 = { in main() local
51 evsel = perf_evsel__new(&attr1); in main()
/linux-5.19.10/tools/lib/perf/tests/
Dtest-evlist.c39 struct perf_event_attr attr1 = { in test_stat_cpu() local
55 evsel = leader = perf_evsel__new(&attr1); in test_stat_cpu()
98 struct perf_event_attr attr1 = { in test_stat_thread() local
116 evsel = leader = perf_evsel__new(&attr1); in test_stat_thread()
153 struct perf_event_attr attr1 = { in test_stat_thread_enable() local
173 evsel = leader = perf_evsel__new(&attr1); in test_stat_thread_enable()
/linux-5.19.10/drivers/ps3/
Dps3-lpm.c749 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
799 attr1 = 1; in ps3_set_signal()
817 attr1, attr2, attr3); in ps3_set_signal()
/linux-5.19.10/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-format15 attr1 = 'config:0-23'
/linux-5.19.10/tools/lib/perf/Documentation/
Dlibperf-counting.txt79 20 struct perf_event_attr attr1 = {
125 51 evsel = perf_evsel__new(&attr1);
/linux-5.19.10/tools/testing/selftests/mount_setattr/
Dmount_setattr_test.c484 struct mount_attr attr1; in TEST_F() member
522 large_attr.attr1.attr_set = MOUNT_ATTR_RDONLY; in TEST_F()
/linux-5.19.10/net/wireless/
Dnl80211.c8418 struct nlattr *attr1, *attr2; in validate_scan_freqs() local
8421 nla_for_each_nested(attr1, freqs, tmp1) in validate_scan_freqs()
8422 if (nla_len(attr1) != sizeof(u32)) in validate_scan_freqs()
8425 nla_for_each_nested(attr1, freqs, tmp1) { in validate_scan_freqs()
8437 if (attr1 != attr2 && in validate_scan_freqs()
8438 nla_get_u32(attr1) == nla_get_u32(attr2)) in validate_scan_freqs()