/openbmc/u-boot/drivers/net/phy/ |
H A D | micrel_ksz90x1.c | 231 static int ksz9021_phy_extread(struct phy_device *phydev, int addr, int devaddr, in ksz9021_phy_extread() argument 238 int devaddr, int regnum, u16 val) in ksz9021_phy_extwrite() argument 287 int devaddr, int regnum, u16 mode, u16 val) in ksz9031_phy_extended_write() argument 291 MII_KSZ9031_MMD_ACCES_CTRL, devaddr); in ksz9031_phy_extended_write() 297 MII_KSZ9031_MMD_ACCES_CTRL, (mode | devaddr)); in ksz9031_phy_extended_write() 303 int ksz9031_phy_extended_read(struct phy_device *phydev, int devaddr, in ksz9031_phy_extended_read() argument 307 MII_KSZ9031_MMD_ACCES_CTRL, devaddr); in ksz9031_phy_extended_read() 311 MII_KSZ9031_MMD_ACCES_CTRL, (devaddr | mode)); in ksz9031_phy_extended_read() 318 return ksz9031_phy_extended_read(phydev, devaddr, regnum, in ksz9031_phy_extread() 323 int devaddr, int regnum, u16 val) in ksz9031_phy_extwrite() argument [all …]
|
H A D | realtek.c | 62 int devaddr, int regnum) in rtl8211f_phy_extread() argument 68 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, devaddr); in rtl8211f_phy_extread() 76 int devaddr, int regnum, u16 val) in rtl8211f_phy_extwrite() argument 81 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, devaddr); in rtl8211f_phy_extwrite()
|
H A D | marvell.c | 106 int devaddr, int regnum) in m88e1xxx_phy_extread() argument 111 phy_write(phydev, MDIO_DEVAD_NONE, MII_MARVELL_PHY_PAGE, devaddr); in m88e1xxx_phy_extread() 119 int devaddr, int regnum, u16 val) in m88e1xxx_phy_extwrite() argument 123 phy_write(phydev, MDIO_DEVAD_NONE, MII_MARVELL_PHY_PAGE, devaddr); in m88e1xxx_phy_extwrite()
|
/openbmc/qemu/hw/input/ |
H A D | adb-mouse.c | 151 d->devaddr = buf[1] & 0xf; in adb_mouse_request() 152 trace_adb_device_mouse_request_change_addr(d->devaddr); in adb_mouse_request() 155 d->devaddr = buf[1] & 0xf; in adb_mouse_request() 173 d->devaddr, d->handler); in adb_mouse_request() 186 obuf[0] = d->devaddr; in adb_mouse_request() 211 d->devaddr = ADB_DEVID_MOUSE; in adb_mouse_reset() 246 d->devaddr = ADB_DEVID_MOUSE; in adb_mouse_initfn()
|
H A D | adb.c | 54 int devaddr, cmd, olen, i; in do_adb_request() local 72 s->pending |= (1 << d->devaddr); in do_adb_request() 77 devaddr = buf[0] >> 4; in do_adb_request() 82 if (d->devaddr == devaddr) { in do_adb_request() 121 if ((1 << d->devaddr) & poll_mask) { in adb_poll() 122 buf[0] = ADB_READREG | (d->devaddr << 4); in adb_poll() 284 VMSTATE_INT32(devaddr, ADBDevice),
|
H A D | adb-kbd.c | 255 d->devaddr = buf[1] & 0xf; in adb_kbd_request() 256 trace_adb_device_kbd_request_change_addr(d->devaddr); in adb_kbd_request() 259 d->devaddr = buf[1] & 0xf; in adb_kbd_request() 271 d->devaddr, d->handler); in adb_kbd_request() 289 obuf[0] = d->devaddr; in adb_kbd_request() 351 d->devaddr = ADB_DEVID_KEYBOARD; in adb_kbd_reset() 375 d->devaddr = ADB_DEVID_KEYBOARD; in adb_kbd_initfn()
|
H A D | trace-events | 7 adb_device_kbd_request_change_addr(int devaddr) "change addr to 0x%x" 8 adb_device_kbd_request_change_addr_and_handler(int devaddr, int handler) "change addr and handler t… 14 adb_device_mouse_request_change_addr(int devaddr) "change addr to 0x%x" 15 adb_device_mouse_request_change_addr_and_handler(int devaddr, int handler) "change addr and handler…
|
/openbmc/u-boot/board/corscience/tricorder/ |
H A D | tricorder-eeprom.c | 106 int tricorder_eeprom_read(unsigned devaddr) in tricorder_eeprom_read() argument 109 int ret = tricorder_get_eeprom(devaddr, &eeprom); in tricorder_eeprom_read() 127 int tricorder_eeprom_write(unsigned devaddr, const char *name, in tricorder_eeprom_write() argument 169 ret = eeprom_write(devaddr, 0, (unsigned char *)&eeprom, in tricorder_eeprom_write() 174 ret = eeprom_read(devaddr, 0, (unsigned char *)&eeprom_verify, in tricorder_eeprom_write()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7280a.c | 282 ret = ad7280_write(st, devaddr, AD7280A_CTRL_HB_REG, 0, in ad7280_read_reg() 293 ret = ad7280_write(st, devaddr, AD7280A_READ_REG, 0, in ad7280_read_reg() 305 if ((FIELD_GET(AD7280A_TRANS_READ_DEVADDR_MSK, tmp) != devaddr) || in ad7280_read_reg() 318 ret = ad7280_write(st, devaddr, AD7280A_READ_REG, 0, in ad7280_read_channel() 333 ret = ad7280_write(st, devaddr, AD7280A_CTRL_HB_REG, 0, in ad7280_read_channel() 487 unsigned int devaddr, ch; in ad7280_store_balance_sw() local 495 devaddr = chan->address >> 8; in ad7280_store_balance_sw() 500 st->cb_mask[devaddr] |= BIT(ch); in ad7280_store_balance_sw() 502 st->cb_mask[devaddr] &= ~BIT(ch); in ad7280_store_balance_sw() 504 ret = ad7280_write(st, devaddr, AD7280A_CELL_BALANCE_REG, 0, in ad7280_store_balance_sw() [all …]
|
/openbmc/u-boot/include/ |
H A D | micrel.h | 34 int ksz9031_phy_extended_write(struct phy_device *phydev, int devaddr, 36 int ksz9031_phy_extended_read(struct phy_device *phydev, int devaddr,
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | board-sx1.h | 37 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value); 38 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value);
|
H A D | board-sx1.c | 45 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value) in sx1_i2c_write_byte() argument 55 msg->addr = devaddr; /* I2C address of chip */ in sx1_i2c_write_byte() 69 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value) in sx1_i2c_read_byte() argument 80 msg->addr = devaddr; /* I2C address of chip */ in sx1_i2c_read_byte() 87 msg->addr = devaddr; /* I2C address */ in sx1_i2c_read_byte()
|
/openbmc/linux/net/mac802154/ |
H A D | llsec.c | 555 struct ieee802154_addr devaddr = *addr; in llsec_lookup_key() local 561 devaddr.mode == IEEE802154_ADDR_NONE) { in llsec_lookup_key() 564 devaddr.mode = IEEE802154_ADDR_LONG; in llsec_lookup_key() 788 struct ieee802154_addr devaddr = *addr; in llsec_lookup_dev() local 791 if (devaddr.mode == IEEE802154_ADDR_NONE && in llsec_lookup_dev() 792 llsec_recover_addr(sec, &devaddr) < 0) in llsec_lookup_dev() 795 if (devaddr.mode == IEEE802154_ADDR_SHORT) { in llsec_lookup_dev() 797 devaddr.pan_id); in llsec_lookup_dev() 801 if (dev->dev.pan_id == devaddr.pan_id && in llsec_lookup_dev() 802 dev->dev.short_addr == devaddr.short_addr) in llsec_lookup_dev() [all …]
|
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | rsb.c | 138 RSB_DEVADDR_DEVICE_ADDR(device_addr), &rsb->devaddr); in rsb_set_device_address() 149 writel(RSB_DEVADDR_RUNTIME_ADDR(runtime_device_addr), &rsb->devaddr); in rsb_write() 163 writel(RSB_DEVADDR_RUNTIME_ADDR(runtime_device_addr), &rsb->devaddr); in rsb_read()
|
/openbmc/openbmc/meta-google/recipes-google/networking/ |
H A D | gbmc-nic-rename.bb | 25 devaddr="$(echo "${str}" | cut -d'|' -f1)" 28 echo "Path=*-${devaddr}" >> ${WORKDIR}/30-netdev-${devname}.link
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ci_udc.h | 16 u32 devaddr; /* 0x144 */ member 37 u32 devaddr; /* 0x154 */ member
|
/openbmc/u-boot/cmd/ |
H A D | i2c.c | 294 uint devaddr, length; in do_i2c_read() local 314 devaddr = simple_strtoul(argv[2], NULL, 16); in do_i2c_read() 334 ret = dm_i2c_read(dev, devaddr, memaddr, length); in do_i2c_read() 336 ret = i2c_read(chip, devaddr, alen, memaddr, length); in do_i2c_read() 347 uint devaddr, length; in do_i2c_write() local 373 devaddr = simple_strtoul(argv[3], NULL, 16); in do_i2c_write() 403 ret = dm_i2c_write(dev, devaddr, memaddr, length); in do_i2c_write() 405 ret = i2c_write(chip, devaddr, alen, memaddr, length); in do_i2c_write() 417 ret = dm_i2c_write(dev, devaddr++, memaddr++, 1); in do_i2c_write() 419 ret = i2c_write(chip, devaddr++, alen, memaddr++, 1); in do_i2c_write()
|
/openbmc/linux/net/ieee802154/ |
H A D | nl-mac.c | 1032 __le64 devaddr; in llsec_del_dev() local 1037 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_del_dev() 1039 return ops->llsec->del_dev(dev, devaddr); in llsec_del_dev() 1112 __le64 devaddr; in llsec_add_devkey() local 1119 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_add_devkey() 1122 return ops->llsec->add_devkey(dev, devaddr, &key); in llsec_add_devkey() 1138 __le64 devaddr; in llsec_del_devkey() local 1144 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_del_devkey() 1146 return ops->llsec->del_devkey(dev, devaddr, &key); in llsec_del_devkey() 1156 __le64 devaddr, in ieee802154_nl_fill_devkey() argument [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/ |
H A D | rsb.h | 29 u32 devaddr; /* 0x30 */ member
|
/openbmc/qemu/include/hw/input/ |
H A D | adb.h | 52 int devaddr; member
|
/openbmc/u-boot/drivers/net/ |
H A D | pic32_mdio.c | 44 static int pic32_mdio_read(struct mii_dev *bus, int addr, int devaddr, int reg) in pic32_mdio_read() argument
|
H A D | bcm6368-eth.c | 468 static int bcm6368_mii_mdio_read(struct mii_dev *bus, int addr, int devaddr, in bcm6368_mii_mdio_read() argument 477 static int bcm6368_mii_mdio_write(struct mii_dev *bus, int addr, int devaddr, in bcm6368_mii_mdio_write() argument
|
/openbmc/u-boot/drivers/i2c/ |
H A D | ast_i2c.c | 176 static int ast_i2c_start_txn(struct udevice *dev, uint devaddr) in ast_i2c_start_txn() argument 181 writel(devaddr, &priv->regs->trbbr); in ast_i2c_start_txn()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | smu.h | 486 u8 devaddr; /* device address (includes direction) */ member
|
/openbmc/linux/drivers/macintosh/ |
H A D | smu.c | 846 cmd->info.caddr = cmd->info.devaddr; in smu_queue_i2c() 847 cmd->read = cmd->info.devaddr & 0x01; in smu_queue_i2c() 854 cmd->info.devaddr &= 0xfe; in smu_queue_i2c()
|