/linux/drivers/rtc/ |
A D | rtc-m41t94.c | 63 ret = spi_w8r8(spi, M41T94_REG_HT); in m41t94_read_time() 73 ret = spi_w8r8(spi, M41T94_REG_SECONDS); in m41t94_read_time() 82 tm->tm_sec = bcd2bin(spi_w8r8(spi, M41T94_REG_SECONDS)); in m41t94_read_time() 83 tm->tm_min = bcd2bin(spi_w8r8(spi, M41T94_REG_MINUTES)); in m41t94_read_time() 84 hour = spi_w8r8(spi, M41T94_REG_HOURS); in m41t94_read_time() 86 tm->tm_wday = bcd2bin(spi_w8r8(spi, M41T94_REG_WDAY)) - 1; in m41t94_read_time() 87 tm->tm_mday = bcd2bin(spi_w8r8(spi, M41T94_REG_DAY)); in m41t94_read_time() 88 tm->tm_mon = bcd2bin(spi_w8r8(spi, M41T94_REG_MONTH)) - 1; in m41t94_read_time() 89 tm->tm_year = bcd2bin(spi_w8r8(spi, M41T94_REG_YEAR)); in m41t94_read_time() 117 res = spi_w8r8(spi, M41T94_REG_SECONDS); in m41t94_probe()
|
A D | rtc-m41t93.c | 63 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_set_time() 71 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_set_time() 116 tmp = spi_w8r8(spi, M41T93_REG_ALM_HOUR_HT); in m41t93_get_time() 126 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_get_time() 178 res = spi_w8r8(spi, M41T93_REG_WDAY); in m41t93_probe()
|
A D | rtc-rs5c348.c | 66 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_rtc_set_time() 113 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL2)); in rs5c348_rtc_read_time() 177 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_SECS)); in rs5c348_probe() 186 ret = spi_w8r8(spi, RS5C348_CMD_R(RS5C348_REG_CTL1)); in rs5c348_probe()
|
/linux/sound/soc/codecs/ |
A D | adau1372-spi.c | 25 spi_w8r8(spi, 0x00); in adau1372_spi_switch_mode() 26 spi_w8r8(spi, 0x00); in adau1372_spi_switch_mode() 27 spi_w8r8(spi, 0x00); in adau1372_spi_switch_mode()
|
A D | adau1977-spi.c | 27 spi_w8r8(spi, 0x00); in adau1977_spi_switch_mode() 28 spi_w8r8(spi, 0x00); in adau1977_spi_switch_mode() 29 spi_w8r8(spi, 0x00); in adau1977_spi_switch_mode()
|
A D | adau1781-spi.c | 25 spi_w8r8(spi, 0x00); in adau1781_spi_switch_mode() 26 spi_w8r8(spi, 0x00); in adau1781_spi_switch_mode() 27 spi_w8r8(spi, 0x00); in adau1781_spi_switch_mode()
|
A D | adau1761-spi.c | 25 spi_w8r8(spi, 0x00); in adau1761_spi_switch_mode() 26 spi_w8r8(spi, 0x00); in adau1761_spi_switch_mode() 27 spi_w8r8(spi, 0x00); in adau1761_spi_switch_mode()
|
/linux/drivers/iio/gyro/ |
A D | adxrs290.c | 165 temp = spi_w8r8(st->spi, cmd); in adxrs290_get_3db_freq() 225 ret = spi_w8r8(st->spi, ADXRS290_READ_REG(ADXRS290_REG_POWER_CTL)); in adxrs290_set_mode() 445 ret = spi_w8r8(spi, ADXRS290_READ_REG(reg)); in adxrs290_reg_access_rw() 641 val = spi_w8r8(spi, ADXRS290_READ_REG(ADXRS290_REG_ADI_ID)); in adxrs290_probe() 647 val = spi_w8r8(spi, ADXRS290_READ_REG(ADXRS290_REG_MEMS_ID)); in adxrs290_probe() 653 val = spi_w8r8(spi, ADXRS290_READ_REG(ADXRS290_REG_DEV_ID)); in adxrs290_probe()
|
/linux/drivers/hwmon/ |
A D | adt7310.c | 63 return spi_w8r8(spi, AD7310_COMMAND(reg) | ADT7310_CMD_READ); in adt7310_spi_read_byte()
|
A D | ads7871.c | 73 ret = spi_w8r8(spi, reg); in ads7871_read_reg8()
|
/linux/drivers/input/misc/ |
A D | adxl34x-spi.c | 33 return spi_w8r8(spi, cmd); in adxl34x_spi_read()
|
/linux/drivers/misc/lis3lv02d/ |
A D | lis3lv02d_spi.c | 28 int ret = spi_w8r8(spi, reg | LIS3_SPI_READ); in lis3_spi_read()
|
/linux/drivers/misc/eeprom/ |
A D | at25.c | 270 sr = spi_w8r8(at25->spi, AT25_RDSR); in at25_ee_write() 408 sr = spi_w8r8(spi, AT25_RDSR); in at25_probe()
|
/linux/drivers/iio/accel/ |
A D | bma220_spi.c | 83 return spi_w8r8(spi, reg | BMA220_READ_MASK); in bma220_read_reg()
|
/linux/drivers/iio/proximity/ |
A D | as3935.c | 93 ret = spi_w8r8(st->spi, cmd); in as3935_read()
|
/linux/drivers/misc/ |
A D | gehc-achc.c | 104 ret = spi_w8r8(spi, EZPORT_CMD_RDSR); in ezport_get_status_register()
|
/linux/include/linux/spi/ |
A D | spi.h | 1291 static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd) in spi_w8r8() function
|
/linux/drivers/staging/pi433/ |
A D | rf69.c | 31 retval = spi_w8r8(spi, addr); in rf69_read_reg()
|
A D | pi433_if.c | 1119 retval = spi_w8r8(spi, 0x10); in pi433_probe()
|
/linux/drivers/mtd/devices/ |
A D | mtd_dataflash.c | 125 return spi_w8r8(spi, OP_READ_STATUS); in dataflash_status()
|