Searched refs:mcp251x_read_reg (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/net/can/spi/ |
D | mcp251x.c | 329 static u8 mcp251x_read_reg(struct spi_device *spi, u8 reg) in mcp251x_read_reg() function 406 return mcp251x_read_reg(spi, CANSTAT) & CANCTRL_REQOP_MASK; in mcp251x_read_stat() 503 val = mcp251x_read_reg(priv->spi, reg); in mcp251x_gpio_get() 518 val = mcp251x_read_reg(priv->spi, TXRTSCTRL); in mcp251x_gpio_get_multiple() 523 val = mcp251x_read_reg(priv->spi, BFPCTRL); in mcp251x_gpio_get_multiple() 674 buf[i] = mcp251x_read_reg(spi, RXBCTRL(buf_idx) + i); in mcp251x_hw_rx_frame() 678 buf[i] = mcp251x_read_reg(spi, RXBCTRL(buf_idx) + i); in mcp251x_hw_rx_frame() 872 mcp251x_read_reg(spi, CNF1), in mcp251x_do_set_bittiming() 873 mcp251x_read_reg(spi, CNF2), in mcp251x_do_set_bittiming() 874 mcp251x_read_reg(spi, CNF3)); in mcp251x_do_set_bittiming() [all …]
|