Lines Matching refs:next_idx
3159 int idx, last_idx, next_idx, err; in nix_update_ingress_mce_list_hw() local
3178 prev_mce->pcifunc, next_idx, in nix_update_ingress_mce_list_hw()
3189 next_idx = idx + 1; in nix_update_ingress_mce_list_hw()
3192 mce->pcifunc, next_idx, in nix_update_ingress_mce_list_hw()
3194 (next_idx > last_idx) ? true : false); in nix_update_ingress_mce_list_hw()
3210 int idx, last_idx, next_idx; in nix_update_egress_mce_list_hw() local
3229 regval = (next_idx << 16) | (1 << 12) | prev_mce->channel; in nix_update_egress_mce_list_hw()
3238 next_idx = idx + 1; in nix_update_egress_mce_list_hw()
3240 if (next_idx > last_idx) in nix_update_egress_mce_list_hw()
3243 regval = (next_idx << 16) | (eol << 12) | mce->channel; in nix_update_egress_mce_list_hw()
3381 int err = 0, idx, next_idx, last_idx, blkaddr, npc_blkaddr; in nix_update_mce_list() local
3426 next_idx = idx + 1; in nix_update_mce_list()
3429 mce->pcifunc, next_idx, in nix_update_mce_list()
3431 (next_idx > last_idx) ? true : false); in nix_update_mce_list()