Home
last modified time | relevance | path

Searched full:led_ctl (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/leds/
H A Dleds-bd2802.c20 #define LED_CTL(rgb2en, rgb1en) ((rgb2en) << 4 | ((rgb1en) << 0)) macro
212 value = (id == LED1) ? LED_CTL(1, 0) : LED_CTL(0, 1); in bd2802_update_state()
242 value = LED_CTL(other_led_on, 1); in bd2802_enable()
244 value = LED_CTL(1 , other_led_on); in bd2802_enable()
/linux/sound/soc/sof/
H A Dtopology.c879 ret = sof_parse_tokens(scomp, &scontrol->led_ctl, led_tokens, in sof_control_load_volume()
888 if (scontrol->led_ctl.use_led) { in sof_control_load_volume()
889 mask = scontrol->led_ctl.direction ? SNDRV_CTL_ELEM_ACCESS_MIC_LED : in sof_control_load_volume()
1033 scontrol->led_ctl.led_value = -1; in sof_control_load()
H A Dsof-audio.h394 struct snd_sof_led_control led_ctl;
389 struct snd_sof_led_control led_ctl; global() member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c4452 u32 led_ctl = 0; in i40e_led_set_phy() local
4459 led_ctl = led_reg; in i40e_led_set_phy()
4478 led_ctl = (mode & I40E_PHY_LED_MODE_MASK); in i40e_led_set_phy()
4479 status = i40e_led_set_reg(hw, led_addr, led_ctl); in i40e_led_set_phy()
4484 status = i40e_led_set_reg(hw, led_addr, led_ctl); in i40e_led_set_phy()