Home
last modified time | relevance | path

Searched refs:idx0 (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/arch/alpha/kernel/
Dperf_event.c155 int idx0; in ev67_check_constraints() local
158 idx0 = ev67_mapping[evtype[0]-1].idx; in ev67_check_constraints()
167 idx0 = (evtype[0] == EV67_MBOXREPLAY) ? 1 : 0; in ev67_check_constraints()
169 if (evtype[idx0] == EV67_CYCLES) { in ev67_check_constraints()
177 idx0 = (evtype[0] == EV67_BCACHEMISS) ? 1 : 0; in ev67_check_constraints()
179 if (evtype[idx0] == EV67_INSTRUCTIONS) { in ev67_check_constraints()
187 idx0 = (evtype[0] == EV67_INSTRUCTIONS) ? 0 : 1; in ev67_check_constraints()
189 if (evtype[idx0^1] == EV67_CYCLES) { in ev67_check_constraints()
199 event[0]->hw.idx = idx0; in ev67_check_constraints()
202 event[1]->hw.idx = idx0 ^ 1; in ev67_check_constraints()
/linux-6.1.9/arch/sh/mm/
Dioremap_fixed.c50 enum fixed_addresses idx0, idx; in ioremap_fixed() local
86 idx0 = FIX_IOREMAP_BEGIN + slot; in ioremap_fixed()
87 idx = idx0; in ioremap_fixed()
/linux-6.1.9/drivers/cpuidle/governors/
Dteo.c297 int idx0 = 0, idx = -1; in teo_select() local
348 idx0 = i; in teo_select()
368 } else if (idx == idx0) { in teo_select()
470 if (idx > idx0 && in teo_select()
/linux-6.1.9/drivers/nvdimm/
Dbtt.c287 int idx0 = a->log_index[0]; in btt_log_get_old() local
296 if (log_seq(log, idx0) == 0) { in btt_log_get_old()
297 log->ent[idx0].seq = cpu_to_le32(1); in btt_log_get_old()
301 if (log_seq(log, idx0) == log_seq(log, idx1)) in btt_log_get_old()
303 if (log_seq(log, idx0) + log_seq(log, idx1) > 5) in btt_log_get_old()
306 if (log_seq(log, idx0) < log_seq(log, idx1)) { in btt_log_get_old()
307 if ((log_seq(log, idx1) - log_seq(log, idx0)) == 1) in btt_log_get_old()
312 if ((log_seq(log, idx0) - log_seq(log, idx1)) == 1) in btt_log_get_old()
/linux-6.1.9/arch/sparc/kernel/
Dperf_event.c1246 int idx0 = 0; in sparc_check_constraints() local
1268 idx0 = 1; in sparc_check_constraints()
1285 idx0 = 1; in sparc_check_constraints()
1292 idx0 = 1; in sparc_check_constraints()
1300 idx0 = 1; in sparc_check_constraints()
1308 evts[0]->hw.idx = idx0; in sparc_check_constraints()
1310 evts[1]->hw.idx = idx0 ^ 1; in sparc_check_constraints()
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D3945.c1927 s32 idx0, idx1; in il3945_hw_reg_get_matched_power_idx() local
1945 idx0 = 0; in il3945_hw_reg_get_matched_power_idx()
1948 idx0 = 1; in il3945_hw_reg_get_matched_power_idx()
1951 idx0 = 2; in il3945_hw_reg_get_matched_power_idx()
1954 idx0 = 3; in il3945_hw_reg_get_matched_power_idx()
1958 denominator = (s32) samples[idx1].power - (s32) samples[idx0].power; in il3945_hw_reg_get_matched_power_idx()
1961 gains0 = (s32) samples[idx0].gain_idx * (1 << 19); in il3945_hw_reg_get_matched_power_idx()
1965 (s32) samples[idx0].power) / in il3945_hw_reg_get_matched_power_idx()
/linux-6.1.9/fs/ntfs3/
Dfile.c285 pgoff_t idx0 = page0 ? page0->index : -1; in ntfs_sparse_cluster() local
297 page = idx == idx0 ? page0 : grab_cache_page(mapping, idx); in ntfs_sparse_cluster()
338 if (idx != idx0) { in ntfs_sparse_cluster()
/linux-6.1.9/arch/arm64/net/
Dbpf_jit_comp.c299 const int idx0 = ctx->idx; in build_prologue() local
351 cur_offset = ctx->idx - idx0; in build_prologue()
382 const int idx0 = ctx->idx; in emit_bpf_tail_call() local
383 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call()
/linux-6.1.9/arch/loongarch/net/
Dbpf_jit.c215 const int idx0 = ctx->idx; in emit_bpf_tail_call() local
217 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call()
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c9333 s8 idx0 = 0, idx1 = 0; in rt2800_loft_search() local
9345 idx0 = 0x20; in rt2800_loft_search()
9348 idx0 = idxf[iorq] - ibit; in rt2800_loft_search()
9349 idx0 = idx0 & 0x3F; in rt2800_loft_search()
9350 rt2800_write_dc(rt2x00dev, ch_idx, 0, iorq, idx0); in rt2800_loft_search()
9362 p0, p1, pf, idx0, idx1, ibit); in rt2800_loft_search()
9368 idxf[iorq] = idx0 & 0x3F; in rt2800_loft_search()
9394 s8 idx0 = 0, idx1 = 0; in rt2800_iq_search() local
9413 idx0 = iq_err; in rt2800_iq_search()
9415 idx0 = iq_err - ibit; in rt2800_iq_search()
[all …]
/linux-6.1.9/arch/arm/net/
Dbpf_jit_32.c1162 const int idx0 = ctx->idx; in emit_bpf_tail_call() local
1163 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c2631 int idx0 = req->tx.vtag0_idx; in nix_tx_vtag_decfg() local
2641 if (vlan->entry2pfvf_map[idx0] != pcifunc || in nix_tx_vtag_decfg()
2648 err = nix_tx_vtag_free(rvu, blkaddr, pcifunc, idx0); in nix_tx_vtag_decfg()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c24224 wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1) in wlc_phy_txpwr_idx_cur_set_nphy() argument
24226 mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0); in wlc_phy_txpwr_idx_cur_set_nphy()