/linux/drivers/leds/ |
H A D | leds-netxbig.c | 49 int *mode_val; member 111 int *mode_val; member 145 int mode_val; in netxbig_led_blink_set() local 154 mode_val = led_dat->mode_val[mode]; in netxbig_led_blink_set() 174 int mode_val; in netxbig_led_set() local 191 mode_val = led_dat->mode_val[mode]; in netxbig_led_set() 216 int mode_val; in sata_store() local 240 mode_val = led_dat->mode_val[mode]; in sata_store() 302 led_dat->mode_val = template->mode_val; in create_netxbig_led() 529 mode_val = in netxbig_leds_get_of_pdata() [all …]
|
H A 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 mode_show()
|
/linux/drivers/spi/ |
H A D | spi-npcm-pspi.c | 106 u16 mode_val; in npcm_pspi_set_mode() local 110 mode_val = 0; in npcm_pspi_set_mode() 113 mode_val = NPCM_PSPI_CTL1_SCIDL; in npcm_pspi_set_mode() 116 mode_val = NPCM_PSPI_CTL1_SCM; in npcm_pspi_set_mode() 119 mode_val = NPCM_PSPI_CTL1_SCIDL | NPCM_PSPI_CTL1_SCM; in npcm_pspi_set_mode() 125 iowrite16(regtemp | mode_val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
|
H A D | spi-microchip-core.c | 370 u32 mode_val; in mchp_corespi_set_mode() local 375 mode_val = 0; in mchp_corespi_set_mode() 378 mode_val = CONTROL_SPH; in mchp_corespi_set_mode() 381 mode_val = CONTROL_SPO; in mchp_corespi_set_mode() 384 mode_val = CONTROL_SPH | CONTROL_SPO; in mchp_corespi_set_mode() 397 control |= mode_val; in mchp_corespi_set_mode()
|
/linux/drivers/regulator/ |
H A D | rt6160-regulator.c | 95 unsigned int mode_val; in rt6160_set_mode() local 99 mode_val = RT6160_FPWM_MASK; in rt6160_set_mode() 102 mode_val = 0; in rt6160_set_mode() 109 return regmap_update_bits(regmap, RT6160_REG_CNTL, RT6160_FPWM_MASK, mode_val); in rt6160_set_mode()
|
H A D | rt5759-regulator.c | 60 unsigned int mode_val; in rt5759_set_mode() local 64 mode_val = 0; in rt5759_set_mode() 67 mode_val = RT5759_FPWM_MASK; in rt5759_set_mode() 74 mode_val); in rt5759_set_mode()
|
H A D | rtq2208-regulator.c | 123 unsigned int mode_val; in rtq2208_get_mode() local 126 ret = regmap_read(rdev->regmap, rdesc->mode_reg, &mode_val); in rtq2208_get_mode() 130 return (mode_val & rdesc->mode_mask) ? REGULATOR_MODE_FAST : REGULATOR_MODE_NORMAL; in rtq2208_get_mode()
|
H A D | cpcap-regulator.c | 98 mode_mask, volt_mask, mode_val, off_val, \ argument 114 .enable_val = (mode_val), \
|
/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm6328.c | 34 unsigned mode_val:1; member 238 .mode_val = 1, \ 331 bcm6328_rmw_mux(pc, pg->pins[0], f->mode_val, f->mux_val); in bcm6328_pinctrl_set_mux()
|
H A D | pinctrl-bcm6318.c | 35 unsigned mode_val:1; member 302 .mode_val = 1, \ 417 bcm6318_rmw_mux(pc, pg->pins[0], f->mode_val, f->mux_val); in bcm6318_pinctrl_set_mux()
|
H A D | pinctrl-bcm6358.c | 40 const uint16_t mode_val; member 133 .mode_val = BCM6358_MODE_MUX_##bit, \ 259 unsigned int val = pg->mode_val; in bcm6358_pinctrl_set_mux()
|
/linux/drivers/media/usb/gspca/ |
H A 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/drivers/hwmon/ |
H A D | nct7802.c | 1044 u8 *mode_val) in nct7802_get_channel_config() argument 1067 *mode_val &= ~MODE_LTD_EN; in nct7802_get_channel_config() 1069 *mode_val |= MODE_LTD_EN; in nct7802_get_channel_config() 1077 *mode_val &= ~(MODE_RTD_MASK << MODE_BIT_OFFSET_RTD(reg - 1)); in nct7802_get_channel_config() 1088 *mode_val |= (RTD_MODE_VOLTAGE & MODE_RTD_MASK) in nct7802_get_channel_config() 1121 *mode_val |= (md & MODE_RTD_MASK) << MODE_BIT_OFFSET_RTD(reg - 1); in nct7802_get_channel_config() 1131 u8 mode_mask = MODE_LTD_EN, mode_val = MODE_LTD_EN; in nct7802_configure_channels() local 1137 &mode_val); in nct7802_configure_channels() 1143 return regmap_update_bits(data->regmap, REG_MODE, mode_mask, mode_val); in nct7802_configure_channels()
|
/linux/sound/soc/codecs/ |
H A D | wm8998.c | 110 unsigned int mux, inmode, src_val, mode_val; in wm8998_inmux_put() local 130 mode_val = 1 << ARIZONA_IN1_MODE_SHIFT; in wm8998_inmux_put() 132 mode_val = 0; in wm8998_inmux_put() 139 ARIZONA_IN1_MODE_MASK, mode_val); in wm8998_inmux_put()
|
H A D | wcd937x.c | 1228 u32 mode_val; in wcd937x_rx_hph_mode_put() local 1230 mode_val = ucontrol->value.enumerated.item[0]; in wcd937x_rx_hph_mode_put() 1232 if (!mode_val) in wcd937x_rx_hph_mode_put() 1233 mode_val = CLS_AB; in wcd937x_rx_hph_mode_put() 1235 if (mode_val == wcd937x->hph_mode) in wcd937x_rx_hph_mode_put() 1238 switch (mode_val) { in wcd937x_rx_hph_mode_put() 1247 wcd937x->hph_mode = mode_val; in wcd937x_rx_hph_mode_put()
|
H A D | wcd939x.c | 1479 u32 mode_val; in wcd939x_rx_hph_mode_put() local 1481 mode_val = ucontrol->value.enumerated.item[0]; in wcd939x_rx_hph_mode_put() 1483 if (mode_val == wcd939x->hph_mode) in wcd939x_rx_hph_mode_put() 1487 switch (mode_val) { in wcd939x_rx_hph_mode_put() 1495 wcd939x->hph_mode = mode_val; in wcd939x_rx_hph_mode_put() 1499 switch (mode_val) { in wcd939x_rx_hph_mode_put() 1509 wcd939x->hph_mode = mode_val; in wcd939x_rx_hph_mode_put()
|
H A D | wcd9335.c | 2239 u32 mode_val; in wcd9335_rx_hph_mode_put() local 2241 mode_val = ucontrol->value.enumerated.item[0]; in wcd9335_rx_hph_mode_put() 2243 if (mode_val == 0) { in wcd9335_rx_hph_mode_put() 2245 mode_val = CLS_H_HIFI; in wcd9335_rx_hph_mode_put() 2247 wcd->hph_mode = mode_val; in wcd9335_rx_hph_mode_put()
|
H A D | wcd934x.c | 3287 u32 mode_val; in wcd934x_rx_hph_mode_put() local 3289 mode_val = ucontrol->value.enumerated.item[0]; in wcd934x_rx_hph_mode_put() 3291 if (mode_val == wcd->hph_mode) in wcd934x_rx_hph_mode_put() 3294 if (mode_val == 0) { in wcd934x_rx_hph_mode_put() 3296 mode_val = CLS_H_LOHIFI; in wcd934x_rx_hph_mode_put() 3298 wcd->hph_mode = mode_val; in wcd934x_rx_hph_mode_put()
|
/linux/drivers/clk/qcom/ |
H A D | clk-alpha-pll.c | 994 u32 mode_val, opmode_val; in trion_pll_is_enabled() local 997 ret = regmap_read(regmap, PLL_MODE(pll), &mode_val); in trion_pll_is_enabled() 1002 return ((opmode_val & PLL_RUN) && (mode_val & PLL_OUTCTRL)); in trion_pll_is_enabled()
|
/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 9930 u8 mode_val[4] = { 2, 2, 0, 1 }; in ctrl_set_oob() local 10091 mode_index = mode_val[(set_param_parameters[0] & 0xC0) >> 6]; in ctrl_set_oob()
|