Searched refs:m_can_classdev (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/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 102 int m_can_class_register(struct m_can_classdev *cdev); [all …]
|
| D | m_can.c | 323 static inline u32 m_can_read(struct m_can_classdev *cdev, enum m_can_reg reg) in m_can_read() 328 static inline void m_can_write(struct m_can_classdev *cdev, enum m_can_reg reg, in m_can_write() 334 static u32 m_can_fifo_read(struct m_can_classdev *cdev, in m_can_fifo_read() 343 static void m_can_fifo_write(struct m_can_classdev *cdev, in m_can_fifo_write() 352 static inline void m_can_fifo_write_no_off(struct m_can_classdev *cdev, in m_can_fifo_write_no_off() 358 static u32 m_can_txe_fifo_read(struct m_can_classdev *cdev, u32 fgi, u32 offset) in m_can_txe_fifo_read() 366 static inline bool m_can_tx_fifo_full(struct m_can_classdev *cdev) in m_can_tx_fifo_full() 371 void m_can_config_endisable(struct m_can_classdev *cdev, bool enable) in m_can_config_endisable() 409 static inline void m_can_enable_all_interrupts(struct m_can_classdev *cdev) in m_can_enable_all_interrupts() 415 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() 133 struct m_can_classdev *mcan_class = netdev_priv(dev); in m_can_plat_remove() 145 struct m_can_classdev *mcan_class = netdev_priv(ndev); in m_can_runtime_suspend() 158 struct m_can_classdev *mcan_class = netdev_priv(ndev); in m_can_runtime_resume()
|
| D | tcan4x5x.c | 117 struct m_can_classdev *mcan_dev; 233 static u32 tcan4x5x_read_reg(struct m_can_classdev *cdev, int reg) in tcan4x5x_read_reg() 243 static u32 tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset) in tcan4x5x_read_fifo() 253 static int tcan4x5x_write_reg(struct m_can_classdev *cdev, int reg, int val) in tcan4x5x_write_reg() 260 static int tcan4x5x_write_fifo(struct m_can_classdev *cdev, in tcan4x5x_write_fifo() 279 static int tcan4x5x_write_tcan_reg(struct m_can_classdev *cdev, in tcan4x5x_write_tcan_reg() 287 static int tcan4x5x_clear_interrupts(struct m_can_classdev *cdev) in tcan4x5x_clear_interrupts() 314 static int tcan4x5x_init(struct m_can_classdev *cdev) in tcan4x5x_init() 341 static int tcan4x5x_parse_config(struct m_can_classdev *cdev) in tcan4x5x_parse_config() 390 struct m_can_classdev *mcan_class; in tcan4x5x_can_probe()
|