Lines Matching refs:spi_tx_buf
160 u8 *spi_tx_buf; member
214 .tx_buf = priv->spi_tx_buf, in hi3110_spi_trans()
243 priv->spi_tx_buf[0] = command; in hi3110_cmd()
254 priv->spi_tx_buf[0] = command; in hi3110_read()
265 priv->spi_tx_buf[0] = reg; in hi3110_write()
266 priv->spi_tx_buf[1] = val; in hi3110_write()
274 priv->spi_tx_buf[0] = HI3110_WRITE_FIFO; in hi3110_hw_tx_frame()
275 memcpy(priv->spi_tx_buf + 1, buf, len); in hi3110_hw_tx_frame()
326 priv->spi_tx_buf[0] = HI3110_READ_FIFO_WOTIME; in hi3110_hw_rx_frame()
928 priv->spi_tx_buf = dmam_alloc_coherent(&spi->dev, in hi3110_can_probe()
933 if (priv->spi_tx_buf) { in hi3110_can_probe()
934 priv->spi_rx_buf = (priv->spi_tx_buf + (PAGE_SIZE / 2)); in hi3110_can_probe()
945 priv->spi_tx_buf = devm_kzalloc(&spi->dev, HI3110_RX_BUF_LEN, in hi3110_can_probe()
947 if (!priv->spi_tx_buf) { in hi3110_can_probe()