Lines Matching refs:swap_b
7487 u16 swap_a, swap_b; in r8156_hw_phy_cfg() local
7497 swap_b = ocp_reg_read(tp, 0xd06a); in r8156_hw_phy_cfg()
7501 (swap_a & ~0x7ff) | (swap_b & 0x7ff)); in r8156_hw_phy_cfg()
7505 (swap_b & ~0x7ff) | (swap_a & 0x7ff)); in r8156_hw_phy_cfg()
7513 swap_b = ocp_reg_read(tp, 0xd06a); in r8156_hw_phy_cfg()
7518 (swap_a & ~0x7ff) | (swap_b & 0x7ff)); in r8156_hw_phy_cfg()
7523 (swap_b & ~0x7ff) | (swap_a & 0x7ff)); in r8156_hw_phy_cfg()
7525 swap_b = ocp_reg_read(tp, 0xbd5c); in r8156_hw_phy_cfg()
7527 ((swap_b & 0x1f) << 8) | in r8156_hw_phy_cfg()
7528 ((swap_b >> 8) & 0x1f)); in r8156_hw_phy_cfg()
7529 ocp_reg_write(tp, 0xbd5c, (swap_b & ~0x1f1f) | in r8156_hw_phy_cfg()
7533 swap_b = ocp_reg_read(tp, 0xbc1a); in r8156_hw_phy_cfg()
7535 ((swap_b & 0x1f) << 8) | in r8156_hw_phy_cfg()
7536 ((swap_b >> 8) & 0x1f)); in r8156_hw_phy_cfg()
7537 ocp_reg_write(tp, 0xbc1a, (swap_b & ~0x1f1f) | in r8156_hw_phy_cfg()