Lines Matching defs:spi

231 	struct spi_device *spi;  member
297 static int mcp251x_spi_trans(struct spi_device *spi, int len) in mcp251x_spi_trans()
318 static int mcp251x_spi_write(struct spi_device *spi, int len) in mcp251x_spi_write()
330 static u8 mcp251x_read_reg(struct spi_device *spi, u8 reg) in mcp251x_read_reg()
348 static void mcp251x_read_2regs(struct spi_device *spi, u8 reg, u8 *v1, u8 *v2) in mcp251x_read_2regs()
369 static void mcp251x_write_reg(struct spi_device *spi, u8 reg, u8 val) in mcp251x_write_reg()
380 static void mcp251x_write_2regs(struct spi_device *spi, u8 reg, u8 v1, u8 v2) in mcp251x_write_2regs()
392 static void mcp251x_write_bits(struct spi_device *spi, u8 reg, in mcp251x_write_bits()
405 static u8 mcp251x_read_stat(struct spi_device *spi) in mcp251x_read_stat()
575 static void mcp251x_gpio_restore(struct spi_device *spi) in mcp251x_gpio_restore()
608 static inline void mcp251x_gpio_restore(struct spi_device *spi) in mcp251x_gpio_restore()
618 static void mcp251x_hw_tx_frame(struct spi_device *spi, u8 *buf, in mcp251x_hw_tx_frame()
635 static void mcp251x_hw_tx(struct spi_device *spi, struct can_frame *frame, in mcp251x_hw_tx()
666 static void mcp251x_hw_rx_frame(struct spi_device *spi, u8 *buf, in mcp251x_hw_rx_frame()
695 static void mcp251x_hw_rx(struct spi_device *spi, int buf_idx) in mcp251x_hw_rx()
744 static void mcp251x_hw_sleep(struct spi_device *spi) in mcp251x_hw_sleep()
750 static int mcp251x_hw_wake(struct spi_device *spi) in mcp251x_hw_wake()
785 struct spi_device *spi = priv->spi; in mcp251x_hard_start_xmit() local
823 static int mcp251x_set_normal_mode(struct spi_device *spi) in mcp251x_set_normal_mode()
861 struct spi_device *spi = priv->spi; in mcp251x_do_set_bittiming() local
880 static int mcp251x_setup(struct net_device *net, struct spi_device *spi) in mcp251x_setup()
891 static int mcp251x_hw_reset(struct spi_device *spi) in mcp251x_hw_reset()
917 static int mcp251x_hw_probe(struct spi_device *spi) in mcp251x_hw_probe()
951 struct spi_device *spi = priv->spi; in mcp251x_stop() local
996 struct spi_device *spi = priv->spi; in mcp251x_tx_work_handler() local
1022 struct spi_device *spi = priv->spi; in mcp251x_restart_work_handler() local
1061 struct spi_device *spi = priv->spi; in mcp251x_can_ist() local
1204 struct spi_device *spi = priv->spi; in mcp251x_open() local
1302 static int mcp251x_can_probe(struct spi_device *spi) in mcp251x_can_probe()
1441 static void mcp251x_can_remove(struct spi_device *spi) in mcp251x_can_remove()
1460 struct spi_device *spi = to_spi_device(dev); in mcp251x_can_suspend() local
1487 struct spi_device *spi = to_spi_device(dev); in mcp251x_can_resume() local