/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | HalPhyRf_8723B.c | 1241 s32 tmp1 = 0, tmp2 = 0; in phy_SimularityCompare_8723B() local 1255 tmp2 = result[c2][i] | 0xFFFFFC00; in phy_SimularityCompare_8723B() 1257 tmp2 = result[c2][i]; in phy_SimularityCompare_8723B() 1260 tmp2 = result[c2][i]; in phy_SimularityCompare_8723B() 1263 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); in phy_SimularityCompare_8723B()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | time_64.c | 317 unsigned long ret, tmp1, tmp2, tmp3; in __hbird_read_stick() local 332 "=&r" (tmp1), "=&r" (tmp2), "=&r" (tmp3) in __hbird_read_stick()
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha1-armv7-neon.S | 69 #define tmp2 q10 macro 161 vadd.u32 tmp2, W6, curK; \ 164 vst1.32 {tmp2, tmp3}, [RWK]; \ 194 vadd.u32 tmp2, W6, curK; \ 203 vst1.32 {tmp2, tmp3}, [RWK]; \
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | enc28j60.c | 820 u16 tmp1, tmp2; in enc28j60_dump_tsv() local 827 tmp2 = tsv[5]; in enc28j60_dump_tsv() 828 tmp2 <<= 8; in enc28j60_dump_tsv() 829 tmp2 |= tsv[4]; in enc28j60_dump_tsv() 833 tmp1, tsv[2] & 0x0f, tmp2); in enc28j60_dump_tsv()
|
/openbmc/linux/sound/pci/cs46xx/ |
H A D | dsp_spos_scb_lib.c | 596 unsigned int tmp1, tmp2; in cs46xx_dsp_create_src_task_scb() local 625 tmp2 = tmp1 / 48000; in cs46xx_dsp_create_src_task_scb() 626 phiIncr += tmp2; in cs46xx_dsp_create_src_task_scb() 627 tmp1 -= tmp2 * 48000; in cs46xx_dsp_create_src_task_scb()
|
H A D | cs46xx_lib.c | 711 unsigned int tmp1, tmp2; in snd_cs46xx_set_play_sample_rate() local 737 tmp2 = tmp1 / 48000; in snd_cs46xx_set_play_sample_rate() 738 phiIncr += tmp2; in snd_cs46xx_set_play_sample_rate() 739 tmp1 -= tmp2 * 48000; in snd_cs46xx_set_play_sample_rate() 757 unsigned int phiIncr, coeffIncr, tmp1, tmp2; in snd_cs46xx_set_capture_sample_rate() local 810 tmp2 = tmp1 / rate; in snd_cs46xx_set_capture_sample_rate() 811 phiIncr += tmp2; in snd_cs46xx_set_capture_sample_rate() 812 tmp1 -= tmp2 * rate; in snd_cs46xx_set_capture_sample_rate()
|
/openbmc/linux/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 775 void *tmp2; in check_access_rw() local 812 tmp2 = malloc(BUFFER_SIZE); in check_access_rw() 813 ASSERT_NE(NULL, tmp2); in check_access_rw() 817 access_cmd.access_rw.uptr = (uintptr_t)tmp2; in check_access_rw() 820 ASSERT_EQ(0, memcmp(buffer, tmp2, access_cmd.access_rw.length)); in check_access_rw() 821 free(tmp2); in check_access_rw()
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 508 unsigned long tmp2, tmp3; in pch_gbe_mac_set_pause_packet() local 511 tmp2 = hw->mac.addr[1]; in pch_gbe_mac_set_pause_packet() 512 tmp2 = (tmp2 << 8) | hw->mac.addr[0]; in pch_gbe_mac_set_pause_packet() 513 tmp2 = PCH_GBE_PAUSE_PKT2_VALUE | (tmp2 << 16); in pch_gbe_mac_set_pause_packet() 521 iowrite32(tmp2, &hw->reg->PAUSE_PKT2); in pch_gbe_mac_set_pause_packet()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | phy.c | 1931 s32 tmp1 = 0, tmp2 = 0; in _rtl8723be_phy_simularity_compare() local 1945 tmp2 = result[c2][i] | 0xFFFFFC00; in _rtl8723be_phy_simularity_compare() 1947 tmp2 = result[c2][i]; in _rtl8723be_phy_simularity_compare() 1950 tmp2 = result[c2][i]; in _rtl8723be_phy_simularity_compare() 1953 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); in _rtl8723be_phy_simularity_compare()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_int.c | 182 u32 tmp, tmp2; in qed_grc_attn_cb() local 195 tmp2 = qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, in qed_grc_attn_cb() 200 tmp2, tmp, in qed_grc_attn_cb() 204 GET_FIELD(tmp2, QED_GRC_ATTENTION_PF), in qed_grc_attn_cb() 205 (GET_FIELD(tmp2, QED_GRC_ATTENTION_PRIV) == in qed_grc_attn_cb() 207 GET_FIELD(tmp2, QED_GRC_ATTENTION_VF)); in qed_grc_attn_cb()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | radio.c | 1487 u32 tmp2 = 0; in b43legacy_radio_init2050() local 1658 tmp2 += b43legacy_phy_read(dev, 0x002D); in b43legacy_radio_init2050() 1666 tmp2++; in b43legacy_radio_init2050() 1667 tmp2 >>= 8; in b43legacy_radio_init2050() 1668 if (tmp1 < tmp2) in b43legacy_radio_init2050()
|
/openbmc/u-boot/drivers/ram/rockchip/ |
H A D | sdram_rk3399.c | 463 u32 tmp, tmp1, tmp2; in pctl_cfg() local 497 tmp2 = readl(&denali_phy[922]); in pctl_cfg() 501 (((tmp2 >> 0) & 0x1) == 0x1)) in pctl_cfg()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.c | 471 u32 mac_per = 6400, tmp1, tmp2, tmp3; in sparx5_port_fifo_sz() local 507 tmp2 = 3000 + ((12000 + 2 * taxi_dist[portno] * 1000) in sparx5_port_fifo_sz() 509 tmp3 = tmp1 * tmp2 / 1000; in sparx5_port_fifo_sz()
|
/openbmc/linux/drivers/parport/ |
H A D | parport_pc.c | 2450 u8 tmp, tmp2, siofunc; in sio_via_probe() local 2502 tmp2 = inb(VIA_CONFIG_DATA); in sio_via_probe() 2505 ppcontrol = tmp2; in sio_via_probe() 2511 tmp2 &= ~(VIA_PARPORT_BIDIR|VIA_PARPORT_ECPEPP); in sio_via_probe() 2512 tmp2 |= ppcontrol; in sio_via_probe() 2514 outb(tmp2, VIA_CONFIG_DATA); in sio_via_probe()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | ni_labpc_common.c | 501 int tmp, tmp2; in labpc_ai_cmdtest() local 592 tmp2 = cmd->scan_begin_arg; in labpc_ai_cmdtest() 595 if (tmp != cmd->convert_arg || tmp2 != cmd->scan_begin_arg) in labpc_ai_cmdtest()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | phy.c | 2406 s32 tmp1, tmp2; in _rtl92ee_phy_simularity_compare() local 2420 tmp2 = result[c2][i] | 0xFFFFFC00; in _rtl92ee_phy_simularity_compare() 2422 tmp2 = result[c2][i]; in _rtl92ee_phy_simularity_compare() 2425 tmp2 = result[c2][i]; in _rtl92ee_phy_simularity_compare() 2428 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); in _rtl92ee_phy_simularity_compare()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | neon_helper.c | 1144 uint64_t tmp2; in HELPER() local 1148 tmp2 = b & 0xffff0000ffff0000ull; in HELPER() 1149 tmp2 += (b << 16) & 0xffff0000ffff0000ull; in HELPER() 1152 | ((tmp2 << 16) & 0xffff00000000ull) in HELPER() 1153 | ( tmp2 & 0xffff000000000000ull); in HELPER()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 2699 u64 tmp, tmp2; in pma_get_opa_portstatus() local 2771 tmp2 = tmp + read_dev_cntr(dd, C_DC_REINIT_FROM_PEER_CNT, in pma_get_opa_portstatus() 2773 if (tmp2 > (u32)UINT_MAX || tmp2 < tmp) { in pma_get_opa_portstatus() 2777 rsp->link_error_recovery = cpu_to_be32(tmp2); in pma_get_opa_portstatus() 3114 u64 tmp, tmp2; in pma_get_opa_port_ectrs() local 3120 tmp2 = tmp + read_dev_cntr(dd, C_DC_REINIT_FROM_PEER_CNT, in pma_get_opa_port_ectrs() 3122 if (tmp2 > (u32)UINT_MAX || tmp2 < tmp) { in pma_get_opa_port_ectrs() 3126 rsp->link_error_recovery = cpu_to_be32(tmp2); in pma_get_opa_port_ectrs()
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | smc.c | 69 u32 tmp1, tmp2; in prog_ddr_timing_control() local 109 tmp2 = wl - 3; in prog_ddr_timing_control() 161 dtr4 |= ((1 + tmp1 - tmp2 + 2) << 8); in prog_ddr_timing_control() 163 dtr4 |= ((1 + tmp1 - tmp2 + 2) << 12); in prog_ddr_timing_control()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mes.c | 282 struct amdgpu_mes_queue *queue, *tmp2; in amdgpu_mes_destroy_process() local 302 list_for_each_entry_safe(queue, tmp2, &gang->queue_list, list) { in amdgpu_mes_destroy_process() 325 list_for_each_entry_safe(queue, tmp2, &gang->queue_list, list) { in amdgpu_mes_destroy_process()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | stv0367.c | 690 u8 tmp, tmp2; in stv0367ter_lock_algo() local 732 tmp2 = stv0367_readreg(state, R367TER_STATUS); in stv0367ter_lock_algo() 735 mode, tmp, tmp2); in stv0367ter_lock_algo() 738 tmp2 = stv0367_readreg(state, R367TER_I2CRPT); in stv0367ter_lock_algo() 739 dprintk("PRVIT=0x%x I2CRPT=0x%x\n", tmp, tmp2); in stv0367ter_lock_algo()
|
/openbmc/linux/drivers/iommu/amd/ |
H A D | init.c | 281 u64 tmp2 = iommu->features2; in get_global_efr() local 285 amd_iommu_efr2 = tmp2; in get_global_efr() 290 amd_iommu_efr2 == tmp2) in get_global_efr() 295 tmp, tmp2, amd_iommu_efr, amd_iommu_efr2, in get_global_efr() 301 amd_iommu_efr2 &= tmp2; in get_global_efr()
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_xthead.c.inc | 491 TCGv tmp2 = tcg_temp_new(); 493 extend_operand_func(tmp2, src2); 494 tcg_gen_mul_tl(tmp, tmp, tmp2);
|
/openbmc/linux/net/tipc/ |
H A D | crypto.c | 1250 struct tipc_aead *tmp1, *tmp2 = NULL; in tipc_crypto_key_try_align() local 1277 tmp2 = rcu_replace_pointer(rx->aead[key.passive], tmp2, lockdep_is_held(&rx->lock)); in tipc_crypto_key_try_align() 1286 rcu_assign_pointer(rx->aead[new_passive], tmp2); in tipc_crypto_key_try_align()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_pipe.c | 846 struct ice_vsig_prof *tmp2; in ice_match_prop_lst() local 853 list_for_each_entry(tmp2, list2, list) in ice_match_prop_lst() 859 tmp2 = list_first_entry(list2, struct ice_vsig_prof, list); in ice_match_prop_lst() 865 if (tmp2->profile_cookie != tmp1->profile_cookie) in ice_match_prop_lst() 869 tmp2 = list_next_entry(tmp2, list); in ice_match_prop_lst()
|