Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/arch/arm64/net/
Dbpf_jit_comp.c185 const int idx0 = ctx->idx; in build_prologue() local
227 cur_offset = ctx->idx - idx0; in build_prologue()
252 const int idx0 = ctx->idx; in emit_bpf_tail_call() local
253 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call()
/Linux-v5.4/arch/arm/net/
Dbpf_jit_32.c1140 const int idx0 = ctx->idx; in emit_bpf_tail_call() local
1141 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c24242 wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1) in wlc_phy_txpwr_idx_cur_set_nphy() argument
24244 mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0); in wlc_phy_txpwr_idx_cur_set_nphy()