Home
last modified time | relevance | path

Searched refs:spi_w8r8 (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/rtc/
Drtc-m41t94.c66 ret = spi_w8r8(spi, M41T94_REG_HT); in m41t94_read_time()
76 ret = spi_w8r8(spi, M41T94_REG_SECONDS); in m41t94_read_time()
85 tm->tm_sec = bcd2bin(spi_w8r8(spi, M41T94_REG_SECONDS)); in m41t94_read_time()
86 tm->tm_min = bcd2bin(spi_w8r8(spi, M41T94_REG_MINUTES)); in m41t94_read_time()
87 hour = spi_w8r8(spi, M41T94_REG_HOURS); in m41t94_read_time()
89 tm->tm_wday = bcd2bin(spi_w8r8(spi, M41T94_REG_WDAY)) - 1; in m41t94_read_time()
90 tm->tm_mday = bcd2bin(spi_w8r8(spi, M41T94_REG_DAY)); in m41t94_read_time()
91 tm->tm_mon = bcd2bin(spi_w8r8(spi, M41T94_REG_MONTH)) - 1; in m41t94_read_time()
92 tm->tm_year = bcd2bin(spi_w8r8(spi, M41T94_REG_YEAR)); in m41t94_read_time()
121 res = spi_w8r8(spi, M41T94_REG_SECONDS); in m41t94_probe()
Drtc-m41t93.c97 tmp = spi_w8r8(spi, M41T93_REG_ALM_HOUR_HT); in m41t93_get_time()
107 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_get_time()
116 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_get_time()
173 res = spi_w8r8(spi, M41T93_REG_WDAY); in m41t93_probe()
Drtc-rs5c348.c167 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_SECS)); in rs5c348_probe()
178 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_probe()
199 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL1)); in rs5c348_probe()
/linux-3.4.99/arch/arm/mach-u300/
Ddummyspichip.c81 status = spi_w8r8(spi, 0xAA); in dummy_looptest()
167 status = spi_w8r8(spi, 0xAA); in dummy_looptest()
/linux-3.4.99/drivers/staging/iio/accel/
Dkxsd9.c83 ret = spi_w8r8(st->us, KXSD9_READ(KXSD9_REG_CTRL_C)); in kxsd9_write_scale()
168 ret = spi_w8r8(st->us, KXSD9_READ(KXSD9_REG_CTRL_C)); in kxsd9_read_raw()
/linux-3.4.99/drivers/input/misc/
Dadxl34x-spi.c33 return spi_w8r8(spi, cmd); in adxl34x_spi_read()
/linux-3.4.99/drivers/misc/eeprom/
Dat25.c220 sr = spi_w8r8(at25->spi, AT25_RDSR); in at25_ee_write()
325 sr = spi_w8r8(spi, AT25_RDSR); in at25_probe()
/linux-3.4.99/drivers/misc/lis3lv02d/
Dlis3lv02d_spi.c29 int ret = spi_w8r8(spi, reg | LIS3_SPI_READ); in lis3_spi_read()
/linux-3.4.99/drivers/hwmon/
Dads7871.c83 ret = spi_w8r8(spi, reg); in ads7871_read_reg8()
/linux-3.4.99/include/linux/spi/
Dspi.h698 static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd) in spi_w8r8() function
/linux-3.4.99/drivers/staging/iio/meter/
Dade7759.c70 ret = spi_w8r8(st->us, ADE7759_READ_REG(reg_address)); in ade7759_spi_read_reg_8()
Dade7753.c70 ret = spi_w8r8(st->us, ADE7753_READ_REG(reg_address)); in ade7753_spi_read_reg_8()
Dade7754.c70 ret = spi_w8r8(st->us, ADE7754_READ_REG(reg_address)); in ade7754_spi_read_reg_8()
/linux-3.4.99/drivers/mtd/devices/
Dmtd_dataflash.c122 return spi_w8r8(spi, OP_READ_STATUS); in dataflash_status()