Home
last modified time | relevance | path

Searched refs:freq1 (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2u_phy.c119 int freq, freq1; in mt76x2u_phy_update_channel_gain() local
123 freq1 = dev->mt76.chandef.center_freq1; in mt76x2u_phy_update_channel_gain()
129 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2u_phy_update_channel_gain()
136 if (freq1 > freq) in mt76x2u_phy_update_channel_gain()
193 int ch_group_index, freq, freq1, ret; in mt76x2u_phy_set_channel() local
197 freq1 = chandef->center_freq1; in mt76x2u_phy_set_channel()
202 if (freq1 > freq) { in mt76x2u_phy_set_channel()
212 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2u_phy_set_channel()
Dmt76x2_phy.c299 int freq, freq1; in mt76x2_phy_set_channel() local
304 freq1 = chandef->center_freq1; in mt76x2_phy_set_channel()
310 if (freq1 > freq) { in mt76x2_phy_set_channel()
320 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2_phy_set_channel()
/Linux-v4.19/drivers/video/fbdev/
Dpmagb-b-fb.c191 u32 freq0, freq1, freqtc = tc_get_speed(tbus) / 250; in pmagbbfb_osc_setup() local
226 freq1 = (par->osc0 * count1 + count0 / 2) / count0; in pmagbbfb_osc_setup()
227 par->osc1 = freq1; in pmagbbfb_osc_setup()
229 if (freq1 >= pmagbbfb_freqs[i] - in pmagbbfb_osc_setup()
231 freq1 <= pmagbbfb_freqs[i] + in pmagbbfb_osc_setup()
255 char freq0[12], freq1[12]; in pmagbbfb_probe() local
328 snprintf(freq1, sizeof(freq1), "%u.%03uMHz", in pmagbbfb_probe()
334 freq0, par->osc1 ? freq1 : "disabled", par->osc1 != 0); in pmagbbfb_probe()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dspectral.c81 u16 freq1, freq2, total_gain_db, base_pwr_db, length, peak_mag; in ath10k_spectral_process_fft() local
138 freq1 = phyerr->freq1; in ath10k_spectral_process_fft()
140 fft_sample->freq1 = __cpu_to_be16(freq1); in ath10k_spectral_process_fft()
Dwmi.h3375 __le16 freq1; member
3397 __le16 freq1; member
6664 u16 freq1; member
Dwmi.c4135 arg->freq1 = __le16_to_cpu(phyerr->freq1); in ath10k_wmi_op_pull_phyerr_ev()
4180 arg->freq1 = __le16_to_cpu(phyerr->freq1); in ath10k_wmi_10_4_op_pull_phyerr_ev()
/Linux-v4.19/drivers/staging/iio/frequency/
Dad9832.h29 unsigned long freq1; member
Dad9834.h32 unsigned int freq1; member
Dad9832.c394 ret = ad9832_write_frequency(st, AD9832_FREQ1HM, pdata->freq1); in ad9832_probe()
Dad9834.c475 ret = ad9834_write_frequency(st, AD9834_REG_FREQ1, pdata->freq1); in ad9834_probe()
/Linux-v4.19/drivers/net/wireless/ath/
Dspectral_common.h97 __be16 freq1; member
/Linux-v4.19/drivers/media/dvb-frontends/
Dstv0900_sw.c826 freq1, in stv0900_track_optimization() local
936 freq1 = stv0900_read_reg(intp, CFR2); in stv0900_track_optimization()
972 stv0900_write_reg(intp, CFRINIT1, freq1); in stv0900_track_optimization()
1001 stv0900_write_reg(intp, CFRINIT1, freq1); in stv0900_track_optimization()
1010 stv0900_write_reg(intp, CFRINIT1, freq1); in stv0900_track_optimization()
1284 freq1, in stv0900_dvbs1_acq_workaround() local
1297 freq1 = stv0900_read_reg(intp, CFR2); in stv0900_dvbs1_acq_workaround()
1303 stv0900_write_reg(intp, CFRINIT1, freq1); in stv0900_dvbs1_acq_workaround()
1315 stv0900_write_reg(intp, CFRINIT1, freq1); in stv0900_dvbs1_acq_workaround()
Dcx24120.c1508 u8 freq1, freq2, freq3; in cx24120_get_frontend() local
1519 freq1 = cx24120_readreg(state, CX24120_REG_FREQ1); in cx24120_get_frontend()
1522 c->frequency = (freq3 << 16) | (freq2 << 8) | freq1; in cx24120_get_frontend()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dphy.c700 int ch_group_index, freq, freq1; in __mt76x0_phy_set_channel() local
706 freq1 = chandef->center_freq1; in __mt76x0_phy_set_channel()
712 if (freq1 > freq) in __mt76x0_phy_set_channel()
720 ch_group_index = (freq - freq1 + 30) / 20; in __mt76x0_phy_set_channel()
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Deeprom.c516 u8 freq1, freq2; in ath5k_eeprom_read_freq_list() local
523 freq1 = val & 0xff; in ath5k_eeprom_read_freq_list()
524 if (!freq1) in ath5k_eeprom_read_freq_list()
528 freq1, mode); in ath5k_eeprom_read_freq_list()