Searched refs:mdio_ctl (Results 1 – 4 of 4) sorted by relevance
22 u32 mdio_ctl; in tgec_mdio_write() local36 mdio_ctl = MDIO_CTL_PORT_ADDR(port_addr) | MDIO_CTL_DEV_ADDR(dev_addr); in tgec_mdio_write()37 out_be32(®s->mdio_ctl, mdio_ctl); in tgec_mdio_write()64 u32 mdio_ctl; in tgec_mdio_read() local78 mdio_ctl = MDIO_CTL_PORT_ADDR(port_addr) | MDIO_CTL_DEV_ADDR(dev_addr); in tgec_mdio_read()79 out_be32(®s->mdio_ctl, mdio_ctl); in tgec_mdio_read()89 mdio_ctl |= MDIO_CTL_READ; in tgec_mdio_read()90 out_be32(®s->mdio_ctl, mdio_ctl); in tgec_mdio_read()
42 u32 mdio_ctl; in memac_mdio_write() local58 mdio_ctl = MDIO_CTL_PORT_ADDR(port_addr) | MDIO_CTL_DEV_ADDR(dev_addr); in memac_mdio_write()59 memac_out_32(®s->mdio_ctl, mdio_ctl); in memac_mdio_write()87 u32 mdio_ctl; in memac_mdio_read() local105 mdio_ctl = MDIO_CTL_PORT_ADDR(port_addr) | MDIO_CTL_DEV_ADDR(dev_addr); in memac_mdio_read()106 memac_out_32(®s->mdio_ctl, mdio_ctl); in memac_mdio_read()117 mdio_ctl |= MDIO_CTL_READ; in memac_mdio_read()118 memac_out_32(®s->mdio_ctl, mdio_ctl); in memac_mdio_read()
178 u32 mdio_ctl; /* MDIO control */ member
236 u32 mdio_ctl; /* MDIO control */ member