Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 2583) sorted by relevance

12345678910>>...104

/linux-5.3.11/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_csr.h21 #define HINIC_CSR_DMA_ATTR_ADDR(idx) \ argument
22 (HINIC_DMA_ATTR_BASE + (idx) * HINIC_DMA_ATTR_STRIDE)
27 #define HINIC_CSR_PPF_ELECTION_ADDR(idx) \ argument
28 (HINIC_ELECTION_BASE + (idx) * HINIC_PPF_ELECTION_STRIDE)
35 #define HINIC_CSR_API_CMD_CHAIN_HEAD_HI_ADDR(idx) \ argument
38 #define HINIC_CSR_API_CMD_CHAIN_HEAD_LO_ADDR(idx) \ argument
41 #define HINIC_CSR_API_CMD_STATUS_HI_ADDR(idx) \ argument
44 #define HINIC_CSR_API_CMD_STATUS_LO_ADDR(idx) \ argument
47 #define HINIC_CSR_API_CMD_CHAIN_NUM_CELLS_ADDR(idx) \ argument
50 #define HINIC_CSR_API_CMD_CHAIN_CTRL_ADDR(idx) \ argument
[all …]
/linux-5.3.11/drivers/net/can/cc770/
H A Dcc770_isa.c172 idx, port[idx], mem[idx], irq[idx]); in cc770_isa_probe()
220 if (clk[idx]) in cc770_isa_probe()
275 if (mem[idx]) in cc770_isa_probe()
278 if (mem[idx]) in cc770_isa_probe()
318 int idx, err; in cc770_isa_init() local
320 for (idx = 0; idx < ARRAY_SIZE(cc770_isa_devs); idx++) { in cc770_isa_init()
321 if ((port[idx] || mem[idx]) && irq[idx]) { in cc770_isa_init()
335 idx, port[idx], mem[idx], irq[idx]); in cc770_isa_init()
336 } else if (idx == 0 || port[idx] || mem[idx]) { in cc770_isa_init()
363 int idx; in cc770_isa_exit() local
[all …]
/linux-5.3.11/drivers/net/can/sja1000/
H A Dsja1000_isa.c126 idx, port[idx], mem[idx], irq[idx]); in sja1000_isa_probe()
176 if (clk[idx]) in sja1000_isa_probe()
213 if (mem[idx]) in sja1000_isa_probe()
216 if (mem[idx]) in sja1000_isa_probe()
256 int idx, err; in sja1000_isa_init() local
258 for (idx = 0; idx < MAXDEV; idx++) { in sja1000_isa_init()
259 if ((port[idx] || mem[idx]) && irq[idx]) { in sja1000_isa_init()
273 DRV_NAME, idx, port[idx], mem[idx], irq[idx]); in sja1000_isa_init()
274 } else if (idx == 0 || port[idx] || mem[idx]) { in sja1000_isa_init()
302 int idx; in sja1000_isa_exit() local
[all …]
/linux-5.3.11/drivers/crypto/ccree/
H A Dcc_hash.c352 idx++; in cc_fin_result()
373 idx++; in cc_fin_hmac()
382 idx++; in cc_fin_hmac()
393 idx++; in cc_fin_hmac()
399 idx++; in cc_fin_hmac()
406 idx++; in cc_fin_hmac()
472 idx++; in cc_hash_digest()
506 idx = cc_fin_hmac(desc, req, idx); in cc_hash_digest()
509 idx = cc_fin_result(desc, req, idx); in cc_hash_digest()
679 idx = cc_fin_hmac(desc, req, idx); in cc_do_finup()
[all …]
H A Dcc_aead.c334 idx++; in hmac_setkey()
342 idx++; in hmac_setkey()
350 idx++; in hmac_setkey()
360 idx++; in hmac_setkey()
371 idx++; in hmac_setkey()
982 idx++; in cc_set_cipher_desc()
1000 idx++; in cc_set_cipher_desc()
1047 idx++; in cc_set_hmac_desc()
1056 idx++; in cc_set_hmac_desc()
1077 idx++; in cc_set_xcbc_desc()
[all …]
H A Dcc_ivgen.c55 hw_desc_init(&iv_seq[idx]); in cc_gen_iv_pool()
62 idx++; in cc_gen_iv_pool()
65 hw_desc_init(&iv_seq[idx]); in cc_gen_iv_pool()
72 idx++; in cc_gen_iv_pool()
75 hw_desc_init(&iv_seq[idx]); in cc_gen_iv_pool()
79 idx++; in cc_gen_iv_pool()
82 hw_desc_init(&iv_seq[idx]); in cc_gen_iv_pool()
86 idx++; in cc_gen_iv_pool()
253 idx++; in cc_get_iv()
259 hw_desc_init(&iv_seq[idx]); in cc_get_iv()
[all …]
/linux-5.3.11/kernel/sched/
H A Dcpudeadline.c40 l = left_child(idx); in cpudl_heapify_down()
42 largest = idx; in cpudl_heapify_down()
60 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_down()
61 idx = largest; in cpudl_heapify_down()
66 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_down()
76 if (idx == 0) in cpudl_heapify_up()
80 p = parent(idx); in cpudl_heapify_up()
86 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_up()
87 idx = p; in cpudl_heapify_up()
92 cp->elements[cp->elements[idx].cpu].idx = idx; in cpudl_heapify_up()
[all …]
/linux-5.3.11/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c287 root->idx = subtree->idx; in node_copy_subtree()
317 if (idx >= nodep->idx && in node_find()
358 if (idx < parentp->idx) { in node_add()
518 if (nodep1->idx == idx) in node_split()
786 if (idx >= nodep->idx && in sparsebit_is_set()
798 assert(idx >= nodep->idx && idx - nodep->idx < MASK_BITS); in sparsebit_is_set()
821 assert(idx >= nodep->idx && idx <= nodep->idx + MASK_BITS - 1); in bit_set()
856 assert(idx >= nodep->idx && idx <= nodep->idx + MASK_BITS - 1); in bit_clear()
1268 for (idx = lowest_possible - nodep1->idx; idx < MASK_BITS; idx++) in sparsebit_next_clear()
1312 idx != 0 && idx + num - 1 >= idx; in sparsebit_next_set_num()
[all …]
/linux-5.3.11/drivers/clk/uniphier/
H A Dclk-uniphier-sys.c23 #define UNIPHIER_LD4_SYS_CLK_NAND(idx) \ argument
27 #define UNIPHIER_PRO5_SYS_CLK_NAND(idx) \ argument
31 #define UNIPHIER_LD11_SYS_CLK_NAND(idx) \ argument
35 #define UNIPHIER_SYS_CLK_NAND_4X(idx) \ argument
38 #define UNIPHIER_LD11_SYS_CLK_EMMC(idx) \ argument
41 #define UNIPHIER_LD4_SYS_CLK_STDMAC(idx) \ argument
47 #define UNIPHIER_LD11_SYS_CLK_HSC(idx) \ argument
50 #define UNIPHIER_PRO4_SYS_CLK_GIO(idx) \ argument
56 #define UNIPHIER_PRO4_SYS_CLK_AIO(idx) \ argument
60 #define UNIPHIER_PRO5_SYS_CLK_AIO(idx) \ argument
[all …]
/linux-5.3.11/drivers/net/ethernet/ti/
H A Dcpsw_ale.c63 int idx; in cpsw_ale_get_field() local
67 idx = 2 - idx; /* flip */ in cpsw_ale_get_field()
74 int idx; in cpsw_ale_set_field() local
79 idx = 2 - idx; /* flip */ in cpsw_ale_set_field()
176 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_match_addr()
197 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_match_vlan()
213 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_match_free()
227 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_find_ageable()
266 for (idx = 0; idx < ale->params.ale_entries; idx++) { in cpsw_ale_flush_multicast()
311 int idx; in cpsw_ale_add_ucast() local
[all …]
/linux-5.3.11/arch/x86/um/
H A Dtls_32.c66 int idx; in get_free_idx() local
71 for (idx = 0; idx < GDT_ENTRY_TLS_ENTRIES; idx++) in get_free_idx()
95 int idx; in load_TLS() local
97 for (idx = GDT_ENTRY_TLS_MIN; idx < GDT_ENTRY_TLS_MAX; idx++) { in load_TLS()
208 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in set_tls_entry()
241 int idx) in get_tls_entry() argument
248 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in get_tls_entry()
282 int idx, ret; in SYSCALL_DEFINE1() local
294 if (idx < 0) in SYSCALL_DEFINE1()
295 return idx; in SYSCALL_DEFINE1()
[all …]
/linux-5.3.11/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.pm40 if (!$value && !$idx) {
45 if ($idx && ($value & $idx) == $idx) {
49 $string .= "$trace_flags{$idx}";
51 $value &= ~$idx;
70 if (!$value && !$idx) {
74 if ($idx && ($value & $idx) == $idx) {
80 $value &= ~$idx;
110 print " value $idx: $flag_fields{$event}{$field}{'values'}{$idx}\n";
122 if (!$value && !$idx) {
126 if ($value == $idx) {
[all …]
/linux-5.3.11/include/asm-generic/
H A Dfixmap.h33 return __fix_to_virt(idx); in fix_to_virt()
64 #define set_fixmap(idx, phys) \ argument
65 __set_fixmap(idx, phys, FIXMAP_PAGE_NORMAL)
69 #define clear_fixmap(idx) \ argument
70 __set_fixmap(idx, 0, FIXMAP_PAGE_CLEAR)
77 __set_fixmap(idx, phys, flags); \
82 #define set_fixmap_offset(idx, phys) \ argument
88 #define set_fixmap_nocache(idx, phys) \ argument
97 #define set_fixmap_io(idx, phys) \ argument
98 __set_fixmap(idx, phys, FIXMAP_PAGE_IO)
[all …]
/linux-5.3.11/arch/x86/events/intel/
H A Duncore_nhmex.c705 if (idx[0] != 0xff && idx[0] != __BITS_VALUE(reg1->idx, 0, 8)) in nhmex_mbox_get_constraint()
723 idx[0] = (idx[0] + 1) % 4; in nhmex_mbox_get_constraint()
842 idx = __BITS_VALUE(reg1->idx, 0, 8); in nhmex_mbox_msr_enable_event()
992 idx = reg1->idx % 6; in nhmex_rbox_get_constraint()
1009 } else if (idx == 2 || idx == 3) { in nhmex_rbox_get_constraint()
1044 if (idx != reg1->idx % 6) { in nhmex_rbox_get_constraint()
1053 if (idx != reg1->idx % 6) in nhmex_rbox_get_constraint()
1071 idx = reg1->idx % 6; in nhmex_rbox_put_constraint()
1078 if (idx == 2 || idx == 3) in nhmex_rbox_put_constraint()
1098 reg1->idx = idx; in nhmex_rbox_hw_config()
[all …]
/linux-5.3.11/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Ddevice.h205 int (*bar )(struct nvkm_device *, int idx, struct nvkm_bar **);
207 int (*bus )(struct nvkm_device *, int idx, struct nvkm_bus **);
208 int (*clk )(struct nvkm_device *, int idx, struct nvkm_clk **);
211 int (*fb )(struct nvkm_device *, int idx, struct nvkm_fb **);
214 int (*gsp )(struct nvkm_device *, int idx, struct nvkm_gsp **);
215 int (*i2c )(struct nvkm_device *, int idx, struct nvkm_i2c **);
219 int (*ltc )(struct nvkm_device *, int idx, struct nvkm_ltc **);
220 int (*mc )(struct nvkm_device *, int idx, struct nvkm_mc **);
237 int (*gr )(struct nvkm_device *, int idx, struct nvkm_gr **);
247 int (*pm )(struct nvkm_device *, int idx, struct nvkm_pm **);
[all …]
/linux-5.3.11/include/linux/
H A Dmemcontrol.h573 int idx) in memcg_page_state_local() argument
1023 int idx, in mod_memcg_state() argument
1029 int idx, in __mod_memcg_page_state() argument
1035 int idx, in mod_memcg_page_state() argument
1109 int idx) in count_memcg_page_event() argument
1135 int idx) in __inc_memcg_page_state() argument
1142 int idx) in __dec_memcg_page_state() argument
1183 int idx) in inc_memcg_state() argument
1190 int idx) in dec_memcg_state() argument
1197 int idx) in inc_memcg_page_state() argument
[all …]
/linux-5.3.11/drivers/gpu/drm/radeon/
H A Devergreen_cs.c1074 unsigned idx; in evergreen_cs_parse_packet0() local
1077 idx = pkt->idx + 1; in evergreen_cs_parse_packet0()
1786 idx = pkt->idx + 1; in evergreen_packet3_check()
2105 ib[idx+1] = (ib[idx+1] & 0x3) | (offset & 0xfffffffc); in evergreen_packet3_check()
2803 u32 idx; in evergreen_dma_cs_parse() local
2813 idx = p->idx; in evergreen_dma_cs_parse()
3351 u32 idx = pkt->idx + 1; in evergreen_vm_packet3_check() local
3528 pkt.idx = idx; in evergreen_ib_parse()
3538 idx += 1; in evergreen_ib_parse()
3645 idx += 4; in evergreen_dma_ib_parse()
[all …]
H A Dr600_cs.c930 idx, reg); in r600_packet0_check()
945 unsigned idx; in r600_cs_parse_packet0() local
948 idx = pkt->idx + 1; in r600_cs_parse_packet0()
1316 ib[idx] |= 3; in r600_cs_check_reg()
1632 unsigned idx; in r600_packet3_check() local
1640 idx = pkt->idx + 1; in r600_packet3_check()
1770 ib[idx+1] = (ib[idx+1] & 0x3) | (offset & 0xfffffff0); in r600_packet3_check()
2011 ib[idx+1+(i*8)+2] = (ib[idx+1+(i*8)+2] & 0xffffff00) | in r600_packet3_check()
2346 unsigned idx; in r600_dma_cs_next_reloc() local
2394 idx = p->idx; in r600_dma_cs_parse()
[all …]
/linux-5.3.11/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.c170 u32 idx; in dpu_hw_sspp_setup_multirect() local
197 u32 idx; in _sspp_setup_opmode() local
218 u32 idx; in _sspp_setup_csc10_opmode() local
245 u32 idx; in dpu_hw_sspp_setup_format() local
347 u32 idx; in dpu_hw_sspp_setup_pe_config() local
402 u32 idx; in _dpu_hw_sspp_setup_scaler3() local
417 u32 idx; in _dpu_hw_sspp_get_scaler3_ver() local
435 u32 idx; in dpu_hw_sspp_setup_rects() local
502 u32 idx; in dpu_hw_sspp_setup_sourceaddress() local
527 u32 idx; in dpu_hw_sspp_setup_csc() local
[all …]
/linux-5.3.11/drivers/net/ethernet/chelsio/cxgb/
H A Dfpga_defs.h215 #define MAC_REG_ADDR(idx, reg) (MAC_REG_BASE + (idx) * 128 + (reg)) argument
217 #define MAC_REG_IDLO(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_LO) argument
218 #define MAC_REG_IDHI(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_HI) argument
219 #define MAC_REG_CSR(idx) MAC_REG_ADDR(idx, A_GMAC_CSR) argument
220 #define MAC_REG_IFS(idx) MAC_REG_ADDR(idx, A_GMAC_IFS) argument
222 #define MAC_REG_LINKDLY(idx) MAC_REG_ADDR(idx, A_GMAC_LNK_DLY) argument
223 #define MAC_REG_PAUSETIME(idx) MAC_REG_ADDR(idx, A_GMAC_PAUSETIME) argument
224 #define MAC_REG_CASTLO(idx) MAC_REG_ADDR(idx, A_GMAC_MCAST_LO) argument
225 #define MAC_REG_MCASTHI(idx) MAC_REG_ADDR(idx, A_GMAC_MCAST_HI) argument
228 #define MAC_REG_RMCNT(idx) MAC_REG_ADDR(idx, A_GMAC_RMT_CNT) argument
[all …]
/linux-5.3.11/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py35 for idx in sorted(flag_fields[event_name][field_name]['values']):
36 if not value and not idx:
39 if idx and (value & idx) == idx:
44 value &= ~idx
53 if not value and not idx:
56 if (value == idx):
73 for idx in trace_flags:
74 if not value and not idx:
78 if idx and (value & idx) == idx:
81 string += trace_flags[idx]
[all …]
/linux-5.3.11/include/trace/events/
H A Dcpuhp.h14 int idx,
17 TP_ARGS(cpu, target, idx, fun),
22 __field( int, idx )
29 __entry->idx = idx;
41 int idx,
50 __field( int, idx )
57 __entry->idx = idx;
69 int idx,
72 TP_ARGS(cpu, state, idx, ret),
77 __field( int, idx )
[all …]
/linux-5.3.11/drivers/net/wireless/mediatek/mt7601u/
H A Dmain.c57 mvif->idx = idx; in mt7601u_add_interface()
193 if (!idx) in mt76_wcid_alloc()
196 idx--; in mt76_wcid_alloc()
201 idx = i * BITS_PER_LONG + idx; in mt76_wcid_alloc()
205 return idx; in mt76_wcid_alloc()
216 int idx = 0; in mt7601u_sta_add() local
226 msta->wcid.idx = idx; in mt7601u_sta_add()
228 mt7601u_mac_wcid_setup(dev, idx, mvif->idx, sta->addr); in mt7601u_sta_add()
245 int idx = msta->wcid.idx; in mt7601u_sta_remove() local
249 mt76_set(dev, MT_WCID_DROP(idx), MT_WCID_DROP_MASK(idx)); in mt7601u_sta_remove()
[all …]
/linux-5.3.11/drivers/media/usb/pvrusb2/
H A Dpvrusb2-encoder.c51 for (idx = 0; idx < chunkCnt; idx++) { in pvr2_encoder_write_words()
110 for (idx = 0; idx < chunkCnt; idx++) { in pvr2_encoder_read_words()
111 data[idx] = PVR2_COMPOSE_LE(hdw->cmd_buffer,idx*4); in pvr2_encoder_read_words()
205 for (idx = 0; idx < arg_cnt_send; idx++) { in pvr2_encoder_cmd()
206 wrData[idx+4] = argp[idx]; in pvr2_encoder_cmd()
208 for (; idx < ARRAY_SIZE(wrData) - 4; idx++) { in pvr2_encoder_cmd()
243 for (idx = 4; idx < arg_cnt_send; idx++) { in pvr2_encoder_cmd()
247 idx-3,wrData[idx]); in pvr2_encoder_cmd()
280 for (idx = 0; idx < arg_cnt_recv; idx++) { in pvr2_encoder_cmd()
281 argp[idx] = rdData[idx+4]; in pvr2_encoder_cmd()
[all …]
/linux-5.3.11/tools/testing/radix-tree/
H A Dmain.c17 long idx; in __gang_check() local
22 for (idx = -down; idx < up; idx++) in __gang_check()
23 item_insert(&tree, middle + idx); in __gang_check()
26 for (idx = -down; idx < up; idx++) in __gang_check()
133 if (idx[i] < start || idx[i] > end) { in check_copied_tags()
136 end, idx[i], item_tag_get(tree, idx[i], in check_copied_tags()
146 idx[i], item_tag_get(tree, idx[i], fromtag), in check_copied_tags()
159 unsigned long idx[ITEMS]; in copy_tag_check() local
203 idx[i] = rand(); in copy_tag_check()
206 item_insert(&tree, idx[i]); in copy_tag_check()
[all …]

12345678910>>...104