Home
last modified time | relevance | path

Searched refs:idx2 (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-std.c175 unsigned int idx1,idx2; in pvr2_std_id_to_str() local
184 for (idx2 = 0; idx2 < ARRAY_SIZE(std_items); idx2++) { in pvr2_std_id_to_str()
185 ip = std_items + idx2; in pvr2_std_id_to_str()
309 unsigned int idx,bcnt,idx2; in pvr2_std_create_enum() local
334 for (idx2 = 0; idx2 < ARRAY_SIZE(std_mixes); idx2++) { in pvr2_std_create_enum()
335 if ((id & std_mixes[idx2]) == std_mixes[idx2]) std_cnt++; in pvr2_std_create_enum()
365 for (idx2 = 0; (idx2 < ARRAY_SIZE(std_mixes)) && (idx < std_cnt); in pvr2_std_create_enum()
366 idx2++) { in pvr2_std_create_enum()
367 if (!(id & std_mixes[idx2])) continue; in pvr2_std_create_enum()
368 if (pvr2_std_fill(stddefs+idx,std_mixes[idx2])) idx++; in pvr2_std_create_enum()
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpsw_ale.c109 int idx, idx2; in cpsw_ale_get_field() local
113 idx2 = (start + bits - 1) / 32; in cpsw_ale_get_field()
115 if (idx != idx2) { in cpsw_ale_get_field()
116 idx2 = 2 - idx2; /* flip */ in cpsw_ale_get_field()
117 hi_val = ale_entry[idx2] << ((idx2 * 32) - start); in cpsw_ale_get_field()
127 int idx, idx2; in cpsw_ale_set_field() local
131 idx2 = (start + bits - 1) / 32; in cpsw_ale_set_field()
133 if (idx != idx2) { in cpsw_ale_set_field()
134 idx2 = 2 - idx2; /* flip */ in cpsw_ale_set_field()
135 ale_entry[idx2] &= ~(BITMASK(bits + start - (idx2 * 32))); in cpsw_ale_set_field()
[all …]
/linux-6.6.21/kernel/
Dkcmp.c136 unsigned long, idx1, unsigned long, idx2) in SYSCALL_DEFINE5() argument
174 filp2 = get_file_raw_ptr(task2, idx2); in SYSCALL_DEFINE5()
207 ret = kcmp_epoll_target(task1, task2, idx1, (void *)idx2); in SYSCALL_DEFINE5()
/linux-6.6.21/sound/soc/dwc/
Ddwc-i2s.c662 u32 idx2; in dw_configure_dai_by_pd() local
665 idx2 = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai_by_pd()
668 (fifo_width[idx2]) >> 8; in dw_configure_dai_by_pd()
672 idx2 = COMP2_RX_WORDSIZE_0(comp2); in dw_configure_dai_by_pd()
675 (fifo_width[idx2] >> 8); in dw_configure_dai_by_pd()
702 u32 idx2; in dw_configure_dai_by_dt() local
710 idx2 = COMP1_TX_WORDSIZE_0(comp1); in dw_configure_dai_by_dt()
715 (fifo_width[idx2]) >> 8; in dw_configure_dai_by_dt()
719 idx2 = COMP2_RX_WORDSIZE_0(comp2); in dw_configure_dai_by_dt()
724 (fifo_width[idx2] >> 8); in dw_configure_dai_by_dt()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Drf.c43 u8 idx1, idx2; in rtl8821ae_phy_rf6052_set_cck_txpower() local
89 for (idx2 = 0; idx2 < 4; idx2++) { in rtl8821ae_phy_rf6052_set_cck_txpower()
/linux-6.6.21/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
92 idx2 = err_vals->refs[seg + 1]; 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.6.21/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c31 unsigned long idx2) in sys_kcmp() argument
33 return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2); in sys_kcmp()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Drf.c46 u8 idx1, idx2; in rtl88e_phy_rf6052_set_cck_txpower() local
90 for (idx2 = 0; idx2 < 4; idx2++) { in rtl88e_phy_rf6052_set_cck_txpower()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Drf.c45 u8 idx1, idx2; in rtl92cu_phy_rf6052_set_cck_txpower() local
87 for (idx2 = 0; idx2 < 4; idx2++) { in rtl92cu_phy_rf6052_set_cck_txpower()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Drf.c46 u8 idx1, idx2; in rtl8723e_phy_rf6052_set_cck_txpower() local
89 for (idx2 = 0; idx2 < 4; idx2++) { in rtl8723e_phy_rf6052_set_cck_txpower()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Drf.c46 u8 idx1, idx2; in rtl92ce_phy_rf6052_set_cck_txpower() local
85 for (idx2 = 0; idx2 < 4; idx2++) { in rtl92ce_phy_rf6052_set_cck_txpower()
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Drf.c46 u8 idx1, idx2; in rtl8723be_phy_rf6052_set_cck_txpower() local
89 for (idx2 = 0; idx2 < 4; idx2++) { in rtl8723be_phy_rf6052_set_cck_txpower()
/linux-6.6.21/drivers/mmc/host/
Dwmt-sdmmc.c225 int idx1, idx2; in wmt_mci_read_response() local
233 for (idx2 = 0; idx2 < 4; idx2++) { 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()
239 response |= (tmp_resp << (idx2 * 8)); in wmt_mci_read_response()
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1q.sh690 local idx2=$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.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Drf.c58 u8 idx1, idx2; in rtl92d_phy_rf6052_set_cck_txpower() local
93 for (idx2 = 0; idx2 < 4; idx2++) { in rtl92d_phy_rf6052_set_cck_txpower()
/linux-6.6.21/drivers/staging/most/dim2/
Dhal.h43 u8 idx2; member
Dhal.c429 state->idx2 = 0; in state_init()
636 if (!service_channel(ch->addr, state->idx2)) in channel_service_interrupt()
639 state->idx2 ^= 1; in channel_service_interrupt()
/linux-6.6.21/drivers/video/fbdev/sis/
Dinit.c2229 unsigned short *idx2) in SiS_GetFIFOThresholdIndex300() argument
2237 (*idx2) = (unsigned short)(ThTiming[((temp2 >> 3) | temp1) & 0x07]); 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()
2277 longtemp *= SiS_GetFIFOThresholdA300(idx1, idx2); in SiS_DoCalcDelay()
2279 longtemp *= SiS_GetFIFOThresholdB300(idx1, idx2); in SiS_DoCalcDelay()
Dsis.h344 unsigned short *idx2);
345 unsigned short SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2);
/linux-6.6.21/drivers/media/dvb-core/
Ddvb_ca_en50221.c1613 size_t idx, idx2; in dvb_ca_en50221_io_read() local
1683 idx2 = dvb_ringbuffer_pkt_next(&sl->rx_buffer, idx, &fraglen); in dvb_ca_en50221_io_read()
1686 idx = idx2; in dvb_ca_en50221_io_read()
/linux-6.6.21/net/ieee802154/
Dnl-mac.c1189 int idx = 0, idx2; in llsec_iter_devkeys() local
1195 idx2 = 0; in llsec_iter_devkeys()
1198 if (idx2++ < data->s_idx2) in llsec_iter_devkeys()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c17475 u8 idx, idx2, i, delta_ind; in wlc_phy_txpwr_limit_to_tbl_nphy() local
17481 idx2 = 0; in wlc_phy_txpwr_limit_to_tbl_nphy()
17517 pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] = in wlc_phy_txpwr_limit_to_tbl_nphy()
17520 pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] = in wlc_phy_txpwr_limit_to_tbl_nphy()
17522 pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] = in wlc_phy_txpwr_limit_to_tbl_nphy()
17524 pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] = in wlc_phy_txpwr_limit_to_tbl_nphy()
17527 pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] = in wlc_phy_txpwr_limit_to_tbl_nphy()
17529 pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] = in wlc_phy_txpwr_limit_to_tbl_nphy()
17531 pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] = in wlc_phy_txpwr_limit_to_tbl_nphy()
17533 pi->adj_pwr_tbl_nphy[4 + 4 * (idx2++) + i] = in wlc_phy_txpwr_limit_to_tbl_nphy()
[all …]
/linux-6.6.21/tools/memory-model/Documentation/
Dexplanation.txt1883 following example (where s is an srcu_struct and idx1 and idx2
1887 idx2 = srcu_read_lock(&s); // Start of second RSCS
1889 srcu_read_unlock(&s, idx2); // End of second RSCS
1924 B: idx2 = srcu_read_lock(&s);
1926 D: srcu_read_unlock(&s, idx2);
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
1934 B: idx2 = READ_ONCE(s);
1936 D: WRITE_ONCE(s, idx2);
1949 idx2 = srcu_read_lock(&s);
[all …]
/linux-6.6.21/net/mac80211/
Drx.c1849 int idx2; in ieee80211_rx_get_bigtk() local
1859 idx2 = idx + 1; in ieee80211_rx_get_bigtk()
1862 idx2 = idx + 1; in ieee80211_rx_get_bigtk()
1864 idx2 = idx - 1; in ieee80211_rx_get_bigtk()
1872 key = rcu_dereference(rx->link_sta->gtk[idx2]); in ieee80211_rx_get_bigtk()
1874 key = rcu_dereference(rx->link->gtk[idx2]); in ieee80211_rx_get_bigtk()
/linux-6.6.21/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))
4807 type, t, idx1, idx2 = e
4808 id = '%d_%d' % (idx1, idx2)

12