Searched refs:mode_val (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/leds/ |
D | leds-netxbig.c | 48 int *mode_val; member 145 int *mode_val; member 179 int mode_val; in netxbig_led_blink_set() local 188 mode_val = led_dat->mode_val[mode]; in netxbig_led_blink_set() 189 if (mode_val == NETXBIG_LED_INVALID_MODE) in netxbig_led_blink_set() 194 gpio_ext_set_value(led_dat->gpio_ext, led_dat->mode_addr, mode_val); in netxbig_led_blink_set() 208 int mode_val; in netxbig_led_set() local 225 mode_val = led_dat->mode_val[mode]; in netxbig_led_set() 227 gpio_ext_set_value(led_dat->gpio_ext, led_dat->mode_addr, mode_val); in netxbig_led_set() 250 int mode_val; in netxbig_led_sata_store() local [all …]
|
D | leds-lm3530.c | 86 enum lm3530_mode mode_val; member 150 return mode_map[i].mode_val; in lm3530_get_mode_from_str() 358 if (drvdata->mode == mode_map[i].mode_val) in lm3530_mode_get()
|
/Linux-v5.4/drivers/spi/ |
D | spi-npcm-pspi.c | 113 u16 mode_val; in npcm_pspi_set_mode() local 117 mode_val = 0; in npcm_pspi_set_mode() 120 mode_val = NPCM_PSPI_CTL1_SCIDL; in npcm_pspi_set_mode() 123 mode_val = NPCM_PSPI_CTL1_SCM; in npcm_pspi_set_mode() 126 mode_val = NPCM_PSPI_CTL1_SCIDL | NPCM_PSPI_CTL1_SCM; in npcm_pspi_set_mode() 132 iowrite16(regtemp | mode_val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
|
/Linux-v5.4/drivers/media/usb/gspca/ |
D | kinect.c | 280 uint8_t mode_val; in sd_start_video() local 288 mode_val = 0x03; in sd_start_video() 293 mode_val = 0x01; in sd_start_video() 338 write_register(gspca_dev, 0x05, mode_val); in sd_start_video()
|
/Linux-v5.4/drivers/regulator/ |
D | cpcap-regulator.c | 106 mode_mask, volt_mask, mode_val, off_val, \ argument 122 .enable_val = (mode_val), \
|
/Linux-v5.4/sound/soc/codecs/ |
D | wm8998.c | 110 unsigned int mux, inmode, src_val, mode_val; in wm8998_inmux_put() local 129 mode_val = 1 << ARIZONA_IN1_MODE_SHIFT; in wm8998_inmux_put() 131 mode_val = 0; in wm8998_inmux_put() 138 ARIZONA_IN1_MODE_MASK, mode_val); in wm8998_inmux_put()
|
D | wcd9335.c | 2240 u32 mode_val; in wcd9335_rx_hph_mode_put() local 2242 mode_val = ucontrol->value.enumerated.item[0]; in wcd9335_rx_hph_mode_put() 2244 if (mode_val == 0) { in wcd9335_rx_hph_mode_put() 2246 mode_val = CLS_H_HIFI; in wcd9335_rx_hph_mode_put() 2248 wcd->hph_mode = mode_val; in wcd9335_rx_hph_mode_put()
|
/Linux-v5.4/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 9932 u8 mode_val[4] = { 2, 2, 0, 1 }; in ctrl_set_oob() local 10093 mode_index = mode_val[(set_param_parameters[0] & 0xC0) >> 6]; in ctrl_set_oob()
|