Lines Matching defs:location
220 static u16 read_eeprom(void __iomem *ioaddr, int location);
221 static int mdio_read(struct net_device *net_dev, int phy_id, int location);
222 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val);
810 * @location: the EEPROM location to read
813 * Note that location is in word (16 bits) unit
816 static u16 read_eeprom(void __iomem *ioaddr, int location)
818 u32 read_cmd = location | EEread;
888 * @location: the phy register id to read
895 static int mdio_read(struct net_device *net_dev, int phy_id, int location)
897 int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
932 * @location: the phy register id to write
940 static void mdio_write(struct net_device *net_dev, int phy_id, int location,
943 int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift);