Home
last modified time | relevance | path

Searched refs:tmp_idx (Results 1 – 25 of 57) sorted by relevance

123

/OK3568_Linux_fs/kernel/net/mac80211/
H A Drc80211_minstrel_ht.c388 int tmp_group, tmp_idx, tmp_tp_avg, tmp_prob; in minstrel_ht_sort_best_tp_rates() local
398 tmp_idx = tp_list[j - 1] % MCS_GROUP_RATES; in minstrel_ht_sort_best_tp_rates()
399 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_sort_best_tp_rates()
400 tmp_tp_avg = minstrel_ht_get_tp_avg(mi, tmp_group, tmp_idx, in minstrel_ht_sort_best_tp_rates()
424 int tmp_group, tmp_idx, tmp_tp_avg, tmp_prob; in minstrel_ht_set_best_prob_rate() local
435 tmp_idx = mi->max_prob_rate % MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate()
436 tmp_prob = mi->groups[tmp_group].rates[tmp_idx].prob_avg; in minstrel_ht_set_best_prob_rate()
437 tmp_tp_avg = minstrel_ht_get_tp_avg(mi, tmp_group, tmp_idx, tmp_prob); in minstrel_ht_set_best_prob_rate()
481 unsigned int tmp_group, tmp_idx, tmp_cck_tp, tmp_mcs_tp, tmp_prob; in minstrel_ht_assign_best_tp_rates() local
485 tmp_idx = tmp_cck_tp_rate[0] % MCS_GROUP_RATES; in minstrel_ht_assign_best_tp_rates()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/net/
H A Dbpf_jit_comp64.c339 u32 tmp_idx; in bpf_jit_build_body() local
765 tmp_idx = ctx->idx * 4; in bpf_jit_build_body()
773 PPC_BCC_SHORT(COND_NE, tmp_idx); in bpf_jit_build_body()
778 tmp_idx = ctx->idx * 4; in bpf_jit_build_body()
782 PPC_BCC_SHORT(COND_NE, tmp_idx); in bpf_jit_build_body()
1097 u32 tmp_idx; in bpf_jit_fixup_subprog_calls() local
1124 tmp_idx = ctx->idx; in bpf_jit_fixup_subprog_calls()
1132 ctx->idx = tmp_idx; in bpf_jit_fixup_subprog_calls()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/
H A Dphydm_rainfo.c1589 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1602 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1604 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1606 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1608 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1610 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1613 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1615 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1617 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1619 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/
H A Dphydm_rainfo.c1578 u8 tmp_idx = 0; in phydm_get_ofdm_qam_order() local
1591 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1593 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1595 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1597 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1599 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1602 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1604 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1606 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1608 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/
H A Dphydm_rainfo.c1578 u8 tmp_idx = 0; in phydm_get_ofdm_qam_order() local
1591 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1593 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1595 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1597 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1599 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1602 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1604 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1606 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1608 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/
H A Dphydm_rainfo.c1578 u8 tmp_idx = 0; in phydm_get_ofdm_qam_order() local
1591 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1593 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1595 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1597 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1599 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1602 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1604 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1606 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1608 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/
H A Dphydm_rainfo.c1727 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1740 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1742 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1744 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1746 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1748 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1751 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1753 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1755 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1757 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/
H A Dphydm_rainfo.c1679 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1692 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1694 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1696 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1698 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1700 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1703 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1705 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1707 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1709 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/
H A Dphydm_rainfo.c1729 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1742 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1744 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1746 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1748 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1750 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1753 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1755 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1757 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1759 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/
H A Dphydm_rainfo.c1727 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1740 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1742 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1744 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1746 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1748 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1751 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1753 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1755 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1757 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/
H A Dhalbb_ra.c383 u16 tmp_idx = rate_idx; in halbb_get_qam_order() local
396 tmp_idx -= BB_VHT_MCS(4, 0); in halbb_get_qam_order()
398 tmp_idx -= BB_VHT_MCS(3, 0); in halbb_get_qam_order()
400 tmp_idx -= BB_VHT_MCS(2, 0); in halbb_get_qam_order()
402 tmp_idx -= BB_VHT_MCS(1, 0); in halbb_get_qam_order()
404 qam_order = qam[tmp_idx]; in halbb_get_qam_order()
407 tmp_idx -= BB_HT_MCS(24); in halbb_get_qam_order()
409 tmp_idx -= BB_HT_MCS(16); in halbb_get_qam_order()
411 tmp_idx -= BB_HT_MCS(8); in halbb_get_qam_order()
413 tmp_idx -= BB_HT_MCS(0); in halbb_get_qam_order()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/
H A Dphydm_rainfo.c1762 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1775 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1777 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1779 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1781 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1783 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1786 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1788 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1790 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1792 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/phydm/
H A Dphydm_rainfo.c1726 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1739 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1741 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1743 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1745 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1747 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1750 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1752 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1754 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1756 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/
H A Dphydm_rainfo.c1709 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1722 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1724 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1726 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1728 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1730 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1733 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1735 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1737 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1739 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_ra.c383 u16 tmp_idx = rate_idx; in halbb_get_qam_order() local
396 tmp_idx -= BB_VHT_MCS(4, 0); in halbb_get_qam_order()
398 tmp_idx -= BB_VHT_MCS(3, 0); in halbb_get_qam_order()
400 tmp_idx -= BB_VHT_MCS(2, 0); in halbb_get_qam_order()
402 tmp_idx -= BB_VHT_MCS(1, 0); in halbb_get_qam_order()
404 qam_order = qam[tmp_idx]; in halbb_get_qam_order()
407 tmp_idx -= BB_HT_MCS(24); in halbb_get_qam_order()
409 tmp_idx -= BB_HT_MCS(16); in halbb_get_qam_order()
411 tmp_idx -= BB_HT_MCS(8); in halbb_get_qam_order()
413 tmp_idx -= BB_HT_MCS(0); in halbb_get_qam_order()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/
H A Dphydm_rainfo.c1729 u8 tmp_idx = rate_idx; in phydm_get_ofdm_qam_order() local
1742 tmp_idx -= ODM_RATEVHTSS4MCS0; in phydm_get_ofdm_qam_order()
1744 tmp_idx -= ODM_RATEVHTSS3MCS0; in phydm_get_ofdm_qam_order()
1746 tmp_idx -= ODM_RATEVHTSS2MCS0; in phydm_get_ofdm_qam_order()
1748 tmp_idx -= ODM_RATEVHTSS1MCS0; in phydm_get_ofdm_qam_order()
1750 qam_order = qam[tmp_idx]; in phydm_get_ofdm_qam_order()
1753 tmp_idx -= ODM_RATEMCS24; in phydm_get_ofdm_qam_order()
1755 tmp_idx -= ODM_RATEMCS16; in phydm_get_ofdm_qam_order()
1757 tmp_idx -= ODM_RATEMCS8; in phydm_get_ofdm_qam_order()
1759 tmp_idx -= ODM_RATEMCS0; in phydm_get_ofdm_qam_order()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kexec/
H A Dfile_load_64.c516 int tmp_idx, ret; in kdump_setup_usable_lmb() local
529 tmp_idx = um_info->idx; in kdump_setup_usable_lmb()
542 um_info->buf[tmp_idx] = in kdump_setup_usable_lmb()
543 cpu_to_be64((um_info->idx - tmp_idx - 1) / 2); in kdump_setup_usable_lmb()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dmax8997-regulator.c621 int new_val, new_idx, damage, tmp_val, tmp_idx, tmp_dmg; in max8997_set_voltage_buck() local
652 tmp_idx = -1; in max8997_set_voltage_buck()
660 tmp_idx = new_idx; in max8997_set_voltage_buck()
668 new_idx = tmp_idx; in max8997_set_voltage_buck()
676 max8997->buck125_gpioindex, tmp_idx); in max8997_set_voltage_buck()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A Dmmu_decl.h147 extern void loadcam_multi(int first_idx, int num, int tmp_idx);
/OK3568_Linux_fs/kernel/arch/arm/net/
H A Dbpf_jit_32.c1902 unsigned int tmp_idx; in bpf_int_jit_compile() local
1953 tmp_idx = ctx.idx; in bpf_int_jit_compile()
1955 ctx.prologue_bytes = (ctx.idx - tmp_idx) * 4; in bpf_int_jit_compile()
1960 tmp_idx = ctx.idx; in bpf_int_jit_compile()
1962 ctx.epilogue_bytes = (ctx.idx - tmp_idx) * 4; in bpf_int_jit_compile()
/OK3568_Linux_fs/kernel/drivers/scsi/qedi/
H A Dqedi_main.c1828 s16 tmp_idx; in qedi_get_task_idx() local
1831 tmp_idx = find_first_zero_bit(qedi->task_idx_map, in qedi_get_task_idx()
1834 if (tmp_idx >= MAX_ISCSI_TASK_ENTRIES) { in qedi_get_task_idx()
1836 tmp_idx = -1; in qedi_get_task_idx()
1840 if (test_and_set_bit(tmp_idx, qedi->task_idx_map)) in qedi_get_task_idx()
1844 return tmp_idx; in qedi_get_task_idx()
/OK3568_Linux_fs/kernel/arch/mips/net/
H A Dbpf_jit.c1239 unsigned int alloc_size, tmp_idx; in bpf_jit_compile() local
1255 tmp_idx = ctx.idx; in bpf_jit_compile()
1257 ctx.prologue_bytes = (ctx.idx - tmp_idx) * 4; in bpf_jit_compile()
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c4230 u32 tmp_idx = idx; in try_set_ext_ctrls_common() local
4235 if (helpers[tmp_idx].ref->ctrl == master) in try_set_ext_ctrls_common()
4236 new_auto_val = cs->controls[tmp_idx].value; in try_set_ext_ctrls_common()
4237 tmp_idx = helpers[tmp_idx].next; in try_set_ext_ctrls_common()
4238 } while (tmp_idx); in try_set_ext_ctrls_common()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_mp.c1893 u32 pkt_size = 0, i = 0, idx = 0, tmp_idx = 0; in SetPacketTx() local
2075 tmp_idx += i; in SetPacketTx()
2079 tmp_idx += (idx + i); in SetPacketTx()
2084 idx = tmp_idx; in SetPacketTx()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_mp.c1880 u32 pkt_size = 0, i = 0, idx = 0, tmp_idx = 0; in SetPacketTx() local
2057 tmp_idx += i; in SetPacketTx()
2061 tmp_idx += (idx + i); in SetPacketTx()
2066 idx = tmp_idx; in SetPacketTx()

123