Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/m_can/
H A Dm_can_pci.c30 static inline struct m_can_pci_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv() function
37 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()
157 struct m_can_pci_priv *priv = cdev_to_priv(mcan_class); in m_can_pci_remove()
H A Dtcan4x5x-core.c138 static inline struct tcan4x5x_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv() function
181 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_read_reg()
192 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_read_fifo()
199 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_write_reg()
207 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_write_fifo()
226 struct tcan4x5x_priv *priv = cdev_to_priv(cdev); in tcan4x5x_write_tcan_reg()
246 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); in tcan4x5x_init()
275 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); in tcan4x5x_disable_wake()
283 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); in tcan4x5x_disable_state()
324 struct tcan4x5x_priv *tcan4x5x = cdev_to_priv(cdev); in tcan4x5x_get_gpios()
[all …]
H A Dm_can_platform.c21 static inline struct m_can_plat_priv *cdev_to_priv(struct m_can_classdev *cdev) in cdev_to_priv() function
28 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()
/openbmc/linux/drivers/leds/
H A Dleds-mlxreg.c44 #define cdev_to_priv(c) container_of(c, struct mlxreg_led_data, led_cdev) macro
137 struct mlxreg_led_data *led_data = cdev_to_priv(cled); in mlxreg_led_brightness_set()
148 struct mlxreg_led_data *led_data = cdev_to_priv(cled); in mlxreg_led_brightness_get()
157 struct mlxreg_led_data *led_data = cdev_to_priv(cled); in mlxreg_led_blink_set()
H A Dleds-mlxcpld.c88 #define cdev_to_priv(c) container_of(c, struct mlxcpld_led_priv, cdev) macro
285 struct mlxcpld_led_priv *pled = cdev_to_priv(led); in mlxcpld_led_brightness_set()
301 struct mlxcpld_led_priv *pled = cdev_to_priv(led); in mlxcpld_led_blink_set()
H A Dleds-apu.c62 #define cdev_to_priv(c) container_of(c, struct apu_led_priv, cdev) macro
108 struct apu_led_priv *pled = cdev_to_priv(led); in apu1_led_brightness_set()