Lines Matching refs:data8

2746 	u8 data8;  in ksz_set_xmii()  local
2748 ksz_pread8(dev, port, regs[P_XMII_CTRL_1], &data8); in ksz_set_xmii()
2750 data8 &= ~(P_MII_SEL_M | P_RGMII_ID_IG_ENABLE | in ksz_set_xmii()
2755 data8 |= bitval[P_MII_SEL]; in ksz_set_xmii()
2758 data8 |= bitval[P_RMII_SEL]; in ksz_set_xmii()
2761 data8 |= bitval[P_GMII_SEL]; in ksz_set_xmii()
2767 data8 |= bitval[P_RGMII_SEL]; in ksz_set_xmii()
2772 data8 &= ~P_MII_MAC_MODE; in ksz_set_xmii()
2781 data8 |= P_RGMII_ID_EG_ENABLE; in ksz_set_xmii()
2784 data8 |= P_RGMII_ID_IG_ENABLE; in ksz_set_xmii()
2787 ksz_pwrite8(dev, port, regs[P_XMII_CTRL_1], data8); in ksz_set_xmii()
2795 u8 data8; in ksz_get_xmii() local
2798 ksz_pread8(dev, port, regs[P_XMII_CTRL_1], &data8); in ksz_get_xmii()
2800 val = FIELD_GET(P_MII_SEL_M, data8); in ksz_get_xmii()
2811 if (data8 & P_RGMII_ID_EG_ENABLE) in ksz_get_xmii()
2813 if (data8 & P_RGMII_ID_IG_ENABLE) { in ksz_get_xmii()
2815 if (data8 & P_RGMII_ID_EG_ENABLE) in ksz_get_xmii()
2855 u8 data8; in ksz_get_gbit() local
2858 ksz_pread8(dev, port, regs[P_XMII_CTRL_1], &data8); in ksz_get_gbit()
2860 val = FIELD_GET(P_GMII_1GBIT_M, data8); in ksz_get_gbit()
2872 u8 data8; in ksz_set_gbit() local
2874 ksz_pread8(dev, port, regs[P_XMII_CTRL_1], &data8); in ksz_set_gbit()
2876 data8 &= ~P_GMII_1GBIT_M; in ksz_set_gbit()
2879 data8 |= FIELD_PREP(P_GMII_1GBIT_M, bitval[P_GMII_1GBIT]); in ksz_set_gbit()
2881 data8 |= FIELD_PREP(P_GMII_1GBIT_M, bitval[P_GMII_NOT_1GBIT]); in ksz_set_gbit()
2884 ksz_pwrite8(dev, port, regs[P_XMII_CTRL_1], data8); in ksz_set_gbit()
2891 u8 data8; in ksz_set_100_10mbit() local
2893 ksz_pread8(dev, port, regs[P_XMII_CTRL_0], &data8); in ksz_set_100_10mbit()
2895 data8 &= ~P_MII_100MBIT_M; in ksz_set_100_10mbit()
2898 data8 |= FIELD_PREP(P_MII_100MBIT_M, bitval[P_MII_100MBIT]); in ksz_set_100_10mbit()
2900 data8 |= FIELD_PREP(P_MII_100MBIT_M, bitval[P_MII_10MBIT]); in ksz_set_100_10mbit()
2903 ksz_pwrite8(dev, port, regs[P_XMII_CTRL_0], data8); in ksz_set_100_10mbit()