/linux-4.1.27/drivers/media/usb/gspca/ |
D | autogain_functions.c | 35 s32 gain, orig_gain, exposure, orig_exposure; in gspca_expo_autogain() local 41 orig_gain = gain = v4l2_ctrl_g_ctrl(gspca_dev->gain); in gspca_expo_autogain() 53 if (gain > gain_knee) in gspca_expo_autogain() 54 gain--; in gspca_expo_autogain() 57 else if (gain > gspca_dev->gain->default_value) in gspca_expo_autogain() 58 gain--; in gspca_expo_autogain() 61 else if (gain > gspca_dev->gain->minimum) in gspca_expo_autogain() 62 gain--; in gspca_expo_autogain() 66 if (gain < gspca_dev->gain->default_value) in gspca_expo_autogain() 67 gain++; in gspca_expo_autogain() [all …]
|
D | sonixb.c | 590 u8 gain = gspca_dev->gain->val; in setgain() local 597 i2c[3] = 0x3f - gain; in setgain() 598 i2c[4] = 0x3f - gain; in setgain() 599 i2c[5] = 0x3f - gain; in setgain() 609 i2c[4] = 255 - gain; in setgain() 616 gain = 255 - gain; in setgain() 618 i2c[3] |= (gain & 0x80) >> 7; in setgain() 619 i2c[3] |= (gain & 0x40) >> 5; in setgain() 620 i2c[3] |= (gain & 0x20) >> 3; in setgain() 621 i2c[3] |= (gain & 0x10) >> 1; in setgain() [all …]
|
D | touptek.c | 298 u16 gain, u16 global_gain) in setbgain() argument 303 ((u32)global_gain) * gain / GAIN_MAX; in setbgain() 311 REG_BLUE_GAIN, normalized, gain); in setbgain() 317 u16 gain, u16 global_gain) in setrgain() argument 322 ((u32)global_gain) * gain / GAIN_MAX; in setrgain() 330 REG_RED_GAIN, normalized, gain); in setrgain() 606 setggain(gspca_dev, gspca_dev->gain->val); in sd_s_ctrl() 610 setbgain(gspca_dev, sd->blue->val, gspca_dev->gain->val); in sd_s_ctrl() 614 setrgain(gspca_dev, sd->red->val, gspca_dev->gain->val); in sd_s_ctrl() 636 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
|
D | sn9c20x.c | 90 struct v4l2_ctrl *gain; member 1495 u8 gain[8] = {sd->i2c_intf, sd->i2c_addr, in set_gain() local 1499 gain[7] = 0x15; /* or 1d ? */ in set_gain() 1507 gain[0] |= (2 << 4); in set_gain() 1508 gain[3] = ov_gain[g]; in set_gain() 1511 gain[0] |= (3 << 4); in set_gain() 1512 gain[2] = 0x35; in set_gain() 1513 gain[3] = micron1_gain[g] >> 8; in set_gain() 1514 gain[4] = micron1_gain[g]; in set_gain() 1517 gain[0] |= (3 << 4); in set_gain() [all …]
|
D | dtcs033.c | 160 s32 expo, s32 gain) in dtcs033_setexposure() argument 163 u16 sGain = (u16)gain; in dtcs033_setexposure() 194 struct v4l2_ctrl *gain; member 213 ctrl->val, sd->gain->val); in sd_s_ctrl() 238 sd->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in dtcs033_init_controls()
|
D | topro.c | 1409 static void setexposure(struct gspca_dev *gspca_dev, s32 expo, s32 gain, in setexposure() argument 1420 gain >> 8); in setexposure() 1421 i2c_w(gspca_dev, CX0342_RAW_GBGAIN_L, gain); in setexposure() 1424 gain >> 8); in setexposure() 1425 i2c_w(gspca_dev, CX0342_RAW_GRGAIN_L, gain); in setexposure() 1446 gain); in setexposure() 3978 s32 val = gspca_dev->gain->val; in sd_setgain() 3981 s32 old = gspca_dev->gain->cur.val ? in sd_setgain() 3982 gspca_dev->gain->cur.val : 1; in sd_setgain() 3994 gspca_dev->gain->val, in sd_setgain() [all …]
|
D | vicam.c | 120 s32 gain = v4l2_ctrl_g_ctrl(gspca_dev->gain); in vicam_read_frame() local 123 req_data[0] = gain; in vicam_read_frame() 313 gspca_dev->gain = v4l2_ctrl_new_std(hdl, NULL, in sd_init_controls()
|
D | pac7311.c | 310 reg_w(gspca_dev, 0x0f, gspca_dev->gain->maximum - val + 1); in setgain() 383 gspca_dev->gain->val = PAC7311_GAIN_DEFAULT; in sd_s_ctrl() 397 if (gspca_dev->gain->is_new || (ctrl->is_new && ctrl->val)) in sd_s_ctrl() 398 setgain(gspca_dev, gspca_dev->gain->val); in sd_s_ctrl() 429 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 454 setgain(gspca_dev, v4l2_ctrl_g_ctrl(gspca_dev->gain)); in sd_start()
|
D | pac207.c | 229 gspca_dev->gain->val = PAC207_GAIN_DEFAULT; in sd_s_ctrl() 244 if (gspca_dev->gain->is_new || (ctrl->is_new && ctrl->val)) in sd_s_ctrl() 246 gspca_dev->gain->val); in sd_s_ctrl() 277 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 311 v4l2_ctrl_g_ctrl(gspca_dev->gain)); in sd_start()
|
D | pac7302.c | 484 if (gspca_dev->gain->val < 32) { in setgain() 485 reg10 = gspca_dev->gain->val; in setgain() 489 reg12 = gspca_dev->gain->val - 31; in setgain() 599 gspca_dev->gain->val = PAC7302_GAIN_DEFAULT; in sd_s_ctrl() 625 if (gspca_dev->gain->is_new || (ctrl->is_new && ctrl->val)) in sd_s_ctrl() 679 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
|
D | sq930x.c | 41 struct v4l2_ctrl *gain; member 758 static void setexposure(struct gspca_dev *gspca_dev, s32 expo, s32 gain) in setexposure() argument 785 buf[i++] = gain; in setexposure() 801 buf[i++] = 0x80 + gain / 2; /* val L */ in setexposure() 1047 v4l2_ctrl_g_ctrl(sd->gain)); in sd_dq_callback() 1084 setexposure(gspca_dev, ctrl->val, sd->gain->val); in sd_s_ctrl() 1103 sd->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
|
D | ov534.c | 70 struct v4l2_ctrl *gain; member 1077 if (ctrl->val && sd->gain && gspca_dev->streaming) in ov534_g_volatile_ctrl() 1078 sd->gain->val = getgain(gspca_dev); in ov534_g_volatile_ctrl() 1116 if (!gspca_dev->usb_err && !ctrl->val && sd->gain) in ov534_s_ctrl() 1117 setgain(gspca_dev, sd->gain->val); in ov534_s_ctrl() 1216 sd->gain = v4l2_ctrl_new_std(hdl, &ov534_ctrl_ops, in sd_init_controls() 1361 if (sd->gain) in sd_start() 1362 setgain(gspca_dev, v4l2_ctrl_g_ctrl(sd->gain)); in sd_start()
|
D | cpia1.c | 281 u8 gain; member 529 sd->params.exposure.gain = gspca_dev->usb_buf[0]; in do_command() 639 params->exposure.gain = 0; in reset_camera_params() 847 sd->params.exposure.gain, in command_setexposure() 863 sd->params.exposure.gain, in command_setexposure() 1037 currentexp = currentexp << sd->params.exposure.gain; in set_flicker() 1038 sd->params.exposure.gain = 0; in set_flicker() 1091 while (startexp > MAX_EXP && sd->params.exposure.gain < in set_flicker() 1094 ++sd->params.exposure.gain; in set_flicker() 1348 if (sd->params.exposure.gain > 0) { in monitor_exposure() [all …]
|
D | nw80x.c | 1985 if (gspca_dev->gain->is_new) in sd_s_ctrl() 1986 setgain(gspca_dev, gspca_dev->gain->val); in sd_s_ctrl() 2018 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2026 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
|
D | se401.c | 176 u16 gain = 63 - val; in setgain() local 179 se401_set_feature(gspca_dev, HV7131_REG_ARCG, gain); in setgain() 181 se401_set_feature(gspca_dev, HV7131_REG_AGCG, gain); in setgain() 183 se401_set_feature(gspca_dev, HV7131_REG_ABCG, gain); in setgain()
|
D | t613.c | 46 struct v4l2_ctrl *gain; member 509 green_gain = sd->gain->val; in setawb_n_RGB() 900 sd->gain->val = green_gain; in sd_g_volatile_ctrl() 982 sd->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
|
D | gspca.h | 166 struct v4l2_ctrl *gain; member
|
D | etoms.c | 617 static void Et_setgainG(struct gspca_dev *gspca_dev, __u8 gain) in Et_setgainG() argument 625 i2c_w(gspca_dev, PAS106_REG0e, &gain, 1, 1); in Et_setgainG()
|
D | sonixj.c | 1662 gspca_dev->gain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls() 2003 rgain[3] = gspca_dev->gain->val; in setgain()
|
/linux-4.1.27/include/net/ |
D | regulatory.h | 208 #define DBI_TO_MBI(gain) ((gain) * 100) argument 209 #define MBI_TO_DBI(gain) ((gain) / 100) argument 210 #define DBM_TO_MBM(gain) ((gain) * 100) argument 211 #define MBM_TO_DBM(gain) ((gain) / 100) argument 213 #define REG_RULE_EXT(start, end, bw, gain, eirp, dfs_cac, reg_flags) \ argument 218 .power_rule.max_antenna_gain = DBI_TO_MBI(gain), \ 224 #define REG_RULE(start, end, bw, gain, eirp, reg_flags) \ argument 225 REG_RULE_EXT(start, end, bw, gain, eirp, 0, reg_flags)
|
/linux-4.1.27/Documentation/sound/oss/ |
D | WaveArtist | 16 00 | 0 | 0 0 1 1 | left line mixer gain | left aux1 mixer gain |lmute| 18 01 | 0 | 0 1 0 1 | left aux2 mixer gain | right 2 left mic gain |mmute| 20 02 | 0 | 0 1 1 1 | left mic mixer gain | left mic | left mixer gain |dith | 22 03 | 0 | 1 0 0 1 | left mixer input select |lrfg | left ADC gain | 24 04 | 0 | 1 0 1 1 | right line mixer gain | right aux1 mixer gain |rmute| 26 05 | 0 | 1 1 0 1 | right aux2 mixer gain | left 2 right mic gain |test | 28 06 | 0 | 1 1 1 1 | right mic mixer gain | right mic |right mixer gain |rbyps| 30 07 | 1 | 0 0 0 1 | right mixer select |rrfg | right ADC gain | 32 08 | 1 | 0 0 1 1 | mono mixer gain |right ADC mux sel|left ADC mux sel |
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | dsp_biquad.h | 30 int32_t gain; member 41 int32_t gain, int32_t a1, int32_t a2, int32_t b1, int32_t b2) in biquad2_init() argument 43 bq->gain = gain; in biquad2_init() 58 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; in biquad2()
|
/linux-4.1.27/drivers/iio/magnetometer/ |
D | st_magn_core.c | 187 .gain = ST_MAGN_1_FS_AVL_1300_GAIN_XY, 193 .gain = ST_MAGN_1_FS_AVL_1900_GAIN_XY, 199 .gain = ST_MAGN_1_FS_AVL_2500_GAIN_XY, 205 .gain = ST_MAGN_1_FS_AVL_4000_GAIN_XY, 211 .gain = ST_MAGN_1_FS_AVL_4700_GAIN_XY, 217 .gain = ST_MAGN_1_FS_AVL_5600_GAIN_XY, 223 .gain = ST_MAGN_1_FS_AVL_8100_GAIN_XY, 264 .gain = ST_MAGN_2_FS_AVL_4000_GAIN, 269 .gain = ST_MAGN_2_FS_AVL_8000_GAIN, 274 .gain = ST_MAGN_2_FS_AVL_12000_GAIN, [all …]
|
/linux-4.1.27/drivers/iio/accel/ |
D | st_accel_core.c | 227 .gain = ST_ACCEL_1_FS_AVL_2_GAIN, 232 .gain = ST_ACCEL_1_FS_AVL_4_GAIN, 237 .gain = ST_ACCEL_1_FS_AVL_8_GAIN, 242 .gain = ST_ACCEL_1_FS_AVL_16_GAIN, 294 .gain = ST_ACCEL_2_FS_AVL_2_GAIN, 299 .gain = ST_ACCEL_2_FS_AVL_4_GAIN, 304 .gain = ST_ACCEL_2_FS_AVL_8_GAIN, 358 .gain = ST_ACCEL_3_FS_AVL_2_GAIN, 363 .gain = ST_ACCEL_3_FS_AVL_4_GAIN, 368 .gain = ST_ACCEL_3_FS_AVL_6_GAIN, [all …]
|
/linux-4.1.27/drivers/mfd/ |
D | ab8500-gpadc.c | 136 s64 gain; member 200 if (!gpadc->cal_data[ADC_INPUT_VMAIN].gain) { in ab8500_gpadc_ad_to_voltage() 207 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_VMAIN].gain + in ab8500_gpadc_ad_to_voltage() 218 if (!gpadc->cal_data[ADC_INPUT_BTEMP].gain) { in ab8500_gpadc_ad_to_voltage() 225 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_BTEMP].gain + in ab8500_gpadc_ad_to_voltage() 232 if (!gpadc->cal_data[ADC_INPUT_VBAT].gain) { in ab8500_gpadc_ad_to_voltage() 239 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_VBAT].gain + in ab8500_gpadc_ad_to_voltage() 276 if (!gpadc->cal_data[ADC_INPUT_IBAT].gain) { in ab8500_gpadc_ad_to_voltage() 283 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_IBAT].gain + in ab8500_gpadc_ad_to_voltage() 738 gpadc->cal_data[ADC_INPUT_VMAIN].gain = CALIB_SCALE * in ab8500_gpadc_read_calibration_data() [all …]
|
/linux-4.1.27/sound/pci/echoaudio/ |
D | indigoio_dsp.c | 33 int gain); 105 int gain) in set_vmixer_gain() argument 116 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 118 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 121 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigodj_dsp.c | 33 int gain); 135 int gain) in set_vmixer_gain() argument 146 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 148 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 151 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigo_dsp.c | 33 int gain); 135 int gain) in set_vmixer_gain() argument 146 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 148 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 151 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | indigo_express_dsp.c | 78 int gain) in set_vmixer_gain() argument 89 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 91 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 94 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | mia_dsp.c | 36 int gain); 169 int gain) in set_vmixer_gain() argument 180 chip->vmixer_gain[output][pipe] = gain; in set_vmixer_gain() 182 chip->comm_page->vmixer[index] = gain; in set_vmixer_gain() 185 "set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain); in set_vmixer_gain()
|
D | gina20_dsp.c | 178 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument 186 chip->input_gain[input] = gain; in set_input_gain() 187 gain += GL20_INPUT_GAIN_MAGIC_NUMBER; in set_input_gain() 188 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
|
D | layla20_dsp.c | 252 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) in set_input_gain() argument 260 chip->input_gain[input] = gain; in set_input_gain() 261 gain += GL20_INPUT_GAIN_MAGIC_NUMBER; in set_input_gain() 262 chip->comm_page->line_in_level[input] = gain; in set_input_gain()
|
D | echoaudio.c | 1019 int c, changed, gain; in snd_echo_output_gain_put() local 1025 gain = ucontrol->value.integer.value[c]; in snd_echo_output_gain_put() 1027 if (gain < ECHOGAIN_MINOUT || gain > ECHOGAIN_MAXOUT) in snd_echo_output_gain_put() 1029 if (chip->output_gain[c] != gain) { in snd_echo_output_gain_put() 1030 set_output_gain(chip, c, gain); in snd_echo_output_gain_put() 1100 int c, gain, changed; in snd_echo_input_gain_put() local 1106 gain = ucontrol->value.integer.value[c]; in snd_echo_input_gain_put() 1108 if (gain < ECHOGAIN_MININP || gain > ECHOGAIN_MAXINP) in snd_echo_input_gain_put() 1110 if (chip->input_gain[c] != gain) { in snd_echo_input_gain_put() 1111 set_input_gain(chip, c, gain); in snd_echo_input_gain_put() [all …]
|
D | indigoiox_dsp.c | 31 u16 pipe, int gain);
|
D | indigodjx_dsp.c | 31 u16 pipe, int gain);
|
D | echoaudio_dsp.c | 552 static int set_output_gain(struct echoaudio *chip, u16 channel, s8 gain) in set_output_gain() argument 561 chip->output_gain[channel] = gain; in set_output_gain() 562 chip->comm_page->line_out_level[channel] = gain; in set_output_gain() 571 s8 gain) in set_monitor_gain() argument 580 chip->monitor_gain[output][input] = gain; in set_monitor_gain() 581 chip->comm_page->monitors[monitor_index(chip, output, input)] = gain; in set_monitor_gain()
|
/linux-4.1.27/drivers/iio/gyro/ |
D | st_gyro_core.c | 166 .gain = ST_GYRO_1_FS_AVL_250_GAIN, 171 .gain = ST_GYRO_1_FS_AVL_500_GAIN, 176 .gain = ST_GYRO_1_FS_AVL_2000_GAIN, 228 .gain = ST_GYRO_2_FS_AVL_250_GAIN, 233 .gain = ST_GYRO_2_FS_AVL_500_GAIN, 238 .gain = ST_GYRO_2_FS_AVL_2000_GAIN, 286 .gain = ST_GYRO_3_FS_AVL_250_GAIN, 291 .gain = ST_GYRO_3_FS_AVL_500_GAIN, 296 .gain = ST_GYRO_3_FS_AVL_2000_GAIN, 329 *val2 = gdata->current_fullscale->gain; in st_gyro_read_raw()
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/light/ |
D | tsl2563.txt | 10 - amstaos,cover-comp-gain : integer used as multiplier for gain 18 amstaos,cover-comp-gain = <16>;
|
/linux-4.1.27/Documentation/devicetree/bindings/regulator/ |
D | max1586-regulator.txt | 6 - v3-gain: integer specifying the V3 gain as per datasheet 16 v3-gain = <1000000>;
|
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx_st6422.c | 65 static int setgain(struct sd *sd, u8 gain); 227 static int setgain(struct sd *sd, u8 gain) in setgain() argument 232 err = stv06xx_write_bridge(sd, 0x0509, gain); in setgain() 236 err = stv06xx_write_bridge(sd, 0x050a, gain); in setgain() 240 err = stv06xx_write_bridge(sd, 0x050b, gain); in setgain()
|
D | stv06xx_pb0100.c | 54 struct v4l2_ctrl *gain; member 103 err = pb0100_set_gain(gspca_dev, ctrls->gain->val); in pb0100_s_ctrl() 151 ctrls->gain = v4l2_ctrl_new_std(hdl, &pb0100_ctrl_ops, in pb0100_init_controls() 355 val += ctrls->gain->val; in pb0100_set_red_balance() 373 val += ctrls->gain->val; in pb0100_set_blue_balance()
|
/linux-4.1.27/drivers/input/ |
D | ff-memless.c | 62 int gain; member 257 int gain) in ml_combine_effects() argument 270 x = fixp_mult(fixp_sin16(i), level) * gain / 0xffff; in ml_combine_effects() 271 y = fixp_mult(-fixp_cos16(i), level) * gain / 0xffff; in ml_combine_effects() 284 strong = (u32)new->u.rumble.strong_magnitude * gain / 0xffff; in ml_combine_effects() 285 weak = (u32)new->u.rumble.weak_magnitude * gain / 0xffff; in ml_combine_effects() 311 i = i * gain / 0x7fff; in ml_combine_effects() 395 ml_combine_effects(combo_effect, state, ml->gain); in ml_get_combo_effect() 431 static void ml_ff_set_gain(struct input_dev *dev, u16 gain) in ml_ff_set_gain() argument 436 ml->gain = gain; in ml_ff_set_gain() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/ |
D | ads1015.txt | 18 - pga is the programmable gain amplifier (values are full scale) 64 - ti,gain : the programmable gain amplifier setting 71 ti,gain = <3>;
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | cap11xx.txt | 24 microchip,sensor-gain: Defines the gain of the sensor circuitry. This 29 By default, a gain of 1 is set. 50 microchip,sensor-gain = <2>;
|
/linux-4.1.27/drivers/staging/iio/adc/ |
D | ad7780.c | 46 unsigned int gain; member 98 *val = st->int_vref_mv * st->gain; in ad7780_read_raw() 120 st->gain = 1; in ad7780_postprocess_sample() 122 st->gain = 128; in ad7780_postprocess_sample() 176 st->gain = 1; in ad7780_probe()
|
/linux-4.1.27/drivers/media/i2c/ |
D | mt9t001.c | 482 static u16 mt9t001_gain_value(s32 *gain) in mt9t001_gain_value() argument 498 if (*gain <= 32) in mt9t001_gain_value() 499 return *gain; in mt9t001_gain_value() 501 if (*gain <= 64) { in mt9t001_gain_value() 502 *gain &= ~1; in mt9t001_gain_value() 503 return (1 << 6) | (*gain >> 1); in mt9t001_gain_value() 506 *gain &= ~7; in mt9t001_gain_value() 507 return ((*gain - 64) << 5) | (1 << 6) | 32; in mt9t001_gain_value() 542 struct v4l2_ctrl *gain = mt9t001->gains[i]; in mt9t001_s_ctrl() local 544 if (gain->val != gain->cur.val) in mt9t001_s_ctrl() [all …]
|
D | ov9650.c | 218 struct v4l2_ctrl *gain; member 699 if (ctrls->gain->is_new && !auto_gain) { in ov965x_set_gain() 700 unsigned int gain = ctrls->gain->val; in ov965x_set_gain() local 708 if (gain >= (1 << m) * 16) in ov965x_set_gain() 710 rgain = (gain - ((1 << m) * 16)) / (1 << m); in ov965x_set_gain() 725 ctrls->gain->val = (1 << m) * (16 + (rgain & 0xf)); in ov965x_set_gain() 860 unsigned int exposure, gain, m; in __g_volatile_ctrl() local 877 gain = ((reg1 >> 6) << 8) | reg0; in __g_volatile_ctrl() 878 m = 0x01 << fls(gain >> 4); in __g_volatile_ctrl() 879 ov965x->ctrls.gain->val = m * (16 + (gain & 0xf)); in __g_volatile_ctrl() [all …]
|
D | ov7670.c | 217 struct v4l2_ctrl *gain; member 1319 unsigned char gain; in ov7670_g_gain() local 1321 ret = ov7670_read(sd, REG_GAIN, &gain); in ov7670_g_gain() 1322 *value = gain; in ov7670_g_gain() 1410 return ov7670_g_gain(sd, &info->gain->val); in ov7670_g_volatile_ctrl() 1437 return ov7670_s_gain(sd, info->gain->val); in ov7670_s_ctrl() 1599 info->gain = v4l2_ctrl_new_std(&info->hdl, &ov7670_ctrl_ops, in ov7670_probe()
|
D | saa7115.c | 82 struct v4l2_ctrl *gain; member 824 state->gain->val = in saa711x_g_volatile_ctrl() 856 saa711x_write(sd, R_0F_CHROMA_GAIN_CNTL, state->gain->val); in saa711x_s_ctrl() 858 saa711x_write(sd, R_0F_CHROMA_GAIN_CNTL, state->gain->val | 0x80); in saa711x_s_ctrl() 1840 state->gain = v4l2_ctrl_new_std(hdl, &saa711x_ctrl_ops, in saa711x_probe()
|
D | s5k6aa.c | 220 struct v4l2_ctrl *gain; member 525 static int s5k6aa_set_user_gain(struct i2c_client *client, int gain) in s5k6aa_set_user_gain() argument 527 int ret = s5k6aa_write(client, REG_SF_USR_TOT_GAIN, gain); in s5k6aa_set_user_gain() 553 ret = s5k6aa_set_user_gain(c, s5k6aa->ctrls.gain->val); in s5k6aa_set_auto_exposure() 1393 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN, in s5k6aa_initialize_ctrls()
|
D | s5k5baf.c | 271 struct v4l2_ctrl *gain; member 697 static void s5k5baf_hw_set_user_gain(struct s5k5baf *state, int gain) in s5k5baf_hw_set_user_gain() argument 699 s5k5baf_write_seq(state, REG_SF_USR_TOT_GAIN, gain, 1); in s5k5baf_hw_set_user_gain() 711 s5k5baf_hw_set_user_gain(state, state->ctrls.gain->val); in s5k5baf_hw_set_auto_exposure() 1664 ctrls->gain = v4l2_ctrl_new_std(hdl, ops, V4L2_CID_GAIN, in s5k5baf_initialize_ctrls()
|
/linux-4.1.27/sound/parisc/ |
D | harmony.c | 171 harmony_write(h, HARMONY_GAINCTL, h->st.gain); in harmony_unmute() 691 harmony_write(h, HARMONY_GAINCTL, h->st.gain); in snd_harmony_set_new_gain() 724 left = (h->st.gain >> shift_left) & mask; in snd_harmony_volume_get() 725 right = (h->st.gain >> shift_right) & mask; in snd_harmony_volume_get() 750 int old_gain = h->st.gain; in snd_harmony_volume_put() 757 h->st.gain &= ~( (mask << shift_left ) ); in snd_harmony_volume_put() 758 h->st.gain |= (left << shift_left); in snd_harmony_volume_put() 764 h->st.gain &= ~( (mask << shift_right) ); in snd_harmony_volume_put() 765 h->st.gain |= (right << shift_right); in snd_harmony_volume_put() 772 return h->st.gain != old_gain; in snd_harmony_volume_put() [all …]
|
D | harmony.h | 25 u32 gain; member
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
D | mt9v022.c | 152 struct v4l2_ctrl *gain; member 514 struct v4l2_ctrl *gain = mt9v022->gain; in mt9v022_g_volatile_ctrl() local 525 range = gain->maximum - gain->minimum; in mt9v022_g_volatile_ctrl() 526 gain->val = ((data - 16) * range + 24) / 48 + gain->minimum; in mt9v022_g_volatile_ctrl() 582 struct v4l2_ctrl *gain = mt9v022->gain; in mt9v022_s_ctrl() local 584 unsigned long range = gain->maximum - gain->minimum; in mt9v022_s_ctrl() 586 unsigned long gain_val = ((gain->val - (s32)gain->minimum) * in mt9v022_s_ctrl() 896 mt9v022->gain = v4l2_ctrl_new_std(&mt9v022->hdl, &mt9v022_ctrl_ops, in mt9v022_probe()
|
D | mt9m111.c | 207 struct v4l2_ctrl *gain; member 662 static int mt9m111_set_global_gain(struct mt9m111 *mt9m111, int gain) in mt9m111_set_global_gain() argument 667 if (gain > 63 * 2 * 2) in mt9m111_set_global_gain() 670 if ((gain >= 64 * 2) && (gain < 63 * 2 * 2)) in mt9m111_set_global_gain() 671 val = (1 << 10) | (1 << 9) | (gain / 4); in mt9m111_set_global_gain() 672 else if ((gain >= 64) && (gain < 64 * 2)) in mt9m111_set_global_gain() 673 val = (1 << 9) | (gain / 2); in mt9m111_set_global_gain() 675 val = gain; in mt9m111_set_global_gain() 726 v4l2_ctrl_s_ctrl(mt9m111->gain, mt9m111_get_global_gain(mt9m111)); in mt9m111_suspend() 970 mt9m111->gain = v4l2_ctrl_new_std(&mt9m111->hdl, &mt9m111_ctrl_ops, in mt9m111_probe()
|
D | mt9m001.c | 416 unsigned long gain = ((ctrl->val - (s32)ctrl->default_value - 1) * in mt9m001_s_ctrl() local 419 if (gain <= 32) in mt9m001_s_ctrl() 420 data = gain; in mt9m001_s_ctrl() 421 else if (gain <= 64) in mt9m001_s_ctrl() 422 data = ((gain - 32) * 16 + 16) / 32 + 80; in mt9m001_s_ctrl() 424 data = ((gain - 64) * 7 + 28) / 56 + 96; in mt9m001_s_ctrl()
|
D | mt9t031.c | 488 unsigned long gain = ((ctrl->val - (s32)ctrl->default_value - 1) * in mt9t031_s_ctrl() local 491 if (gain <= 32) /* calculated gain 9..32 -> 9..32 */ in mt9t031_s_ctrl() 492 data = gain; in mt9t031_s_ctrl() 493 else if (gain <= 64) /* calculated gain 33..64 -> 0x51..0x60 */ in mt9t031_s_ctrl() 494 data = ((gain - 32) * 16 + 16) / 32 + 80; in mt9t031_s_ctrl() 497 data = (((gain - 64 + 7) * 32) & 0xff00) | 0x60; in mt9t031_s_ctrl()
|
D | ov6650.c | 191 struct v4l2_ctrl *gain; member 321 priv->gain->val = reg; in ov6550_g_volatile_ctrl() 354 ret = ov6650_reg_write(client, REG_GAIN, priv->gain->val); in ov6550_s_ctrl() 980 priv->gain = v4l2_ctrl_new_std(&priv->hdl, &ov6550_ctrl_ops, in ov6650_probe()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | tda10023.c | 422 u16 gain = ((255-tda10023_readreg(state, 0x17))) + (255-ifgain)/16; in tda10023_read_signal_strength() local 424 if (gain>0x90) in tda10023_read_signal_strength() 425 gain=gain+2*(gain-0x90); in tda10023_read_signal_strength() 426 if (gain>255) in tda10023_read_signal_strength() 427 gain=255; in tda10023_read_signal_strength() 429 *strength = (gain<<8)|gain; in tda10023_read_signal_strength()
|
D | dib0070.c | 611 static u16 dib0070_read_wbd_offset(struct dib0070_state *state, u8 gain) in dib0070_read_wbd_offset() argument 618 …dib0070_write_reg(state, 0x0f, (1 << 14) | (2 << 12) | (gain << 9) | (1 << 8) | (1 << 7) | (0 << 0… in dib0070_read_wbd_offset() 627 u8 gain; in dib0070_wbd_offset_calibration() local 628 for (gain = 6; gain < 8; gain++) { in dib0070_wbd_offset_calibration() 629 state->wbd_offset_3_3[gain - 6] = ((dib0070_read_wbd_offset(state, gain) * 8 * 18 / 33 + 1) / 2); in dib0070_wbd_offset_calibration() 630 dprintk("Gain: %d, WBDOffset (3.3V) = %hd", gain, state->wbd_offset_3_3[gain-6]); in dib0070_wbd_offset_calibration()
|
D | stv6110x.h | 49 int (*tuner_set_bbgain) (struct dvb_frontend *fe, u32 gain); 50 int (*tuner_get_bbgain) (struct dvb_frontend *fe, u32 *gain);
|
D | ix2505v.c | 140 u8 gain, cc, ref, psc, local_osc, lpf; in ix2505v_set_params() local 148 gain = (state->config->tuner_gain < 4) in ix2505v_set_params() 151 gain = 0x0; in ix2505v_set_params() 166 data[0] = ((gain & 0x3) << 5) | (N >> 3); in ix2505v_set_params()
|
D | stv090x.h | 99 int (*tuner_set_bbgain)(struct dvb_frontend *fe, u32 gain); 100 int (*tuner_get_bbgain)(struct dvb_frontend *fe, u32 *gain);
|
D | tda10021.c | 355 u8 gain = tda10021_readreg(state, 0x17); in tda10021_read_signal_strength() local 358 gain = ~gain; in tda10021_read_signal_strength() 359 *strength = (gain << 8) | gain; in tda10021_read_signal_strength()
|
D | l64781.c | 366 int gain = l64781_readreg (state, 0x0e); in l64781_read_status() local 373 if (gain > 5) in l64781_read_status() 407 u8 gain = l64781_readreg (state, 0x0e); in l64781_read_signal_strength() local 408 *signal_strength = (gain << 8) | gain; in l64781_read_signal_strength()
|
D | stv6110x.c | 267 static int stv6110x_get_bbgain(struct dvb_frontend *fe, u32 *gain) in stv6110x_get_bbgain() argument 272 *gain = 2 * STV6110x_GETFIELD(CTRL2_BBGAIN, stv6110x->regs[STV6110x_CTRL2]); in stv6110x_get_bbgain() 277 static int stv6110x_set_bbgain(struct dvb_frontend *fe, u32 gain) in stv6110x_set_bbgain() argument 281 STV6110x_SETFIELD(stv6110x->regs[STV6110x_CTRL2], CTRL2_BBGAIN, gain / 2); in stv6110x_set_bbgain()
|
D | stv6110.c | 44 u8 gain; member 289 priv->regs[RSTV6110_CTRL2] |= (priv->gain & 0x0f); in stv6110_set_frequency() 443 priv->gain = config->gain; in stv6110_attach()
|
D | stv6110.h | 45 u8 gain; member
|
D | ves1820.c | 282 u8 gain = ves1820_readreg(state, 0x17); in ves1820_read_signal_strength() local 283 *strength = (gain << 8) | gain; in ves1820_read_signal_strength()
|
D | dib0090.c | 155 u16 gain[2]; /* for channel monitoring */ member 929 u16 i, v, gain_reg[4] = { 0 }, gain; in dib0090_gain_apply() local 951 gain = ((state->rf_gain_limit >> WBD_ALPHA) + state->bb_ramp[0]) << GAIN_ALPHA; in dib0090_gain_apply() 952 if (gain_delta >= ((s16) gain - state->current_gain)) /* overflow */ in dib0090_gain_apply() 953 state->current_gain = gain; in dib0090_gain_apply() 961 gain = state->current_gain >> GAIN_ALPHA; in dib0090_gain_apply() 964 if (gain > (state->rf_gain_limit >> WBD_ALPHA)) { in dib0090_gain_apply() 966 bb = gain - rf; in dib0090_gain_apply() 970 rf = gain; in dib0090_gain_apply() 974 state->gain[0] = rf; in dib0090_gain_apply() [all …]
|
D | stb0899_drv.c | 1439 u32 SearchRange, gain; in stb0899_search() local 1455 gain = 8; /* 15Mb < srate < 45Mb, gain = 8dB */ in stb0899_search() 1457 gain = 12; /* 5Mb < srate < 15Mb, gain = 12dB */ in stb0899_search() 1459 gain = 14; /* 1Mb < srate < 5Mb, gain = 14db */ in stb0899_search() 1460 state->config->tuner_set_rfsiggain(fe, gain); in stb0899_search()
|
/linux-4.1.27/drivers/iio/light/ |
D | tcs3414.c | 58 u8 gain; member 152 i = (data->gain & TCS3414_GAIN_MASK) >> TCS3414_GAIN_SHIFT; in tcs3414_read_raw() 176 data->gain &= ~TCS3414_GAIN_MASK; in tcs3414_write_raw() 177 data->gain |= i << TCS3414_GAIN_SHIFT; in tcs3414_write_raw() 180 data->gain); in tcs3414_write_raw() 330 data->gain = ret; in tcs3414_probe()
|
/linux-4.1.27/drivers/iio/adc/ |
D | qcom-spmi-iadc.c | 121 u16 gain; member 338 vsense_uv /= (s32)iadc->gain - iadc->offset[chan->channel]; in iadc_read_raw() 343 iadc->offset[chan->channel], iadc->gain, in iadc_read_raw() 375 ret = iadc_do_conversion(iadc, IADC_GAIN_17P857MV, &iadc->gain); in iadc_update_offset() 384 if (iadc->gain == iadc->offset[IADC_INT_RSENSE]) { in iadc_update_offset() 386 iadc->gain); in iadc_update_offset() 395 if (iadc->gain == iadc->offset[IADC_EXT_RSENSE]) { in iadc_update_offset() 397 iadc->gain); in iadc_update_offset()
|
D | twl6030-gpadc.c | 81 s32 gain; member 504 gpadc->twl6030_cal_tbl[i].gain; in twl6030_gpadc_get_processed() 577 int b, k, gain, x1, x2, i; in twl6030_calibrate_channel() local 583 gain = ((ideal[i].volt2 - ideal[i].volt1) * 1000) / in twl6030_calibrate_channel() 595 gpadc->twl6030_cal_tbl[i].gain = gain; in twl6030_calibrate_channel() 603 dev_dbg(gpadc->dev, "GPADC Gain for Chn: %d = %d\n", channel, gain); in twl6030_calibrate_channel()
|
D | nau7802.c | 93 static int nau7802_set_gain(struct nau7802_state *st, int gain) in nau7802_set_gain() argument 105 gain); in nau7802_set_gain()
|
D | Kconfig | 247 channels internally used for gain and offset calibration.
|
/linux-4.1.27/Documentation/sound/alsa/soc/ |
D | pops_clicks.txt | 29 a PGA (programmable gain amplifier) before being output to the speakers. 48 when a volume control is changed near its maximum gain value. The zipper noise 49 is heard when the gain increase or decrease changes the mean audio signal 51 for each volume control. The ZC forces the gain change to occur when the signal
|
D | dapm.txt | 55 o PGA - A programmable gain amplifier or attenuation widget.
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | rti800.c | 166 unsigned int gain = CR_RANGE(insn->chanspec); in rti800_ai_insn_read() local 174 muxgain_bits = chan | (gain << 5); in rti800_ai_insn_read() 183 int delay = (gain == 0) ? 10 : in rti800_ai_insn_read() 184 (gain == 1) ? 20 : in rti800_ai_insn_read() 185 (gain == 2) ? 40 : 80; in rti800_ai_insn_read()
|
D | cb_pcidda.c | 274 unsigned int gain; in cb_pcidda_calibrate() local 281 gain = devpriv->eeprom_data[0x8 + index]; in cb_pcidda_calibrate() 289 (gain >> 8) & 0xff); in cb_pcidda_calibrate() 291 gain & 0xff); in cb_pcidda_calibrate()
|
D | ni_atmio16d.c | 295 unsigned int sample_count, tmp, chan, gain; in atmio16d_ai_cmd() local 317 gain = CR_RANGE(cmd->chanlist[i]); in atmio16d_ai_cmd() 319 tmp = chan | (gain << 6); in atmio16d_ai_cmd() 464 int gain; in atmio16d_ai_insn_read() local 468 gain = CR_RANGE(insn->chanspec); in atmio16d_ai_insn_read() 476 outw(chan | (gain << 6), dev->iobase + MUX_GAIN_REG); in atmio16d_ai_insn_read()
|
D | das800.c | 381 unsigned int gain = CR_RANGE(cmd->chanlist[0]); in das800_ai_do_cmd() local 396 if (thisboard->resolution == 12 && gain > 0) in das800_ai_do_cmd() 397 gain += 0x7; in das800_ai_do_cmd() 398 gain &= 0xf; in das800_ai_do_cmd() 399 outb(gain, dev->iobase + DAS800_GAIN); in das800_ai_do_cmd()
|
D | daqboard2000.c | 287 static void setup_sampling(struct comedi_device *dev, int chan, int gain) in setup_sampling() argument 349 int gain, chan; in daqboard2000_ai_insn_read() local 365 gain = CR_RANGE(insn->chanspec); in daqboard2000_ai_insn_read() 373 setup_sampling(dev, chan, gain); in daqboard2000_ai_insn_read()
|
D | dt3000.c | 272 unsigned int gain) in dt3k_readsingle() argument 277 writew(gain, dev->mmio + DPR_Params(1)); in dt3k_readsingle() 531 unsigned int chan, gain, aref; in dt3k_ai_insn() local 534 gain = CR_RANGE(insn->chanspec); in dt3k_ai_insn() 539 data[i] = dt3k_readsingle(dev, SUBS_AI, chan, gain); in dt3k_ai_insn()
|
D | dt9812.c | 387 enum dt9812_gain gain) in dt9812_configure_gain() argument 393 gain <<= 1; in dt9812_configure_gain() 400 switch (gain) { in dt9812_configure_gain() 435 int channel, u16 *value, enum dt9812_gain gain) in dt9812_analog_in() argument 450 dt9812_configure_gain(dev, &rmw[0], gain); in dt9812_analog_in()
|
D | usbduxfast.c | 463 unsigned int chan, gain, rngmask = 0xff; in usbduxfast_ai_cmd() local 484 gain = CR_RANGE(cmd->chanlist[0]); in usbduxfast_ai_cmd() 493 if ((gain != CR_RANGE(cmd->chanlist[i])) in usbduxfast_ai_cmd()
|
D | ni_stc.h | 1240 static inline unsigned MSeries_AI_Bypass_Gain_Bits(int gain) in MSeries_AI_Bypass_Gain_Bits() argument 1242 return (gain << 18) & MSeries_AI_Bypass_Gain_Mask; in MSeries_AI_Bypass_Gain_Bits()
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | ControlNames.txt | 75 [Analogue|Digital] Capture Switch (aka input gain switch) 76 [Analogue|Digital] Capture Volume (aka input gain volume) 77 [Analogue|Digital] Playback Switch (aka output gain switch) 78 [Analogue|Digital] Playback Volume (aka output gain volume)
|
/linux-4.1.27/sound/pci/au88x0/ |
D | au88x0_eq.c | 51 static void vortex_EqHw_SetTimeConsts(vortex_t * vortex, u16 gain, u16 level) in vortex_EqHw_SetTimeConsts() argument 53 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts() 505 static int vortex_Eqlzr_GetLeftGain(vortex_t * vortex, u16 index, u16 * gain) in vortex_Eqlzr_GetLeftGain() argument 510 *gain = eq->this130[index]; in vortex_Eqlzr_GetLeftGain() 516 static void vortex_Eqlzr_SetLeftGain(vortex_t * vortex, u16 index, u16 gain) in vortex_Eqlzr_SetLeftGain() argument 523 eq->this130[index] = gain; in vortex_Eqlzr_SetLeftGain() 527 vortex_EqHw_SetLeftGainsSingleTarget(vortex, index, gain); in vortex_Eqlzr_SetLeftGain() 530 static int vortex_Eqlzr_GetRightGain(vortex_t * vortex, u16 index, u16 * gain) in vortex_Eqlzr_GetRightGain() argument 535 *gain = eq->this130[index + eq->this10]; in vortex_Eqlzr_GetRightGain() 541 static void vortex_Eqlzr_SetRightGain(vortex_t * vortex, u16 index, u16 gain) in vortex_Eqlzr_SetRightGain() argument [all …]
|
/linux-4.1.27/drivers/bcma/ |
D | sprom.c | 207 u8 gain; in sprom_extract_antgain() local 210 gain = (v & mask) >> shift; in sprom_extract_antgain() 211 if (gain == 0xFF) { in sprom_extract_antgain() 212 gain = 8; /* If unset use 2dBm */ in sprom_extract_antgain() 215 gain = ((gain & 0xC0) >> 6) | ((gain & 0x3F) << 2); in sprom_extract_antgain() 218 return (s8)gain; in sprom_extract_antgain()
|
/linux-4.1.27/sound/oss/dmasound/ |
D | dmasound.h | 170 int gain; member 201 static inline int dmasound_set_gain(int gain) in dmasound_set_gain() argument 203 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100; in dmasound_set_gain()
|
D | dmasound_atari.c | 129 static int TTSetGain(int gain); 1004 static int TTSetGain(int gain) in TTSetGain() argument 1006 dmasound.gain = GAIN_VOXWARE_TO_DB(gain); in TTSetGain() 1007 atari_microwire_cmd(MW_LM1992_VOLUME(dmasound.gain)); in TTSetGain() 1008 return GAIN_DB_TO_VOXWARE(dmasound.gain); in TTSetGain() 1416 return IOCTL_OUT(arg, GAIN_DB_TO_VOXWARE(dmasound.gain)); in TTMixerIoctl()
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
D | odm_HWConfig.h | 65 u8 gain:7, trsw:1; member 67 u8 trsw:1, gain:7;
|
/linux-4.1.27/drivers/media/platform/davinci/ |
D | dm355_ccdc.c | 72 .gain = { 158 regw(ccdc_cfg.bayer.gain.r_ye, RYEGAIN); in ccdc_config_gain_offset() 159 regw(ccdc_cfg.bayer.gain.gr_cy, GRCYGAIN); in ccdc_config_gain_offset() 160 regw(ccdc_cfg.bayer.gain.gb_g, GBGGAIN); in ccdc_config_gain_offset() 161 regw(ccdc_cfg.bayer.gain.b_mg, BMGGAIN); in ccdc_config_gain_offset() 185 ccdc_cfg.bayer.gain.r_ye = GAIN_DEFAULT; in ccdc_restore_defaults() 186 ccdc_cfg.bayer.gain.gb_g = GAIN_DEFAULT; in ccdc_restore_defaults() 187 ccdc_cfg.bayer.gain.gr_cy = GAIN_DEFAULT; in ccdc_restore_defaults() 188 ccdc_cfg.bayer.gain.b_mg = GAIN_DEFAULT; in ccdc_restore_defaults()
|
D | isif.c | 66 .gain = { 114 .gain = { 241 val = (gain_off_p->gain.r_ye.integer << GAIN_INTEGER_SHIFT) | in isif_config_gain_offset() 242 gain_off_p->gain.r_ye.decimal; in isif_config_gain_offset() 245 val = (gain_off_p->gain.gr_cy.integer << GAIN_INTEGER_SHIFT) | in isif_config_gain_offset() 246 gain_off_p->gain.gr_cy.decimal; in isif_config_gain_offset() 249 val = (gain_off_p->gain.gb_g.integer << GAIN_INTEGER_SHIFT) | in isif_config_gain_offset() 250 gain_off_p->gain.gb_g.decimal; in isif_config_gain_offset() 253 val = (gain_off_p->gain.b_mg.integer << GAIN_INTEGER_SHIFT) | in isif_config_gain_offset() 254 gain_off_p->gain.b_mg.decimal; in isif_config_gain_offset()
|
/linux-4.1.27/net/wireless/ |
D | genregdb.awk | 61 gain = 0 119 …printf "\t\tREG_RULE_EXT(%d, %d, %d, %d, %.0f, %d, %s),\n", start, end, bw, gain, power, dfs_cac, …
|
/linux-4.1.27/Documentation/input/ |
D | ff.txt | 75 - FF_GAIN gain is adjustable 148 3.5 Setting the gain 150 Not all devices have the same strength. Therefore, users should set a gain 154 /* Set the gain of the device 155 int gain; /* between 0 and 100 */ 160 ie.value = 0xFFFFUL * gain / 100; 163 perror("set gain");
|
D | edt-ft5x06.txt | 20 /sys/class/input/eventX/device/device/gain:
|
D | iforce-protocol.txt | 217 **** Set overall gain ****
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
D | odm_HWConfig.h | 70 u8 gain:7, trsw:1; member 72 u8 trsw:1, gain:7;
|
/linux-4.1.27/include/linux/input/ |
D | edt-ft5x06.h | 18 u8 gain; member
|
/linux-4.1.27/drivers/media/usb/pwc/ |
D | pwc-v4l.c | 246 pdev->gain = v4l2_ctrl_new_std(hdl, &pwc_ctrl_ops, in pwc_init_controls() 287 pdev->autogain_expo_cluster[1] = pdev->gain; in pwc_init_controls() 561 pdev->gain->val = pdev->last_gain; in pwc_g_volatile_ctrl() 565 READ_AGC_FORMATTER, &pdev->gain->val); in pwc_g_volatile_ctrl() 568 pdev->last_gain = pdev->gain->val; in pwc_g_volatile_ctrl() 662 if (pdev->gain->is_new) { in pwc_set_autogain() 665 pdev->gain->val); in pwc_set_autogain() 723 if (pdev->gain->is_new) { in pwc_set_autogain_expo() 726 pdev->gain->val); in pwc_set_autogain_expo()
|
D | pwc.h | 314 struct v4l2_ctrl *gain; member
|
/linux-4.1.27/drivers/staging/iio/light/ |
D | tsl2583.c | 515 char gain[4] = {0}; in taos_gain_show() local 519 strcpy(gain, "001"); in taos_gain_show() 522 strcpy(gain, "008"); in taos_gain_show() 525 strcpy(gain, "016"); in taos_gain_show() 528 strcpy(gain, "111"); in taos_gain_show() 532 return sprintf(buf, "%s\n", gain); in taos_gain_show()
|
/linux-4.1.27/drivers/input/keyboard/ |
D | cap11xx.c | 206 int i, error, irq, gain = 0; in cap11xx_i2c_probe() local 262 gain = ilog2(gain32); in cap11xx_i2c_probe() 283 gain << CAP11XX_REG_MAIN_CONTROL_GAIN_SHIFT); in cap11xx_i2c_probe()
|
/linux-4.1.27/drivers/staging/iio/Documentation/light/ |
D | sysfs-bus-iio-light-tsl2583 | 5 This property causes an internal calibration of the als gain trim
|
D | sysfs-bus-iio-light-tsl2x7x | 5 Causes an internal calibration of the als gain trim
|
/linux-4.1.27/drivers/thermal/samsung/ |
D | exynos_tmu.h | 59 u8 gain; member
|
D | exynos_tmu.c | 349 con |= (pdata->gain << EXYNOS_TMU_BUF_SLOPE_SEL_SHIFT); in get_con_reg() 969 pdata->gain = (u8)value; in exynos_of_sensor_conf()
|
/linux-4.1.27/drivers/iio/pressure/ |
D | st_pressure_core.c | 209 .gain = ST_PRESS_LPS331AP_FS_AVL_1260_GAIN, 291 .gain = ST_PRESS_LPS25H_FS_AVL_1260_GAIN, 350 *val2 = press_data->current_fullscale->gain; in st_press_read_raw()
|
/linux-4.1.27/drivers/ssb/ |
D | pci.c | 333 u8 gain; in sprom_extract_antgain() local 336 gain = (v & mask) >> shift; in sprom_extract_antgain() 337 if (gain == 0xFF) in sprom_extract_antgain() 338 gain = 2; /* If unset use 2dBm */ in sprom_extract_antgain() 341 gain <<= 2; in sprom_extract_antgain() 344 gain = ((gain & 0xC0) >> 6) | ((gain & 0x3F) << 2); in sprom_extract_antgain() 347 return (s8)gain; in sprom_extract_antgain()
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-bus-iio-proximity-as3935 | 14 Show or set the gain boost of the amp, from 0-31 range.
|
/linux-4.1.27/include/media/davinci/ |
D | isif.h | 374 struct isif_gain gain; member 507 struct isif_gain gain; member
|
D | dm355_ccdc.h | 306 struct ccdc_gain gain; member
|
/linux-4.1.27/drivers/media/tuners/ |
D | m88rs6000t.c | 499 u16 gain; in m88rs6000t_get_rf_strength() local 560 gain = RFG + IFG - TIAG + BBG + PGA2G; in m88rs6000t_get_rf_strength() 563 gain = clamp_val(gain, 1000U, 10500U); in m88rs6000t_get_rf_strength() 564 *strength = (10500 - gain) * 0xffff / (10500 - 1000); in m88rs6000t_get_rf_strength()
|
D | r820t.c | 1221 int gain) 1250 if (total_gain >= gain) 1255 if (total_gain >= gain)
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
D | cinergyT2-fe.c | 159 if (0xffff - le16_to_cpu(result.gain) > 30) in cinergyt2_fe_read_status() 226 *strength = (0xffff - le16_to_cpu(status.gain)); in cinergyt2_fe_read_signal_strength()
|
D | cinergyT2.h | 73 __le16 gain; member
|
/linux-4.1.27/sound/pci/lola/ |
D | lola_mixer.c | 222 unsigned short gain, bool on) in lola_mixer_set_src_gain() argument 235 (gain == readw(&chip->mixer.array->src_gain[id]))) in lola_mixer_set_src_gain() 240 id, gain, val); in lola_mixer_set_src_gain() 241 writew(gain, &chip->mixer.array->src_gain[id]); in lola_mixer_set_src_gain() 283 unsigned short gain, bool on) in lola_mixer_set_mapping_gain() argument 291 writew(gain, &chip->mixer.array->dest_mix_gain[dest][src]); in lola_mixer_set_mapping_gain()
|
/linux-4.1.27/drivers/staging/iio/Documentation/ |
D | sysfs-bus-iio-light-tsl2583 | 12 This property causes an internal calibration of the als gain trim
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | ispresizer.h | 72 u8 gain; /* maximum gain. */ member
|
D | isppreview.c | 279 cs->gain | (cs->thres << ISPPRV_CSUP_THRES_SHIFT) | in preview_config_chroma_suppression() 1327 params->csup.gain = FLR_CSUP_GAIN; in preview_init_params()
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 206 int gain; in ch7006_setup_levels() local 212 gain = 76; in ch7006_setup_levels() 216 gain = 71; in ch7006_setup_levels() 221 black_level = round_fixed(norm->black_level*26625)/gain; in ch7006_setup_levels()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | edt-ft5x06.c | 107 int gain; member 465 static EDT_ATTR(gain, S_IWUSR | S_IRUGO, WORK_REGISTER_GAIN, 589 tsdata->gain); in edt_ft5x06_work_mode() 872 EDT_GET_PROP(gain, reg_addr->reg_gain); in edt_ft5x06_ts_get_dt_defaults() 887 EDT_ATTR_CHECKSET(gain, reg_addr->reg_gain); in edt_ft5x06_ts_get_defaults() 900 tsdata->gain = edt_ft5x06_register_read(tsdata, reg_addr->reg_gain); in edt_ft5x06_ts_get_parameters()
|
/linux-4.1.27/Documentation/misc-devices/ |
D | apds990x.txt | 31 ALS contains 4 different gain steps. Driver automatically 32 selects suitable gain step. After each measurement, reliability of the results
|
/linux-4.1.27/Documentation/devicetree/bindings/phy/ |
D | apm-xgene-phy.txt | 27 - apm,tx-boost-gain : Frequency boost AC (LSB 3-bit) and DC (2-bit) 28 gain control. Two set of 3-tuple setting for each
|
/linux-4.1.27/drivers/media/usb/gspca/m5602/ |
D | m5602_ov7660.c | 138 sd->gain = v4l2_ctrl_new_std(hdl, &ov7660_ctrl_ops, V4L2_CID_GAIN, 0, in ov7660_init_controls() 277 err = ov7660_set_gain(gspca_dev, sd->gain->val); in ov7660_s_ctrl()
|
D | m5602_bridge.h | 160 struct v4l2_ctrl *gain; member
|
D | m5602_ov9650.c | 241 sd->gain = v4l2_ctrl_new_std(hdl, &ov9650_ctrl_ops, V4L2_CID_GAIN, 0, in ov9650_init_controls() 595 err = ov9650_set_gain(gspca_dev, sd->gain->val); in ov9650_s_ctrl()
|
D | m5602_po1030.c | 156 sd->gain = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_GAIN, 0, in po1030_init_controls()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | phy_lp.c | 891 static void lpphy_set_pa_gain(struct b43_wldev *dev, u16 gain) in lpphy_set_pa_gain() argument 893 b43_phy_maskset(dev, B43_PHY_OFDM(0xFB), 0xE03F, gain << 6); in lpphy_set_pa_gain() 894 b43_phy_maskset(dev, B43_PHY_OFDM(0xFD), 0x80FF, gain << 8); in lpphy_set_pa_gain() 925 static void lpphy_rev0_1_set_rx_gain(struct b43_wldev *dev, u32 gain) in lpphy_rev0_1_set_rx_gain() argument 927 u16 trsw = gain & 0x1; in lpphy_rev0_1_set_rx_gain() 928 u16 lna = (gain & 0xFFFC) | ((gain & 0xC) >> 2); in lpphy_rev0_1_set_rx_gain() 929 u16 ext_lna = (gain & 2) >> 1; in lpphy_rev0_1_set_rx_gain() 939 static void lpphy_rev2plus_set_rx_gain(struct b43_wldev *dev, u32 gain) in lpphy_rev2plus_set_rx_gain() argument 941 u16 low_gain = gain & 0xFFFF; in lpphy_rev2plus_set_rx_gain() 942 u16 high_gain = (gain >> 16) & 0xF; in lpphy_rev2plus_set_rx_gain() [all …]
|
D | phy_n.c | 595 s16 gain[2]; in b43_nphy_adjust_lna_gain_table() local 604 gain[0] = 6; in b43_nphy_adjust_lna_gain_table() 605 gain[1] = 6; in b43_nphy_adjust_lna_gain_table() 608 gain[0] = ((tmp >> 13) + ((tmp >> 12) & 1)); in b43_nphy_adjust_lna_gain_table() 610 gain[1] = ((tmp >> 13) + ((tmp >> 12) & 1)); in b43_nphy_adjust_lna_gain_table() 613 gain[0] = 0; in b43_nphy_adjust_lna_gain_table() 614 gain[1] = 0; in b43_nphy_adjust_lna_gain_table() 619 data[0] = 19 + gain[i]; in b43_nphy_adjust_lna_gain_table() 620 data[1] = 25 + gain[i]; in b43_nphy_adjust_lna_gain_table() 621 data[2] = 25 + gain[i]; in b43_nphy_adjust_lna_gain_table() [all …]
|
/linux-4.1.27/Documentation/mtd/ |
D | nand_ecc.txt | 262 No pain. no gain. 474 Unrolling twice keeps the gain at about 15% 475 Unrolling three times gives a gain of 30% compared to attempt 2. 480 feeling that in the next steps I would obtain additional gain from it. 559 Measuring this code again showed big gain. When executing the original 658 shift after parity[rp7] << 7; No gain. 665 No gain. 690 It proved to be fastest to do some table lookups. Performance gain 700 The gain when calculating the ecc is tremendous. Om my development hardware 705 For correction not much gain could be obtained (as bitflips are rare). Then [all …]
|
/linux-4.1.27/drivers/mtd/spi-nor/ |
D | Kconfig | 15 on the usage this feature may provide performance gain in comparison
|
/linux-4.1.27/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 387 if ((sdata->sensor_settings->fs.fs_avl[i].gain == scale) && in st_sensors_set_fullscale_by_gain() 388 (sdata->sensor_settings->fs.fs_avl[i].gain != 0)) { in st_sensors_set_fullscale_by_gain() 545 sdata->sensor_settings->fs.fs_avl[i].gain); in st_sensors_sysfs_scale_avail()
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | dm365_ipipeif.h | 140 int gain; member
|
D | davinci_vpfe_user.h | 776 unsigned short gain; member 1094 unsigned char gain; member
|
D | dm365_ipipeif.c | 240 ipipeif_write(ipipeif->gain, ipipeif_base_addr, IPIPEIF_GAIN); in ipipeif_hw_setup() 245 ipipeif_write(ipipeif->gain, ipipeif_base_addr, IPIPEIF_GAIN); in ipipeif_hw_setup() 495 ipipeif->gain = ctrl->val; in ipipeif_s_ctrl()
|
D | dm365_ipipe_hw.c | 590 regw_ip(base_addr, gic->gain & GIC_GAIN_MASK, GIC_GAN); in ipipe_set_gic_regs() 968 regw_ip(base_addr, car->gain1.gain, CAR_GN1_GAN); in ipipe_set_gain_ctrl() 972 regw_ip(base_addr, car->gain2.gain, CAR_GN2_GAN); in ipipe_set_gain_ctrl()
|
/linux-4.1.27/sound/soc/codecs/ |
D | arizona.c | 1629 u16 gain; member 1643 int gain; member 1820 cfg->gain = fll_gains[i].gain; in arizona_calc_fll() 1834 arizona_fll_dbg(fll, "GAIN=%d\n", cfg->gain); in arizona_calc_fll() 1860 cfg->gain << ARIZONA_FLL1_GAIN_SHIFT); in arizona_apply_fll() 1867 cfg->gain << ARIZONA_FLL1_GAIN_SHIFT); in arizona_apply_fll()
|
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/ |
D | edt-ft5x06.txt | 38 - gain: allows setting the sensitivity in the range from 0 to
|
/linux-4.1.27/drivers/input/joystick/iforce/ |
D | iforce-main.c | 103 static void iforce_set_gain(struct input_dev *dev, u16 gain) in iforce_set_gain() argument 108 data[0] = gain >> 9; in iforce_set_gain()
|
/linux-4.1.27/Documentation/hwmon/ |
D | ads1015 | 45 - pga is the programmable gain amplifier (values are full scale)
|
D | vt1211 | 124 According to the VIA VT1211 BIOS porting guide, the following gain and offset
|
/linux-4.1.27/sound/firewire/ |
D | isight.c | 490 __be32 gain; in isight_gain_get() local 493 err = reg_read(isight, REG_GAIN, &gain); in isight_gain_get() 497 value->value.integer.value[0] = (s32)be32_to_cpu(gain); in isight_gain_get()
|
/linux-4.1.27/drivers/lguest/ |
D | README | 12 Along your way to the Noble Goal, you will also gain masterly insight into
|
/linux-4.1.27/include/linux/iio/common/ |
D | st_sensors.h | 97 unsigned int gain; member
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-kthread-cap.c | 428 s32 gain; in vivid_fillbuff() local 508 gain = v4l2_ctrl_g_ctrl(dev->gain); in vivid_fillbuff() 519 dev->autogain->cur.val, gain, dev->alpha->cur.val); in vivid_fillbuff()
|
D | vivid-core.h | 203 struct v4l2_ctrl *gain; member
|
D | vivid-ctrls.c | 289 dev->gain->val = dev->jiffies_vid_cap & 0xff; in vivid_user_vid_g_volatile_ctrl() 1316 dev->gain = v4l2_ctrl_new_std(hdl_user_vid, &vivid_user_vid_ctrl_ops, in vivid_create_controls()
|
/linux-4.1.27/drivers/staging/gs_fpgaboot/ |
D | README | 48 This is a real gain :)
|
/linux-4.1.27/sound/pci/rme9652/ |
D | hdspm.c | 1795 unsigned int gain; in all_in_all_mixer() local 1798 gain = UNITY_GAIN; in all_in_all_mixer() 1800 gain = 0; in all_in_all_mixer() 1802 gain = sgain; in all_in_all_mixer() 1806 hdspm_write_in_gain(hdspm, i, j, gain); in all_in_all_mixer() 1807 hdspm_write_pb_gain(hdspm, i, j, gain); in all_in_all_mixer() 3686 int gain; in snd_hdspm_put_mixer() local 3699 gain = ucontrol->value.integer.value[2]; in snd_hdspm_put_mixer() 3704 change = gain != hdspm_read_pb_gain(hdspm, destination, in snd_hdspm_put_mixer() 3708 change = gain != hdspm_read_in_gain(hdspm, destination, in snd_hdspm_put_mixer() [all …]
|
/linux-4.1.27/Documentation/video4linux/ |
D | si4713.txt | 100 acomp_gain - Sets the gain for audio dynamic range control. 106 it is possible to adjust the front-end gain of the audio input and always
|
D | si476x.txt | 104 0x06 | pgagain | PGA gain in dB
|
D | v4l2-controls.txt | 445 the value will not be used by the hardware as long as the automatic gain 556 Handling autogain/gain-type Controls with Auto Clusters 560 controls. Typical examples are autogain/gain, autoexposure/exposure, 591 you to obtain the current gain value).
|
/linux-4.1.27/include/uapi/sound/ |
D | compress_params.h | 310 __u32 gain; member
|
/linux-4.1.27/drivers/mmc/card/ |
D | Kconfig | 48 a big performance gain at the cost of up to 64 KiB of
|
/linux-4.1.27/sound/pci/ctxfi/ |
D | cthw20k2.c | 1793 u32 adcmc, gain; in hw_wm8775_input_select() local 1808 gain = gain_in_db * MIC_BOOST_STEPS_PER_DB + MIC_BOOST_0DB; in hw_wm8775_input_select() 1810 hw20k2_i2c_write(hw, MAKE_WM8775_ADDR(WM8775_AADCL, gain), in hw_wm8775_input_select() 1811 MAKE_WM8775_DATA(gain)); in hw_wm8775_input_select() 1813 hw20k2_i2c_write(hw, MAKE_WM8775_ADDR(WM8775_AADCR, gain), in hw_wm8775_input_select() 1814 MAKE_WM8775_DATA(gain)); in hw_wm8775_input_select()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 3155 static void wlc_lcnphy_set_pa_gain(struct brcms_phy *pi, u16 gain) in wlc_lcnphy_set_pa_gain() argument 3159 gain << LCNPHY_txgainctrlovrval1_pagain_ovr_val1_SHIFT); in wlc_lcnphy_set_pa_gain() 3162 gain << LCNPHY_stxtxgainctrlovrval1_pagain_ovr_val1_SHIFT); in wlc_lcnphy_set_pa_gain() 5111 static void wlc_lcnphy_set_rx_gain(struct brcms_phy *pi, u32 gain) in wlc_lcnphy_set_rx_gain() argument 5115 trsw = (gain & ((u32) 1 << 28)) ? 0 : 1; in wlc_lcnphy_set_rx_gain() 5116 ext_lna = (u16) (gain >> 29) & 0x01; in wlc_lcnphy_set_rx_gain() 5117 lna1 = (u16) (gain >> 0) & 0x0f; in wlc_lcnphy_set_rx_gain() 5118 lna2 = (u16) (gain >> 4) & 0x0f; in wlc_lcnphy_set_rx_gain() 5119 tia = (u16) (gain >> 8) & 0xf; in wlc_lcnphy_set_rx_gain() 5120 biq0 = (u16) (gain >> 12) & 0xf; in wlc_lcnphy_set_rx_gain() [all …]
|
/linux-4.1.27/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.h | 200 u16 gain; /* gain in 0.1 dB steps, DRXJ range 140 .. 335 */}; member
|
D | drxj.c | 6065 vsb_pga_cfg.gain = ext_attr->vsb_pga_cfg; in set_vsb() 8470 qam_pga_cfg.gain = ext_attr->qam_pga_cfg; in set_qam() 11247 u8 gain = 0; in ctrl_set_cfg_afe_gain() local 11272 if (afe_gain->gain >= 329) in ctrl_set_cfg_afe_gain() 11273 gain = 15; in ctrl_set_cfg_afe_gain() 11274 else if (afe_gain->gain <= 147) in ctrl_set_cfg_afe_gain() 11275 gain = 0; in ctrl_set_cfg_afe_gain() 11277 gain = (afe_gain->gain - 140 + 6) / 13; in ctrl_set_cfg_afe_gain() 11281 rc = drxj_dap_write_reg16(dev_addr, IQM_AF_PGA_GAIN__A, gain, 0); in ctrl_set_cfg_afe_gain() 11291 ext_attr->vsb_pga_cfg = gain * 13 + 140; in ctrl_set_cfg_afe_gain() [all …]
|
/linux-4.1.27/fs/proc/ |
D | Kconfig | 14 that are used by the attached devices to gain the CPU's attention --
|
/linux-4.1.27/include/uapi/linux/ |
D | omap3isp.h | 492 __u8 gain; member
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
D | trx.h | 375 u8 gain:7, trsw:1; member 377 u8 trsw:1, gain:7;
|
D | trx.c | 141 rx_pwr[i] = ((p_phystrpt->path_agc[i].gain & 0x3f) * 2) in _rtl8723be_query_rxphystatus()
|
/linux-4.1.27/drivers/hwmon/ |
D | max16065.c | 125 static inline int ADC_TO_CURR(int adc, int gain) in ADC_TO_CURR() argument 127 return adc * 1400000 / (gain * 255); in ADC_TO_CURR()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | trx.h | 370 u8 gain:7, trsw:1; member 372 u8 trsw:1, gain:7;
|
/linux-4.1.27/Documentation/acpi/ |
D | method-customizing.txt | 71 memory and gain additional rights, if root's privileges got
|
/linux-4.1.27/include/linux/ |
D | input.h | 507 void (*set_gain)(struct input_dev *dev, u16 gain);
|
/linux-4.1.27/Documentation/mmc/ |
D | mmc-async-req.txt | 24 performance gain is 5% for large writes and 10% on large reads on a L2 cache
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
D | odm_HWConfig.c | 206 rx_pwr[i] = ((pPhyStaRpt->path_agc[i].gain & 0x3F)*2) - 110; in odm_RxPhyStatus92CSeries_Parsing()
|
/linux-4.1.27/Documentation/s390/ |
D | DASD | 56 1kB blocks anyway and you gain approx. 50% of capacity increasing your
|
/linux-4.1.27/arch/arm64/boot/dts/apm/ |
D | apm-storm.dtsi | 542 apm,tx-boost-gain = <30 30 30 30 30 30>; 552 apm,tx-boost-gain = <30 30 30 30 30 30>; 562 apm,tx-boost-gain = <31 31 31 31 31 31>;
|
/linux-4.1.27/sound/pci/asihpi/ |
D | asihpi.c | 1883 short gain; in snd_asihpi_tuner_gain_get() local 1885 hpi_handle_error(hpi_tuner_get_gain(h_control, &gain)); in snd_asihpi_tuner_gain_get() 1886 ucontrol->value.integer.value[0] = gain / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_get() 1898 short gain; in snd_asihpi_tuner_gain_put() local 1900 gain = (ucontrol->value.integer.value[0]) * HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_put() 1901 hpi_handle_error(hpi_tuner_set_gain(h_control, gain)); in snd_asihpi_tuner_gain_put()
|
D | hpi_internal.h | 849 u32 gain; member 878 u32 gain; member
|
D | hpifunc.c | 2541 u16 hpi_tuner_set_gain(u32 h_control, short gain) in hpi_tuner_set_gain() argument 2543 return hpi_control_param_set(h_control, HPI_TUNER_GAIN, gain, 0); in hpi_tuner_set_gain() 2548 u32 gain = 0; in hpi_tuner_get_gain() local 2551 error = hpi_control_param1_get(h_control, HPI_TUNER_GAIN, &gain); in hpi_tuner_get_gain() 2553 *pn_gain = (u16)gain; in hpi_tuner_get_gain()
|
D | hpi.h | 1446 u16 hpi_tuner_set_gain(u32 h_control, short gain);
|
/linux-4.1.27/drivers/input/misc/ |
D | uinput.c | 179 static void uinput_dev_set_gain(struct input_dev *dev, u16 gain) in uinput_dev_set_gain() argument 181 uinput_dev_event(dev, EV_FF, FF_GAIN, gain); in uinput_dev_set_gain()
|
/linux-4.1.27/sound/soc/intel/atom/ |
D | sst-atom-controls.c | 594 struct sst_module *gain = NULL; in sst_set_pipe_gain() local 596 list_for_each_entry(gain, &ids->gain_list, node) { in sst_set_pipe_gain() 597 struct snd_kcontrol *kctl = gain->kctl; in sst_set_pipe_gain()
|
/linux-4.1.27/Documentation/filesystems/ |
D | automount-support.txt | 23 superblock and gain a vfsmount structure representing it.
|
D | tmpfs.txt | 14 you gain swapping and limit checking. Another similar thing is the RAM
|
D | affs.txt | 30 gain above 4K seems not really worth the price, so you don't lose too
|
D | squashfs.txt | 250 are packed together into blocks (to gain greater compression) the read of a
|
/linux-4.1.27/drivers/staging/rtl8188eu/hal/ |
D | odm_HWConfig.c | 206 rx_pwr[i] = ((pPhyStaRpt->path_agc[i].gain & 0x3F)*2) - 110; in odm_RxPhyStatus92CSeries_Parsing()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | trx.h | 549 u8 gain:7, trsw:1; member 551 u8 trsw:1, gain:7;
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | ar9003_paprd.c | 419 static bool create_pa_curve(u32 *data_L, u32 *data_U, u32 *pa_table, u16 *gain) in create_pa_curve() argument 747 *gain = G_fxp; in create_pa_curve()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
D | trx.h | 605 u8 gain:7, trsw:1; member 607 u8 trsw:1, gain:7;
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | hid-pidff.c | 722 static void pidff_set_gain(struct input_dev *dev, u16 gain) in pidff_set_gain() argument 726 pidff_set(&pidff->device_gain[PID_DEVICE_GAIN_FIELD], gain); in pidff_set_gain()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | atarihw.h | 392 u_char gain; member
|
/linux-4.1.27/fs/cramfs/ |
D | README | 141 variables instead of #define'd constants. The gain is that people
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
D | 3945.c | 2079 u8 gain, dsp_atten; in il3945_txpower_set_from_eeprom() local 2165 gain = power_gain_table[a_band][pwr_idx].tx_gain; in il3945_txpower_set_from_eeprom() 2177 pwr_info->tpc.tx_gain = gain; in il3945_txpower_set_from_eeprom()
|
/linux-4.1.27/Documentation/ |
D | kref.txt | 50 3) If the code attempts to gain a reference to a kref-ed structure
|
D | stable_api_nonsense.txt | 130 gain, for free, is not a possibility.
|
D | intel_txt.txt | 146 attempt to crash the system to gain control on reboot and steal
|
/linux-4.1.27/Documentation/vm/ |
D | transhuge.txt | 110 time to defrag memory, we would expect to gain even more by the fact 169 A lower value leads to gain less thp performance. Value of
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | emu10k1_main.c | 571 unsigned short gain) in snd_emu10k1_ecard_setadcgain() argument 586 if (gain & bit) in snd_emu10k1_ecard_setadcgain()
|
/linux-4.1.27/tools/perf/config/ |
D | Makefile | 521 …/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain symbol demangling)
|
/linux-4.1.27/Documentation/RCU/ |
D | whatisRCU.txt | 69 after the removal phase will be unable to gain a reference to the removed 75 readers cannot gain a reference to it. 205 update rate in order to gain this same sort of resilience. See
|
/linux-4.1.27/Documentation/networking/ |
D | decnet.txt | 211 to gain the best efficiency. Better still is to use a card which supports
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-dvb.c | 493 .gain = 8, /* +16 dB - maximum gain */ 500 .gain = 8, /* +16 dB - maximum gain */
|