Lines Matching refs:spi_device
242 struct spi_device *spi;
269 static inline int mcp251x_is_##_model(struct spi_device *spi) \
305 static int mcp251x_spi_trans(struct spi_device *spi, int len) in mcp251x_spi_trans()
333 static u8 mcp251x_read_reg(struct spi_device *spi, uint8_t reg) in mcp251x_read_reg()
347 static void mcp251x_read_2regs(struct spi_device *spi, uint8_t reg, in mcp251x_read_2regs()
361 static void mcp251x_write_reg(struct spi_device *spi, u8 reg, uint8_t val) in mcp251x_write_reg()
372 static void mcp251x_write_bits(struct spi_device *spi, u8 reg, in mcp251x_write_bits()
385 static void mcp251x_hw_tx_frame(struct spi_device *spi, u8 *buf, in mcp251x_hw_tx_frame()
402 static void mcp251x_hw_tx(struct spi_device *spi, struct can_frame *frame, in mcp251x_hw_tx()
433 static void mcp251x_hw_rx_frame(struct spi_device *spi, u8 *buf, in mcp251x_hw_rx_frame()
454 static void mcp251x_hw_rx(struct spi_device *spi, int buf_idx) in mcp251x_hw_rx()
500 static void mcp251x_hw_sleep(struct spi_device *spi) in mcp251x_hw_sleep()
509 struct spi_device *spi = priv->spi; in mcp251x_hard_start_xmit()
547 static int mcp251x_set_normal_mode(struct spi_device *spi) in mcp251x_set_normal_mode()
586 struct spi_device *spi = priv->spi; in mcp251x_do_set_bittiming()
606 struct spi_device *spi) in mcp251x_setup()
617 static int mcp251x_hw_reset(struct spi_device *spi) in mcp251x_hw_reset()
645 static int mcp251x_hw_probe(struct spi_device *spi) in mcp251x_hw_probe()
669 struct spi_device *spi = priv->spi; in mcp251x_open_clean()
682 struct spi_device *spi = priv->spi; in mcp251x_stop()
732 struct spi_device *spi = priv->spi; in mcp251x_tx_work_handler()
758 struct spi_device *spi = priv->spi; in mcp251x_restart_work_handler()
793 struct spi_device *spi = priv->spi; in mcp251x_can_ist()
923 struct spi_device *spi = priv->spi; in mcp251x_open()
984 static int __devinit mcp251x_can_probe(struct spi_device *spi) in mcp251x_can_probe()
1104 static int __devexit mcp251x_can_remove(struct spi_device *spi) in mcp251x_can_remove()
1128 static int mcp251x_can_suspend(struct spi_device *spi, pm_message_t state) in mcp251x_can_suspend()
1159 static int mcp251x_can_resume(struct spi_device *spi) in mcp251x_can_resume()