Searched refs:attr1 (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_if.c | 187 u32 addr, attr1; in hwif_ready() local 190 attr1 = hinic_hwif_read_reg(hwif, addr); in hwif_ready() 192 if (!HINIC_FA1_GET(attr1, INIT_STATUS)) { in hwif_ready() 206 static void set_hwif_attr(struct hinic_hwif *hwif, u32 attr0, u32 attr1) in set_hwif_attr() argument 213 hwif->attr.num_aeqs = BIT(HINIC_FA1_GET(attr1, AEQS_PER_FUNC)); in set_hwif_attr() 214 hwif->attr.num_ceqs = BIT(HINIC_FA1_GET(attr1, CEQS_PER_FUNC)); in set_hwif_attr() 215 hwif->attr.num_irqs = BIT(HINIC_FA1_GET(attr1, IRQS_PER_FUNC)); in set_hwif_attr() 216 hwif->attr.num_dma_attr = BIT(HINIC_FA1_GET(attr1, DMA_ATTR_PER_FUNC)); in set_hwif_attr() 225 u32 addr, attr0, attr1; in read_hwif_attr() local 231 attr1 = hinic_hwif_read_reg(hwif, addr); in read_hwif_attr() [all …]
|
/Linux-v5.4/tools/perf/lib/tests/ |
D | test-evlist.c | 22 struct perf_event_attr attr1 = { in test_stat_cpu() local 38 evsel = perf_evsel__new(&attr1); in test_stat_cpu() 77 struct perf_event_attr attr1 = { in test_stat_thread() local 95 evsel = perf_evsel__new(&attr1); in test_stat_thread() 128 struct perf_event_attr attr1 = { in test_stat_thread_enable() local 148 evsel = perf_evsel__new(&attr1); in test_stat_thread_enable()
|
/Linux-v5.4/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 799 attr1 = 1; in ps3_set_signal() 817 attr1, attr2, attr3); in ps3_set_signal()
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-format | 14 attr1 = 'config:0-23'
|
/Linux-v5.4/net/wireless/ |
D | nl80211.c | 7264 struct nlattr *attr1, *attr2; in validate_scan_freqs() local 7267 nla_for_each_nested(attr1, freqs, tmp1) in validate_scan_freqs() 7268 if (nla_len(attr1) != sizeof(u32)) in validate_scan_freqs() 7271 nla_for_each_nested(attr1, freqs, tmp1) { in validate_scan_freqs() 7283 if (attr1 != attr2 && in validate_scan_freqs() 7284 nla_get_u32(attr1) == nla_get_u32(attr2)) in validate_scan_freqs()
|