/drivers/media/i2c/ |
D | lm3560.c | 59 enum v4l2_flash_led_mode led_mode; member 72 switch (flash->led_mode) { in lm3560_mode_ctrl() 197 flash->led_mode = ctrl->val; in lm3560_set_ctrl() 198 if (flash->led_mode != V4L2_FLASH_LED_MODE_FLASH) in lm3560_set_ctrl() 210 if (flash->led_mode != V4L2_FLASH_LED_MODE_FLASH) { in lm3560_set_ctrl() 214 flash->led_mode = V4L2_FLASH_LED_MODE_FLASH; in lm3560_set_ctrl() 219 if (flash->led_mode != V4L2_FLASH_LED_MODE_FLASH) { in lm3560_set_ctrl() 223 flash->led_mode = V4L2_FLASH_LED_MODE_NONE; in lm3560_set_ctrl() 293 flash->led_mode = V4L2_FLASH_LED_MODE_NONE; in lm3560_init_controls() 385 flash->led_mode = V4L2_FLASH_LED_MODE_NONE; in lm3560_init_device()
|
D | adp1653.c | 49 switch (flash->led_mode->val) { in adp1653_update_hw() 97 flash->led_mode->val = V4L2_FLASH_LED_MODE_NONE; in adp1653_get_fault() 114 if (flash->led_mode->val != V4L2_FLASH_LED_MODE_FLASH) in adp1653_strobe() 204 flash->led_mode = in adp1653_init_controls()
|
D | lm3646.c | 49 enum led_mode { enum 82 enum v4l2_flash_led_mode led_mode) in lm3646_mode_ctrl() argument 84 switch (led_mode) { in lm3646_mode_ctrl()
|
/drivers/net/wireless/intel/iwlwifi/cfg/ |
D | 6000.c | 126 .led_mode = IWL_LED_RF_STATE, \ 181 .led_mode = IWL_LED_RF_STATE, \ 218 .led_mode = IWL_LED_RF_STATE, \ 274 .led_mode = IWL_LED_BLINK, \ 307 .led_mode = IWL_LED_BLINK, \ 334 .led_mode = IWL_LED_BLINK, \ 363 .led_mode = IWL_LED_BLINK,
|
D | 2000.c | 105 .led_mode = IWL_LED_RF_STATE, \ 133 .led_mode = IWL_LED_RF_STATE, \ 154 .led_mode = IWL_LED_RF_STATE, \ 182 .led_mode = IWL_LED_RF_STATE, \
|
D | 5000.c | 77 .led_mode = IWL_LED_BLINK, \ 126 .led_mode = IWL_LED_BLINK, 142 .led_mode = IWL_LED_BLINK, \
|
D | 1000.c | 79 .led_mode = IWL_LED_BLINK, \ 105 .led_mode = IWL_LED_RF_STATE, \
|
D | 8000.c | 139 .led_mode = IWL_LED_RF_STATE, \
|
D | 9000.c | 127 .led_mode = IWL_LED_RF_STATE, \
|
D | 7000.c | 153 .led_mode = IWL_LED_RF_STATE, \
|
D | 22000.c | 161 .led_mode = IWL_LED_RF_STATE, \
|
/drivers/leds/ |
D | leds-lm3601x.c | 99 u32 led_mode; member 183 if (led->led_mode == LM3601X_LED_TORCH) in lm3601x_brightness_set() 351 init_data.default_label = (led->led_mode == LM3601X_LED_TORCH) ? in lm3601x_register_leds() 370 ret = fwnode_property_read_u32(child, "reg", &led->led_mode); in lm3601x_parse_node() 376 if (led->led_mode > LM3601X_LED_TORCH || in lm3601x_parse_node() 377 led->led_mode < LM3601X_LED_IR) { in lm3601x_parse_node()
|
D | leds-max8997.c | 43 enum max8997_led_mode led_mode; member 94 led->led_mode = mode; in max8997_led_set_mode() 123 switch (led->led_mode) { in max8997_led_set_current() 173 switch (led->led_mode) { in max8997_led_show_mode()
|
/drivers/net/phy/ |
D | micrel.c | 95 int led_mode; member 284 if (priv->led_mode >= 0) in kszphy_config_reset() 285 kszphy_setup_led(phydev, priv->type->led_mode_reg, priv->led_mode); in kszphy_config_reset() 937 &priv->led_mode); in kszphy_probe() 939 priv->led_mode = -1; in kszphy_probe() 941 if (priv->led_mode > 3) { in kszphy_probe() 943 priv->led_mode); in kszphy_probe() 944 priv->led_mode = -1; in kszphy_probe() 947 priv->led_mode = -1; in kszphy_probe()
|
D | mscc.c | 744 u32 led_mode; in vsc85xx_dt_led_mode_get() local 750 led_mode = default_mode; in vsc85xx_dt_led_mode_get() 751 err = of_property_read_u32(of_node, led, &led_mode); in vsc85xx_dt_led_mode_get() 752 if (!err && !(BIT(led_mode) & priv->supp_led_modes)) { in vsc85xx_dt_led_mode_get() 757 return led_mode; in vsc85xx_dt_led_mode_get()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | led.c | 162 int mode = iwlwifi_mod_params.led_mode; in iwl_leds_init() 170 mode = priv->cfg->led_mode; in iwl_leds_init()
|
/drivers/net/ethernet/dlink/ |
D | dl2k.h | 338 u16 led_mode; /* 0x0c (IP1000A only) */ member 403 u16 led_mode; /* LED mode read from EEPROM (IP1000A only) */ member
|
D | dl2k.c | 361 np->led_mode = psrom->led_mode; in parse_eeprom() 422 if (np->led_mode & 0x01) in rio_set_led_mode() 424 if (np->led_mode & 0x02) in rio_set_led_mode() 426 if (np->led_mode & 0x08) in rio_set_led_mode()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-modparams.h | 130 int led_mode; member
|
D | iwl-config.h | 430 enum iwl_led_mode led_mode; member
|
D | iwl-drv.c | 1851 module_param_named(led_mode, iwlwifi_mod_params.led_mode, int, 0444); 1852 MODULE_PARM_DESC(led_mode, "0=system default, "
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | led.c | 112 int mode = iwlwifi_mod_params.led_mode; in iwl_mvm_leds_init()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00reg.h | 39 enum led_mode { enum
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 361 static int pcan_usb_fd_set_can_led(struct peak_usb_device *dev, u8 led_mode) in pcan_usb_fd_set_can_led() argument 367 cmd->mode = led_mode; in pcan_usb_fd_set_can_led()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | common.c | 419 static int led_mode; variable 420 module_param(led_mode, int, 0444); 421 MODULE_PARM_DESC(led_mode, 536 int mode = led_mode; in il_leds_init() 540 mode = il->cfg->led_mode; in il_leds_init()
|