/Linux-v4.19/drivers/staging/iio/adc/ |
D | ad7280a.c | 220 static int ad7280_write(struct ad7280_state *st, unsigned int devaddr, in ad7280_write() argument 223 unsigned int reg = devaddr << 27 | addr << 21 | in ad7280_write() 232 static int ad7280_read(struct ad7280_state *st, unsigned int devaddr, in ad7280_read() argument 247 ret = ad7280_write(st, devaddr, AD7280A_CONTROL_HB, 0, in ad7280_read() 255 ret = ad7280_write(st, devaddr, AD7280A_READ, 0, addr << 2); in ad7280_read() 264 if (((tmp >> 27) != devaddr) || (((tmp >> 21) & 0x3F) != addr)) in ad7280_read() 270 static int ad7280_read_channel(struct ad7280_state *st, unsigned int devaddr, in ad7280_read_channel() argument 276 ret = ad7280_write(st, devaddr, AD7280A_READ, 0, addr << 2); in ad7280_read_channel() 287 ret = ad7280_write(st, devaddr, AD7280A_CONTROL_HB, 0, in ad7280_read_channel() 302 if (((tmp >> 27) != devaddr) || (((tmp >> 23) & 0xF) != addr)) in ad7280_read_channel() [all …]
|
/Linux-v4.19/arch/arm/mach-omap1/ |
D | board-sx1.c | 49 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value) in sx1_i2c_write_byte() argument 59 msg->addr = devaddr; /* I2C address of chip */ in sx1_i2c_write_byte() 73 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value) in sx1_i2c_read_byte() argument 84 msg->addr = devaddr; /* I2C address of chip */ in sx1_i2c_read_byte() 91 msg->addr = devaddr; /* I2C address */ in sx1_i2c_read_byte()
|
D | board-sx1.h | 44 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value); 45 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value);
|
/Linux-v4.19/net/mac802154/ |
D | llsec.c | 555 struct ieee802154_addr devaddr = *addr; in llsec_lookup_key() local 561 devaddr.mode == IEEE802154_ADDR_NONE) { in llsec_lookup_key() 563 devaddr.extended_addr = sec->params.coord_hwaddr; in llsec_lookup_key() 564 devaddr.mode = IEEE802154_ADDR_LONG; in llsec_lookup_key() 565 } else if (llsec_recover_addr(sec, &devaddr) < 0) { in llsec_lookup_key() 580 if (ieee802154_addr_equal(&devaddr, &id->device_addr)) in llsec_lookup_key() 785 struct ieee802154_addr devaddr = *addr; in llsec_lookup_dev() local 788 if (devaddr.mode == IEEE802154_ADDR_NONE && in llsec_lookup_dev() 789 llsec_recover_addr(sec, &devaddr) < 0) in llsec_lookup_dev() 792 if (devaddr.mode == IEEE802154_ADDR_SHORT) { in llsec_lookup_dev() [all …]
|
/Linux-v4.19/drivers/net/wan/lmc/ |
D | lmc.h | 12 devaddr, unsigned regno); 13 void lmc_mii_writereg(lmc_softc_t * const sc, unsigned devaddr,
|
D | lmc_main.c | 1713 unsigned lmc_mii_readreg (lmc_softc_t * const sc, unsigned devaddr, unsigned regno) /*fold00*/ in lmc_mii_readreg() argument 1716 int command = (0xf6 << 10) | (devaddr << 5) | regno; in lmc_mii_readreg() 1755 void lmc_mii_writereg (lmc_softc_t * const sc, unsigned devaddr, unsigned regno, unsigned data) /*f… in lmc_mii_writereg() argument 1758 int command = (0x5002 << 16) | (devaddr << 23) | (regno << 18) | data; in lmc_mii_writereg()
|
/Linux-v4.19/drivers/uwb/ |
D | uwb-debug.c | 217 struct uwb_dev_addr devaddr; in reservations_show() local 223 devaddr = rsv->target.dev->dev_addr; in reservations_show() 226 devaddr = rsv->target.devaddr; in reservations_show() 229 uwb_dev_addr_print(target, sizeof(target), &devaddr); in reservations_show()
|
D | rsv.c | 109 struct uwb_dev_addr devaddr; in uwb_rsv_dump() local 114 devaddr = rsv->target.dev->dev_addr; in uwb_rsv_dump() 116 devaddr = rsv->target.devaddr; in uwb_rsv_dump() 117 uwb_dev_addr_print(target, sizeof(target), &devaddr); in uwb_rsv_dump()
|
D | beacon.c | 213 const struct uwb_dev_addr *devaddr) in uwb_dev_get_by_devaddr() argument 219 bce = __uwb_beca_find_bydev(rc, devaddr); in uwb_dev_get_by_devaddr()
|
D | drp-ie.c | 225 drp_ie->dev_addr = rsv->target.devaddr; in uwb_drp_ie_update()
|
D | uwb-internal.h | 306 const struct uwb_dev_addr *devaddr);
|
/Linux-v4.19/net/ieee802154/ |
D | nl-mac.c | 1037 __le64 devaddr; in llsec_del_dev() local 1042 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_del_dev() 1044 return ops->llsec->del_dev(dev, devaddr); in llsec_del_dev() 1117 __le64 devaddr; in llsec_add_devkey() local 1124 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_add_devkey() 1127 return ops->llsec->add_devkey(dev, devaddr, &key); in llsec_add_devkey() 1143 __le64 devaddr; in llsec_del_devkey() local 1149 devaddr = nla_get_hwaddr(info->attrs[IEEE802154_ATTR_HW_ADDR]); in llsec_del_devkey() 1151 return ops->llsec->del_devkey(dev, devaddr, &key); in llsec_del_devkey() 1161 __le64 devaddr, in ieee802154_nl_fill_devkey() argument [all …]
|
/Linux-v4.19/drivers/usb/wusbcore/ |
D | reservation.c | 83 rsv->target.devaddr = bcid; in wusbhc_rsv_establish()
|
/Linux-v4.19/include/linux/ |
D | uwb.h | 180 struct uwb_dev_addr devaddr; member 480 const struct uwb_dev_addr *devaddr);
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | smu.h | 486 u8 devaddr; /* device address (includes direction) */ member
|
/Linux-v4.19/drivers/macintosh/ |
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() 853 cmd->info.devaddr &= 0xfe; in smu_queue_i2c()
|
/Linux-v4.19/drivers/staging/octeon-usb/ |
D | octeon-hcd.h | 1035 __BITFIELD_FIELD(u32 devaddr : 7,
|
D | octeon-hcd.c | 1771 usbc_hcchar.s.devaddr = pipe->device_addr; in cvmx_usb_start_channel()
|
/Linux-v4.19/drivers/scsi/esas2r/ |
D | atvda.h | 922 struct atto_dev_addr devaddr; member
|
/Linux-v4.19/arch/powerpc/platforms/powermac/ |
D | low_i2c.c | 856 cmd->info.devaddr = addrdir; in smu_i2c_xfer()
|