Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/can/spi/
Dmcp251x.c200 #define SPI_TRANSFER_BUF_LEN (6 + CAN_FRAME_MAX_DATA_LEN) macro
639 u8 buf[SPI_TRANSFER_BUF_LEN]; in mcp251x_hw_tx()
684 SPI_TRANSFER_BUF_LEN); in mcp251x_hw_rx_frame()
686 SPI_TRANSFER_BUF_LEN - 1); in mcp251x_hw_rx_frame()
688 mcp251x_spi_trans(spi, SPI_TRANSFER_BUF_LEN); in mcp251x_hw_rx_frame()
689 memcpy(buf, priv->spi_rx_buf, SPI_TRANSFER_BUF_LEN); in mcp251x_hw_rx_frame()
699 u8 buf[SPI_TRANSFER_BUF_LEN]; in mcp251x_hw_rx()
1380 priv->spi_tx_buf = devm_kzalloc(&spi->dev, SPI_TRANSFER_BUF_LEN, in mcp251x_can_probe()
1387 priv->spi_rx_buf = devm_kzalloc(&spi->dev, SPI_TRANSFER_BUF_LEN, in mcp251x_can_probe()
/linux-6.12.1/drivers/net/ethernet/microchip/
Denc28j60.c41 #define SPI_TRANSFER_BUF_LEN (4 + MAX_FRAMELEN) macro
71 u8 spi_transfer_buf[SPI_TRANSFER_BUF_LEN];
126 if (len > SPI_TRANSFER_BUF_LEN - 1 || len <= 0) in spi_write_buf()