Searched refs:spi_rx_buf (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/net/can/spi/ |
D | mcp251x.c | 237 u8 *spi_rx_buf; member 301 .rx_buf = priv->spi_rx_buf, in mcp251x_spi_trans() 329 val = priv->spi_rx_buf[2]; in mcp251x_read_reg() 351 *v1 = priv->spi_rx_buf[2]; in mcp251x_read_2regs() 352 *v2 = priv->spi_rx_buf[3]; in mcp251x_read_2regs() 674 priv->spi_rx_buf, in mcp251x_hw_rx_frame() 676 memcpy(buf + 1, priv->spi_rx_buf, in mcp251x_hw_rx_frame() 680 memcpy(buf, priv->spi_rx_buf, SPI_TRANSFER_BUF_LEN); in mcp251x_hw_rx_frame() 1374 priv->spi_rx_buf = devm_kzalloc(&spi->dev, SPI_TRANSFER_BUF_LEN, in mcp251x_can_probe() 1376 if (!priv->spi_rx_buf) { in mcp251x_can_probe()
|
D | hi311x.c | 153 u8 *spi_rx_buf; member 204 .rx_buf = priv->spi_rx_buf, in hi3110_spi_trans() 238 val = priv->spi_rx_buf[1]; in hi3110_read() 310 memcpy(buf, priv->spi_rx_buf + 1, HI3110_RX_BUF_LEN - 1); in hi3110_hw_rx_frame() 909 priv->spi_rx_buf = devm_kzalloc(&spi->dev, HI3110_RX_BUF_LEN, in hi3110_can_probe() 912 if (!priv->spi_rx_buf) { in hi3110_can_probe()
|