Home
last modified time | relevance | path

Searched refs:idx1 (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192cu/
Drf.c74 u8 idx1, idx2; in rtl92cu_phy_rf6052_set_cck_txpower() local
89 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower()
90 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92cu_phy_rf6052_set_cck_txpower()
91 (ppowerlevel[idx1] << 8) | in rtl92cu_phy_rf6052_set_cck_txpower()
92 (ppowerlevel[idx1] << 16) | in rtl92cu_phy_rf6052_set_cck_txpower()
93 (ppowerlevel[idx1] << 24); in rtl92cu_phy_rf6052_set_cck_txpower()
95 if (tx_agc[idx1] > 0x20 && in rtl92cu_phy_rf6052_set_cck_txpower()
97 tx_agc[idx1] = 0x20; in rtl92cu_phy_rf6052_set_cck_txpower()
111 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower()
112 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92cu_phy_rf6052_set_cck_txpower()
[all …]
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192ce/
Drf.c73 u8 idx1, idx2; in rtl92ce_phy_rf6052_set_cck_txpower() local
84 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower()
85 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92ce_phy_rf6052_set_cck_txpower()
86 (ppowerlevel[idx1] << 8) | in rtl92ce_phy_rf6052_set_cck_txpower()
87 (ppowerlevel[idx1] << 16) | in rtl92ce_phy_rf6052_set_cck_txpower()
88 (ppowerlevel[idx1] << 24); in rtl92ce_phy_rf6052_set_cck_txpower()
92 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower()
93 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92ce_phy_rf6052_set_cck_txpower()
94 (ppowerlevel[idx1] << 8) | in rtl92ce_phy_rf6052_set_cck_txpower()
95 (ppowerlevel[idx1] << 16) | in rtl92ce_phy_rf6052_set_cck_txpower()
[all …]
/linux-2.6.39/drivers/media/video/pvrusb2/
Dpvrusb2-std.c189 unsigned int idx1,idx2; in pvr2_std_id_to_str() local
195 for (idx1 = 0; idx1 < ARRAY_SIZE(std_groups); idx1++) { in pvr2_std_id_to_str()
196 gp = std_groups + idx1; in pvr2_std_id_to_str()
/linux-2.6.39/drivers/video/sis/
Dinit.h1539 void SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *idx1,
1541 unsigned short SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2);
Dinit.c2227 SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *idx1, in SiS_GetFIFOThresholdIndex300() argument
2237 (*idx1) = (unsigned short)(SiS_GetReg(SiS_Pr->SiS_P3c4,0x16) >> 6) & 0x03; in SiS_GetFIFOThresholdIndex300()
2238 (*idx1) |= (unsigned short)(((SiS_GetReg(SiS_Pr->SiS_P3c4,0x14) >> 4) & 0x0c)); in SiS_GetFIFOThresholdIndex300()
2239 (*idx1) <<= 1; in SiS_GetFIFOThresholdIndex300()
2243 SiS_GetFIFOThresholdA300(unsigned short idx1, unsigned short idx2) in SiS_GetFIFOThresholdA300() argument
2251 return (unsigned short)((ThLowA[idx1 + 1] * idx2) + ThLowA[idx1]); in SiS_GetFIFOThresholdA300()
2255 SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2) in SiS_GetFIFOThresholdB300() argument
2263 return (unsigned short)((ThLowB[idx1 + 1] * idx2) + ThLowB[idx1]); in SiS_GetFIFOThresholdB300()
2270 unsigned short idx1, idx2; in SiS_DoCalcDelay() local
2273 SiS_GetFIFOThresholdIndex300(SiS_Pr, &idx1, &idx2); in SiS_DoCalcDelay()
[all …]
/linux-2.6.39/sound/core/oss/
Dpcm_oss.c2873 int idx1; in snd_pcm_oss_proc_write() local
2895 for (idx1 = 31; idx1 >= 0; idx1--) in snd_pcm_oss_proc_write()
2896 if (template.period_size & (1 << idx1)) in snd_pcm_oss_proc_write()
2898 for (idx1--; idx1 >= 0; idx1--) in snd_pcm_oss_proc_write()
2899 template.period_size &= ~(1 << idx1); in snd_pcm_oss_proc_write()
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/
Dwlc_phy_n.c14179 u8 idx1);
28731 wlc_phy_txpwr_idx_cur_set_nphy(phy_info_t *pi, u8 idx0, u8 idx1) in wlc_phy_txpwr_idx_cur_set_nphy() argument
28736 mod_phy_reg(pi, 0x222, (0xff << 0), idx1); in wlc_phy_txpwr_idx_cur_set_nphy()