Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/cfg/
D6000.c126 .led_mode = IWL_LED_RF_STATE, \
180 .led_mode = IWL_LED_RF_STATE, \
216 .led_mode = IWL_LED_RF_STATE, \
271 .led_mode = IWL_LED_BLINK, \
303 .led_mode = IWL_LED_BLINK, \
329 .led_mode = IWL_LED_BLINK, \
357 .led_mode = IWL_LED_BLINK,
D2000.c105 .led_mode = IWL_LED_RF_STATE, \
132 .led_mode = IWL_LED_RF_STATE, \
152 .led_mode = IWL_LED_RF_STATE, \
179 .led_mode = IWL_LED_RF_STATE, \
D5000.c77 .led_mode = IWL_LED_BLINK, \
125 .led_mode = IWL_LED_BLINK,
140 .led_mode = IWL_LED_BLINK, \
D1000.c79 .led_mode = IWL_LED_BLINK, \
104 .led_mode = IWL_LED_RF_STATE, \
D8000.c139 .led_mode = IWL_LED_RF_STATE, \
D9000.c126 .led_mode = IWL_LED_RF_STATE, \
D7000.c153 .led_mode = IWL_LED_RF_STATE, \
D22000.c167 .led_mode = IWL_LED_RF_STATE, \
/kernel/linux/linux-5.10/drivers/leds/
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()
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 max8997_led_show_mode()
/kernel/linux/linux-5.10/drivers/net/phy/
Dmicrel.c97 int led_mode; member
286 if (priv->type && priv->led_mode >= 0) in kszphy_config_reset()
287 kszphy_setup_led(phydev, priv->type->led_mode_reg, priv->led_mode); in kszphy_config_reset()
1117 &priv->led_mode); in kszphy_probe()
1119 priv->led_mode = -1; in kszphy_probe()
1121 if (priv->led_mode > 3) { in kszphy_probe()
1123 priv->led_mode); in kszphy_probe()
1124 priv->led_mode = -1; in kszphy_probe()
1127 priv->led_mode = -1; in kszphy_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dled.c162 int mode = iwlwifi_mod_params.led_mode; in iwl_leds_init()
170 mode = priv->cfg->led_mode; in iwl_leds_init()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-modparams.h125 int led_mode; member
Diwl-config.h420 enum iwl_led_mode led_mode; member
/kernel/linux/linux-5.10/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.c356 np->led_mode = psrom->led_mode; in parse_eeprom()
417 if (np->led_mode & 0x01) in rio_set_led_mode()
419 if (np->led_mode & 0x02) in rio_set_led_mode()
421 if (np->led_mode & 0x08) in rio_set_led_mode()
/kernel/linux/linux-5.10/include/media/i2c/
Dadp1653.h103 struct v4l2_ctrl *led_mode; member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dled.c112 int mode = iwlwifi_mod_params.led_mode; in iwl_mvm_leds_init()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h39 enum led_mode { enum
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_generic.h88 unsigned int led_mode; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c361 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()

12