Home
last modified time | relevance | path

Searched refs:agc (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/qemu/hw/gpio/
H A Daspeed_gpio.c1497 agc->nr_gpio_sets = 7; in aspeed_gpio_ast2400_class_init()
1500 agc->mem_size = 0x1000; in aspeed_gpio_ast2400_class_init()
1510 agc->nr_gpio_sets = 8; in aspeed_gpio_2500_class_init()
1513 agc->mem_size = 0x1000; in aspeed_gpio_2500_class_init()
1523 agc->nr_gpio_sets = 7; in aspeed_gpio_ast2600_3_3v_class_init()
1526 agc->mem_size = 0x800; in aspeed_gpio_ast2600_3_3v_class_init()
1535 agc->nr_gpio_pins = 36; in aspeed_gpio_ast2600_1_8v_class_init()
1536 agc->nr_gpio_sets = 2; in aspeed_gpio_ast2600_1_8v_class_init()
1539 agc->mem_size = 0x800; in aspeed_gpio_ast2600_1_8v_class_init()
1549 agc->nr_gpio_sets = 6; in aspeed_gpio_1030_class_init()
[all …]
/openbmc/linux/drivers/media/dvb-frontends/
H A Ddib7000m.c640 u16 agc,split_offset; in dib7000m_agc_soft_split() local
689 agc = &state->cfg.agc[i]; in dib7000m_set_agc_config()
693 if (agc == NULL) { in dib7000m_set_agc_config()
704 dib7000m_write_word(state, 97 , (agc->alpha_level << 12) | agc->thlock); in dib7000m_set_agc_config()
707 dib7000m_write_word(state, 98, (agc->alpha_mant << 5) | agc->alpha_exp); in dib7000m_set_agc_config()
708 dib7000m_write_word(state, 99, (agc->beta_mant << 6) | agc->beta_exp); in dib7000m_set_agc_config()
711 …state->wbd_ref != 0 ? state->wbd_ref : agc->wbd_ref, agc->wbd_sel, !agc->perform_agc_softsplit, ag… in dib7000m_set_agc_config()
724 dib7000m_write_word(state, 108, (agc->agc1_pt1 << 8) | agc->agc1_pt2 ); in dib7000m_set_agc_config()
725 dib7000m_write_word(state, 109, (agc->agc1_slope1 << 8) | agc->agc1_slope2); in dib7000m_set_agc_config()
726 dib7000m_write_word(state, 110, (agc->agc2_pt1 << 8) | agc->agc2_pt2); in dib7000m_set_agc_config()
[all …]
H A Ddib3000mc.c164 u16 reg_51, reg_52 = state->cfg->agc->setup & 0xfefb; in dib3000mc_setup_pwm_state()
326 struct dibx000_agc_config *agc = state->cfg->agc; in dib3000mc_init() local
388 dib3000mc_write_word(state, 42, agc->agc1_max); in dib3000mc_init()
389 dib3000mc_write_word(state, 43, agc->agc1_min); in dib3000mc_init()
390 dib3000mc_write_word(state, 44, agc->agc2_max); in dib3000mc_init()
391 dib3000mc_write_word(state, 45, agc->agc2_min); in dib3000mc_init()
392 dib3000mc_write_word(state, 46, (agc->agc1_pt1 << 8) | agc->agc1_pt2); in dib3000mc_init()
393 dib3000mc_write_word(state, 47, (agc->agc1_slope1 << 8) | agc->agc1_slope2); in dib3000mc_init()
394 dib3000mc_write_word(state, 48, (agc->agc2_pt1 << 8) | agc->agc2_pt2); in dib3000mc_init()
395 dib3000mc_write_word(state, 49, (agc->agc2_slope1 << 8) | agc->agc2_slope2); in dib3000mc_init()
H A Ddib7000p.c761 agc = &state->cfg.agc[i]; in dib7000p_set_agc_config()
765 if (agc == NULL) { in dib7000p_set_agc_config()
776 dib7000p_write_word(state, 100, (agc->alpha_level << 12) | agc->thlock); in dib7000p_set_agc_config()
779 dib7000p_write_word(state, 101, (agc->alpha_mant << 5) | agc->alpha_exp); in dib7000p_set_agc_config()
780 dib7000p_write_word(state, 102, (agc->beta_mant << 6) | agc->beta_exp); in dib7000p_set_agc_config()
784 …state->wbd_ref != 0 ? state->wbd_ref : agc->wbd_ref, agc->wbd_sel, !agc->perform_agc_softsplit, ag… in dib7000p_set_agc_config()
789 dib7000p_write_word(state, 105, (agc->wbd_inv << 12) | agc->wbd_ref); in dib7000p_set_agc_config()
791 …dib7000p_write_word(state, 106, (agc->wbd_sel << 13) | (agc->wbd_alpha << 9) | (agc->perform_agc_s… in dib7000p_set_agc_config()
797 dib7000p_write_word(state, 111, (agc->agc1_pt1 << 8) | agc->agc1_pt2); in dib7000p_set_agc_config()
799 dib7000p_write_word(state, 113, (agc->agc1_slope1 << 8) | agc->agc1_slope2); in dib7000p_set_agc_config()
[all …]
H A Dm88ds3103.h74 u8 agc; member
123 u8 agc; member
H A Ddib8000.c1178 agc = &state->cfg.agc[i]; in dib8000_set_agc_config()
1182 if (agc == NULL) { in dib8000_set_agc_config()
1193 dib8000_write_word(state, 101, (agc->alpha_level << 12) | agc->thlock); in dib8000_set_agc_config()
1196 dib8000_write_word(state, 102, (agc->alpha_mant << 5) | agc->alpha_exp); in dib8000_set_agc_config()
1197 dib8000_write_word(state, 103, (agc->beta_mant << 6) | agc->beta_exp); in dib8000_set_agc_config()
1200 …state->wbd_ref != 0 ? state->wbd_ref : agc->wbd_ref, agc->wbd_sel, !agc->perform_agc_softsplit, ag… in dib8000_set_agc_config()
1218 dib8000_write_word(state, 112, (agc->agc1_pt1 << 8) | agc->agc1_pt2); in dib8000_set_agc_config()
1219 dib8000_write_word(state, 113, (agc->agc1_slope1 << 8) | agc->agc1_slope2); in dib8000_set_agc_config()
1220 dib8000_write_word(state, 114, (agc->agc2_pt1 << 8) | agc->agc2_pt2); in dib8000_set_agc_config()
1221 dib8000_write_word(state, 115, (agc->agc2_slope1 << 8) | agc->agc2_slope2); in dib8000_set_agc_config()
[all …]
H A Dmn88443x.c289 u32 agc; in mn88443x_s_read_status() local
292 agc = tmpu << 8; in mn88443x_s_read_status()
296 c->strength.stat[0].uvalue = agc; in mn88443x_s_read_status()
492 u32 agc; in mn88443x_t_read_status() local
496 agc = (tmpu << 8) | tmpl; in mn88443x_t_read_status()
500 c->strength.stat[0].uvalue = agc; in mn88443x_t_read_status()
H A Ddib3000mc.h16 struct dibx000_agc_config *agc; member
H A Dmt312.c483 u16 agc; in mt312_read_signal_strength() local
490 agc = (buf[0] << 6) | (buf[1] >> 2); in mt312_read_signal_strength()
493 *signal_strength = agc; in mt312_read_signal_strength()
495 dprintk("agc=%08x err_db=%hd\n", agc, err_db); in mt312_read_signal_strength()
H A Ddib7000m.h16 struct dibx000_agc_config *agc; member
H A Ddib7000p.h14 struct dibx000_agc_config *agc; member
H A Ddib8000.h14 struct dibx000_agc_config *agc; member
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Dmax2820.c73 static u8 max2820_rf_calc_rssi(u8 agc, u8 sq) in max2820_rf_calc_rssi() argument
77 odd = !!(agc & 1); in max2820_rf_calc_rssi()
79 agc >>= 1; in max2820_rf_calc_rssi()
81 agc += 76; in max2820_rf_calc_rssi()
83 agc += 66; in max2820_rf_calc_rssi()
86 return 65 * agc / 100; in max2820_rf_calc_rssi()
H A Dgrf5101.c68 static u8 grf5101_rf_calc_rssi(u8 agc, u8 sq) in grf5101_rf_calc_rssi() argument
70 if (agc > 60) in grf5101_rf_calc_rssi()
74 return 65 * agc / 60; in grf5101_rf_calc_rssi()
H A Drtl8180.h56 u8 agc; member
H A Dsa2400.c88 static u8 sa2400_rf_calc_rssi(u8 agc, u8 sq) in sa2400_rf_calc_rssi() argument
/openbmc/linux/drivers/media/tuners/
H A Dtda18218.c120 u8 agc[][2] = { in tda18218_set_params() local
190 for (i = 0; i < ARRAY_SIZE(agc); i++) { in tda18218_set_params()
191 ret = tda18218_wr_reg(priv, agc[i][0], agc[i][1]); in tda18218_set_params()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_rtt.c123 int agc, caldac; in ar9003_hw_patch_rtt() local
131 agc = REG_READ_FIELD(ah, AR_PHY_65NM_RXRF_AGC(chain), in ar9003_hw_patch_rtt()
133 if (!agc) in ar9003_hw_patch_rtt()
/openbmc/linux/include/sound/
H A Dwm9090.h22 u16 agc[3]; member
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-isl295016 This sensor has an automatic gain control (agc) loop
14 The agc gain read when measuring crosstalk shall be
/openbmc/qemu/hw/intc/
H A Darm_gicv3.c441 ARMGICv3Class *agc = ARM_GICV3_GET_CLASS(s); in arm_gic_realize() local
444 agc->parent_realize(dev, &local_err); in arm_gic_realize()
459 ARMGICv3Class *agc = ARM_GICV3_CLASS(klass); in arm_gicv3_class_init() local
462 device_class_set_parent_realize(dc, arm_gic_realize, &agc->parent_realize); in arm_gicv3_class_init()
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Drtl8187.h48 u8 agc; member
58 u8 agc; member
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Ddib0700_devices.c411 .agc = &xc3028_agc_config,
971 .agc = &dib7070_agc_config,
1028 .agc = &dib7070_agc_config,
1198 .agc = dib807x_agc_config,
1215 .agc = dib807x_agc_config,
1558 .agc = dib8090_agc_config,
1577 .agc = dib8090_agc_config,
2801 .agc = dib7090_agc_config,
2934 .agc = dib7090_agc_config,
3264 .agc = &dib7070_agc_config,
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dwm9090.c444 for (i = 0; i < ARRAY_SIZE(wm9090->pdata.agc); i++) in wm9090_add_controls()
446 wm9090->pdata.agc[i]); in wm9090_add_controls()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c743 u8 agc; in iwlagn_calc_rssi() local
746 agc = (val & IWLAGN_OFDM_AGC_MSK) >> IWLAGN_OFDM_AGC_BIT_POS; in iwlagn_calc_rssi()
767 rssi_a, rssi_b, rssi_c, max_rssi, agc); in iwlagn_calc_rssi()
771 return max_rssi - agc - IWLAGN_RSSI_OFFSET; in iwlagn_calc_rssi()

123