/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 542 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() 585 tmp_reg |= (KG_SCH_DEF_USE_KGSE_DV_0 << in keygen_scheme_setup() 587 tmp_reg |= (KG_SCH_DEF_USE_KGSE_DV_1 << in keygen_scheme_setup() 589 scheme_regs.kgse_ekdv = tmp_reg; in keygen_scheme_setup() 597 tmp_reg = 0; in keygen_scheme_setup() [all …]
|
D | fman.c | 710 u32 tmp_reg; in dma_init() local 715 tmp_reg = (DMA_STATUS_BUS_ERR | DMA_STATUS_READ_ECC | in dma_init() 717 iowrite32be(ioread32be(&dma_rg->fmdmsr) | tmp_reg, &dma_rg->fmdmsr); in dma_init() 720 tmp_reg = 0; in dma_init() 721 tmp_reg |= cfg->dma_cache_override << DMA_MODE_CACHE_OR_SHIFT; in dma_init() 723 tmp_reg |= DMA_MODE_BER; in dma_init() 727 tmp_reg |= DMA_MODE_ECC; in dma_init() 729 tmp_reg |= (DMA_MODE_AXI_DBG_MASK & in dma_init() 733 tmp_reg |= (((cfg->dma_cam_num_of_entries / DMA_CAM_UNITS) - 1) & in dma_init() 735 tmp_reg |= DMA_MODE_SECURE_PROT; in dma_init() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
D | debug.c | 307 u32 tmp_reg; in ci_registers_show() local 313 tmp_reg = hw_read_intr_enable(ci); in ci_registers_show() 314 seq_printf(s, "USBINTR reg: %08x\n", tmp_reg); 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() 320 seq_printf(s, "USBMODE reg: %08x\n", tmp_reg); 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() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
D | fsl_udc_core.c | 2023 u32 tmp_reg; in fsl_proc_read() local 2040 tmp_reg = fsl_readl(&dr_regs->usbcmd); in fsl_proc_read() 2045 (tmp_reg & USB_CMD_SUTW) ? 1 : 0, in fsl_proc_read() 2046 (tmp_reg & USB_CMD_RUN_STOP) ? "Run" : "Stop"); in fsl_proc_read() 2048 tmp_reg = fsl_readl(&dr_regs->usbsts); in fsl_proc_read() 2053 (tmp_reg & USB_STS_SUSPEND) ? 1 : 0, in fsl_proc_read() 2054 (tmp_reg & USB_STS_RESET) ? 1 : 0, in fsl_proc_read() 2055 (tmp_reg & USB_STS_SYS_ERR) ? "Err" : "Normal", in fsl_proc_read() 2056 (tmp_reg & USB_STS_ERR) ? "Err detected" : "No err"); in fsl_proc_read() 2058 tmp_reg = fsl_readl(&dr_regs->usbintr); in fsl_proc_read() [all …]
|
D | net2280.c | 1949 u32 tmp_reg; in defect7374_disable_data_eps() local 1962 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps() 1963 writel(((tmp_reg & ~0x1f) | ep_sel), &dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps() 1970 tmp_reg = readl(&dev->plregs->pl_ep_cfg_4); in defect7374_disable_data_eps() 1971 tmp_reg &= ~BIT(NON_CTRL_IN_TOLERATE_BAD_DIR); in defect7374_disable_data_eps() 1972 writel(tmp_reg, &dev->plregs->pl_ep_cfg_4); in defect7374_disable_data_eps() 1973 tmp_reg = readl(&dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps() 1974 tmp_reg |= BIT(EP_INITIALIZED); in defect7374_disable_data_eps() 1975 writel(tmp_reg, &dev->plregs->pl_ep_ctrl); in defect7374_disable_data_eps() 1981 u32 tmp = 0, tmp_reg; in defect7374_enable_data_eps_zero() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_dsi.c | 384 u32 tmp_reg; in mtk_dsi_rxtx_control() local 388 tmp_reg = 1 << 2; in mtk_dsi_rxtx_control() 391 tmp_reg = 3 << 2; in mtk_dsi_rxtx_control() 394 tmp_reg = 7 << 2; in mtk_dsi_rxtx_control() 397 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control() 400 tmp_reg = 0xf << 2; in mtk_dsi_rxtx_control() 404 tmp_reg |= (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) << 6; in mtk_dsi_rxtx_control() 405 tmp_reg |= (dsi->mode_flags & MIPI_DSI_MODE_EOT_PACKET) >> 3; in mtk_dsi_rxtx_control() 407 writel(tmp_reg, dsi->regs + DSI_TXRX_CTRL); in mtk_dsi_rxtx_control() 413 u32 tmp_reg; in mtk_dsi_ps_control() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | jit.c | 651 static swreg ur_load_imm_any(struct nfp_prog *nfp_prog, u32 imm, swreg tmp_reg) in ur_load_imm_any() argument 656 wrp_immed(nfp_prog, tmp_reg, imm); in ur_load_imm_any() 657 return tmp_reg; in ur_load_imm_any() 664 static swreg re_load_imm_any(struct nfp_prog *nfp_prog, u32 imm, swreg tmp_reg) in re_load_imm_any() argument 669 wrp_immed(nfp_prog, tmp_reg, imm); in re_load_imm_any() 670 return tmp_reg; in re_load_imm_any() 952 swreg tmp_reg; in construct_data_ind_ld() local 955 tmp_reg = ur_load_imm_any(nfp_prog, offset, imm_b(nfp_prog)); in construct_data_ind_ld() 956 emit_alu(nfp_prog, imm_both(nfp_prog), reg_a(src), ALU_OP_ADD, tmp_reg); in construct_data_ind_ld() 973 swreg tmp_reg; in construct_data_ld() local [all …]
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | tlv320aic32x4.c | 971 u32 tmp_reg; in aic32x4_component_probe() local 999 tmp_reg = (aic32x4->power_cfg & AIC32X4_PWR_AIC32X4_LDO_ENABLE) ? in aic32x4_component_probe() 1001 snd_soc_component_write(component, AIC32X4_LDOCTL, tmp_reg); in aic32x4_component_probe() 1003 tmp_reg = snd_soc_component_read(component, AIC32X4_CMMODE); in aic32x4_component_probe() 1005 tmp_reg |= AIC32X4_LDOIN_18_36; in aic32x4_component_probe() 1007 tmp_reg |= AIC32X4_LDOIN2HP; in aic32x4_component_probe() 1008 snd_soc_component_write(component, AIC32X4_CMMODE, tmp_reg); in aic32x4_component_probe() 1029 tmp_reg = snd_soc_component_read(component, AIC32X4_ADCSETUP); in aic32x4_component_probe() 1030 snd_soc_component_write(component, AIC32X4_ADCSETUP, tmp_reg | in aic32x4_component_probe() 1032 snd_soc_component_write(component, AIC32X4_ADCSETUP, tmp_reg); in aic32x4_component_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 962 int tmp_reg = b2p[TMP_REG_1]; in bpf_jit_build_body() local 964 EMIT(PPC_RAW_AND(tmp_reg, dst_reg, src_reg)); in bpf_jit_build_body() 965 EMIT(PPC_RAW_RLWINM_DOT(tmp_reg, tmp_reg, 0, 0, in bpf_jit_build_body() 1044 int tmp_reg = b2p[TMP_REG_1]; in bpf_jit_build_body() local 1046 PPC_LI32(tmp_reg, imm); in bpf_jit_build_body() 1048 EMIT(PPC_RAW_AND_DOT(tmp_reg, dst_reg, in bpf_jit_build_body() 1049 tmp_reg)); in bpf_jit_build_body() 1051 EMIT(PPC_RAW_AND(tmp_reg, dst_reg, in bpf_jit_build_body() 1052 tmp_reg)); in bpf_jit_build_body() 1053 EMIT(PPC_RAW_RLWINM_DOT(tmp_reg, tmp_reg, in bpf_jit_build_body()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 916 struct ttm_resource tmp_reg; in nouveau_bo_move_flipd() local 922 tmp_reg = *new_reg; in nouveau_bo_move_flipd() 923 tmp_reg.mm_node = NULL; in nouveau_bo_move_flipd() 924 ret = ttm_bo_mem_space(bo, &placement, &tmp_reg, &ctx); in nouveau_bo_move_flipd() 932 ret = nouveau_ttm_tt_bind(bo->bdev, bo->ttm, &tmp_reg); in nouveau_bo_move_flipd() 936 ret = nouveau_bo_move_m2mf(bo, true, intr, no_wait_gpu, &tmp_reg); in nouveau_bo_move_flipd() 942 ttm_resource_free(bo, &tmp_reg); in nouveau_bo_move_flipd() 958 struct ttm_resource tmp_reg; in nouveau_bo_move_flips() local 964 tmp_reg = *new_reg; in nouveau_bo_move_flips() 965 tmp_reg.mm_node = NULL; in nouveau_bo_move_flips() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/cpia2/ |
D | cpia2_core.c | 617 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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 1905 int dmfe_mode, tmp_reg; in dmfe_parse_srom() local 1918 for (tmp_reg = 1; tmp_reg < 0x10; tmp_reg <<= 1) { in dmfe_parse_srom() 1919 switch( db->NIC_capability & tmp_reg ) { in dmfe_parse_srom() 1978 tmp_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); in dmfe_parse_srom() 1979 if ( ( tmp_reg & 0xfff0 ) == 0xb900 ) { in dmfe_parse_srom() 1985 dmfe_program_DM9801(db, tmp_reg); in dmfe_parse_srom()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 1092 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()
|
/kernel/linux/linux-5.10/arch/mips/net/ |
D | ebpf_jit.c | 838 int tmp_reg = MIPS_R_AT; in build_one_insn() local 841 tmp_reg = dst; in build_one_insn() 844 emit_instr(ctx, daddu, tmp_reg, src, MIPS_R_ZERO); in build_one_insn() 845 emit_instr(ctx, dinsu, tmp_reg, MIPS_R_ZERO, 32, 32); in build_one_insn() 930 int tmp_reg = MIPS_R_AT; in build_one_insn() local 933 tmp_reg = dst; in build_one_insn() 937 emit_instr(ctx, sll, tmp_reg, src, 0); in build_one_insn()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | ar5008_phy.c | 172 u32 tmp_reg; in ar5008_hw_force_bias() local 189 tmp_reg = ath9k_hw_reverse_bits(new_bias, 3); in ar5008_hw_force_bias() 195 ar5008_hw_phy_modify_rx_buffer(ah->analogBank6Data, tmp_reg, 3, 181, 3); in ar5008_hw_force_bias()
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 8931 int tmp_reg = BPF_REG_9; \ 8932 if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \ 8933 --tmp_reg; \ 8934 if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \ 8935 --tmp_reg; \ 8936 *insn++ = BPF_STX_MEM(BPF_DW, si->dst_reg, tmp_reg, \ 8938 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(S, F), tmp_reg, \ 8940 *insn++ = BPF_STX_MEM(SIZE, tmp_reg, si->src_reg, \ 8944 *insn++ = BPF_LDX_MEM(BPF_DW, tmp_reg, si->dst_reg, \ 8981 sin_addr, BPF_SIZE(si->code), 0, tmp_reg); in sock_addr_convert_ctx_access() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | filter.h | 1258 u64 tmp_reg; member 1297 u64 tmp_reg; member
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | cgroup.c | 1724 offsetof(struct bpf_sysctl_kern, tmp_reg)); in sysctl_convert_ctx_access() 1735 offsetof(struct bpf_sysctl_kern, tmp_reg)); in sysctl_convert_ctx_access()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 10521 u32 addr, tmp_reg; in bnx2x_prev_unload_undi_inc() local 10528 tmp_reg = REG_RD(bp, addr); in bnx2x_prev_unload_undi_inc() 10529 rcq = BNX2X_PREV_UNDI_RCQ(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc() 10530 bd = BNX2X_PREV_UNDI_BD(tmp_reg) + inc; in bnx2x_prev_unload_undi_inc() 10532 tmp_reg = BNX2X_PREV_UNDI_PROD(rcq, bd); in bnx2x_prev_unload_undi_inc() 10533 REG_WR(bp, addr, tmp_reg); in bnx2x_prev_unload_undi_inc() 10755 u32 reset_reg, tmp_reg = 0, rc; in bnx2x_prev_unload_common() local 10798 tmp_reg = REG_RD(bp, BRB1_REG_NUM_OF_FULL_BLOCKS); in bnx2x_prev_unload_common() 10800 u32 prev_brb = tmp_reg; in bnx2x_prev_unload_common() 10802 tmp_reg = REG_RD(bp, BRB1_REG_NUM_OF_FULL_BLOCKS); in bnx2x_prev_unload_common() [all …]
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 19899 + unsigned int tmp_reg = 0; 19903 + dmac_readw(hi_reg_vdma_base_va + DMAC_GLOBLE_CTRL, tmp_reg); 19904 + tmp_reg |= AUTO_CLK_GT_EN; 19905 + dmac_writew(hi_reg_vdma_base_va + DMAC_GLOBLE_CTRL, tmp_reg); 19919 + tmp_reg |= EVENT_BROADCAST_EN | WR_CMD_NUM_PER_ARB | 19921 + dmac_writew(hi_reg_vdma_base_va + DMAC_GLOBLE_CTRL, tmp_reg); 26071 + unsigned int tmp_reg = 0; 26083 + tmp_reg = himci_readl(host->base + MCI_GPIO); 26084 + tmp_reg |= DTO_FIX_BYPASS; 26085 + himci_writel(tmp_reg, host->base + MCI_GPIO); [all …]
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 302941 + unsigned int tmp_reg = 0; 302945 + dmac_readw(hi_reg_vdma_base_va + DMAC_GLOBLE_CTRL, tmp_reg); 302946 + tmp_reg |= AUTO_CLK_GT_EN; 302947 + dmac_writew(hi_reg_vdma_base_va + DMAC_GLOBLE_CTRL, tmp_reg); 302961 + tmp_reg |= EVENT_BROADCAST_EN | WR_CMD_NUM_PER_ARB | 302963 + dmac_writew(hi_reg_vdma_base_va + DMAC_GLOBLE_CTRL, tmp_reg); 311053 + unsigned int tmp_reg = 0; 311065 + tmp_reg = himci_readl(host->base + MCI_GPIO); 311066 + tmp_reg |= DTO_FIX_BYPASS; 311067 + himci_writel(tmp_reg, host->base + MCI_GPIO); [all …]
|