Home
last modified time | relevance | path

Searched refs:led_id (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/leds/flash/
H A Dleds-sy7802.c91 u8 led_id; member
129 fled_torch_used_tmp = chip->fled_torch_used | BIT(led->led_id); in sy7802_torch_brightness_set()
131 fled_torch_used_tmp = chip->fled_torch_used & ~BIT(led->led_id); in sy7802_torch_brightness_set()
133 led_enable_mask = led->led_id == SY7802_LED_JOINT ? in sy7802_torch_brightness_set()
135 SY7802_LEDS_MASK(led->led_id); in sy7802_torch_brightness_set()
147 torch_mask = led->led_id == SY7802_LED_JOINT ? in sy7802_torch_brightness_set()
149 SY7802_TORCH_CURRENT_MASK(led->led_id); in sy7802_torch_brightness_set()
183 flash_mask = led->led_id == SY7802_LED_JOINT ? in sy7802_flash_brightness_set()
185 SY7802_FLASH_CURRENT_MASK(led->led_id); in sy7802_flash_brightness_set()
213 fled_strobe_used_tmp = chip->fled_strobe_used | BIT(led->led_id); in sy7802_strobe_set()
[all …]
/linux/drivers/leds/
H A Dleds-cros_ec.c52 enum ec_led_id led_id; member
96 arg.req.led_id = priv->led_id; in cros_ec_led_trigger_activate()
121 arg.req.led_id = priv->led_id; in cros_ec_led_brightness_set_blocking()
187 arg.req.led_id = id; in cros_ec_led_probe_one()
207 priv->led_id = id; in cros_ec_led_probe_one()
H A Dleds-lp3952.c37 enum lp3952_leds led_id, bool on) in lp3952_on_off() argument
41 dev_dbg(&priv->client->dev, "%s LED %d to %d\n", __func__, led_id, on); in lp3952_on_off()
43 val = 1 << led_id; in lp3952_on_off()
44 if (led_id == LP3952_LED_ALL) in lp3952_on_off()
H A Dleds-bd2802.c94 enum led_ids led_id; member
523 led->led_id = id; \
527 bd2802_turn_off(led, led->led_id, led->color); \
530 bd2802_turn_on(led, led->led_id, led->color, BD2802_ON);\
541 led->led_id = id; \
544 bd2802_turn_on(led, led->led_id, led->color, BD2802_BLINK); \
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.h15 u8 led_id; member
H A Dbnxt.h1736 u8 led_id; member
H A Dbnxt_ethtool.c4552 led_cfg->led_id = bp->leds[i].led_id; in bnxt_set_phys_id()
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.c26 u8 led_id = WIL_LED_INVALID_ID; variable
27 module_param(led_id, byte, 0444);
28 MODULE_PARM_DESC(led_id,
2117 .id = led_id, in wmi_led_cfg()
2139 if (led_id == WIL_LED_INVALID_ID) in wmi_led_cfg()
2142 if (led_id > WIL_LED_MAX_ID) { in wmi_led_cfg()
2143 wil_err(wil, "Invalid led id %d\n", led_id); in wmi_led_cfg()
2150 enable ? "enabling" : "disabling", led_id); in wmi_led_cfg()
2160 led_id, le32_to_cpu(reply.evt.status)); in wmi_led_cfg()
H A Ddebugfs.c2052 led_id); in wil_read_file_led_cfg()
2074 wil_info(wil, "%s led %d\n", val ? "Enabling" : "Disabling", led_id); in wil_write_file_led_cfg()
2078 val ? "Enabling" : "Disabling", led_id); in wil_write_file_led_cfg()
H A Dwil6210.h833 extern u8 led_id;
/linux/include/linux/platform_data/
H A Dcros_ec_commands.h2150 uint8_t led_id; /* Which LED to control */ member