Lines Matching +full:0 +full:x185
27 MT6370_LED_ISNK1 = 0,
35 MT6370_LED_PWM_MODE = 0,
42 F_RGB_EN = 0,
64 R_LED123_CURR = 0,
72 P_LED_TR1 = 0,
81 #define MT6370_REG_DEV_INFO 0x100
82 #define MT6370_REG_RGB1_DIM 0x182
83 #define MT6370_REG_RGB2_DIM 0x183
84 #define MT6370_REG_RGB3_DIM 0x184
85 #define MT6370_REG_RGB_EN 0x185
86 #define MT6370_REG_RGB1_ISNK 0x186
87 #define MT6370_REG_RGB2_ISNK 0x187
88 #define MT6370_REG_RGB3_ISNK 0x188
89 #define MT6370_REG_RGB1_TR 0x189
90 #define MT6370_REG_RGB_CHRIND_DIM 0x192
91 #define MT6370_REG_RGB_CHRIND_CTRL 0x193
92 #define MT6370_REG_RGB_CHRIND_TR 0x194
94 #define MT6372_REG_RGB_EN 0x182
95 #define MT6372_REG_RGB1_ISNK 0x183
96 #define MT6372_REG_RGB2_ISNK 0x184
97 #define MT6372_REG_RGB3_ISNK 0x185
98 #define MT6372_REG_RGB4_ISNK 0x186
99 #define MT6372_REG_RGB1_DIM 0x187
100 #define MT6372_REG_RGB2_DIM 0x188
101 #define MT6372_REG_RGB3_DIM 0x189
102 #define MT6372_REG_RGB4_DIM 0x18A
103 #define MT6372_REG_RGB12_FREQ 0x18B
104 #define MT6372_REG_RGB34_FREQ 0x18C
105 #define MT6372_REG_RGB1_TR 0x18D
108 #define MT6372_VENDOR_ID 0x9
109 #define MT6372C_VENDOR_ID 0xb
161 [F_LED1_CURR] = REG_FIELD(MT6370_REG_RGB1_ISNK, 0, 2),
162 [F_LED2_CURR] = REG_FIELD(MT6370_REG_RGB2_ISNK, 0, 2),
163 [F_LED3_CURR] = REG_FIELD(MT6370_REG_RGB3_ISNK, 0, 2),
164 [F_LED4_CURR] = REG_FIELD(MT6370_REG_RGB_CHRIND_CTRL, 0, 1),
169 [F_LED1_DUTY] = REG_FIELD(MT6370_REG_RGB1_DIM, 0, 4),
170 [F_LED2_DUTY] = REG_FIELD(MT6370_REG_RGB2_DIM, 0, 4),
171 [F_LED3_DUTY] = REG_FIELD(MT6370_REG_RGB3_DIM, 0, 4),
172 [F_LED4_DUTY] = REG_FIELD(MT6370_REG_RGB_CHRIND_DIM, 0, 4),
182 [F_LED1_CURR] = REG_FIELD(MT6372_REG_RGB1_ISNK, 0, 3),
183 [F_LED2_CURR] = REG_FIELD(MT6372_REG_RGB2_ISNK, 0, 3),
184 [F_LED3_CURR] = REG_FIELD(MT6372_REG_RGB3_ISNK, 0, 3),
185 [F_LED4_CURR] = REG_FIELD(MT6372_REG_RGB4_ISNK, 0, 3),
190 [F_LED1_DUTY] = REG_FIELD(MT6372_REG_RGB1_DIM, 0, 7),
191 [F_LED2_DUTY] = REG_FIELD(MT6372_REG_RGB2_DIM, 0, 7),
192 [F_LED3_DUTY] = REG_FIELD(MT6372_REG_RGB3_DIM, 0, 7),
193 [F_LED4_DUTY] = REG_FIELD(MT6372_REG_RGB4_DIM, 0, 7),
204 [R_LED_TRFON] = { 125, 0, 15, 200 },
205 [R_LED_TOFF] = { 250, 0, 15, 400 },
211 [R_LED_TRFON] = { 125, 0, 15, 250 },
212 [R_LED_TOFF] = { 250, 0, 15, 500 },
311 if (tsum > pdata->tfreq[0] || tsum < pdata->tfreq[tfreq_len - 1]) in mt6370_set_led_freq()
339 if (pdata->reg_rgb_chrind_tr < 0) { in mt6370_get_breath_reg_base()
362 u32 val = 0; in mt6370_gen_breath_pattern()
370 * tr1: byte 0, b'[7:4] in mt6370_gen_breath_pattern()
371 * tr2: byte 0, b'[3:0] in mt6370_gen_breath_pattern()
373 * tf2: byte 1, b'[3:0] in mt6370_gen_breath_pattern()
375 * toff: byte 2, b'[3:0] in mt6370_gen_breath_pattern()
377 for (i = 0; i < P_MAX_PATTERNS; i++) { in mt6370_gen_breath_pattern()
394 return 0; in mt6370_gen_breath_pattern()
439 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_brightness_set()
446 if (level == 0) { in mt6370_mc_brightness_set()
456 if (brightness == 0) { in mt6370_mc_brightness_set()
502 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_blink_set()
556 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_pattern_set()
594 for (i = 0; i < mccdev->num_colors; i++) { in mt6370_mc_pattern_clear()
621 if (level == 0) { in mt6370_isnk_brightness_set()
719 u32 num_color = 0; in mt6370_assign_multicolor_info()
744 sub_led[num_color].intensity = 0; in mt6370_assign_multicolor_info()
755 return 0; in mt6370_assign_multicolor_info()
788 max_uA = 0; in mt6370_init_led_properties()
802 return 0; in mt6370_init_led_properties()
820 level = 0; in mt6370_isnk_init_default_state()
830 led->isink.brightness = 0; in mt6370_isnk_init_default_state()
842 ret = mt6370_mc_brightness_set(&led->mc.led_cdev, 0); in mt6370_multicolor_led_register()
850 return 0; in mt6370_multicolor_led_register()
877 return 0; in mt6370_led_register()
901 return 0; in mt6370_check_vendor_info()
910 unsigned int i = 0; in mt6370_leds_probe()
985 return 0; in mt6370_leds_probe()