Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rtc/
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()
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()
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-6.1.9/sound/soc/codecs/
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()
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()
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()
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-6.1.9/drivers/iio/gyro/
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-6.1.9/drivers/input/misc/
Dadxl34x-spi.c33 return spi_w8r8(spi, cmd); in adxl34x_spi_read()
/linux-6.1.9/drivers/misc/lis3lv02d/
Dlis3lv02d_spi.c28 int ret = spi_w8r8(spi, reg | LIS3_SPI_READ); in lis3_spi_read()
/linux-6.1.9/drivers/hwmon/
Dadt7310.c59 return spi_w8r8(spi, AD7310_COMMAND(reg) | ADT7310_CMD_READ); in adt7310_spi_read_byte()
Dads7871.c73 ret = spi_w8r8(spi, reg); in ads7871_read_reg8()
/linux-6.1.9/drivers/misc/eeprom/
Dat25.c285 sr = spi_w8r8(at25->spi, AT25_RDSR); in at25_ee_write()
451 sr = spi_w8r8(spi, AT25_RDSR); in at25_probe()
/linux-6.1.9/drivers/iio/accel/
Dbma220_spi.c82 return spi_w8r8(spi, reg | BMA220_READ_MASK); in bma220_read_reg()
/linux-6.1.9/drivers/iio/proximity/
Das3935.c94 ret = spi_w8r8(st->spi, cmd); in as3935_read()
/linux-6.1.9/drivers/misc/
Dgehc-achc.c104 ret = spi_w8r8(spi, EZPORT_CMD_RDSR); in ezport_get_status_register()
/linux-6.1.9/include/linux/spi/
Dspi.h1332 static inline ssize_t spi_w8r8(struct spi_device *spi, u8 cmd) in spi_w8r8() function
/linux-6.1.9/drivers/mtd/devices/
Dmtd_dataflash.c132 return spi_w8r8(spi, OP_READ_STATUS); in dataflash_status()
/linux-6.1.9/drivers/staging/pi433/
Drf69.c22 return spi_w8r8(spi, addr); in rf69_read_reg()