Searched refs:spi_w8r8 (Results 1 – 14 of 14) sorted by relevance
/linux-3.4.99/drivers/rtc/ |
D | rtc-m41t94.c | 66 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()
|
D | rtc-m41t93.c | 97 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()
|
D | rtc-rs5c348.c | 167 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/ |
D | dummyspichip.c | 81 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/ |
D | kxsd9.c | 83 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/ |
D | adxl34x-spi.c | 33 return spi_w8r8(spi, cmd); in adxl34x_spi_read()
|
/linux-3.4.99/drivers/misc/eeprom/ |
D | at25.c | 220 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/ |
D | lis3lv02d_spi.c | 29 int ret = spi_w8r8(spi, reg | LIS3_SPI_READ); in lis3_spi_read()
|
/linux-3.4.99/drivers/hwmon/ |
D | ads7871.c | 83 ret = spi_w8r8(spi, reg); in ads7871_read_reg8()
|
/linux-3.4.99/include/linux/spi/ |
D | spi.h | 698 static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd) in spi_w8r8() function
|
/linux-3.4.99/drivers/staging/iio/meter/ |
D | ade7759.c | 70 ret = spi_w8r8(st->us, ADE7759_READ_REG(reg_address)); in ade7759_spi_read_reg_8()
|
D | ade7753.c | 70 ret = spi_w8r8(st->us, ADE7753_READ_REG(reg_address)); in ade7753_spi_read_reg_8()
|
D | ade7754.c | 70 ret = spi_w8r8(st->us, ADE7754_READ_REG(reg_address)); in ade7754_spi_read_reg_8()
|
/linux-3.4.99/drivers/mtd/devices/ |
D | mtd_dataflash.c | 122 return spi_w8r8(spi, OP_READ_STATUS); in dataflash_status()
|