Home
last modified time | relevance | path

Searched refs:gain (Results 476 - 500 of 536) sorted by relevance

1...<<11121314151617181920>>...22

/drivers/peripheral/audio/supportlibs/adm_adapter/src/
H A Daudio_interface_lib_render.c330 elemValue.value[0] = (int32_t)handleData->renderMode.ctlParam.audioGain.gain; in AudioCtlRenderSetGainBuf()
419 handleData->renderMode.ctlParam.audioGain.gain = gainValueStu.value[0]; in AudioCtlRenderGetGainStu()
H A Daudio_interface_lib_capture.c392 elemCaptureValue.value[0] = handleData->captureMode.ctlParam.audioGain.gain; in AudioCtlCaptureSetGainSBuf()
484 handleData->captureMode.ctlParam.audioGain.gain = (float)muteValueStu; in AudioCtlCaptureGetGainStu()
/kernel/linux/linux-5.10/drivers/hid/usbhid/
H A Dhid-pidff.c710 static void pidff_set_gain(struct input_dev *dev, u16 gain) in pidff_set_gain() argument
714 pidff_set(&pidff->device_gain[PID_DEVICE_GAIN_FIELD], gain); in pidff_set_gain()
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/
H A Det8ek8_driver.c71 * for each gain value. The gain(index in the table) is in terms of
72 * 0.1EV, i.e. 10 indexes in the table give 2 time more gain [0] in
73 * the *analog gain, [1] in the digital gain
75 * Analog gain [dB] = 20*log10(regvalue/32); 0x20..0x100
549 /* Called to change the V4L2 gain control value. This function
552 * gain is in 0.1 EV (exposure value) units.
554 static int et8ek8_set_gain(struct et8ek8_sensor *sensor, s32 gain) in et8ek8_set_gain() argument
560 new = et8ek8_gain_table[gain]; in et8ek8_set_gain()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c248 int lna_id = FIELD_GET(MT_RXWI_GAIN_RSSI_LNA_ID, rxwi->gain); in mt7601u_phy_get_rssi()
256 val -= FIELD_GET(MT_RXWI_GAIN_RSSI_VAL, rxwi->gain); in mt7601u_phy_get_rssi()
654 /* Set VGA gain */ in mt7601u_tssi_dc_gain_cal()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu.h553 u8 gain:7, trsw:1; member
555 u8 trsw:1, gain:7;
/kernel/linux/linux-5.10/sound/pci/asihpi/
H A Dhpi_internal.h838 u32 gain; member
867 u32 gain; member
H A Dhpifunc.c2539 u16 hpi_tuner_set_gain(u32 h_control, short gain) in hpi_tuner_set_gain() argument
2541 return hpi_control_param_set(h_control, HPI_TUNER_GAIN, gain, 0); in hpi_tuner_set_gain()
2546 u32 gain = 0; in hpi_tuner_get_gain() local
2549 error = hpi_control_param1_get(h_control, HPI_TUNER_GAIN, &gain); in hpi_tuner_get_gain()
2551 *pn_gain = (u16)gain; in hpi_tuner_get_gain()
/kernel/linux/linux-6.6/drivers/media/i2c/et8ek8/
H A Det8ek8_driver.c71 * for each gain value. The gain(index in the table) is in terms of
72 * 0.1EV, i.e. 10 indexes in the table give 2 time more gain [0] in
73 * the *analog gain, [1] in the digital gain
75 * Analog gain [dB] = 20*log10(regvalue/32); 0x20..0x100
549 /* Called to change the V4L2 gain control value. This function
552 * gain is in 0.1 EV (exposure value) units.
554 static int et8ek8_set_gain(struct et8ek8_sensor *sensor, s32 gain) in et8ek8_set_gain() argument
560 new = et8ek8_gain_table[gain]; in et8ek8_set_gain()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c248 int lna_id = FIELD_GET(MT_RXWI_GAIN_RSSI_LNA_ID, rxwi->gain); in mt7601u_phy_get_rssi()
256 val -= FIELD_GET(MT_RXWI_GAIN_RSSI_VAL, rxwi->gain); in mt7601u_phy_get_rssi()
657 /* Set VGA gain */ in mt7601u_tssi_dc_gain_cal()
/kernel/linux/linux-6.6/drivers/hid/usbhid/
H A Dhid-pidff.c710 static void pidff_set_gain(struct input_dev *dev, u16 gain) in pidff_set_gain() argument
714 pidff_set(&pidff->device_gain[PID_DEVICE_GAIN_FIELD], gain); in pidff_set_gain()
/kernel/linux/linux-6.6/sound/pci/asihpi/
H A Dhpi_internal.h838 u32 gain; member
867 u32 gain; member
H A Dhpifunc.c2538 u16 hpi_tuner_set_gain(u32 h_control, short gain) in hpi_tuner_set_gain() argument
2540 return hpi_control_param_set(h_control, HPI_TUNER_GAIN, gain, 0); in hpi_tuner_set_gain()
2545 u32 gain = 0; in hpi_tuner_get_gain() local
2548 error = hpi_control_param1_get(h_control, HPI_TUNER_GAIN, &gain); in hpi_tuner_get_gain()
2550 *pn_gain = (u16)gain; in hpi_tuner_get_gain()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
H A D3945.c1040 * return idx delta into power gain settings table
1141 * 1st number is for RF analog gain, 2nd number is for DSP pre-DAC gain. */
1360 * don't force fit this reference idx into gain table; it may be a in il3945_hw_reg_set_scan_power()
1376 * il3945_send_tx_power - fill in Tx Power command with gain settings
1455 * properly fill out the scan powers, and actual h/w gain settings,
1840 * -- send new set of gain settings to NIC
1919 * into radio/DSP gain settings table for requested power.
2063 u8 gain, dsp_atten; in il3945_txpower_set_from_eeprom() local
2128 /* stay within range of gain tabl in il3945_txpower_set_from_eeprom()
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/atom/
H A Dsst-atom-controls.c390 * sst_send_gain_cmd - send the gain algorithm IPC to the FW
392 * @gv:the stored value of gain (also contains rampduration)
403 * The user-set gain value is sent only if the user-controllable 'mute' control
461 dev_err(component->dev, "Invalid Input- gain type:%d\n", in sst_gain_get()
501 dev_err(cmpnt->dev, "Invalid Input- gain type:%d\n", in sst_gain_put()
605 struct sst_module *gain; in sst_set_pipe_gain() local
607 list_for_each_entry(gain, &ids->gain_list, node) { in sst_set_pipe_gain()
608 struct snd_kcontrol *kctl = gain->kctl; in sst_set_pipe_gain()
1258 * instance invoked, gain, mute and ramp duration, which use the same gain
[all...]
/kernel/linux/linux-5.10/drivers/media/tuners/
H A Dr820t.c1215 int gain)
1238 /* set fixed VGA gain for now (16.3 dB) */
1244 if (total_gain >= gain)
1249 if (total_gain >= gain)
1255 /* set LNA gain */
1260 /* set Mixer gain */
1275 /* set fixed VGA gain for now (26.5 dB) */
1319 tuner_dbg("%s: PLL locked on frequency %d Hz, gain=%d\n", in generic_set_freq()
1453 /* mixer gain mode = manual */ in r820t_imr_prepare()
1468 /* adc=on, vga code mode, gain in r820t_imr_prepare()
[all...]
/kernel/linux/linux-6.6/drivers/media/tuners/
H A Dr820t.c1235 int gain)
1258 /* set fixed VGA gain for now (16.3 dB) */
1264 if (total_gain >= gain)
1269 if (total_gain >= gain)
1275 /* set LNA gain */
1280 /* set Mixer gain */
1295 /* set fixed VGA gain for now (26.5 dB) */
1339 tuner_dbg("%s: PLL locked on frequency %d Hz, gain=%d\n", in generic_set_freq()
1473 /* mixer gain mode = manual */ in r820t_imr_prepare()
1488 /* adc=on, vga code mode, gain in r820t_imr_prepare()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/
H A D3945.c1040 * return idx delta into power gain settings table
1141 * 1st number is for RF analog gain, 2nd number is for DSP pre-DAC gain. */
1360 * don't force fit this reference idx into gain table; it may be a in il3945_hw_reg_set_scan_power()
1376 * il3945_send_tx_power - fill in Tx Power command with gain settings
1455 * properly fill out the scan powers, and actual h/w gain settings,
1840 * -- send new set of gain settings to NIC
1919 * into radio/DSP gain settings table for requested power.
2063 u8 gain, dsp_atten; in il3945_txpower_set_from_eeprom() local
2128 /* stay within range of gain tabl in il3945_txpower_set_from_eeprom()
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/atom/
H A Dsst-atom-controls.c390 * sst_send_gain_cmd - send the gain algorithm IPC to the FW
392 * @gv:the stored value of gain (also contains rampduration)
403 * The user-set gain value is sent only if the user-controllable 'mute' control
461 dev_err(component->dev, "Invalid Input- gain type:%d\n", in sst_gain_get()
501 dev_err(cmpnt->dev, "Invalid Input- gain type:%d\n", in sst_gain_put()
605 struct sst_module *gain; in sst_set_pipe_gain() local
607 list_for_each_entry(gain, &ids->gain_list, node) { in sst_set_pipe_gain()
608 struct snd_kcontrol *kctl = gain->kctl; in sst_set_pipe_gain()
1258 * instance invoked, gain, mute and ramp duration, which use the same gain
[all...]
/kernel/linux/linux-6.6/mm/
H A Dvmscan.c3660 int gain; member
3663 static void read_ctrl_pos(struct lruvec *lruvec, int type, int tier, int gain, in read_ctrl_pos() argument
3675 pos->gain = gain; in read_ctrl_pos()
3723 pv->refaulted * (sp->total + MIN_LRU_BATCH) * sp->gain <= in positive_ctrl_err()
3724 (sp->refaulted + 1) * pv->total * pv->gain; in positive_ctrl_err()
5045 * To leave a margin for fluctuations, use a larger gain factor (1:2). in get_tier_idx()
5063 int gain[ANON_AND_FILE] = { swappiness, 200 - swappiness }; in get_type_to_scan() local
5071 read_ctrl_pos(lruvec, LRU_GEN_ANON, 0, gain[LRU_GEN_ANON], &sp); in get_type_to_scan()
5072 read_ctrl_pos(lruvec, LRU_GEN_FILE, 0, gain[LRU_GEN_FIL in get_type_to_scan()
[all...]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A Datarihw.h390 u_char gain; member
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Datarihw.h390 u_char gain; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dtrx.c120 rx_pwr[i] = ((p_phystrpt->path_agc[i].gain & 0x3f) * 2) in _rtl8723be_query_rxphystatus()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/m5602/
H A Dm5602_po1030.c260 sd->gain = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_GAIN, 0, in po1030_init_controls()
440 gspca_dbg(gspca_dev, D_CONF, "Set global gain to %d\n", i2c_data); in po1030_set_gain()
474 gspca_dbg(gspca_dev, D_CONF, "Set red gain to %d\n", i2c_data); in po1030_set_red_balance()
487 gspca_dbg(gspca_dev, D_CONF, "Set blue gain to %d\n", i2c_data); in po1030_set_blue_balance()
501 gspca_dbg(gspca_dev, D_CONF, "Set green gain to %d\n", i2c_data); in po1030_set_green_balance()
/kernel/linux/linux-6.6/drivers/media/usb/gspca/m5602/
H A Dm5602_po1030.c260 sd->gain = v4l2_ctrl_new_std(hdl, &po1030_ctrl_ops, V4L2_CID_GAIN, 0, in po1030_init_controls()
440 gspca_dbg(gspca_dev, D_CONF, "Set global gain to %d\n", i2c_data); in po1030_set_gain()
474 gspca_dbg(gspca_dev, D_CONF, "Set red gain to %d\n", i2c_data); in po1030_set_red_balance()
487 gspca_dbg(gspca_dev, D_CONF, "Set blue gain to %d\n", i2c_data); in po1030_set_blue_balance()
501 gspca_dbg(gspca_dev, D_CONF, "Set green gain to %d\n", i2c_data); in po1030_set_green_balance()

Completed in 59 milliseconds

1...<<11121314151617181920>>...22