| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | mp.c | 20 int idx0 = mlx5_lag_get_dev_index_by_seq(ldev, MLX5_LAG_P1); in mlx5_lag_multipath_check_prereq() local 23 if (idx0 < 0 || idx1 < 0 || !mlx5_lag_is_ready(ldev)) in mlx5_lag_multipath_check_prereq() 32 return mlx5_esw_multipath_prereq(ldev->pf[idx0].dev, in mlx5_lag_multipath_check_prereq() 65 tracker.netdev_state[idx0].tx_enabled = true; in mlx5_lag_set_port_affinity() 67 tracker.netdev_state[idx0].link_up = true; in mlx5_lag_set_port_affinity() 71 tracker.netdev_state[idx0].tx_enabled = true; in mlx5_lag_set_port_affinity() 72 tracker.netdev_state[idx0].link_up = true; in mlx5_lag_set_port_affinity() 77 tracker.netdev_state[idx0].tx_enabled = false; in mlx5_lag_set_port_affinity() 78 tracker.netdev_state[idx0].link_up = false; in mlx5_lag_set_port_affinity() 83 mlx5_core_warn(ldev->pf[idx0].dev, in mlx5_lag_set_port_affinity() [all …]
|
| H A D | lag.c | 87 int idx0, idx1; in mlx5_cmd_create_lag() local 93 idx0 = mlx5_lag_get_dev_index_by_seq(ldev, 0); in mlx5_cmd_create_lag() 96 if (idx0 < 0 || idx1 < 0) in mlx5_cmd_create_lag() 101 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[idx0]); in mlx5_cmd_create_lag() 124 int idx0, idx1; in mlx5_cmd_modify_lag() local 126 idx0 = mlx5_lag_get_dev_index_by_seq(ldev, 0); in mlx5_cmd_modify_lag() 128 if (idx0 < 0 || idx1 < 0) in mlx5_cmd_modify_lag() 134 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[idx0]); in mlx5_cmd_modify_lag()
|
| /linux-6.15/arch/alpha/kernel/ |
| H A D | perf_event.c | 155 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.15/arch/sh/mm/ |
| H A D | ioremap_fixed.c | 50 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.15/drivers/cpuidle/governors/ |
| H A D | teo.c | 279 int idx0 = 0, idx = -1; in teo_select() local 324 idx0 = i; /* first enabled state */ in teo_select() 342 if (idx == idx0) { in teo_select() 491 if (idx > idx0 && in teo_select()
|
| /linux-6.15/drivers/nvdimm/ |
| H A D | btt.c | 289 int idx0 = a->log_index[0]; in btt_log_get_old() local 298 if (log_seq(log, idx0) == 0) { in btt_log_get_old() 299 log->ent[idx0].seq = cpu_to_le32(1); in btt_log_get_old() 303 if (log_seq(log, idx0) == log_seq(log, idx1)) in btt_log_get_old() 305 if (log_seq(log, idx0) + log_seq(log, idx1) > 5) in btt_log_get_old() 308 if (log_seq(log, idx0) < log_seq(log, idx1)) { in btt_log_get_old() 309 if ((log_seq(log, idx1) - log_seq(log, idx0)) == 1) in btt_log_get_old() 314 if ((log_seq(log, idx0) - log_seq(log, idx1)) == 1) in btt_log_get_old()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | perf_event.c | 1246 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.15/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 3945.c | 1927 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.15/arch/loongarch/net/ |
| H A D | bpf_jit.c | 222 const int idx0 = ctx->idx; in emit_bpf_tail_call() local 224 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call()
|
| /linux-6.15/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2800lib.c | 9364 s8 idx0 = 0, idx1 = 0; in rt2800_loft_search() local 9376 idx0 = 0x20; in rt2800_loft_search() 9379 idx0 = idxf[iorq] - ibit; in rt2800_loft_search() 9380 idx0 = idx0 & 0x3F; in rt2800_loft_search() 9393 p0, p1, pf, idx0, idx1, ibit); in rt2800_loft_search() 9399 idxf[iorq] = idx0 & 0x3F; in rt2800_loft_search() 9425 s8 idx0 = 0, idx1 = 0; in rt2800_iq_search() local 9444 idx0 = iq_err; in rt2800_iq_search() 9446 idx0 = iq_err - ibit; in rt2800_iq_search() 9451 rt2800_bbp_write(rt2x00dev, 159, idx0); in rt2800_iq_search() [all …]
|
| /linux-6.15/arch/arm/net/ |
| H A D | bpf_jit_32.c | 1403 const int idx0 = ctx->idx; in emit_bpf_tail_call() local 1404 #define cur_offset (ctx->idx - idx0) in emit_bpf_tail_call()
|
| /linux-6.15/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 479 const int idx0 = ctx->idx; in build_prologue() local 528 cur_offset = ctx->idx - idx0; in build_prologue()
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 3063 int idx0 = req->tx.vtag0_idx; in nix_tx_vtag_decfg() local 3073 if (vlan->entry2pfvf_map[idx0] != pcifunc || in nix_tx_vtag_decfg() 3080 err = nix_tx_vtag_free(rvu, blkaddr, pcifunc, idx0); in nix_tx_vtag_decfg()
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_n.c | 24223 wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1) in wlc_phy_txpwr_idx_cur_set_nphy() argument 24225 mod_phy_reg(pi, 0x1e7, (0x7f << 0), idx0); in wlc_phy_txpwr_idx_cur_set_nphy()
|