Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c160 u32 addr, attr1; in hwif_ready() local
163 attr1 = hinic_hwif_read_reg(hwif, addr); in hwif_ready()
165 if (!HINIC_FA1_GET(attr1, MGMT_INIT_STATUS)) in hwif_ready()
169 if (!HINIC_FA1_GET(attr1, PF_INIT_STATUS)) in hwif_ready()
200 static void set_hwif_attr(struct hinic_hwif *hwif, u32 attr0, u32 attr1, in set_hwif_attr() argument
208 hwif->attr.num_aeqs = BIT(HINIC_FA1_GET(attr1, AEQS_PER_FUNC)); in set_hwif_attr()
209 hwif->attr.num_ceqs = BIT(HINIC_FA1_GET(attr1, CEQS_PER_FUNC)); in set_hwif_attr()
210 hwif->attr.num_irqs = BIT(HINIC_FA1_GET(attr1, IRQS_PER_FUNC)); in set_hwif_attr()
211 hwif->attr.num_dma_attr = BIT(HINIC_FA1_GET(attr1, DMA_ATTR_PER_FUNC)); in set_hwif_attr()
222 u32 addr, attr0, attr1, attr2; in read_hwif_attr() local
[all …]
/linux-6.1.9/tools/lib/perf/Documentation/examples/
Dcounting.c26 struct perf_event_attr attr1 = { in main() local
51 evsel = perf_evsel__new(&attr1); in main()
/linux-6.1.9/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-6.1.9/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-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-format15 attr1 = 'config:0-23'
/linux-6.1.9/tools/lib/perf/Documentation/
Dlibperf-counting.txt79 20 struct perf_event_attr attr1 = {
125 51 evsel = perf_evsel__new(&attr1);
/linux-6.1.9/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-6.1.9/net/wireless/
Dnl80211.c8663 struct nlattr *attr1, *attr2; in validate_scan_freqs() local
8666 nla_for_each_nested(attr1, freqs, tmp1) in validate_scan_freqs()
8667 if (nla_len(attr1) != sizeof(u32)) in validate_scan_freqs()
8670 nla_for_each_nested(attr1, freqs, tmp1) { in validate_scan_freqs()
8682 if (attr1 != attr2 && in validate_scan_freqs()
8683 nla_get_u32(attr1) == nla_get_u32(attr2)) in validate_scan_freqs()