Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/microchip/
Denc28j60.c72 u8 spi_transfer_buf[SPI_TRANSFER_BUF_LEN]; member
88 u8 *rx_buf = priv->spi_transfer_buf + 4; in spi_read_buf()
89 u8 *tx_buf = priv->spi_transfer_buf; in spi_read_buf()
130 priv->spi_transfer_buf[0] = ENC28J60_WRITE_BUF_MEM; in spi_write_buf()
131 memcpy(&priv->spi_transfer_buf[1], data, len); in spi_write_buf()
132 ret = spi_write(priv->spi, priv->spi_transfer_buf, len + 1); in spi_write_buf()
175 priv->spi_transfer_buf[0] = op | (addr & ADDR_MASK); in spi_write_op()
176 priv->spi_transfer_buf[1] = val; in spi_write_op()
177 ret = spi_write(priv->spi, priv->spi_transfer_buf, 2); in spi_write_op()