Searched refs:m_can_classdev (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/can/m_can/ |
D | m_can.h | 60 struct m_can_classdev; 63 int (*clear_interrupts)(struct m_can_classdev *cdev); 64 u32 (*read_reg)(struct m_can_classdev *cdev, int reg); 65 int (*write_reg)(struct m_can_classdev *cdev, int reg, int val); 66 u32 (*read_fifo)(struct m_can_classdev *cdev, int addr_offset); 67 int (*write_fifo)(struct m_can_classdev *cdev, int addr_offset, 69 int (*init)(struct m_can_classdev *cdev); 72 struct m_can_classdev { struct 101 struct m_can_classdev *m_can_class_allocate_dev(struct device *dev); argument 103 int m_can_class_register(struct m_can_classdev *cdev); [all …]
|
D | m_can.c | 324 static inline u32 m_can_read(struct m_can_classdev *cdev, enum m_can_reg reg) in m_can_read() 329 static inline void m_can_write(struct m_can_classdev *cdev, enum m_can_reg reg, in m_can_write() 335 static u32 m_can_fifo_read(struct m_can_classdev *cdev, in m_can_fifo_read() 344 static void m_can_fifo_write(struct m_can_classdev *cdev, in m_can_fifo_write() 353 static inline void m_can_fifo_write_no_off(struct m_can_classdev *cdev, in m_can_fifo_write_no_off() 359 static u32 m_can_txe_fifo_read(struct m_can_classdev *cdev, u32 fgi, u32 offset) in m_can_txe_fifo_read() 367 static inline bool m_can_tx_fifo_full(struct m_can_classdev *cdev) in m_can_tx_fifo_full() 372 void m_can_config_endisable(struct m_can_classdev *cdev, bool enable) in m_can_config_endisable() 410 static inline void m_can_enable_all_interrupts(struct m_can_classdev *cdev) in m_can_enable_all_interrupts() 416 static inline void m_can_disable_all_interrupts(struct m_can_classdev *cdev) in m_can_disable_all_interrupts() [all …]
|
D | m_can_platform.c | 17 static u32 iomap_read_reg(struct m_can_classdev *cdev, int reg) in iomap_read_reg() 24 static u32 iomap_read_fifo(struct m_can_classdev *cdev, int offset) in iomap_read_fifo() 31 static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val) in iomap_write_reg() 40 static int iomap_write_fifo(struct m_can_classdev *cdev, int offset, int val) in iomap_write_fifo() 58 struct m_can_classdev *mcan_class; in m_can_plat_probe() 138 struct m_can_classdev *mcan_class = netdev_priv(dev); in m_can_plat_remove() 152 struct m_can_classdev *mcan_class = netdev_priv(ndev); in m_can_runtime_suspend() 163 struct m_can_classdev *mcan_class = netdev_priv(ndev); in m_can_runtime_resume()
|
D | tcan4x5x.c | 120 struct m_can_classdev *mcan_dev; 258 static u32 tcan4x5x_read_reg(struct m_can_classdev *cdev, int reg) in tcan4x5x_read_reg() 268 static u32 tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset) in tcan4x5x_read_fifo() 278 static int tcan4x5x_write_reg(struct m_can_classdev *cdev, int reg, int val) in tcan4x5x_write_reg() 285 static int tcan4x5x_write_fifo(struct m_can_classdev *cdev, in tcan4x5x_write_fifo() 304 static int tcan4x5x_write_tcan_reg(struct m_can_classdev *cdev, in tcan4x5x_write_tcan_reg() 312 static int tcan4x5x_clear_interrupts(struct m_can_classdev *cdev) in tcan4x5x_clear_interrupts() 339 static int tcan4x5x_init(struct m_can_classdev *cdev) in tcan4x5x_init() 366 static int tcan4x5x_disable_wake(struct m_can_classdev *cdev) in tcan4x5x_disable_wake() 374 static int tcan4x5x_disable_state(struct m_can_classdev *cdev) in tcan4x5x_disable_state() [all …]
|