Lines Matching refs:spi_write_then_read
157 err = spi_write_then_read(ds1305->spi, buf, sizeof(buf), NULL, 0); in ds1305_alarm_irq_enable()
180 status = spi_write_then_read(ds1305->spi, &addr, sizeof(addr), in ds1305_get_time()
231 return spi_write_then_read(ds1305->spi, buf, sizeof(buf), in ds1305_set_time()
280 status = spi_write_then_read(spi, &addr, sizeof(addr), in ds1305_get_alarm()
290 status = spi_write_then_read(spi, &addr, sizeof(addr), in ds1305_get_alarm()
348 status = spi_write_then_read(ds1305->spi, buf, 2, NULL, 0); in ds1305_set_alarm()
364 status = spi_write_then_read(spi, buf, sizeof(buf), NULL, 0); in ds1305_set_alarm()
374 status = spi_write_then_read(ds1305->spi, buf, 2, NULL, 0); in ds1305_set_alarm()
456 status = spi_write_then_read(spi, buf, sizeof(buf), in ds1305_work()
577 status = spi_write_then_read(spi, &addr, sizeof(addr), in ds1305_probe()
609 status = spi_write_then_read(spi, buf, sizeof(buf), NULL, 0); in ds1305_probe()
663 status = spi_write_then_read(spi, buf, sizeof(buf), NULL, 0); in ds1305_probe()
675 status = spi_write_then_read(spi, &addr, sizeof(addr), in ds1305_probe()