Searched refs:cdev_to_priv (Results 1 – 3 of 3) sorted by relevance
43 #define cdev_to_priv(c) container_of(c, struct mlxreg_led_data, led_cdev) macro136 struct mlxreg_led_data *led_data = cdev_to_priv(cled); in mlxreg_led_brightness_set()147 struct mlxreg_led_data *led_data = cdev_to_priv(cled); in mlxreg_led_brightness_get()156 struct mlxreg_led_data *led_data = cdev_to_priv(cled); in mlxreg_led_blink_set()
66 #define cdev_to_priv(c) container_of(c, struct apu_led_priv, cdev) macro174 struct apu_led_priv *pled = cdev_to_priv(led); in apu1_led_brightness_set()183 struct apu_led_priv *pled = cdev_to_priv(led); in apu2_led_brightness_set()
88 #define cdev_to_priv(c) container_of(c, struct mlxcpld_led_priv, cdev) macro285 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()