Home
last modified time | relevance | path

Searched refs:led_mode (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.6.21/drivers/media/i2c/
Dlm3560.c59 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()
Dadp1653.c49 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()
Dlm3646.c49 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()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/cfg/
D6000.c121 .led_mode = IWL_LED_RF_STATE
174 .led_mode = IWL_LED_RF_STATE
209 .led_mode = IWL_LED_RF_STATE
263 .led_mode = IWL_LED_BLINK
294 .led_mode = IWL_LED_BLINK, \
319 .led_mode = IWL_LED_BLINK, \
346 .led_mode = IWL_LED_BLINK,
D2000.c100 .led_mode = IWL_LED_RF_STATE
126 .led_mode = IWL_LED_RF_STATE
145 .led_mode = IWL_LED_RF_STATE, \
171 .led_mode = IWL_LED_RF_STATE, \
D5000.c72 .led_mode = IWL_LED_BLINK
119 .led_mode = IWL_LED_BLINK,
134 .led_mode = IWL_LED_BLINK, \
D1000.c74 .led_mode = IWL_LED_BLINK
98 .led_mode = IWL_LED_RF_STATE, \
D8000.c82 .led_mode = IWL_LED_RF_STATE, \
Dsc.c67 .led_mode = IWL_LED_RF_STATE, \
D9000.c78 .led_mode = IWL_LED_RF_STATE, \
Dbz.c70 .led_mode = IWL_LED_RF_STATE, \
Dax210.c83 .led_mode = IWL_LED_RF_STATE, \
D22000.c71 .led_mode = IWL_LED_RF_STATE, \
D7000.c95 .led_mode = IWL_LED_RF_STATE, \
/linux-6.6.21/drivers/leds/flash/
Dleds-lm3601x.c99 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()
369 ret = fwnode_property_read_u32(child, "reg", &led->led_mode); in lm3601x_parse_node()
375 if (led->led_mode > LM3601X_LED_TORCH || in lm3601x_parse_node()
376 led->led_mode < LM3601X_LED_IR) { in lm3601x_parse_node()
/linux-6.6.21/drivers/leds/
Dleds-max8997.c43 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 mode_show()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
Dled.c157 int mode = iwlwifi_mod_params.led_mode; in iwl_leds_init()
165 mode = priv->cfg->led_mode; in iwl_leds_init()
/linux-6.6.21/drivers/platform/x86/siemens/
Dsimatic-ipc.c40 u8 led_mode; member
99 ledmode = device_modes[i].led_mode; in register_platform_devices()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/
Diwl-modparams.h73 int led_mode; member
/linux-6.6.21/drivers/net/ethernet/dlink/
Ddl2k.h338 u16 led_mode; /* 0x0c (IP1000A only) */ member
403 u16 led_mode; /* LED mode read from EEPROM (IP1000A only) */ member
Ddl2k.c355 np->led_mode = psrom->led_mode; in parse_eeprom()
416 if (np->led_mode & 0x01) in rio_set_led_mode()
418 if (np->led_mode & 0x02) in rio_set_led_mode()
420 if (np->led_mode & 0x08) in rio_set_led_mode()
/linux-6.6.21/include/media/i2c/
Dadp1653.h103 struct v4l2_ctrl *led_mode; member
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dled.c55 int mode = iwlwifi_mod_params.led_mode; in iwl_mvm_leds_init()
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h39 enum led_mode { enum
/linux-6.6.21/drivers/net/phy/
Dmicrel.c339 int led_mode; member
582 if (priv->type && priv->led_mode >= 0) in kszphy_config_reset()
583 kszphy_setup_led(phydev, priv->type->led_mode_reg, priv->led_mode); in kszphy_config_reset()
1929 &priv->led_mode); in kszphy_parse_led_mode()
1932 priv->led_mode = -1; in kszphy_parse_led_mode()
1934 if (priv->led_mode > 3) { in kszphy_parse_led_mode()
1936 priv->led_mode); in kszphy_parse_led_mode()
1937 priv->led_mode = -1; in kszphy_parse_led_mode()
1940 priv->led_mode = -1; in kszphy_parse_led_mode()
3236 if (lan8814->led_mode >= 0) in lan8814_config_init()
[all …]

12