Home
last modified time | relevance | path

Searched refs:spi_tx_buf (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/can/spi/
H A Dmcp251x.c236 u8 *spi_tx_buf; member
336 priv->spi_tx_buf[1] = reg; in mcp251x_read_reg()
353 priv->spi_tx_buf[1] = reg; in mcp251x_read_2regs()
374 priv->spi_tx_buf[1] = reg; in mcp251x_write_reg()
375 priv->spi_tx_buf[2] = val; in mcp251x_write_reg()
385 priv->spi_tx_buf[1] = reg; in mcp251x_write_2regs()
386 priv->spi_tx_buf[2] = v1; in mcp251x_write_2regs()
387 priv->spi_tx_buf[3] = v2; in mcp251x_write_2regs()
398 priv->spi_tx_buf[1] = reg; in mcp251x_write_bits()
400 priv->spi_tx_buf[3] = val; in mcp251x_write_bits()
[all …]
H A Dhi311x.c152 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()
908 priv->spi_tx_buf = devm_kzalloc(&spi->dev, HI3110_RX_BUF_LEN, in hi3110_can_probe()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dpeb2466.c137 .tx_buf = &peb2466->spi_tx_buf, in peb2466_write_byte()
141 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_W; in peb2466_write_byte()
142 peb2466->spi_tx_buf[1] = val; in peb2466_write_byte()
145 peb2466->spi_tx_buf[0], peb2466->spi_tx_buf[1]); in peb2466_write_byte()
153 .tx_buf = &peb2466->spi_tx_buf, in peb2466_read_byte()
159 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_R; in peb2466_read_byte()
175 peb2466->spi_tx_buf[0], *val); in peb2466_read_byte()
183 .tx_buf = &peb2466->spi_tx_buf, in peb2466_write_buf()
190 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_W; in peb2466_write_buf()
191 memcpy(&peb2466->spi_tx_buf[1], buf, len); in peb2466_write_buf()
[all …]
H A Didt821034.c28 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()