Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/iio/adc/
Dad7280a.c216 static int ad7280_write(struct ad7280_state *st, unsigned devaddr, in ad7280_write() argument
219 unsigned reg = (devaddr << 27 | addr << 21 | in ad7280_write()
228 static int ad7280_read(struct ad7280_state *st, unsigned devaddr, in ad7280_read() argument
243 ret = ad7280_write(st, devaddr, AD7280A_CONTROL_HB, 0, in ad7280_read()
251 ret = ad7280_write(st, devaddr, AD7280A_READ, 0, addr << 2); in ad7280_read()
260 if (((tmp >> 27) != devaddr) || (((tmp >> 21) & 0x3F) != addr)) in ad7280_read()
266 static int ad7280_read_channel(struct ad7280_state *st, unsigned devaddr, in ad7280_read_channel() argument
272 ret = ad7280_write(st, devaddr, AD7280A_READ, 0, addr << 2); in ad7280_read_channel()
283 ret = ad7280_write(st, devaddr, AD7280A_CONTROL_HB, 0, in ad7280_read_channel()
298 if (((tmp >> 27) != devaddr) || (((tmp >> 23) & 0xF) != addr)) in ad7280_read_channel()
[all …]
/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-i2c-bmp0851 What: /sys/bus/i2c/devices/<busnum>-<devaddr>/pressure0_input
10 What: /sys/bus/i2c/devices/<busnum>-<devaddr>/temp0_input
19 What: /sys/bus/i2c/devices/<busnum>-<devaddr>/oversampling
/linux-3.4.99/arch/arm/plat-omap/include/plat/
Dboard-sx1.h44 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value);
45 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value);
/linux-3.4.99/drivers/net/wan/lmc/
Dlmc.h11 devaddr, unsigned regno);
12 void lmc_mii_writereg(lmc_softc_t * const sc, unsigned devaddr,
Dlmc_main.c1752 unsigned lmc_mii_readreg (lmc_softc_t * const sc, unsigned devaddr, unsigned regno) /*fold00*/ in lmc_mii_readreg() argument
1755 int command = (0xf6 << 10) | (devaddr << 5) | regno; in lmc_mii_readreg()
1794 void lmc_mii_writereg (lmc_softc_t * const sc, unsigned devaddr, unsigned regno, unsigned data) /*f… in lmc_mii_writereg() argument
1797 int command = (0x5002 << 16) | (devaddr << 23) | (regno << 18) | data; in lmc_mii_writereg()
/linux-3.4.99/arch/arm/mach-omap1/
Dboard-sx1.c51 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value) in sx1_i2c_write_byte() argument
61 msg->addr = devaddr; /* I2C address of chip */ in sx1_i2c_write_byte()
75 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value) in sx1_i2c_read_byte() argument
86 msg->addr = devaddr; /* I2C address of chip */ in sx1_i2c_read_byte()
93 msg->addr = devaddr; /* I2C address */ in sx1_i2c_read_byte()
/linux-3.4.99/arch/powerpc/boot/
Dmv64x60_i2c.c96 int mv64x60_i2c_read(u32 devaddr, u8 *buf, u32 offset, u32 offset_size, in mv64x60_i2c_read() argument
124 data = devaddr & ~0x1; in mv64x60_i2c_read()
147 data = devaddr | 0x1; in mv64x60_i2c_read()
Dmv64x60.h66 int mv64x60_i2c_read(u32 devaddr, u8 *buf, u32 offset, u32 offset_size,
/linux-3.4.99/drivers/uwb/
Duwb-debug.c217 struct uwb_dev_addr devaddr; in reservations_print() local
224 devaddr = rsv->target.dev->dev_addr; in reservations_print()
227 devaddr = rsv->target.devaddr; in reservations_print()
230 uwb_dev_addr_print(target, sizeof(target), &devaddr); in reservations_print()
Drsv.c109 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()
Dbeacon.c210 const struct uwb_dev_addr *devaddr) in uwb_dev_get_by_devaddr() argument
216 bce = __uwb_beca_find_bydev(rc, devaddr); in uwb_dev_get_by_devaddr()
Ddrp-ie.c226 drp_ie->dev_addr = rsv->target.devaddr; in uwb_drp_ie_update()
Duwb-internal.h304 const struct uwb_dev_addr *devaddr);
/linux-3.4.99/arch/arm/plat-s3c24xx/
Ddma.c1104 unsigned long devaddr) in s3c2410_dma_devconfig() argument
1113 __func__, (int)source, devaddr); in s3c2410_dma_devconfig()
1116 chan->dev_addr = devaddr; in s3c2410_dma_devconfig()
1136 __func__, devaddr, hwcfg); in s3c2410_dma_devconfig()
1138 dma_wrreg(chan, S3C2410_DMA_DISRC, devaddr); in s3c2410_dma_devconfig()
1147 __func__, devaddr, hwcfg); in s3c2410_dma_devconfig()
1149 dma_wrreg(chan, S3C2410_DMA_DIDST, devaddr); in s3c2410_dma_devconfig()
/linux-3.4.99/arch/arm/plat-samsung/include/plat/
Ddma.h115 enum dma_data_direction source, unsigned long devaddr);
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_eeprom.c412 static int i2c_probe(struct ipath_devdata *dd, int devaddr) in i2c_probe() argument
419 devaddr); in i2c_probe()
426 ret = i2c_startcmd(dd, devaddr | READ_CMD); in i2c_probe()
429 devaddr); in i2c_probe()
439 ipath_cdbg(VERBOSE, "Response from device 0x%02X\n", devaddr); in i2c_probe()
/linux-3.4.99/drivers/usb/wusbcore/
Dreservation.c91 rsv->target.devaddr = bcid; in wusbhc_rsv_establish()
/linux-3.4.99/arch/arm/mach-s3c64xx/
Ddma.c420 unsigned long devaddr) in s3c2410_dma_devconfig() argument
427 __func__, channel, source, devaddr, chan); in s3c2410_dma_devconfig()
435 chan->dev_addr = devaddr; in s3c2410_dma_devconfig()
/linux-3.4.99/arch/powerpc/include/asm/
Dsmu.h492 u8 devaddr; /* device address (includes direction) */ member
/linux-3.4.99/include/linux/
Duwb.h180 struct uwb_dev_addr devaddr; member
480 const struct uwb_dev_addr *devaddr);
/linux-3.4.99/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()
853 cmd->info.devaddr &= 0xfe; in smu_queue_i2c()
/linux-3.4.99/drivers/scsi/
Deata.c994 unsigned long devaddr; in do_dma() local
1000 devaddr = H2DEV(addr); in do_dma()
1001 byaddr = (unsigned char *)&devaddr; in do_dma()
/linux-3.4.99/arch/powerpc/platforms/powermac/
Dlow_i2c.c855 cmd->info.devaddr = addrdir; in smu_i2c_xfer()