Home
last modified time | relevance | path

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

/linux-6.15/arch/riscv/errata/sifive/
H A Derrata_cip_453.S11 .macro ADD_SIGN_EXT pt_reg badaddr tmp_reg argument
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-6.15/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c515 u32 tmp_reg; in keygen_scheme_setup() local
532 tmp_reg = 0; in keygen_scheme_setup()
536 tmp_reg |= KG_SCH_MODE_EN; in keygen_scheme_setup()
538 tmp_reg |= ENQUEUE_KG_DFLT_NIA; in keygen_scheme_setup()
541 scheme_regs.kgse_mode = tmp_reg; in keygen_scheme_setup()
557 tmp_reg = 0; in keygen_scheme_setup()
570 tmp_reg = 0; in keygen_scheme_setup()
583 scheme_regs.kgse_hc = tmp_reg; in keygen_scheme_setup()
593 tmp_reg = 0; in keygen_scheme_setup()
594 tmp_reg |= scheme->base_fqid; in keygen_scheme_setup()
[all …]
H A Dfman.c683 u32 tmp_reg; in dma_init() local
693 tmp_reg = 0; in dma_init()
789 u32 tmp_reg; in fpm_init() local
803 tmp_reg = in fpm_init()
811 tmp_reg = 0; in fpm_init()
843 tmp_reg = 0; in fpm_init()
858 u32 tmp_reg; in bmi_init() local
864 tmp_reg = tmp_reg / BMI_FIFO_ALIGN; in bmi_init()
876 tmp_reg = 0; in bmi_init()
896 u32 tmp_reg; in qmi_init() local
[all …]
/linux-6.15/drivers/usb/chipidea/
H A Ddebug.c253 u32 tmp_reg; in ci_registers_show() local
259 tmp_reg = hw_read_intr_enable(ci); in ci_registers_show()
262 tmp_reg = hw_read_intr_status(ci); in ci_registers_show()
263 seq_printf(s, "USBSTS reg: %08x\n", tmp_reg); in ci_registers_show()
265 tmp_reg = hw_read(ci, OP_USBMODE, ~0); in ci_registers_show()
268 tmp_reg = hw_read(ci, OP_USBCMD, ~0); in ci_registers_show()
269 seq_printf(s, "USBCMD reg: %08x\n", tmp_reg); in ci_registers_show()
271 tmp_reg = hw_read(ci, OP_PORTSC, ~0); in ci_registers_show()
272 seq_printf(s, "PORTSC reg: %08x\n", tmp_reg); in ci_registers_show()
275 tmp_reg = hw_read_otgsc(ci, ~0); in ci_registers_show()
[all …]
/linux-6.15/arch/powerpc/net/
H A Dbpf_jit_comp32.c307 u32 tmp_reg = bpf_to_ppc(TMP_REG); in bpf_jit_build_body() local
406 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
448 PPC_LI32(tmp_reg, imm); in bpf_jit_build_body()
499 PPC_LI32(tmp_reg, imm); in bpf_jit_build_body()
649 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
654 EMIT(PPC_RAW_SLW(tmp_reg, src2_reg, tmp_reg)); in bpf_jit_build_body()
686 bpf_set_seen_register(ctx, tmp_reg); in bpf_jit_build_body()
691 EMIT(PPC_RAW_SRW(tmp_reg, dst_reg_h, tmp_reg)); in bpf_jit_build_body()
731 EMIT(PPC_RAW_SRAW(tmp_reg, src2_reg_h, tmp_reg)); in bpf_jit_build_body()
733 EMIT(PPC_RAW_SLW(tmp_reg, tmp_reg, _R0)); in bpf_jit_build_body()
[all …]
H A Dbpf_jit.h186 int bpf_jit_emit_exit_insn(u32 *image, struct codegen_context *ctx, int tmp_reg, long exit_addr);
H A Dbpf_jit_comp.c100 int bpf_jit_emit_exit_insn(u32 *image, struct codegen_context *ctx, int tmp_reg, long exit_addr) in bpf_jit_emit_exit_insn() argument
/linux-6.15/drivers/usb/gadget/udc/
H A Dfsl_udc_core.c2030 u32 tmp_reg; in fsl_proc_read() local
2047 tmp_reg = fsl_readl(&dr_regs->usbcmd); in fsl_proc_read()
2052 (tmp_reg & USB_CMD_SUTW) ? 1 : 0, in fsl_proc_read()
2055 tmp_reg = fsl_readl(&dr_regs->usbsts); in fsl_proc_read()
2060 (tmp_reg & USB_STS_SUSPEND) ? 1 : 0, in fsl_proc_read()
2061 (tmp_reg & USB_STS_RESET) ? 1 : 0, in fsl_proc_read()
2074 (tmp_reg & USB_INTR_SOF_EN) ? 1 : 0, in fsl_proc_read()
2084 (tmp_reg & USB_FRINDEX_MASKS)); in fsl_proc_read()
2154 (tmp_reg & EP_SETUP_STATUS_MASK)); in fsl_proc_read()
2164 tmp_reg = usb_sys_regs->snoop1; in fsl_proc_read()
[all …]
H A Dnet2280.c1946 u32 tmp_reg; in defect7374_disable_data_eps() local
1959 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1967 tmp_reg = readl(&dev->plregs->pl_ep_cfg_4); in defect7374_disable_data_eps()
1968 tmp_reg &= ~BIT(NON_CTRL_IN_TOLERATE_BAD_DIR); in defect7374_disable_data_eps()
1969 writel(tmp_reg, &dev->plregs->pl_ep_cfg_4); in defect7374_disable_data_eps()
1970 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1971 tmp_reg |= BIT(EP_INITIALIZED); in defect7374_disable_data_eps()
1972 writel(tmp_reg, &dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps()
1978 u32 tmp = 0, tmp_reg; in defect7374_enable_data_eps_zero() local
2014 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_enable_data_eps_zero()
[all …]
/linux-6.15/drivers/iio/adc/
H A Dmcp3564.c1109 u8 tmp_reg; in mcp3564_config() local
1141 switch (tmp_reg) { in mcp3564_config()
1149 dev_info(dev, "Unknown chip found: %d\n", tmp_reg); in mcp3564_config()
1295 tmp_reg = FIELD_PREP(MCP3464_CONFIG3_CONV_MODE_MASK, in mcp3564_config()
1297 tmp_reg |= FIELD_PREP(MCP3464_CONFIG3_DATA_FORMAT_MASK, in mcp3564_config()
1299 tmp_reg |= MCP3464_CONFIG3_EN_OFFCAL_MASK; in mcp3564_config()
1300 tmp_reg |= MCP3464_CONFIG3_EN_GAINCAL_MASK; in mcp3564_config()
1302 ret = mcp3564_write_8bits(adc, MCP3564_CONFIG3_REG, tmp_reg); in mcp3564_config()
1308 tmp_reg |= FIELD_PREP(MCP3564_CONFIG2_AZ_MUX_MASK, 1); in mcp3564_config()
1330 tmp_reg |= MCP3456_CONFIG0_BIT6_DEFAULT; in mcp3564_config()
[all …]
/linux-6.15/sound/soc/codecs/
H A Dtlv320aic32x4.c1002 u32 tmp_reg; in aic32x4_component_probe() local
1032 snd_soc_component_write(component, AIC32X4_LDOCTL, tmp_reg); in aic32x4_component_probe()
1034 tmp_reg = snd_soc_component_read(component, AIC32X4_CMMODE); in aic32x4_component_probe()
1036 tmp_reg |= AIC32X4_LDOIN_18_36; in aic32x4_component_probe()
1038 tmp_reg |= AIC32X4_LDOIN2HP; in aic32x4_component_probe()
1039 snd_soc_component_write(component, AIC32X4_CMMODE, tmp_reg); in aic32x4_component_probe()
1159 u32 tmp_reg; in aic32x4_tas2505_component_probe() local
1185 snd_soc_component_write(component, AIC32X4_LDOCTL, tmp_reg); in aic32x4_tas2505_component_probe()
1187 tmp_reg = snd_soc_component_read(component, AIC32X4_CMMODE); in aic32x4_tas2505_component_probe()
1189 tmp_reg |= AIC32X4_LDOIN_18_36; in aic32x4_tas2505_component_probe()
[all …]
/linux-6.15/drivers/net/ethernet/netronome/nfp/bpf/
H 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-6.15/drivers/net/ethernet/tehuti/
H A Dtn40_mdio.c81 u32 tmp_reg = 0; in tn40_mdio_write() local
93 ret = tn40_mdio_wait_nobusy(priv, &tmp_reg); in tn40_mdio_write()
97 if (TN40_GET_MDIO_RD_ERR(tmp_reg)) { in tn40_mdio_write()
/linux-6.15/drivers/net/ethernet/dec/tulip/
H 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-6.15/drivers/net/wireless/realtek/rtw89/
H A Drtw8852a_rfk.c257 u32 tmp = 0, tmp_offset, tmp_reg; in _dack_reload_by_path() local
276 tmp_reg = 0x5e14 + tmp_offset; in _dack_reload_by_path()
277 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
284 tmp_reg = 0x5e18 + tmp_offset; in _dack_reload_by_path()
285 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
292 tmp_reg = 0x5e1c + tmp_offset; in _dack_reload_by_path()
293 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
300 tmp_reg = 0x5e20 + tmp_offset; in _dack_reload_by_path()
301 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
308 tmp_reg = 0x5e24 + tmp_offset; in _dack_reload_by_path()
[all …]
H A Drtw8852bt_rfk.c545 u32 tmp, tmp_offset, tmp_reg; in _dack_reload_by_path() local
570 tmp_reg = 0xc200 + tmp_offset; in _dack_reload_by_path()
571 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
579 tmp_reg = 0xc204 + tmp_offset; in _dack_reload_by_path()
580 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
588 tmp_reg = 0xc208 + tmp_offset; in _dack_reload_by_path()
589 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
597 tmp_reg = 0xc20c + tmp_offset; in _dack_reload_by_path()
598 rtw89_phy_write32(rtwdev, tmp_reg, tmp); in _dack_reload_by_path()
605 tmp_reg = 0xc210 + tmp_offset; in _dack_reload_by_path()
[all …]
/linux-6.15/tools/lib/bpf/
H A Dlibbpf_internal.h623 __u8 tmp_reg = insn->dst_reg; in bpf_insn_bswap() local
626 insn->src_reg = tmp_reg; in bpf_insn_bswap()
/linux-6.15/net/core/
H A Dfilter.c9569 __u8 tmp_reg = BPF_REG_AX; in bpf_convert_tstamp_read() local
9605 __u8 tmp_reg = BPF_REG_AX; in bpf_convert_tstamp_write() local
10286 int tmp_reg = BPF_REG_9; \
10287 if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \
10288 --tmp_reg; \
10289 if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \
10290 --tmp_reg; \
10296 tmp_reg, si->src_reg, \
10334 sin_addr, BPF_SIZE(si->code), 0, tmp_reg); in sock_addr_convert_ctx_access()
10343 tmp_reg); in sock_addr_convert_ctx_access()
[all …]
/linux-6.15/drivers/gpu/drm/mediatek/
H A Dmtk_dsi.c377 u32 regval, tmp_reg = 0; in mtk_dsi_rxtx_control() local
382 tmp_reg |= BIT(i); in mtk_dsi_rxtx_control()
384 regval = FIELD_PREP(LANE_NUM, tmp_reg); in mtk_dsi_rxtx_control()
/linux-6.15/drivers/net/wireless/ath/ath9k/
H 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-6.15/include/linux/
H A Dfilter.h1514 u64 tmp_reg; member
1555 u64 tmp_reg; member
1573 u64 tmp_reg; member
/linux-6.15/kernel/bpf/
H A Dcgroup.c2288 offsetof(struct bpf_sysctl_kern, tmp_reg)); in sysctl_convert_ctx_access()
2301 offsetof(struct bpf_sysctl_kern, tmp_reg)); in sysctl_convert_ctx_access()
2501 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
2514 offsetof(struct bpf_sockopt_kern, tmp_reg)); in cg_sockopt_convert_ctx_access()
H A Dverifier.c5056 struct bpf_reg_state *tmp_reg = &env->fake_reg[0]; in check_stack_write_fixed_off() local
5058 memset(tmp_reg, 0, sizeof(*tmp_reg)); in check_stack_write_fixed_off()
5059 __mark_reg_known(tmp_reg, insn->imm); in check_stack_write_fixed_off()
5060 tmp_reg->type = SCALAR_VALUE; in check_stack_write_fixed_off()
5061 save_register_state(env, state, spi, tmp_reg, size); in check_stack_write_fixed_off()
/linux-6.15/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c10525 u32 addr, tmp_reg; in bnx2x_prev_unload_undi_inc() local
10532 tmp_reg = REG_RD(bp, addr); in bnx2x_prev_unload_undi_inc()
10533 rcq = BNX2X_PREV_UNDI_RCQ(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc()
10534 bd = BNX2X_PREV_UNDI_BD(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc()
10536 tmp_reg = BNX2X_PREV_UNDI_PROD(rcq, bd); in bnx2x_prev_unload_undi_inc()
10537 REG_WR(bp, addr, tmp_reg); in bnx2x_prev_unload_undi_inc()
10759 u32 reset_reg, tmp_reg = 0, rc; in bnx2x_prev_unload_common() local
10802 tmp_reg = REG_RD(bp, BRB1_REG_NUM_OF_FULL_BLOCKS); in bnx2x_prev_unload_common()
10804 u32 prev_brb = tmp_reg; in bnx2x_prev_unload_common()
10807 if (!tmp_reg) in bnx2x_prev_unload_common()
[all …]