Home
last modified time | relevance | path

Searched refs:devaddr (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/iio/adc/
Dad7280a.c246 static int ad7280_write(struct ad7280_state *st, unsigned int devaddr, in ad7280_write() argument
249 unsigned int reg = FIELD_PREP(AD7280A_TRANS_WRITE_DEVADDR_MSK, devaddr) | in ad7280_write()
264 static int ad7280_read_reg(struct ad7280_state *st, unsigned int devaddr, in ad7280_read_reg() argument
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()
312 static int ad7280_read_channel(struct ad7280_state *st, unsigned int devaddr, in ad7280_read_channel() argument
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()
354 if ((FIELD_GET(AD7280A_TRANS_READ_DEVADDR_MSK, tmp) != devaddr) || in ad7280_read_channel()
[all …]
/linux-6.6.21/net/mac802154/
Dllsec.c547 struct ieee802154_addr devaddr = *addr; in llsec_lookup_key() local
553 devaddr.mode == IEEE802154_ADDR_NONE) { in llsec_lookup_key()
555 devaddr.extended_addr = sec->params.coord_hwaddr; in llsec_lookup_key()
556 devaddr.mode = IEEE802154_ADDR_LONG; in llsec_lookup_key()
557 } else if (llsec_recover_addr(sec, &devaddr) < 0) { in llsec_lookup_key()
572 if (ieee802154_addr_equal(&devaddr, &id->device_addr)) in llsec_lookup_key()
780 struct ieee802154_addr devaddr = *addr; in llsec_lookup_dev() local
783 if (devaddr.mode == IEEE802154_ADDR_NONE && in llsec_lookup_dev()
784 llsec_recover_addr(sec, &devaddr) < 0) in llsec_lookup_dev()
787 if (devaddr.mode == IEEE802154_ADDR_SHORT) { in llsec_lookup_dev()
[all …]
/linux-6.6.21/arch/arm/mach-omap1/
Dboard-sx1.c45 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()
Dboard-sx1.h37 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value);
38 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value);
/linux-6.6.21/net/ieee802154/
Dnl-mac.c1032 __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 …]
/linux-6.6.21/arch/powerpc/include/asm/
Dsmu.h486 u8 devaddr; /* device address (includes direction) */ member
/linux-6.6.21/drivers/macintosh/
Dsmu.c846 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()
/linux-6.6.21/drivers/usb/host/
Docteon-hcd.h1035 __BITFIELD_FIELD(u32 devaddr : 7,
Docteon-hcd.c1774 usbc_hcchar.s.devaddr = pipe->device_addr; in cvmx_usb_start_channel()
Dxhci.c4182 udev->devaddr = (u8)(le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
/linux-6.6.21/include/linux/
Dphy.h1342 #define phy_read_mmd_poll_timeout(phydev, devaddr, regnum, val, cond, \ argument
1349 phydev, devaddr, regnum); \
Dusb.h686 u8 devaddr; member
/linux-6.6.21/drivers/scsi/esas2r/
Datvda.h922 struct atto_dev_addr devaddr; member
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dlow_i2c.c854 cmd->info.devaddr = addrdir; in smu_i2c_xfer()
/linux-6.6.21/drivers/usb/core/
Dhub.c905 clear->devinfo |= ((u16)udev->devaddr) << 4; in usb_hub_clear_tt_buffer()
2189 if (!udev->devaddr) in update_devnum()
2190 udev->devaddr = (u8)devnum; in update_devnum()
/linux-6.6.21/drivers/usb/gadget/udc/
Dtegra-xudc.c281 BUILD_EP_CONTEXT_RW(devaddr, rsvd[6], 0, 0x7f)