/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
H A D | rf_common.c | 59 u8 idx1, idx2; in rtl92d_phy_rf6052_set_cck_txpower() local 68 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower() 69 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92d_phy_rf6052_set_cck_txpower() 70 (ppowerlevel[idx1] << 8) | in rtl92d_phy_rf6052_set_cck_txpower() 71 (ppowerlevel[idx1] << 16) | in rtl92d_phy_rf6052_set_cck_txpower() 72 (ppowerlevel[idx1] << 24); in rtl92d_phy_rf6052_set_cck_txpower() 76 for (idx1 = RF90_PATH_A; idx1 <= RF90_PATH_B; idx1++) { in rtl92d_phy_rf6052_set_cck_txpower() 77 tx_agc[idx1] = ppowerlevel[idx1] | in rtl92d_phy_rf6052_set_cck_txpower() 78 (ppowerlevel[idx1] << 8) | in rtl92d_phy_rf6052_set_cck_txpower() 79 (ppowerlevel[idx1] << 16) | in rtl92d_phy_rf6052_set_cck_txpower() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | rf.c | 45 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/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | rf.c | 43 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/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | rf.c | 46 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/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | rf.c | 46 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/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | rf.c | 46 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/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | rf.c | 46 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/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-std.c | 175 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/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_bridge_1q.sh | 689 local idx1=$1; shift 696 expects[0]=10; expects[$idx1]=10; expects[$idx2]=10 720 expects[0]=0; expects[$idx1]=10; expects[$idx2]=0 732 expects[0]=10; expects[$idx1]=10; expects[$idx2]=10 750 expects[0]=0; expects[$idx1]=10; expects[$idx2]=0 761 expects[0]=10; expects[$idx1]=10; expects[$idx2]=10
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_getfd_test.c | 31 static int sys_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, in sys_kcmp() argument 34 return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2); in sys_kcmp()
|
/linux/drivers/video/fbdev/sis/ |
H A D | init.c | 2228 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 …]
|
H A D | sis.h | 343 void SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *idx1, 345 unsigned short SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2);
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 14 enum rtw89_chanctx_idx idx1, 2564 enum rtw89_chanctx_idx idx1, in __rtw89_swap_chanctx() argument 2574 if (rtwvif_link->chanctx_idx == idx1) in __rtw89_swap_chanctx() 2577 rtwvif_link->chanctx_idx = idx1; in __rtw89_swap_chanctx() 2582 enum rtw89_chanctx_idx idx1, in rtw89_swap_chanctx() argument 2589 if (idx1 == idx2) in rtw89_swap_chanctx() 2592 hal->chanctx[idx1].cfg->idx = idx2; in rtw89_swap_chanctx() 2593 hal->chanctx[idx2].cfg->idx = idx1; in rtw89_swap_chanctx() 2595 swap(hal->chanctx[idx1], hal->chanctx[idx2]); in rtw89_swap_chanctx() 2598 __rtw89_swap_chanctx(rtwvif, idx1, idx2); in rtw89_swap_chanctx() [all …]
|
/linux/drivers/staging/most/dim2/ |
H A D | hal.h | 42 u8 idx1; member
|
H A D | hal.c | 428 state->idx1 = 0; in state_init() 675 dim2_start_isoc_sync(ch->addr, state->idx1, buf_addr, buf_size); in channel_start() 677 dim2_start_ctrl_async(ch->addr, state->idx1, buf_addr, in channel_start() 679 state->idx1 ^= 1; in channel_start()
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945.c | 1927 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/drivers/nvdimm/ |
H A D | btt.c | 290 int idx1 = a->log_index[1]; in btt_log_get_old() local 303 if (log_seq(log, idx0) == log_seq(log, idx1)) in btt_log_get_old() 305 if (log_seq(log, idx0) + log_seq(log, idx1) > 5) in btt_log_get_old() 308 if (log_seq(log, idx0) < log_seq(log, idx1)) { in btt_log_get_old() 309 if ((log_seq(log, idx1) - log_seq(log, idx0)) == 1) in btt_log_get_old() 314 if ((log_seq(log, idx0) - log_seq(log, idx1)) == 1) in btt_log_get_old()
|
/linux/sound/core/oss/ |
H A D | pcm_oss.c | 2987 int idx1; in snd_pcm_oss_proc_write() local 3008 for (idx1 = 31; idx1 >= 0; idx1--) in snd_pcm_oss_proc_write() 3009 if (template.period_size & (1 << idx1)) in snd_pcm_oss_proc_write() 3011 for (idx1--; idx1 >= 0; idx1--) in snd_pcm_oss_proc_write() 3012 template.period_size &= ~(1 << idx1); in snd_pcm_oss_proc_write()
|
/linux/tools/memory-model/Documentation/ |
H A D | explanation.txt | 1883 following example (where s is an srcu_struct and idx1 and idx2 1886 idx1 = srcu_read_lock(&s); // Start of first RSCS 1888 srcu_read_unlock(&s, idx1); // End of first RSCS 1923 A: idx1 = srcu_read_lock(&s); 1925 C: srcu_read_unlock(&s, idx1); 1929 idx1 and idx2 respectively. Similarly, it will treat C and D as 1930 though they stored the values from idx1 and idx2 in s. The end result 1933 A: idx1 = READ_ONCE(s); 1935 C: WRITE_ONCE(s, idx1); 1947 idx1 = srcu_read_lock(&s); [all …]
|
/linux/tools/power/pm-graph/ |
H A D | sleepgraph.py | 1608 for msg, type, dir, t, idx1, idx2 in list: 1610 self.errorinfo[dir].append((type, t, idx1, idx2)) 1846 type, tm, idx1, idx2 = e 1848 list.append((type, tm, idx1, idx2)) 4832 type, t, idx1, idx2 = e 4833 id = '%d_%d' % (idx1, idx2) 5395 var idx1 = parseInt(range[0]); 5403 if(i == idx1) { 5405 } else if(i > idx1 && i <= idx2) {
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_nix.c | 3016 int idx1 = req->tx.vtag1_idx; in nix_tx_vtag_decfg() local 3026 vlan->entry2pfvf_map[idx1] != pcifunc) in nix_tx_vtag_decfg() 3038 err = nix_tx_vtag_free(rvu, blkaddr, pcifunc, idx1); in nix_tx_vtag_decfg()
|
/linux/include/linux/ |
H A D | syscalls.h | 912 unsigned long idx1, unsigned long idx2);
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_n.c | 24220 wlc_phy_txpwr_idx_cur_set_nphy(struct brcms_phy *pi, u8 idx0, u8 idx1) in wlc_phy_txpwr_idx_cur_set_nphy() argument 24225 mod_phy_reg(pi, 0x222, (0xff << 0), idx1); in wlc_phy_txpwr_idx_cur_set_nphy()
|