Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/ti/
Dcpsw_ale.c107 int idx, idx2; in cpsw_ale_get_field() local
111 idx2 = (start + bits - 1) / 32; in cpsw_ale_get_field()
113 if (idx != idx2) { in cpsw_ale_get_field()
114 idx2 = 2 - idx2; /* flip */ in cpsw_ale_get_field()
115 hi_val = ale_entry[idx2] << ((idx2 * 32) - start); in cpsw_ale_get_field()
125 int idx, idx2; in cpsw_ale_set_field() local
129 idx2 = (start + bits - 1) / 32; in cpsw_ale_set_field()
131 if (idx != idx2) { in cpsw_ale_set_field()
132 idx2 = 2 - idx2; /* flip */ in cpsw_ale_set_field()
133 ale_entry[idx2] &= ~(BITMASK(bits + start - (idx2 * 32))); in cpsw_ale_set_field()
[all …]
/drivers/staging/r8188eu/hal/
Drtl8188e_rf6052.c135 u8 idx1, idx2; in rtl8188e_PHY_RF6052SetCckTxPower() local
190 for (idx2 = 0; idx2 < 4; idx2++) { in rtl8188e_PHY_RF6052SetCckTxPower()
/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()
/drivers/mmc/host/
Dwmt-sdmmc.c226 int idx1, idx2; in wmt_mci_read_response() local
234 for (idx2 = 0; idx2 < 4; idx2++) { 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()
240 response |= (tmp_resp << (idx2 * 8)); in wmt_mci_read_response()
/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()
/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()
/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()
/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()
/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()
/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()
/drivers/staging/most/dim2/
Dhal.h43 u8 idx2; member
Dhal.c430 state->idx2 = 0; in state_init()
637 if (!service_channel(ch->addr, state->idx2)) in channel_service_interrupt()
640 state->idx2 ^= 1; in channel_service_interrupt()
/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);
/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()
/drivers/usb/gadget/udc/
Ds3c2410_udc.c844 u32 idx, idx2; in s3c2410_udc_irq() local
962 idx2 = udc_read(S3C2410_UDC_INDEX_REG); in s3c2410_udc_irq()
969 udc_write(idx2, S3C2410_UDC_INDEX_REG); in s3c2410_udc_irq()
/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 …]