Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Drf_common.c59 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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/kernel/
Dkcmp.c102 unsigned long idx1, in kcmp_epoll_target() argument
111 filp = get_file_raw_ptr(task1, idx1); in kcmp_epoll_target()
130 unsigned long idx1, in kcmp_epoll_target() argument
138 unsigned long, idx1, unsigned long, idx2) in SYSCALL_DEFINE5() argument
175 filp1 = get_file_raw_ptr(task1, idx1); in SYSCALL_DEFINE5()
209 ret = kcmp_epoll_target(task1, task2, idx1, (void *)idx2); in SYSCALL_DEFINE5()
/linux-6.12.1/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-6.12.1/drivers/thermal/
Dk3_j72xx_bandgap.c85 int m = 0, c, num, den, i, err, idx1, idx2, err1, err2, ref1, ref2; in create_table_segments() local
88 idx1 = 0; in create_table_segments()
90 idx1 = err_vals->refs[seg]; in create_table_segments()
113 for (i = idx1; i <= idx2; i++) { in create_table_segments()
120 for (i = idx1; i <= idx2; i++) { in create_table_segments()
/linux-6.12.1/drivers/mmc/host/
Dwmt-sdmmc.c225 int idx1, idx2; in wmt_mci_read_response() local
231 for (idx1 = 0; idx1 < 4; idx1++) { in wmt_mci_read_response()
234 if ((idx1 == 3) && (idx2 == 3)) in wmt_mci_read_response()
238 (idx1*4) + idx2 + 1); in wmt_mci_read_response()
241 priv->cmd->resp[idx1] = cpu_to_be32(response); in wmt_mci_read_response()
/linux-6.12.1/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c31 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-6.12.1/drivers/platform/x86/intel/telemetry/
Dpltdrv.c919 int index, idx1, ret, readlen = len; in telemetry_plt_raw_read_eventlog() local
956 for (idx1 = 0; idx1 < len; idx1++) { in telemetry_plt_raw_read_eventlog()
959 evtlog[idx1].telem_evtid) { in telemetry_plt_raw_read_eventlog()
960 evtlog[idx1].telem_evtlog = in telemetry_plt_raw_read_eventlog()
/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1q.sh689 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-6.12.1/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.h343 void SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned short *idx1,
345 unsigned short SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2);
/linux-6.12.1/drivers/staging/most/dim2/
Dhal.h42 u8 idx1; member
Dhal.c428 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-6.12.1/drivers/net/wireless/realtek/rtw89/
Dchan.c2374 enum rtw89_chanctx_idx idx1, in rtw89_swap_chanctx() argument
2381 if (idx1 == idx2) in rtw89_swap_chanctx()
2384 hal->chanctx[idx1].cfg->idx = idx2; in rtw89_swap_chanctx()
2385 hal->chanctx[idx2].cfg->idx = idx1; in rtw89_swap_chanctx()
2387 swap(hal->chanctx[idx1], hal->chanctx[idx2]); in rtw89_swap_chanctx()
2392 if (rtwvif->chanctx_idx == idx1) in rtw89_swap_chanctx()
2395 rtwvif->chanctx_idx = idx1; in rtw89_swap_chanctx()
2399 if (cur == idx1) in rtw89_swap_chanctx()
2402 atomic_set(&hal->roc_chanctx_idx, idx1); in rtw89_swap_chanctx()
/linux-6.12.1/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-6.12.1/drivers/nvdimm/
Dbtt.c290 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-6.12.1/sound/core/oss/
Dpcm_oss.c2987 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-6.12.1/tools/memory-model/Documentation/
Dexplanation.txt1883 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-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c9370 s8 idx0 = 0, idx1 = 0; in rt2800_loft_search() local
9391 idx1 = idxf[iorq] + (bidx == 5 ? 0 : ibit); in rt2800_loft_search()
9392 idx1 = idx1 & 0x3F; in rt2800_loft_search()
9393 rt2800_write_dc(rt2x00dev, ch_idx, 0, iorq, idx1); in rt2800_loft_search()
9399 p0, p1, pf, idx0, idx1, ibit); in rt2800_loft_search()
9408 idxf[iorq] = idx1 & 0x3F; in rt2800_loft_search()
9431 s8 idx0 = 0, idx1 = 0; in rt2800_iq_search() local
9462 idx1 = iq_err + (first_search ? 0 : ibit); in rt2800_iq_search()
9463 idx1 = (gop == 0) ? (idx1 & 0x0F) : (idx1 & 0x3F); in rt2800_iq_search()
9469 rt2800_bbp_write(rt2x00dev, 159, idx1); in rt2800_iq_search()
[all …]
/linux-6.12.1/tools/power/pm-graph/
Dsleepgraph.py1585 for msg, type, dir, t, idx1, idx2 in list:
1587 self.errorinfo[dir].append((type, t, idx1, idx2))
1823 type, tm, idx1, idx2 = e
1825 list.append((type, tm, idx1, idx2))
4808 type, t, idx1, idx2 = e
4809 id = '%d_%d' % (idx1, idx2)

12