Searched refs:mcp251x_read_reg (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/net/can/spi/ |
D | mcp251x.c | 317 static u8 mcp251x_read_reg(struct spi_device *spi, u8 reg) in mcp251x_read_reg() function 394 return mcp251x_read_reg(spi, CANSTAT) & CANCTRL_REQOP_MASK; in mcp251x_read_stat() 491 val = mcp251x_read_reg(priv->spi, reg); in mcp251x_gpio_get() 506 val = mcp251x_read_reg(priv->spi, TXRTSCTRL); in mcp251x_gpio_get_multiple() 511 val = mcp251x_read_reg(priv->spi, BFPCTRL); in mcp251x_gpio_get_multiple() 665 buf[i] = mcp251x_read_reg(spi, RXBCTRL(buf_idx) + i); in mcp251x_hw_rx_frame() 669 buf[i] = mcp251x_read_reg(spi, RXBCTRL(buf_idx) + i); in mcp251x_hw_rx_frame() 863 mcp251x_read_reg(spi, CNF1), in mcp251x_do_set_bittiming() 864 mcp251x_read_reg(spi, CNF2), in mcp251x_do_set_bittiming() 865 mcp251x_read_reg(spi, CNF3)); in mcp251x_do_set_bittiming() [all …]
|