Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/media/usb/pvrusb2/
H A 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()
/openbmc/linux/drivers/net/ethernet/ti/
H A 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 …]
/openbmc/linux/kernel/
H A 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()
/openbmc/linux/sound/soc/dwc/
H A 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()
/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c31 unsigned long idx2) in sys_kcmp() argument
33 return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2); in sys_kcmp()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A 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()
/openbmc/linux/drivers/thermal/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A 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()
/openbmc/linux/drivers/mmc/host/
H A 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()
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A 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
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A 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()
/openbmc/linux/drivers/staging/most/dim2/
H A Dhal.h43 u8 idx2; member
H A 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()
/openbmc/linux/drivers/video/fbdev/sis/
H A 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()
H A Dsis.h344 unsigned short *idx2);
345 unsigned short SiS_GetFIFOThresholdB300(unsigned short idx1, unsigned short idx2);
/openbmc/qemu/target/ppc/
H A Dtranslate.c7057 "opcode table %02x\n", idx2, idx1); in register_ind_in_table()
7068 return register_ind_in_table(ppc_opcodes, idx1, idx2, handler); in register_ind_insn()
7075 if (register_ind_in_table(ppc_opcodes, idx1, idx2, NULL) < 0) { in register_dblind_insn()
7077 "[%02x-%02x]\n", idx1, idx2); in register_dblind_insn()
7083 "[%02x-%02x-%02x]\n", idx1, idx2, idx3); in register_dblind_insn()
7097 if (register_ind_in_table(ppc_opcodes, idx1, idx2, NULL) < 0) { in register_trplind_insn()
7099 "[%02x-%02x]\n", idx1, idx2); in register_trplind_insn()
7103 if (register_ind_in_table(table, idx2, idx3, NULL) < 0) { in register_trplind_insn()
7105 "[%02x-%02x-%02x]\n", idx1, idx2, idx3); in register_trplind_insn()
7108 table = ind_table(table[idx2]); in register_trplind_insn()
[all …]
/openbmc/linux/net/ieee802154/
H A 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()
/openbmc/linux/drivers/media/dvb-core/
H A 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()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A 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 …]
/openbmc/linux/tools/memory-model/Documentation/
H A 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);
1934 B: idx2 = READ_ONCE(s);
1936 D: WRITE_ONCE(s, idx2);
1949 idx2 = srcu_read_lock(&s);
1950 srcu_read_unlock(&s, idx2);
2002 C: idx2 = srcu_read_lock(&s);
[all …]
/openbmc/qemu/target/loongarch/insn_trans/
H A Dtrans_vec.c.inc2134 arg_vvv *a, uint32_t oprsz, int idx1, int idx2,
2152 get_vreg64(arg2, a->vk, 2 * i + idx2);
2163 static bool gen_vmul_q(DisasContext *ctx, arg_vvv *a, int idx1, int idx2,
2167 return gen_vmul_q_vl(ctx, a, 16, idx1, idx2, func);
2170 static bool gen_xvmul_q(DisasContext *ctx, arg_vvv *a, int idx1, int idx2,
2174 return gen_vmul_q_vl(ctx, a, 32, idx1, idx2, func);
2790 arg_vvv *a, uint32_t oprsz, int idx1, int idx2,
2810 get_vreg64(arg2, a->vk, 2 * i + idx2);
2824 static bool gen_vmadd_q(DisasContext *ctx, arg_vvv *a, int idx1, int idx2,
2827 return gen_vmadd_q_vl(ctx, a, 16, idx1, idx2, func);
[all …]

12