Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.1.9/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, \
D9000.c78 .led_mode = IWL_LED_RF_STATE, \
D7000.c95 .led_mode = IWL_LED_RF_STATE, \
D22000.c178 .led_mode = IWL_LED_RF_STATE, \
255 .led_mode = IWL_LED_RF_STATE, \
/linux-6.1.9/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.1.9/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.1.9/drivers/platform/x86/
Dsimatic-ipc.c38 u8 led_mode; member
64 ledmode = device_modes[i].led_mode; in register_platform_devices()
/linux-6.1.9/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.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-modparams.h72 int led_mode; member
Diwl-config.h370 enum iwl_led_mode led_mode; member
/linux-6.1.9/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.1.9/include/media/i2c/
Dadp1653.h103 struct v4l2_ctrl *led_mode; member
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dled.c55 int mode = iwlwifi_mod_params.led_mode; in iwl_mvm_leds_init()
/linux-6.1.9/drivers/net/phy/
Dmicrel.c318 int led_mode; member
548 if (priv->type && priv->led_mode >= 0) in kszphy_config_reset()
549 kszphy_setup_led(phydev, priv->type->led_mode_reg, priv->led_mode); in kszphy_config_reset()
1725 &priv->led_mode); in kszphy_parse_led_mode()
1728 priv->led_mode = -1; in kszphy_parse_led_mode()
1730 if (priv->led_mode > 3) { in kszphy_parse_led_mode()
1732 priv->led_mode); in kszphy_parse_led_mode()
1733 priv->led_mode = -1; in kszphy_parse_led_mode()
1736 priv->led_mode = -1; in kszphy_parse_led_mode()
3022 if (lan8814->led_mode >= 0) in lan8814_config_init()
[all …]
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h39 enum led_mode { enum
/linux-6.1.9/drivers/media/usb/gspca/
Dsn9c20x.c81 struct v4l2_ctrl *led_mode; member
1774 sd->led_mode = v4l2_ctrl_new_std_menu(hdl, &sd_ctrl_ops, in sd_init_controls()
2069 if (sd->led_mode) in sd_start()
2070 v4l2_ctrl_s_ctrl(sd->led_mode, 0); in sd_start()
/linux-6.1.9/drivers/net/phy/mscc/
Dmscc_main.c419 u32 led_mode; in vsc85xx_dt_led_mode_get() local
425 led_mode = default_mode; in vsc85xx_dt_led_mode_get()
426 err = of_property_read_u32(of_node, led, &led_mode); in vsc85xx_dt_led_mode_get()
427 if (!err && !(BIT(led_mode) & priv->supp_led_modes)) { in vsc85xx_dt_led_mode_get()
432 return led_mode; in vsc85xx_dt_led_mode_get()

12