Home
last modified time | relevance | path

Searched refs:txrx_buf (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/rtc/
Drtc-ds1390.c50 u8 txrx_buf[9]; /* cmd + 8 registers */ member
77 chip->txrx_buf[0] = address & 0x7f; in ds1390_get_reg()
79 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 1); in ds1390_get_reg()
83 *data = chip->txrx_buf[0]; in ds1390_get_reg()
134 chip->txrx_buf[0] = DS1390_REG_SECONDS; in ds1390_read_time()
137 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 8); in ds1390_read_time()
143 dt->tm_sec = bcd2bin(chip->txrx_buf[0]); in ds1390_read_time()
144 dt->tm_min = bcd2bin(chip->txrx_buf[1]); in ds1390_read_time()
145 dt->tm_hour = bcd2bin(chip->txrx_buf[2]); in ds1390_read_time()
146 dt->tm_wday = bcd2bin(chip->txrx_buf[3]); in ds1390_read_time()
[all …]
/linux-6.12.1/drivers/spi/
Dspi-airoha-snfi.c212 u8 *txrx_buf; member
622 if (!as_dev->txrx_buf) in airoha_snand_dirmap_create()
759 memcpy(buf, as_dev->txrx_buf + offs, len); in airoha_snand_dirmap_read()
781 memcpy(as_dev->txrx_buf + offs, buf, len); in airoha_snand_dirmap_write()
969 as_dev->txrx_buf = devm_kzalloc(as_ctrl->dev, as_dev->buf_len, in airoha_snand_setup()
971 if (!as_dev->txrx_buf) in airoha_snand_setup()
974 as_dev->dma_addr = dma_map_single(as_ctrl->dev, as_dev->txrx_buf, in airoha_snand_setup()