Searched refs:cdev_to_priv (Results 1 – 4 of 4) sorted by relevance
30 static inline struct m_can_pci_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv() function37 struct m_can_pci_priv *priv = cdev_to_priv(cdev); in iomap_read_reg()44 struct m_can_pci_priv *priv = cdev_to_priv(cdev); in iomap_read_fifo()58 struct m_can_pci_priv *priv = cdev_to_priv(cdev); in iomap_write_reg()68 struct m_can_pci_priv *priv = cdev_to_priv(cdev); in iomap_write_fifo()117 priv = cdev_to_priv(mcan_class); in m_can_pci_probe()159 struct m_can_pci_priv *priv = cdev_to_priv(mcan_class); in m_can_pci_remove()
140 static inline struct tcan4x5x_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv() function183 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_read_reg()194 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_read_fifo()201 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_write_reg()209 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_write_fifo()251 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_write_tcan_reg()271 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); in tcan4x5x_init()307 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); in tcan4x5x_deinit()315 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); in tcan4x5x_disable_wake()323 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); in tcan4x5x_disable_state()[all …]
21 static inline struct m_can_plat_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv() function28 struct m_can_plat_priv *priv = cdev_to_priv(cdev); in iomap_read_reg()35 struct m_can_plat_priv *priv = cdev_to_priv(cdev); in iomap_read_fifo()49 struct m_can_plat_priv *priv = cdev_to_priv(cdev); in iomap_write_reg()59 struct m_can_plat_priv *priv = cdev_to_priv(cdev); in iomap_write_fifo()93 priv = cdev_to_priv(mcan_class); in m_can_plat_probe()
86 #define cdev_to_priv(c) container_of(c, struct mlxcpld_led_priv, cdev) macro283 struct mlxcpld_led_priv *pled = cdev_to_priv(led); in mlxcpld_led_brightness_set()299 struct mlxcpld_led_priv *pled = cdev_to_priv(led); in mlxcpld_led_blink_set()