Lines Matching refs:swap_val
7773 u32 swap_val, swap_override; in bnx2x_get_gpio_port() local
7779 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_get_gpio_port()
7781 return gpio_port ^ (swap_val && swap_override); in bnx2x_get_gpio_port()
9221 u32 swap_val, swap_override; in bnx2x_8727_hw_reset() local
9227 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8727_hw_reset()
9229 port = (swap_val && swap_override) ^ 1; in bnx2x_8727_hw_reset()
13192 u32 swap_val, swap_override; in bnx2x_8073_common_init_phy() local
13193 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8073_common_init_phy()
13195 port ^= (swap_val && swap_override); in bnx2x_8073_common_init_phy()
13409 u32 swap_val, swap_override; in bnx2x_8727_common_init_phy() local
13413 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_8727_common_init_phy()
13426 port ^= (swap_val && swap_override); in bnx2x_8727_common_init_phy()
14004 u32 offset, aeu_mask, swap_val, swap_override, sync_offset; in bnx2x_init_mod_abs_int() local
14036 swap_val = REG_RD(bp, NIG_REG_PORT_SWAP); in bnx2x_init_mod_abs_int()
14038 gpio_port ^= (swap_val && swap_override); in bnx2x_init_mod_abs_int()