Lines Matching refs:mcp251x_priv
227 struct mcp251x_priv { struct
265 struct mcp251x_priv *priv = spi_get_drvdata(spi); \ argument
273 struct mcp251x_priv *priv = netdev_priv(net); in mcp251x_clean()
298 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_spi_trans()
319 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_spi_write()
331 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_read_reg()
349 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_read_2regs()
370 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_write_reg()
381 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_write_2regs()
394 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_write_bits()
443 struct mcp251x_priv *priv = gpiochip_get_data(chip); in mcp251x_gpio_request()
464 struct mcp251x_priv *priv = gpiochip_get_data(chip); in mcp251x_gpio_free()
491 struct mcp251x_priv *priv = gpiochip_get_data(chip); in mcp251x_gpio_get()
512 struct mcp251x_priv *priv = gpiochip_get_data(chip); in mcp251x_gpio_get_multiple()
536 struct mcp251x_priv *priv = gpiochip_get_data(chip); in mcp251x_gpio_set()
554 struct mcp251x_priv *priv = gpiochip_get_data(chip); in mcp251x_gpio_set_multiple()
576 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_gpio_restore()
581 static int mcp251x_gpio_setup(struct mcp251x_priv *priv) in mcp251x_gpio_setup()
611 static inline int mcp251x_gpio_setup(struct mcp251x_priv *priv) in mcp251x_gpio_setup()
620 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_hw_tx_frame()
637 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_hw_tx()
668 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_hw_rx_frame()
696 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_hw_rx()
783 struct mcp251x_priv *priv = netdev_priv(net); in mcp251x_hard_start_xmit()
803 struct mcp251x_priv *priv = netdev_priv(net); in mcp251x_do_set_mode()
824 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_set_normal_mode()
858 struct mcp251x_priv *priv = netdev_priv(net); in mcp251x_do_set_bittiming()
892 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_hw_reset()
949 struct mcp251x_priv *priv = netdev_priv(net); in mcp251x_stop()
993 struct mcp251x_priv *priv = container_of(ws, struct mcp251x_priv, in mcp251x_tx_work_handler()
1019 struct mcp251x_priv *priv = container_of(ws, struct mcp251x_priv, in mcp251x_restart_work_handler()
1059 struct mcp251x_priv *priv = dev_id; in mcp251x_can_ist()
1202 struct mcp251x_priv *priv = netdev_priv(net); in mcp251x_open()
1301 struct mcp251x_priv *priv; in mcp251x_can_probe()
1319 net = alloc_candev(sizeof(struct mcp251x_priv), TX_ECHO_SKB_MAX); in mcp251x_can_probe()
1434 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_can_remove()
1452 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_can_suspend()
1479 struct mcp251x_priv *priv = spi_get_drvdata(spi); in mcp251x_can_resume()