Home
last modified time | relevance | path

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

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