/drivers/leds/ |
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() 155 if (mode_val == NETXBIG_LED_INVALID_MODE) in netxbig_led_blink_set() 160 gpio_ext_set_value(led_dat->gpio_ext, led_dat->mode_addr, mode_val); 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() 193 gpio_ext_set_value(led_dat->gpio_ext, led_dat->mode_addr, mode_val); in netxbig_led_set() 216 int mode_val; in 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 mode_show()
|
/drivers/spi/ |
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()
|
D | spi-microchip-core.c | 348 u32 control, mode_val; in mchp_corespi_set_mode() local 352 mode_val = 0; in mchp_corespi_set_mode() 355 mode_val = CONTROL_SPH; in mchp_corespi_set_mode() 358 mode_val = CONTROL_SPO; in mchp_corespi_set_mode() 361 mode_val = CONTROL_SPH | CONTROL_SPO; in mchp_corespi_set_mode() 373 control |= mode_val; in mchp_corespi_set_mode()
|
/drivers/regulator/ |
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()
|
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()
|
D | cpcap-regulator.c | 98 mode_mask, volt_mask, mode_val, off_val, \ argument 114 .enable_val = (mode_val), \
|
/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()
|
/drivers/pinctrl/bcm/ |
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()
|
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()
|
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()
|
/drivers/hwmon/ |
D | nct7802.c | 1060 u8 *mode_val) in nct7802_get_channel_config() argument 1083 *mode_val &= ~MODE_LTD_EN; in nct7802_get_channel_config() 1085 *mode_val |= MODE_LTD_EN; in nct7802_get_channel_config() 1093 *mode_val &= ~(MODE_RTD_MASK << MODE_BIT_OFFSET_RTD(reg - 1)); in nct7802_get_channel_config() 1104 *mode_val |= (RTD_MODE_VOLTAGE & MODE_RTD_MASK) in nct7802_get_channel_config() 1137 *mode_val |= (md & MODE_RTD_MASK) << MODE_BIT_OFFSET_RTD(reg - 1); in nct7802_get_channel_config() 1147 u8 mode_mask = MODE_LTD_EN, mode_val = MODE_LTD_EN; in nct7802_configure_channels() local 1154 &mode_val); in nct7802_configure_channels() 1162 return regmap_update_bits(data->regmap, REG_MODE, mode_mask, mode_val); in nct7802_configure_channels()
|
/drivers/clk/qcom/ |
D | clk-alpha-pll.c | 862 u32 mode_val, opmode_val; in trion_pll_is_enabled() local 865 ret = regmap_read(regmap, PLL_MODE(pll), &mode_val); in trion_pll_is_enabled() 870 return ((opmode_val & PLL_RUN) && (mode_val & PLL_OUTCTRL)); in trion_pll_is_enabled()
|
/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 9937 u8 mode_val[4] = { 2, 2, 0, 1 }; in ctrl_set_oob() local 10098 mode_index = mode_val[(set_param_parameters[0] & 0xC0) >> 6]; in ctrl_set_oob()
|