Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/drivers/cpuidle/governors/
Dteo.c387 int idx0 = 0, idx = -1; in teo_select() local
457 idx0 = i; /* first enabled state */ in teo_select()
476 if (idx == idx0) { in teo_select()
628 if (idx > idx0 && in teo_select()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/arch/arm64/net/
Dbpf_jit_comp.c299 const int idx0 = ctx->idx; in build_prologue() local
357 cur_offset = ctx->idx - idx0; in build_prologue()
388 const int idx0 = ctx->idx; in emit_bpf_tail_call() local
389 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call()
/linux-6.6.21/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.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c9354 s8 idx0 = 0, idx1 = 0; in rt2800_loft_search() local
9366 idx0 = 0x20; in rt2800_loft_search()
9369 idx0 = idxf[iorq] - ibit; in rt2800_loft_search()
9370 idx0 = idx0 & 0x3F; in rt2800_loft_search()
9371 rt2800_write_dc(rt2x00dev, ch_idx, 0, iorq, idx0); in rt2800_loft_search()
9383 p0, p1, pf, idx0, idx1, ibit); in rt2800_loft_search()
9389 idxf[iorq] = idx0 & 0x3F; in rt2800_loft_search()
9415 s8 idx0 = 0, idx1 = 0; in rt2800_iq_search() local
9434 idx0 = iq_err; in rt2800_iq_search()
9436 idx0 = iq_err - ibit; in rt2800_iq_search()
[all …]
/linux-6.6.21/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.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c2853 int idx0 = req->tx.vtag0_idx; in nix_tx_vtag_decfg() local
2863 if (vlan->entry2pfvf_map[idx0] != pcifunc || in nix_tx_vtag_decfg()
2870 err = nix_tx_vtag_free(rvu, blkaddr, pcifunc, idx0); in nix_tx_vtag_decfg()
/linux-6.6.21/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()