Home
last modified time | relevance | path

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

/linux/drivers/rtc/
A Drtc-m41t94.c63 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 Drtc-m41t93.c63 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 Drtc-rs5c348.c66 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 Dadau1372-spi.c25 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 Dadau1977-spi.c27 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 Dadau1781-spi.c25 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 Dadau1761-spi.c25 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 Dadxrs290.c165 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 Dadt7310.c63 return spi_w8r8(spi, AD7310_COMMAND(reg) | ADT7310_CMD_READ); in adt7310_spi_read_byte()
A Dads7871.c73 ret = spi_w8r8(spi, reg); in ads7871_read_reg8()
/linux/drivers/input/misc/
A Dadxl34x-spi.c33 return spi_w8r8(spi, cmd); in adxl34x_spi_read()
/linux/drivers/misc/lis3lv02d/
A Dlis3lv02d_spi.c28 int ret = spi_w8r8(spi, reg | LIS3_SPI_READ); in lis3_spi_read()
/linux/drivers/misc/eeprom/
A Dat25.c270 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 Dbma220_spi.c83 return spi_w8r8(spi, reg | BMA220_READ_MASK); in bma220_read_reg()
/linux/drivers/iio/proximity/
A Das3935.c93 ret = spi_w8r8(st->spi, cmd); in as3935_read()
/linux/drivers/misc/
A Dgehc-achc.c104 ret = spi_w8r8(spi, EZPORT_CMD_RDSR); in ezport_get_status_register()
/linux/include/linux/spi/
A Dspi.h1291 static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd) in spi_w8r8() function
/linux/drivers/staging/pi433/
A Drf69.c31 retval = spi_w8r8(spi, addr); in rf69_read_reg()
A Dpi433_if.c1119 retval = spi_w8r8(spi, 0x10); in pi433_probe()
/linux/drivers/mtd/devices/
A Dmtd_dataflash.c125 return spi_w8r8(spi, OP_READ_STATUS); in dataflash_status()

Completed in 44 milliseconds