Home
last modified time | relevance | path

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

12

/Linux-v5.15/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-v5.15/drivers/net/wireless/intel/iwlwifi/cfg/
D6000.c126 .led_mode = IWL_LED_RF_STATE
179 .led_mode = IWL_LED_RF_STATE
214 .led_mode = IWL_LED_RF_STATE
268 .led_mode = IWL_LED_BLINK
299 .led_mode = IWL_LED_BLINK, \
324 .led_mode = IWL_LED_BLINK, \
351 .led_mode = IWL_LED_BLINK,
D2000.c105 .led_mode = IWL_LED_RF_STATE
131 .led_mode = IWL_LED_RF_STATE
150 .led_mode = IWL_LED_RF_STATE, \
176 .led_mode = IWL_LED_RF_STATE, \
D5000.c77 .led_mode = IWL_LED_BLINK
124 .led_mode = IWL_LED_BLINK,
139 .led_mode = IWL_LED_BLINK, \
D1000.c79 .led_mode = IWL_LED_BLINK
103 .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.c144 .led_mode = IWL_LED_RF_STATE, \
221 .led_mode = IWL_LED_RF_STATE, \
/Linux-v5.15/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-v5.15/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-v5.15/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()
/Linux-v5.15/drivers/net/phy/
Dmicrel.c120 int led_mode; member
338 if (priv->led_mode >= 0) in kszphy_config_reset()
339 kszphy_setup_led(phydev, priv->type->led_mode_reg, priv->led_mode); in kszphy_config_reset()
1333 &priv->led_mode); in kszphy_probe()
1335 priv->led_mode = -1; in kszphy_probe()
1337 if (priv->led_mode > 3) { in kszphy_probe()
1339 priv->led_mode); in kszphy_probe()
1340 priv->led_mode = -1; in kszphy_probe()
1343 priv->led_mode = -1; in kszphy_probe()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/
Diwl-modparams.h72 int led_mode; member
Diwl-config.h365 enum iwl_led_mode led_mode; member
Diwl-drv.c1839 module_param_named(led_mode, iwlwifi_mod_params.led_mode, int, 0444);
1840 MODULE_PARM_DESC(led_mode, "0=system default, "
/Linux-v5.15/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()
/Linux-v5.15/include/media/i2c/
Dadp1653.h103 struct v4l2_ctrl *led_mode; member
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dled.c55 int mode = iwlwifi_mod_params.led_mode; in iwl_mvm_leds_init()
/Linux-v5.15/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h39 enum led_mode { enum
/Linux-v5.15/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()
/Linux-v5.15/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c359 static int pcan_usb_fd_set_can_led(struct peak_usb_device *dev, u8 led_mode) in pcan_usb_fd_set_can_led() argument
365 cmd->mode = led_mode; in pcan_usb_fd_set_can_led()

12