Searched refs:devaddr (Results 1 – 10 of 10) sorted by relevance
/drivers/staging/iio/adc/ |
D | ad7280a.c | 206 static int ad7280_write(struct ad7280_state *st, unsigned int devaddr, in ad7280_write() argument 209 unsigned int reg = devaddr << 27 | addr << 21 | in ad7280_write() 218 static int ad7280_read(struct ad7280_state *st, unsigned int devaddr, in ad7280_read() argument 233 ret = ad7280_write(st, devaddr, AD7280A_CONTROL_HB, 0, in ad7280_read() 241 ret = ad7280_write(st, devaddr, AD7280A_READ, 0, addr << 2); in ad7280_read() 252 if (((tmp >> 27) != devaddr) || (((tmp >> 21) & 0x3F) != addr)) in ad7280_read() 258 static int ad7280_read_channel(struct ad7280_state *st, unsigned int devaddr, in ad7280_read_channel() argument 264 ret = ad7280_write(st, devaddr, AD7280A_READ, 0, addr << 2); in ad7280_read_channel() 275 ret = ad7280_write(st, devaddr, AD7280A_CONTROL_HB, 0, in ad7280_read_channel() 292 if (((tmp >> 27) != devaddr) || (((tmp >> 23) & 0xF) != addr)) in ad7280_read_channel() [all …]
|
/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 | 1663 unsigned lmc_mii_readreg (lmc_softc_t * const sc, unsigned devaddr, unsigned regno) /*fold00*/ in lmc_mii_readreg() argument 1666 int command = (0xf6 << 10) | (devaddr << 5) | regno; in lmc_mii_readreg() 1697 void lmc_mii_writereg (lmc_softc_t * const sc, unsigned devaddr, unsigned regno, unsigned data) /*f… in lmc_mii_writereg() argument 1700 int command = (0x5002 << 16) | (devaddr << 23) | (regno << 18) | data; in lmc_mii_writereg()
|
/drivers/macintosh/ |
D | smu.c | 847 cmd->info.caddr = cmd->info.devaddr; in smu_queue_i2c() 848 cmd->read = cmd->info.devaddr & 0x01; in smu_queue_i2c() 854 cmd->info.devaddr &= 0xfe; in smu_queue_i2c()
|
/drivers/staging/octeon-usb/ |
D | octeon-hcd.h | 1035 __BITFIELD_FIELD(u32 devaddr : 7,
|
D | octeon-hcd.c | 1772 usbc_hcchar.s.devaddr = pipe->device_addr; in cvmx_usb_start_channel()
|
/drivers/scsi/esas2r/ |
D | atvda.h | 922 struct atto_dev_addr devaddr; member
|
/drivers/usb/core/ |
D | hub.c | 897 clear->devinfo |= ((u16)udev->devaddr) << 4; in usb_hub_clear_tt_buffer() 2166 if (!udev->devaddr) in update_devnum() 2167 udev->devaddr = (u8)devnum; in update_devnum()
|
/drivers/usb/gadget/udc/ |
D | tegra-xudc.c | 282 BUILD_EP_CONTEXT_RW(devaddr, rsvd[6], 0, 0x7f)
|
/drivers/usb/host/ |
D | xhci.c | 4256 udev->devaddr = (u8)(le32_to_cpu(slot_ctx->dev_state) & DEV_ADDR_MASK); in xhci_setup_device()
|