Searched refs:mdio_cfg (Results 1 – 2 of 2) sorted by relevance
62 u32 mdio_ctl, mdio_cfg; in enetc_mdio_write_c22() local66 mdio_cfg = ENETC_EMDIO_CFG; in enetc_mdio_write_c22()68 mdio_cfg &= ~MDIO_CFG_ENC45; in enetc_mdio_write_c22()70 enetc_mdio_wr(mdio_priv, ENETC_MDIO_CFG, mdio_cfg); in enetc_mdio_write_c22()95 u32 mdio_ctl, mdio_cfg; in enetc_mdio_write_c45() local98 mdio_cfg = ENETC_EMDIO_CFG; in enetc_mdio_write_c45()99 mdio_cfg |= MDIO_CFG_ENC45; in enetc_mdio_write_c45()101 enetc_mdio_wr(mdio_priv, ENETC_MDIO_CFG, mdio_cfg); in enetc_mdio_write_c45()132 u32 mdio_ctl, mdio_cfg; in enetc_mdio_read_c22() local136 mdio_cfg = ENETC_EMDIO_CFG; in enetc_mdio_read_c22()[all …]
20 int mdio_cfg; in tn40_mdio_set_speed() local23 mdio_cfg = (0x7d << 7) | 0x08; /* 1MHz */ in tn40_mdio_set_speed()25 mdio_cfg = 0xA08; /* 6MHz */ in tn40_mdio_set_speed()26 mdio_cfg |= (1 << 6); in tn40_mdio_set_speed()27 writel(mdio_cfg, regs + TN40_REG_MDIO_CMD_STAT); in tn40_mdio_set_speed()