Lines Matching refs:mode_val
49 int *mode_val; member
111 int *mode_val; member
145 int mode_val; in netxbig_led_blink_set() local
154 mode_val = led_dat->mode_val[mode]; in netxbig_led_blink_set()
155 if (mode_val == NETXBIG_LED_INVALID_MODE) in netxbig_led_blink_set()
160 gpio_ext_set_value(led_dat->gpio_ext, led_dat->mode_addr, mode_val); in netxbig_led_blink_set()
174 int mode_val; in netxbig_led_set() local
191 mode_val = led_dat->mode_val[mode]; in netxbig_led_set()
193 gpio_ext_set_value(led_dat->gpio_ext, led_dat->mode_addr, mode_val); in netxbig_led_set()
216 int mode_val; in sata_store() local
240 mode_val = led_dat->mode_val[mode]; in sata_store()
241 if (mode_val == NETXBIG_LED_INVALID_MODE) { in sata_store()
246 gpio_ext_set_value(led_dat->gpio_ext, led_dat->mode_addr, mode_val); in sata_store()
302 led_dat->mode_val = template->mode_val; in create_netxbig_led()
310 if (led_dat->mode_val[NETXBIG_LED_SATA] != NETXBIG_LED_INVALID_MODE) in create_netxbig_led()
512 int *mode_val; in netxbig_leds_get_of_pdata() local
530 mode_val = in netxbig_leds_get_of_pdata()
532 NETXBIG_LED_MODE_NUM, sizeof(*mode_val), in netxbig_leds_get_of_pdata()
534 if (!mode_val) { in netxbig_leds_get_of_pdata()
540 mode_val[i] = NETXBIG_LED_INVALID_MODE; in netxbig_leds_get_of_pdata()
565 mode_val[mode] = val; in netxbig_leds_get_of_pdata()
567 led->mode_val = mode_val; in netxbig_leds_get_of_pdata()