Home
last modified time | relevance | path

Searched refs:tmp_reg (Results 1 – 20 of 20) sorted by relevance

/linux/arch/riscv/errata/sifive/
A Derrata_cip_453.S11 .macro ADD_SIGN_EXT pt_reg badaddr tmp_reg
13 li \tmp_reg,1
14 slli \tmp_reg,\tmp_reg,0x26
15 and \tmp_reg,\tmp_reg,\badaddr
16 beqz \tmp_reg, 1f
17 li \tmp_reg,-1
18 slli \tmp_reg,\tmp_reg,0x27
19 or \badaddr,\tmp_reg,\badaddr
/linux/arch/powerpc/net/
A Dbpf_jit_comp32.c366 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
398 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
399 PPC_LI32(tmp_reg, imm); in bpf_jit_build_body()
434 PPC_LI32(tmp_reg, imm); in bpf_jit_build_body()
559 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
564 EMIT(PPC_RAW_SLW(tmp_reg, dst_reg, tmp_reg)); in bpf_jit_build_body()
595 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
600 EMIT(PPC_RAW_SRW(tmp_reg, dst_reg_h, tmp_reg)); in bpf_jit_build_body()
638 EMIT(PPC_RAW_SRAW(tmp_reg, dst_reg_h, tmp_reg)); in bpf_jit_build_body()
640 EMIT(PPC_RAW_SLW(tmp_reg, tmp_reg, _R0)); in bpf_jit_build_body()
[all …]
A Dbpf_jit_comp64.c953 int tmp_reg = b2p[TMP_REG_1]; in bpf_jit_build_body() local
955 EMIT(PPC_RAW_AND(tmp_reg, dst_reg, src_reg)); in bpf_jit_build_body()
956 EMIT(PPC_RAW_RLWINM_DOT(tmp_reg, tmp_reg, 0, 0, in bpf_jit_build_body()
1035 int tmp_reg = b2p[TMP_REG_1]; in bpf_jit_build_body() local
1037 PPC_LI32(tmp_reg, imm); in bpf_jit_build_body()
1039 EMIT(PPC_RAW_AND_DOT(tmp_reg, dst_reg, in bpf_jit_build_body()
1040 tmp_reg)); in bpf_jit_build_body()
1042 EMIT(PPC_RAW_AND(tmp_reg, dst_reg, in bpf_jit_build_body()
1043 tmp_reg)); in bpf_jit_build_body()
1044 EMIT(PPC_RAW_RLWINM_DOT(tmp_reg, tmp_reg, in bpf_jit_build_body()
/linux/drivers/net/ethernet/freescale/fman/
A Dfman_keygen.c542 u32 tmp_reg; in keygen_scheme_setup() local
559 tmp_reg = 0; in keygen_scheme_setup()
563 tmp_reg |= KG_SCH_MODE_EN; in keygen_scheme_setup()
565 tmp_reg |= ENQUEUE_KG_DFLT_NIA; in keygen_scheme_setup()
568 scheme_regs.kgse_mode = tmp_reg; in keygen_scheme_setup()
584 tmp_reg = 0; in keygen_scheme_setup()
597 tmp_reg = 0; in keygen_scheme_setup()
610 scheme_regs.kgse_hc = tmp_reg; in keygen_scheme_setup()
620 tmp_reg = 0; in keygen_scheme_setup()
621 tmp_reg |= scheme->base_fqid; in keygen_scheme_setup()
[all …]
A Dfman.c710 u32 tmp_reg; in dma_init() local
720 tmp_reg = 0; in dma_init()
816 u32 tmp_reg; in fpm_init() local
830 tmp_reg = in fpm_init()
838 tmp_reg = 0; in fpm_init()
870 tmp_reg = 0; in fpm_init()
885 u32 tmp_reg; in bmi_init() local
891 tmp_reg = tmp_reg / BMI_FIFO_ALIGN; in bmi_init()
903 tmp_reg = 0; in bmi_init()
923 u32 tmp_reg; in qmi_init() local
[all …]
/linux/drivers/usb/chipidea/
A Ddebug.c307 u32 tmp_reg; in ci_registers_show() local
313 tmp_reg = hw_read_intr_enable(ci); in ci_registers_show()
316 tmp_reg = hw_read_intr_status(ci); in ci_registers_show()
317 seq_printf(s, "USBSTS reg: %08x\n", tmp_reg); in ci_registers_show()
319 tmp_reg = hw_read(ci, OP_USBMODE, ~0); in ci_registers_show()
322 tmp_reg = hw_read(ci, OP_USBCMD, ~0); in ci_registers_show()
323 seq_printf(s, "USBCMD reg: %08x\n", tmp_reg); in ci_registers_show()
325 tmp_reg = hw_read(ci, OP_PORTSC, ~0); in ci_registers_show()
326 seq_printf(s, "PORTSC reg: %08x\n", tmp_reg); in ci_registers_show()
329 tmp_reg = hw_read_otgsc(ci, ~0); in ci_registers_show()
[all …]
/linux/drivers/usb/gadget/udc/
A Dfsl_udc_core.c2020 u32 tmp_reg; in fsl_proc_read() local
2037 tmp_reg = fsl_readl(&dr_regs->usbcmd); in fsl_proc_read()
2042 (tmp_reg & USB_CMD_SUTW) ? 1 : 0, in fsl_proc_read()
2045 tmp_reg = fsl_readl(&dr_regs->usbsts); in fsl_proc_read()
2050 (tmp_reg & USB_STS_SUSPEND) ? 1 : 0, in fsl_proc_read()
2051 (tmp_reg & USB_STS_RESET) ? 1 : 0, in fsl_proc_read()
2064 (tmp_reg & USB_INTR_SOF_EN) ? 1 : 0, in fsl_proc_read()
2074 (tmp_reg & USB_FRINDEX_MASKS)); in fsl_proc_read()
2144 (tmp_reg & EP_SETUP_STATUS_MASK)); in fsl_proc_read()
2154 tmp_reg = usb_sys_regs->snoop1; in fsl_proc_read()
[all …]
A Dnet2280.c1951 u32 tmp_reg; in defect7374_disable_data_eps() local
1964 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1972 tmp_reg = readl(&dev->plregs->pl_ep_cfg_4); in defect7374_disable_data_eps()
1973 tmp_reg &= ~BIT(NON_CTRL_IN_TOLERATE_BAD_DIR); in defect7374_disable_data_eps()
1974 writel(tmp_reg, &dev->plregs->pl_ep_cfg_4); in defect7374_disable_data_eps()
1975 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1976 tmp_reg |= BIT(EP_INITIALIZED); in defect7374_disable_data_eps()
1977 writel(tmp_reg, &dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1983 u32 tmp = 0, tmp_reg; in defect7374_enable_data_eps_zero() local
2019 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_enable_data_eps_zero()
[all …]
/linux/drivers/gpu/drm/mediatek/
A Dmtk_dsi.c385 u32 tmp_reg; in mtk_dsi_rxtx_control() local
389 tmp_reg = 1 << 2; in mtk_dsi_rxtx_control()
392 tmp_reg = 3 << 2; in mtk_dsi_rxtx_control()
395 tmp_reg = 7 << 2; in mtk_dsi_rxtx_control()
398 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
401 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control()
406 tmp_reg |= HSTX_CKLP_EN; in mtk_dsi_rxtx_control()
409 tmp_reg |= DIS_EOT; in mtk_dsi_rxtx_control()
417 u32 tmp_reg; in mtk_dsi_ps_control() local
421 tmp_reg = PACKED_PS_24BIT_RGB888; in mtk_dsi_ps_control()
[all …]
/linux/sound/soc/codecs/
A Dtlv320aic32x4.c994 u32 tmp_reg; in aic32x4_component_probe() local
1024 snd_soc_component_write(component, AIC32X4_LDOCTL, tmp_reg); in aic32x4_component_probe()
1026 tmp_reg = snd_soc_component_read(component, AIC32X4_CMMODE); in aic32x4_component_probe()
1028 tmp_reg |= AIC32X4_LDOIN_18_36; in aic32x4_component_probe()
1030 tmp_reg |= AIC32X4_LDOIN2HP; in aic32x4_component_probe()
1031 snd_soc_component_write(component, AIC32X4_CMMODE, tmp_reg); in aic32x4_component_probe()
1144 u32 tmp_reg; in aic32x4_tas2505_component_probe() local
1170 snd_soc_component_write(component, AIC32X4_LDOCTL, tmp_reg); in aic32x4_tas2505_component_probe()
1172 tmp_reg = snd_soc_component_read(component, AIC32X4_CMMODE); in aic32x4_tas2505_component_probe()
1174 tmp_reg |= AIC32X4_LDOIN_18_36; in aic32x4_tas2505_component_probe()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Djit.c657 return tmp_reg; in ur_load_imm_any()
670 return tmp_reg; in re_load_imm_any()
952 swreg tmp_reg; in construct_data_ind_ld() local
973 swreg tmp_reg; in construct_data_ld() local
1267 swreg tmp_reg; in wrp_alu_imm() local
1407 swreg tmp_reg; in cmp_imm() local
2709 swreg tmp_reg; in mem_ldx_data() local
2721 swreg tmp_reg; in mem_ldx_emem() local
3167 swreg tmp_reg; in jeq32_imm() local
3182 swreg tmp_reg; in jset_imm() local
[all …]
/linux/drivers/media/usb/cpia2/
A Dcpia2_core.c617 u8 tmp_reg; in cpia2_reset_camera() local
730 tmp_reg = cam->params.vp_params.system_ctrl; in cpia2_reset_camera()
731 cmd.buffer.registers[0].value = tmp_reg & in cpia2_reset_camera()
732 (tmp_reg & (CPIA2_VP_SYSTEMCTRL_HK_CONTROL ^ 0xFF)); in cpia2_reset_camera()
795 tmp_reg = cam->params.vc_params.vc_control | in cpia2_reset_camera()
798 tmp_reg = cam->params.vc_params.vc_control & in cpia2_reset_camera()
801 cpia2_do_command(cam, CPIA2_CMD_SET_VC_CONTROL, TRANSFER_WRITE,tmp_reg); in cpia2_reset_camera()
823 tmp_reg = cam->params.vc_params.pw_control; in cpia2_reset_camera()
824 tmp_reg &= ~CPIA2_VC_PW_CTRL_VC_RESET_N; in cpia2_reset_camera()
826 cpia2_do_command(cam, CPIA2_CMD_SET_PW_CONTROL, TRANSFER_WRITE,tmp_reg); in cpia2_reset_camera()
[all …]
/linux/drivers/net/ethernet/dec/tulip/
A Ddmfe.c1904 int dmfe_mode, tmp_reg; in dmfe_parse_srom() local
1917 for (tmp_reg = 1; tmp_reg < 0x10; tmp_reg <<= 1) { in dmfe_parse_srom()
1918 switch( db->NIC_capability & tmp_reg ) { in dmfe_parse_srom()
1977 tmp_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); in dmfe_parse_srom()
1978 if ( ( tmp_reg & 0xfff0 ) == 0xb900 ) { in dmfe_parse_srom()
1984 dmfe_program_DM9801(db, tmp_reg); in dmfe_parse_srom()
/linux/drivers/net/wireless/realtek/rtw89/
A Drtw8852a_rfk.c317 u32 tmp = 0, tmp_offset, tmp_reg; in _dack_reload_by_path() local
336 tmp_reg = 0x5e14 + tmp_offset; in _dack_reload_by_path()
337 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
344 tmp_reg = 0x5e18 + tmp_offset; in _dack_reload_by_path()
345 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
352 tmp_reg = 0x5e1c + tmp_offset; in _dack_reload_by_path()
353 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
360 tmp_reg = 0x5e20 + tmp_offset; in _dack_reload_by_path()
361 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
368 tmp_reg = 0x5e24 + tmp_offset; in _dack_reload_by_path()
[all …]
/linux/drivers/net/ethernet/altera/
A Daltera_tse_main.c1092 unsigned int tmp_reg = 0; in init_sgmii_pcs() local
1126 tmp_reg = sgmii_pcs_read(priv, MII_BMCR); in init_sgmii_pcs()
1127 tmp_reg |= (BMCR_SPEED1000 | BMCR_FULLDPLX | BMCR_ANENABLE); in init_sgmii_pcs()
1128 sgmii_pcs_write(priv, MII_BMCR, tmp_reg); in init_sgmii_pcs()
1131 tmp_reg |= BMCR_RESET; in init_sgmii_pcs()
1132 sgmii_pcs_write(priv, MII_BMCR, tmp_reg); in init_sgmii_pcs()
/linux/drivers/net/wireless/ath/ath9k/
A Dar5008_phy.c167 u32 tmp_reg; in ar5008_hw_force_bias() local
184 tmp_reg = ath9k_hw_reverse_bits(new_bias, 3); in ar5008_hw_force_bias()
190 ar5008_hw_phy_modify_rx_buffer(ah->analogBank6Data, tmp_reg, 3, 181, 3); in ar5008_hw_force_bias()
/linux/net/core/
A Dfilter.c9207 int tmp_reg = BPF_REG_9; \
9208 if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \
9209 --tmp_reg; \
9210 if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \
9211 --tmp_reg; \
9216 *insn++ = BPF_STX_MEM(SIZE, tmp_reg, si->src_reg, \
9257 sin_addr, BPF_SIZE(si->code), 0, tmp_reg); in sock_addr_convert_ctx_access()
9266 tmp_reg); in sock_addr_convert_ctx_access()
9285 sin6_port, bytes_to_bpf_size(port_size), 0, tmp_reg); in sock_addr_convert_ctx_access()
9307 s_addr, BPF_SIZE(si->code), 0, tmp_reg); in sock_addr_convert_ctx_access()
[all …]
/linux/include/linux/
A Dfilter.h1301 u64 tmp_reg; member
1340 u64 tmp_reg; member
/linux/kernel/bpf/
A Dcgroup.c1878 offsetof(struct bpf_sysctl_kern, tmp_reg)); in sysctl_convert_ctx_access()
1889 offsetof(struct bpf_sysctl_kern, tmp_reg)); in sysctl_convert_ctx_access()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_main.c10512 u32 addr, tmp_reg; in bnx2x_prev_unload_undi_inc() local
10519 tmp_reg = REG_RD(bp, addr); in bnx2x_prev_unload_undi_inc()
10520 rcq = BNX2X_PREV_UNDI_RCQ(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc()
10521 bd = BNX2X_PREV_UNDI_BD(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc()
10523 tmp_reg = BNX2X_PREV_UNDI_PROD(rcq, bd); in bnx2x_prev_unload_undi_inc()
10524 REG_WR(bp, addr, tmp_reg); in bnx2x_prev_unload_undi_inc()
10746 u32 reset_reg, tmp_reg = 0, rc; in bnx2x_prev_unload_common() local
10789 tmp_reg = REG_RD(bp, BRB1_REG_NUM_OF_FULL_BLOCKS); in bnx2x_prev_unload_common()
10791 u32 prev_brb = tmp_reg; in bnx2x_prev_unload_common()
10794 if (!tmp_reg) in bnx2x_prev_unload_common()
[all …]

Completed in 145 milliseconds