Home
last modified time | relevance | path

Searched refs:m_can_classdev (Results 1 – 6 of 6) sorted by relevance

/drivers/net/can/m_can/
A Dm_can.h61 struct m_can_classdev;
64 int (*clear_interrupts)(struct m_can_classdev *cdev);
65 u32 (*read_reg)(struct m_can_classdev *cdev, int reg);
70 int (*init)(struct m_can_classdev *cdev);
71 int (*deinit)(struct m_can_classdev *cdev);
75 struct m_can_classdev *cdev;
81 struct m_can_classdev { struct
135 int m_can_class_register(struct m_can_classdev *cdev);
136 void m_can_class_unregister(struct m_can_classdev *cdev);
137 int m_can_class_get_clocks(struct m_can_classdev *cdev);
[all …]
A Dm_can.c342 m_can_fifo_read(struct m_can_classdev *cdev, in m_can_fifo_read()
355 m_can_fifo_write(struct m_can_classdev *cdev, in m_can_fifo_write()
509 struct m_can_classdev *cdev = netdev_priv(net); in m_can_clean()
557 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_read_fifo()
622 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_do_rx_poll()
662 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_handle_lost_msg()
691 struct m_can_classdev *cdev = netdev_priv(dev); in m_can_handle_lec_err()
1312 struct m_can_classdev *cdev = container_of(timer, struct m_can_classdev, hrtimer); in m_can_coalescing_timer()
1954 struct m_can_classdev *cdev = op->cdev; in m_can_tx_work_queue()
2030 m_can_classdev, hrtimer); in hrtimer_callback()
[all …]
A Dm_can_platform.c15 struct m_can_classdev cdev;
21 static inline struct m_can_plat_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv()
26 static u32 iomap_read_reg(struct m_can_classdev *cdev, int reg) in iomap_read_reg()
33 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count) in iomap_read_fifo()
47 static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val) in iomap_write_reg()
56 static int iomap_write_fifo(struct m_can_classdev *cdev, int offset, in iomap_write_fifo()
80 struct m_can_classdev *mcan_class; in m_can_plat_probe()
180 struct m_can_classdev *mcan_class = &priv->cdev; in m_can_plat_remove()
190 struct m_can_classdev *mcan_class = &priv->cdev; in m_can_runtime_suspend()
201 struct m_can_classdev *mcan_class = &priv->cdev; in m_can_runtime_resume()
A Dtcan4x5x-core.c206 static int tcan4x5x_write_fifo(struct m_can_classdev *cdev, in tcan4x5x_write_fifo()
246 static int tcan4x5x_init(struct m_can_classdev *cdev) in tcan4x5x_init()
282 static int tcan4x5x_deinit(struct m_can_classdev *cdev) in tcan4x5x_deinit()
290 static int tcan4x5x_disable_wake(struct m_can_classdev *cdev) in tcan4x5x_disable_wake()
298 static int tcan4x5x_disable_state(struct m_can_classdev *cdev) in tcan4x5x_disable_state()
338 static void tcan4x5x_get_dt_data(struct m_can_classdev *cdev) in tcan4x5x_get_dt_data()
346 static int tcan4x5x_get_gpios(struct m_can_classdev *cdev) in tcan4x5x_get_gpios()
379 static int tcan4x5x_check_gpios(struct m_can_classdev *cdev, in tcan4x5x_check_gpios()
414 struct m_can_classdev *mcan_class; in tcan4x5x_can_probe()
553 struct m_can_classdev *cdev = dev_get_drvdata(dev); in tcan4x5x_suspend()
[all …]
A Dm_can_pci.c25 struct m_can_classdev cdev;
30 static inline struct m_can_pci_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv()
35 static u32 iomap_read_reg(struct m_can_classdev *cdev, int reg) in iomap_read_reg()
42 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count) in iomap_read_fifo()
56 static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val) in iomap_write_reg()
65 static int iomap_write_fifo(struct m_can_classdev *cdev, int offset, in iomap_write_fifo()
90 struct m_can_classdev *mcan_class; in m_can_pci_probe()
158 struct m_can_classdev *mcan_class = pci_get_drvdata(pci); in m_can_pci_remove()
A Dtcan4x5x.h33 struct m_can_classdev cdev;

Completed in 20 milliseconds