Searched refs:spi_tx_buf (Results 1 – 5 of 5) sorted by relevance
/linux-6.14.4/drivers/net/can/spi/ |
D | mcp251x.c | 235 u8 *spi_tx_buf; member 300 .tx_buf = priv->spi_tx_buf, in mcp251x_spi_trans() 322 ret = spi_write(spi, priv->spi_tx_buf, len); in mcp251x_spi_write() 334 priv->spi_tx_buf[0] = INSTRUCTION_READ; in mcp251x_read_reg() 335 priv->spi_tx_buf[1] = reg; in mcp251x_read_reg() 338 spi_write_then_read(spi, priv->spi_tx_buf, 2, &val, 1); in mcp251x_read_reg() 351 priv->spi_tx_buf[0] = INSTRUCTION_READ; in mcp251x_read_2regs() 352 priv->spi_tx_buf[1] = reg; in mcp251x_read_2regs() 357 spi_write_then_read(spi, priv->spi_tx_buf, 2, val, 2); in mcp251x_read_2regs() 372 priv->spi_tx_buf[0] = INSTRUCTION_WRITE; in mcp251x_write_reg() [all …]
|
D | hi311x.c | 152 u8 *spi_tx_buf; member 204 .tx_buf = priv->spi_tx_buf, in hi3110_spi_trans() 226 priv->spi_tx_buf[0] = command; in hi3110_cmd() 237 priv->spi_tx_buf[0] = command; in hi3110_read() 248 priv->spi_tx_buf[0] = reg; in hi3110_write() 249 priv->spi_tx_buf[1] = val; in hi3110_write() 257 priv->spi_tx_buf[0] = HI3110_WRITE_FIFO; in hi3110_hw_tx_frame() 258 memcpy(priv->spi_tx_buf + 1, buf, len); in hi3110_hw_tx_frame() 309 priv->spi_tx_buf[0] = HI3110_READ_FIFO_WOTIME; in hi3110_hw_rx_frame() 914 priv->spi_tx_buf = devm_kzalloc(&spi->dev, HI3110_RX_BUF_LEN, in hi3110_can_probe() [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | peb2466.c | 42 u8 spi_tx_buf[2 + 8]; /* Cannot use stack area for SPI (dma-safe memory) */ member 136 .tx_buf = &peb2466->spi_tx_buf, in peb2466_write_byte() 140 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_W; in peb2466_write_byte() 141 peb2466->spi_tx_buf[1] = val; in peb2466_write_byte() 144 peb2466->spi_tx_buf[0], peb2466->spi_tx_buf[1]); in peb2466_write_byte() 152 .tx_buf = &peb2466->spi_tx_buf, in peb2466_read_byte() 158 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_R; in peb2466_read_byte() 167 peb2466->spi_tx_buf[0], peb2466->spi_rx_buf[1]); in peb2466_read_byte() 174 peb2466->spi_tx_buf[0], *val); in peb2466_read_byte() 182 .tx_buf = &peb2466->spi_tx_buf, in peb2466_write_buf() [all …]
|
D | idt821034.c | 28 u8 spi_tx_buf; /* Cannot use stack area for SPI (dma-safe memory) */ member 55 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_write() 59 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_write() 64 idt821034->spi_tx_buf = val; in idt821034_8bit_write() 85 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_read() 90 .tx_buf = &idt821034->spi_tx_buf, in idt821034_8bit_read() 96 idt821034->spi_tx_buf = valw; in idt821034_8bit_read()
|
/linux-6.14.4/drivers/iio/dac/ |
D | ad8460.c | 89 __le16 spi_tx_buf __aligned(IIO_DMA_MINALIGN); 159 &state->spi_tx_buf, AD8460_DATA_BYTE_WORD_LENGTH); in ad8460_get_hvdac_word() 163 *val = le16_to_cpu(state->spi_tx_buf); in ad8460_get_hvdac_word() 170 state->spi_tx_buf = cpu_to_le16(FIELD_PREP(AD8460_DATA_BYTE_FULL_MSK, val)); in ad8460_set_hvdac_word() 173 &state->spi_tx_buf, AD8460_DATA_BYTE_WORD_LENGTH); in ad8460_set_hvdac_word()
|