Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/rtl8188eu/hal/
Drf.c43 u8 idx1, idx2; in rtl88eu_phy_rf6052_set_cck_txpower() local
50 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl88eu_phy_rf6052_set_cck_txpower()
51 tx_agc[idx1] = powerlevel[idx1] | in rtl88eu_phy_rf6052_set_cck_txpower()
52 (powerlevel[idx1]<<8) | in rtl88eu_phy_rf6052_set_cck_txpower()
53 (powerlevel[idx1]<<16) | in rtl88eu_phy_rf6052_set_cck_txpower()
54 (powerlevel[idx1]<<24); in rtl88eu_phy_rf6052_set_cck_txpower()
64 for (idx1 = RF_PATH_A; idx1 <= RF_PATH_B; idx1++) { in rtl88eu_phy_rf6052_set_cck_txpower()
65 tx_agc[idx1] = powerlevel[idx1] | in rtl88eu_phy_rf6052_set_cck_txpower()
66 (powerlevel[idx1]<<8) | in rtl88eu_phy_rf6052_set_cck_txpower()
67 (powerlevel[idx1]<<16) | in rtl88eu_phy_rf6052_set_cck_txpower()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Drf.c45 u8 idx1, idx2; in rtl92cu_phy_rf6052_set_cck_txpower() local
51 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower()
52 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92cu_phy_rf6052_set_cck_txpower()
53 (ppowerlevel[idx1] << 8) | in rtl92cu_phy_rf6052_set_cck_txpower()
54 (ppowerlevel[idx1] << 16) | in rtl92cu_phy_rf6052_set_cck_txpower()
55 (ppowerlevel[idx1] << 24); in rtl92cu_phy_rf6052_set_cck_txpower()
56 if (tx_agc[idx1] > 0x20 && rtlefuse->external_pa) in rtl92cu_phy_rf6052_set_cck_txpower()
57 tx_agc[idx1] = 0x20; in rtl92cu_phy_rf6052_set_cck_txpower()
69 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92cu_phy_rf6052_set_cck_txpower()
70 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92cu_phy_rf6052_set_cck_txpower()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Drf.c43 u8 idx1, idx2; in rtl8821ae_phy_rf6052_set_cck_txpower() local
56 for (idx1 = RF90_PATH_A; in rtl8821ae_phy_rf6052_set_cck_txpower()
57 idx1 <= RF90_PATH_B; in rtl8821ae_phy_rf6052_set_cck_txpower()
58 idx1++) { in rtl8821ae_phy_rf6052_set_cck_txpower()
59 tx_agc[idx1] = ppowerlevel[idx1] | in rtl8821ae_phy_rf6052_set_cck_txpower()
60 (ppowerlevel[idx1] << 8) | in rtl8821ae_phy_rf6052_set_cck_txpower()
61 (ppowerlevel[idx1] << 16) | in rtl8821ae_phy_rf6052_set_cck_txpower()
62 (ppowerlevel[idx1] << 24); in rtl8821ae_phy_rf6052_set_cck_txpower()
66 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8821ae_phy_rf6052_set_cck_txpower()
67 tx_agc[idx1] = ppowerlevel[idx1] | in rtl8821ae_phy_rf6052_set_cck_txpower()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Drf.c46 u8 idx1, idx2; in rtl8723be_phy_rf6052_set_cck_txpower() local
59 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723be_phy_rf6052_set_cck_txpower()
60 tx_agc[idx1] = ppowerlevel[idx1] | in rtl8723be_phy_rf6052_set_cck_txpower()
61 (ppowerlevel[idx1] << 8) | in rtl8723be_phy_rf6052_set_cck_txpower()
62 (ppowerlevel[idx1] << 16) | in rtl8723be_phy_rf6052_set_cck_txpower()
63 (ppowerlevel[idx1] << 24); in rtl8723be_phy_rf6052_set_cck_txpower()
67 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723be_phy_rf6052_set_cck_txpower()
68 tx_agc[idx1] = ppowerlevel[idx1] | in rtl8723be_phy_rf6052_set_cck_txpower()
69 (ppowerlevel[idx1] << 8) | in rtl8723be_phy_rf6052_set_cck_txpower()
70 (ppowerlevel[idx1] << 16) | in rtl8723be_phy_rf6052_set_cck_txpower()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Drf.c46 u8 idx1, idx2; in rtl92ce_phy_rf6052_set_cck_txpower() local
57 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower()
58 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92ce_phy_rf6052_set_cck_txpower()
59 (ppowerlevel[idx1] << 8) | in rtl92ce_phy_rf6052_set_cck_txpower()
60 (ppowerlevel[idx1] << 16) | in rtl92ce_phy_rf6052_set_cck_txpower()
61 (ppowerlevel[idx1] << 24); in rtl92ce_phy_rf6052_set_cck_txpower()
65 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92ce_phy_rf6052_set_cck_txpower()
66 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92ce_phy_rf6052_set_cck_txpower()
67 (ppowerlevel[idx1] << 8) | in rtl92ce_phy_rf6052_set_cck_txpower()
68 (ppowerlevel[idx1] << 16) | in rtl92ce_phy_rf6052_set_cck_txpower()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Drf.c46 u8 idx1, idx2; in rtl88e_phy_rf6052_set_cck_txpower() local
59 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl88e_phy_rf6052_set_cck_txpower()
60 tx_agc[idx1] = ppowerlevel[idx1] | in rtl88e_phy_rf6052_set_cck_txpower()
61 (ppowerlevel[idx1] << 8) | in rtl88e_phy_rf6052_set_cck_txpower()
62 (ppowerlevel[idx1] << 16) | in rtl88e_phy_rf6052_set_cck_txpower()
63 (ppowerlevel[idx1] << 24); in rtl88e_phy_rf6052_set_cck_txpower()
67 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl88e_phy_rf6052_set_cck_txpower()
68 tx_agc[idx1] = ppowerlevel[idx1] | in rtl88e_phy_rf6052_set_cck_txpower()
69 (ppowerlevel[idx1] << 8) | in rtl88e_phy_rf6052_set_cck_txpower()
70 (ppowerlevel[idx1] << 16) | in rtl88e_phy_rf6052_set_cck_txpower()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Drf.c46 u8 idx1, idx2; in rtl8723e_phy_rf6052_set_cck_txpower() local
57 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; in rtl8723e_phy_rf6052_set_cck_txpower()
58 idx1++) { in rtl8723e_phy_rf6052_set_cck_txpower()
59 tx_agc[idx1] = ppowerlevel[idx1] | in rtl8723e_phy_rf6052_set_cck_txpower()
60 (ppowerlevel[idx1] << 8) | in rtl8723e_phy_rf6052_set_cck_txpower()
61 (ppowerlevel[idx1] << 16) | in rtl8723e_phy_rf6052_set_cck_txpower()
62 (ppowerlevel[idx1] << 24); in rtl8723e_phy_rf6052_set_cck_txpower()
66 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl8723e_phy_rf6052_set_cck_txpower()
67 tx_agc[idx1] = ppowerlevel[idx1] | in rtl8723e_phy_rf6052_set_cck_txpower()
68 (ppowerlevel[idx1] << 8) | in rtl8723e_phy_rf6052_set_cck_txpower()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Drf.c58 u8 idx1, idx2; in rtl92d_phy_rf6052_set_cck_txpower() local
67 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower()
68 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92d_phy_rf6052_set_cck_txpower()
69 (ppowerlevel[idx1] << 8) | in rtl92d_phy_rf6052_set_cck_txpower()
70 (ppowerlevel[idx1] << 16) | in rtl92d_phy_rf6052_set_cck_txpower()
71 (ppowerlevel[idx1] << 24); in rtl92d_phy_rf6052_set_cck_txpower()
75 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower()
76 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92d_phy_rf6052_set_cck_txpower()
77 (ppowerlevel[idx1] << 8) | in rtl92d_phy_rf6052_set_cck_txpower()
78 (ppowerlevel[idx1] << 16) | in rtl92d_phy_rf6052_set_cck_txpower()
[all …]
/Linux-v5.4/kernel/
Dkcmp.c105 unsigned long idx1, in kcmp_epoll_target() argument
115 filp = get_file_raw_ptr(task1, idx1); in kcmp_epoll_target()
145 unsigned long idx1, in kcmp_epoll_target() argument
153 unsigned long, idx1, unsigned long, idx2) in SYSCALL_DEFINE5() argument
190 filp1 = get_file_raw_ptr(task1, idx1); in SYSCALL_DEFINE5()
224 ret = kcmp_epoll_target(task1, task2, idx1, (void *)idx2); in SYSCALL_DEFINE5()
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-std.c175 unsigned int idx1,idx2; in pvr2_std_id_to_str() local
181 for (idx1 = 0; idx1 < ARRAY_SIZE(std_groups); idx1++) { in pvr2_std_id_to_str()
182 gp = std_groups + idx1; in pvr2_std_id_to_str()
/Linux-v5.4/drivers/mmc/host/
Dwmt-sdmmc.c226 int idx1, idx2; in wmt_mci_read_response() local
232 for (idx1 = 0; idx1 < 4; idx1++) { in wmt_mci_read_response()
235 if ((idx1 == 3) && (idx2 == 3)) in wmt_mci_read_response()
239 (idx1*4) + idx2 + 1); in wmt_mci_read_response()
242 priv->cmd->resp[idx1] = cpu_to_be32(response); in wmt_mci_read_response()
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1q.sh709 local idx1=$1; shift
716 expects[0]=10; expects[$idx1]=10; expects[$idx2]=10
740 expects[0]=0; expects[$idx1]=10; expects[$idx2]=0
752 expects[0]=10; expects[$idx1]=10; expects[$idx2]=10
770 expects[0]=0; expects[$idx1]=10; expects[$idx2]=0
781 expects[0]=10; expects[$idx1]=10; expects[$idx2]=10
/Linux-v5.4/drivers/platform/x86/
Dintel_telemetry_pltdrv.c931 int index, idx1, ret, readlen = len; in telemetry_plt_raw_read_eventlog() local
968 for (idx1 = 0; idx1 < len; idx1++) { in telemetry_plt_raw_read_eventlog()
971 evtlog[idx1].telem_evtid) { in telemetry_plt_raw_read_eventlog()
972 evtlog[idx1].telem_evtlog = in telemetry_plt_raw_read_eventlog()
/Linux-v5.4/drivers/video/fbdev/sis/
Dinit.c2228 SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *idx1, in SiS_GetFIFOThresholdIndex300() argument
2238 (*idx1) = (unsigned short)(SiS_GetReg(SiS_Pr->SiS_P3c4,0x16) >> 6) & 0x03; in SiS_GetFIFOThresholdIndex300()
2239 (*idx1) |= (unsigned short)(((SiS_GetReg(SiS_Pr->SiS_P3c4,0x14) >> 4) & 0x0c)); in SiS_GetFIFOThresholdIndex300()
2240 (*idx1) <<= 1; in SiS_GetFIFOThresholdIndex300()
2244 SiS_GetFIFOThresholdA300(unsigned short idx1, unsigned short idx2) in SiS_GetFIFOThresholdA300() argument
2252 return (unsigned short)((ThLowA[idx1 + 1] * idx2) + ThLowA[idx1]); in SiS_GetFIFOThresholdA300()
2256 SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2) in SiS_GetFIFOThresholdB300() argument
2264 return (unsigned short)((ThLowB[idx1 + 1] * idx2) + ThLowB[idx1]); in SiS_GetFIFOThresholdB300()
2271 unsigned short idx1, idx2; in SiS_DoCalcDelay() local
2274 SiS_GetFIFOThresholdIndex300(SiS_Pr, &idx1, &idx2); in SiS_DoCalcDelay()
[all …]
Dsis.h344 void SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *idx1,
346 unsigned short SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2);
/Linux-v5.4/drivers/staging/most/dim2/
Dhal.h42 u8 idx1; member
Dhal.c429 state->idx1 = 0; in state_init()
676 dim2_start_isoc_sync(ch->addr, state->idx1, buf_addr, buf_size); in channel_start()
678 dim2_start_ctrl_async(ch->addr, state->idx1, buf_addr, in channel_start()
680 state->idx1 ^= 1; in channel_start()
/Linux-v5.4/drivers/nvdimm/
Dbtt.c288 int idx1 = a->log_index[1]; in btt_log_get_old() local
301 if (log_seq(log, idx0) == log_seq(log, idx1)) in btt_log_get_old()
303 if (log_seq(log, idx0) + log_seq(log, idx1) > 5) in btt_log_get_old()
306 if (log_seq(log, idx0) < log_seq(log, idx1)) { in btt_log_get_old()
307 if ((log_seq(log, idx1) - log_seq(log, idx0)) == 1) in btt_log_get_old()
312 if ((log_seq(log, idx0) - log_seq(log, idx1)) == 1) in btt_log_get_old()
/Linux-v5.4/drivers/net/wireless/intel/iwlegacy/
D3945.c1927 s32 idx0, idx1; in il3945_hw_reg_get_matched_power_idx() local
1946 idx1 = 1; in il3945_hw_reg_get_matched_power_idx()
1949 idx1 = 2; in il3945_hw_reg_get_matched_power_idx()
1952 idx1 = 3; in il3945_hw_reg_get_matched_power_idx()
1955 idx1 = 4; in il3945_hw_reg_get_matched_power_idx()
1958 denominator = (s32) samples[idx1].power - (s32) samples[idx0].power; in il3945_hw_reg_get_matched_power_idx()
1962 gains1 = (s32) samples[idx1].gain_idx * (1 << 19); in il3945_hw_reg_get_matched_power_idx()
/Linux-v5.4/sound/core/oss/
Dpcm_oss.c2951 int idx1; in snd_pcm_oss_proc_write() local
2973 for (idx1 = 31; idx1 >= 0; idx1--) in snd_pcm_oss_proc_write()
2974 if (template.period_size & (1 << idx1)) in snd_pcm_oss_proc_write()
2976 for (idx1--; idx1 >= 0; idx1--) in snd_pcm_oss_proc_write()
2977 template.period_size &= ~(1 << idx1); in snd_pcm_oss_proc_write()
/Linux-v5.4/tools/power/pm-graph/
Dsleepgraph.py1317 for msg, type, dir, t, idx1, idx2 in list:
1320 self.errorinfo[dir].append((type, t, idx1, idx2))
1533 type, tm, idx1, idx2 = e
1535 list.append((type, tm, idx1, idx2))
4409 type, t, idx1, idx2 = e
4410 id = '%d_%d' % (idx1, idx2)
/Linux-v5.4/include/linux/
Dsyscalls.h950 unsigned long idx1, unsigned long idx2);
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c24242 wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1) in wlc_phy_txpwr_idx_cur_set_nphy() argument
24247 mod_phy_reg(pi, 0x222, (0xff << 0), idx1); in wlc_phy_txpwr_idx_cur_set_nphy()