Lines Matching refs:value

240 static int b53_mdio_write8(struct mii_dev *bus, u8 page, u8 reg, u8 value)  in b53_mdio_write8()  argument
245 REG_MII_DATA0, value); in b53_mdio_write8()
253 u16 value) in b53_mdio_write16() argument
258 REG_MII_DATA0, value); in b53_mdio_write16()
266 u32 value) in b53_mdio_write32() argument
269 u32 temp = value; in b53_mdio_write32()
284 u64 value) in b53_mdio_write48() argument
287 u64 temp = value; in b53_mdio_write48()
302 u64 value) in b53_mdio_write64() argument
305 u64 temp = value; in b53_mdio_write64()
320 u8 reg, u8 *value) in b53_read8() argument
322 return b53_mdio_read8(dev->bus, page, reg, value); in b53_read8()
326 u8 reg, u16 *value) in b53_read16() argument
328 return b53_mdio_read16(dev->bus, page, reg, value); in b53_read16()
332 u8 reg, u32 *value) in b53_read32() argument
334 return b53_mdio_read32(dev->bus, page, reg, value); in b53_read32()
338 u8 reg, u64 *value) in b53_read48() argument
340 return b53_mdio_read48(dev->bus, page, reg, value); in b53_read48()
344 u8 reg, u64 *value) in b53_read64() argument
346 return b53_mdio_read64(dev->bus, page, reg, value); in b53_read64()
350 u8 reg, u8 value) in b53_write8() argument
352 return b53_mdio_write8(dev->bus, page, reg, value); in b53_write8()
356 u8 reg, u16 value) in b53_write16() argument
358 return b53_mdio_write16(dev->bus, page, reg, value); in b53_write16()
362 u8 reg, u32 value) in b53_write32() argument
364 return b53_mdio_write32(dev->bus, page, reg, value); in b53_write32()
368 u8 reg, u64 value) in b53_write48() argument
370 return b53_mdio_write48(dev->bus, page, reg, value); in b53_write48()
374 u8 reg, u64 value) in b53_write64() argument
376 return b53_mdio_write64(dev->bus, page, reg, value); in b53_write64()
690 u32 value = 0; in do_b53_reg_write() local
704 value = simple_strtoul(argv[4], NULL, 16); in do_b53_reg_write()
708 ret = b53_mdio_write8(bus, page, offset, value & 0xff); in do_b53_reg_write()
711 ret = b53_mdio_write16(bus, page, offset, value); in do_b53_reg_write()
714 ret = b53_mdio_write32(bus, page, offset, value); in do_b53_reg_write()