Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 3506) sorted by relevance

12345678910>>...141

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Dgfxhub_v1_0.c121 uint32_t tmp; in gfxhub_v1_0_init_tlb_regs() local
124 tmp = RREG32_SOC15(GC, 0, mmMC_VM_MX_L1_TLB_CNTL); in gfxhub_v1_0_init_tlb_regs()
126 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); in gfxhub_v1_0_init_tlb_regs()
127 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); in gfxhub_v1_0_init_tlb_regs()
128 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, in gfxhub_v1_0_init_tlb_regs()
130 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, in gfxhub_v1_0_init_tlb_regs()
132 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ECO_BITS, 0); in gfxhub_v1_0_init_tlb_regs()
133 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, in gfxhub_v1_0_init_tlb_regs()
135 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ATC_EN, 1); in gfxhub_v1_0_init_tlb_regs()
137 WREG32_SOC15_RLC(GC, 0, mmMC_VM_MX_L1_TLB_CNTL, tmp); in gfxhub_v1_0_init_tlb_regs()
[all …]
Dgfxhub_v2_0.c189 uint32_t tmp; in gfxhub_v2_0_init_tlb_regs() local
192 tmp = RREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL); in gfxhub_v2_0_init_tlb_regs()
194 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); in gfxhub_v2_0_init_tlb_regs()
195 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); in gfxhub_v2_0_init_tlb_regs()
196 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, in gfxhub_v2_0_init_tlb_regs()
198 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, in gfxhub_v2_0_init_tlb_regs()
200 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, ECO_BITS, 0); in gfxhub_v2_0_init_tlb_regs()
201 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, in gfxhub_v2_0_init_tlb_regs()
204 WREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL, tmp); in gfxhub_v2_0_init_tlb_regs()
209 uint32_t tmp; in gfxhub_v2_0_init_cache_regs() local
[all …]
Dgfxhub_v2_1.c187 uint32_t tmp; in gfxhub_v2_1_init_tlb_regs() local
190 tmp = RREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL); in gfxhub_v2_1_init_tlb_regs()
192 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); in gfxhub_v2_1_init_tlb_regs()
193 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); in gfxhub_v2_1_init_tlb_regs()
194 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, in gfxhub_v2_1_init_tlb_regs()
196 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, in gfxhub_v2_1_init_tlb_regs()
198 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, ECO_BITS, 0); in gfxhub_v2_1_init_tlb_regs()
199 tmp = REG_SET_FIELD(tmp, GCMC_VM_MX_L1_TLB_CNTL, in gfxhub_v2_1_init_tlb_regs()
202 WREG32_SOC15(GC, 0, mmGCMC_VM_MX_L1_TLB_CNTL, tmp); in gfxhub_v2_1_init_tlb_regs()
207 uint32_t tmp; in gfxhub_v2_1_init_cache_regs() local
[all …]
Dmmhub_v2_0.c196 uint32_t tmp; in mmhub_v2_0_init_system_aperture_regs() local
225 tmp = RREG32_SOC15(MMHUB, 0, mmMMVM_L2_PROTECTION_FAULT_CNTL2); in mmhub_v2_0_init_system_aperture_regs()
226 tmp = REG_SET_FIELD(tmp, MMVM_L2_PROTECTION_FAULT_CNTL2, in mmhub_v2_0_init_system_aperture_regs()
228 WREG32_SOC15(MMHUB, 0, mmMMVM_L2_PROTECTION_FAULT_CNTL2, tmp); in mmhub_v2_0_init_system_aperture_regs()
233 uint32_t tmp; in mmhub_v2_0_init_tlb_regs() local
236 tmp = RREG32_SOC15(MMHUB, 0, mmMMMC_VM_MX_L1_TLB_CNTL); in mmhub_v2_0_init_tlb_regs()
238 tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); in mmhub_v2_0_init_tlb_regs()
239 tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); in mmhub_v2_0_init_tlb_regs()
240 tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, in mmhub_v2_0_init_tlb_regs()
242 tmp = REG_SET_FIELD(tmp, MMMC_VM_MX_L1_TLB_CNTL, in mmhub_v2_0_init_tlb_regs()
[all …]
Dmmhub_v1_0.c88 uint32_t tmp; in mmhub_v1_0_init_system_aperture_regs() local
130 tmp = RREG32_SOC15(MMHUB, 0, mmVM_L2_PROTECTION_FAULT_CNTL2); in mmhub_v1_0_init_system_aperture_regs()
131 tmp = REG_SET_FIELD(tmp, VM_L2_PROTECTION_FAULT_CNTL2, in mmhub_v1_0_init_system_aperture_regs()
133 WREG32_SOC15(MMHUB, 0, mmVM_L2_PROTECTION_FAULT_CNTL2, tmp); in mmhub_v1_0_init_system_aperture_regs()
138 uint32_t tmp; in mmhub_v1_0_init_tlb_regs() local
141 tmp = RREG32_SOC15(MMHUB, 0, mmMC_VM_MX_L1_TLB_CNTL); in mmhub_v1_0_init_tlb_regs()
143 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, ENABLE_L1_TLB, 1); in mmhub_v1_0_init_tlb_regs()
144 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, SYSTEM_ACCESS_MODE, 3); in mmhub_v1_0_init_tlb_regs()
145 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, in mmhub_v1_0_init_tlb_regs()
147 tmp = REG_SET_FIELD(tmp, MC_VM_MX_L1_TLB_CNTL, in mmhub_v1_0_init_tlb_regs()
[all …]
Dgmc_v8_0.c199 u32 tmp; in gmc_v8_0_mc_resume() local
202 tmp = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v8_0_mc_resume()
203 tmp = REG_SET_FIELD(tmp, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE, 0); in gmc_v8_0_mc_resume()
204 WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp); in gmc_v8_0_mc_resume()
206 tmp = REG_SET_FIELD(0, BIF_FB_EN, FB_READ_EN, 1); in gmc_v8_0_mc_resume()
207 tmp = REG_SET_FIELD(tmp, BIF_FB_EN, FB_WRITE_EN, 1); in gmc_v8_0_mc_resume()
208 WREG32(mmBIF_FB_EN, tmp); in gmc_v8_0_mc_resume()
453 u32 tmp; in gmc_v8_0_mc_program() local
471 tmp = RREG32(mmVGA_HDP_CONTROL); in gmc_v8_0_mc_program()
472 tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 1); in gmc_v8_0_mc_program()
[all …]
Dgmc_v7_0.c111 u32 tmp; in gmc_v7_0_mc_resume() local
114 tmp = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v7_0_mc_resume()
115 tmp = REG_SET_FIELD(tmp, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE, 0); in gmc_v7_0_mc_resume()
116 WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp); in gmc_v7_0_mc_resume()
118 tmp = REG_SET_FIELD(0, BIF_FB_EN, FB_READ_EN, 1); in gmc_v7_0_mc_resume()
119 tmp = REG_SET_FIELD(tmp, BIF_FB_EN, FB_WRITE_EN, 1); in gmc_v7_0_mc_resume()
120 WREG32(mmBIF_FB_EN, tmp); in gmc_v7_0_mc_resume()
262 u32 tmp; in gmc_v7_0_mc_program() local
280 tmp = RREG32(mmVGA_HDP_CONTROL); in gmc_v7_0_mc_program()
281 tmp = REG_SET_FIELD(tmp, VGA_HDP_CONTROL, VGA_MEMORY_DISABLE, 1); in gmc_v7_0_mc_program()
[all …]
/kernel/linux/linux-5.10/drivers/staging/fbtft/
Dfb_ssd1331.c133 unsigned long tmp[GAMMA_NUM * GAMMA_LEN]; in set_gamma() local
144 tmp[i] = acc; in set_gamma()
154 tmp[0], tmp[1], tmp[2], tmp[3], tmp[4], tmp[5], tmp[6], in set_gamma()
155 tmp[7], tmp[8], tmp[9], tmp[10], tmp[11], tmp[12], tmp[13], in set_gamma()
156 tmp[14], tmp[15], tmp[16], tmp[17], tmp[18], tmp[19], tmp[20], in set_gamma()
157 tmp[21], tmp[22], tmp[23], tmp[24], tmp[25], tmp[26], tmp[27], in set_gamma()
158 tmp[28], tmp[29], tmp[30], tmp[31], tmp[32], tmp[33], tmp[34], in set_gamma()
159 tmp[35], tmp[36], tmp[37], tmp[38], tmp[39], tmp[40], tmp[41], in set_gamma()
160 tmp[42], tmp[43], tmp[44], tmp[45], tmp[46], tmp[47], tmp[48], in set_gamma()
161 tmp[49], tmp[50], tmp[51], tmp[52], tmp[53], tmp[54], tmp[55], in set_gamma()
[all …]
Dfb_ssd1351.c122 unsigned long tmp[GAMMA_NUM * GAMMA_LEN]; in set_gamma() local
133 tmp[i] = acc; in set_gamma()
143 tmp[0], tmp[1], tmp[2], tmp[3], in set_gamma()
144 tmp[4], tmp[5], tmp[6], tmp[7], in set_gamma()
145 tmp[8], tmp[9], tmp[10], tmp[11], in set_gamma()
146 tmp[12], tmp[13], tmp[14], tmp[15], in set_gamma()
147 tmp[16], tmp[17], tmp[18], tmp[19], in set_gamma()
148 tmp[20], tmp[21], tmp[22], tmp[23], in set_gamma()
149 tmp[24], tmp[25], tmp[26], tmp[27], in set_gamma()
150 tmp[28], tmp[29], tmp[30], tmp[31], in set_gamma()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_clocks.c200 u32 tmp = RREG32_PLL(RADEON_PPLL_REF_DIV); in radeon_get_clock_info() local
203 (tmp & R300_PPLL_REF_DIV_ACC_MASK) >> R300_PPLL_REF_DIV_ACC_SHIFT; in radeon_get_clock_info()
205 p1pll->reference_div = tmp & RADEON_PPLL_REF_DIV_MASK; in radeon_get_clock_info()
393 uint32_t tmp; in radeon_legacy_set_engine_clock() local
400 tmp = RREG32_PLL(RADEON_CLK_PIN_CNTL); in radeon_legacy_set_engine_clock()
401 tmp &= ~RADEON_DONT_USE_XTALIN; in radeon_legacy_set_engine_clock()
402 WREG32_PLL(RADEON_CLK_PIN_CNTL, tmp); in radeon_legacy_set_engine_clock()
404 tmp = RREG32_PLL(RADEON_SCLK_CNTL); in radeon_legacy_set_engine_clock()
405 tmp &= ~RADEON_SCLK_SRC_SEL_MASK; in radeon_legacy_set_engine_clock()
406 WREG32_PLL(RADEON_SCLK_CNTL, tmp); in radeon_legacy_set_engine_clock()
[all …]
Dvce_v2_0.c40 u32 tmp; in vce_v2_0_set_sw_cg() local
43 tmp = RREG32(VCE_CLOCK_GATING_B); in vce_v2_0_set_sw_cg()
44 tmp |= 0xe70000; in vce_v2_0_set_sw_cg()
45 WREG32(VCE_CLOCK_GATING_B, tmp); in vce_v2_0_set_sw_cg()
47 tmp = RREG32(VCE_UENC_CLOCK_GATING); in vce_v2_0_set_sw_cg()
48 tmp |= 0xff000000; in vce_v2_0_set_sw_cg()
49 WREG32(VCE_UENC_CLOCK_GATING, tmp); in vce_v2_0_set_sw_cg()
51 tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); in vce_v2_0_set_sw_cg()
52 tmp &= ~0x3fc; in vce_v2_0_set_sw_cg()
53 WREG32(VCE_UENC_REG_CLOCK_GATING, tmp); in vce_v2_0_set_sw_cg()
[all …]
Drs400.c67 uint32_t tmp; in rs400_gart_tlb_flush() local
72 tmp = RREG32_MC(RS480_GART_CACHE_CNTRL); in rs400_gart_tlb_flush()
73 if ((tmp & RS480_GART_CACHE_INVALIDATE) == 0) in rs400_gart_tlb_flush()
115 uint32_t tmp; in rs400_gart_enable() local
117 tmp = RREG32_MC(RS690_AIC_CTRL_SCRATCH); in rs400_gart_enable()
118 tmp |= RS690_DIS_OUT_OF_PCI_GART_ACCESS; in rs400_gart_enable()
119 WREG32_MC(RS690_AIC_CTRL_SCRATCH, tmp); in rs400_gart_enable()
154 tmp = REG_SET(RS690_MC_AGP_TOP, rdev->mc.gtt_end >> 16); in rs400_gart_enable()
155 tmp |= REG_SET(RS690_MC_AGP_START, rdev->mc.gtt_start >> 16); in rs400_gart_enable()
157 WREG32_MC(RS690_MCCFG_AGP_LOCATION, tmp); in rs400_gart_enable()
[all …]
/kernel/linux/linux-5.10/drivers/phy/mediatek/
Dphy-mtk-tphy.c331 u32 tmp; in hs_slew_rate_calibrate() local
338 tmp = readl(com + U3P_USBPHYACR5); in hs_slew_rate_calibrate()
339 tmp |= PA5_RG_U2_HSTX_SRCAL_EN; in hs_slew_rate_calibrate()
340 writel(tmp, com + U3P_USBPHYACR5); in hs_slew_rate_calibrate()
344 tmp = readl(fmreg + U3P_U2FREQ_FMMONR1); in hs_slew_rate_calibrate()
345 tmp |= P2F_RG_FRCK_EN; in hs_slew_rate_calibrate()
346 writel(tmp, fmreg + U3P_U2FREQ_FMMONR1); in hs_slew_rate_calibrate()
349 tmp = readl(fmreg + U3P_U2FREQ_FMCR0); in hs_slew_rate_calibrate()
350 tmp &= ~(P2F_RG_CYCLECNT | P2F_RG_MONCLK_SEL); in hs_slew_rate_calibrate()
351 tmp |= P2F_RG_CYCLECNT_VAL(U3P_FM_DET_CYCLE_CNT); in hs_slew_rate_calibrate()
[all …]
Dphy-mtk-xsphy.c122 u32 tmp; in u2_phy_slew_rate_calibrate() local
129 tmp = readl(pbase + XSP_USBPHYACR5); in u2_phy_slew_rate_calibrate()
130 tmp |= P2A5_RG_HSTX_SRCAL_EN; in u2_phy_slew_rate_calibrate()
131 writel(tmp, pbase + XSP_USBPHYACR5); in u2_phy_slew_rate_calibrate()
135 tmp = readl(pbase + XSP_U2FREQ_FMMONR1); in u2_phy_slew_rate_calibrate()
136 tmp |= P2F_RG_FRCK_EN; in u2_phy_slew_rate_calibrate()
137 writel(tmp, pbase + XSP_U2FREQ_FMMONR1); in u2_phy_slew_rate_calibrate()
140 tmp = readl(pbase + XSP_U2FREQ_FMCR0); in u2_phy_slew_rate_calibrate()
141 tmp &= ~(P2F_RG_CYCLECNT); in u2_phy_slew_rate_calibrate()
142 tmp |= P2F_RG_CYCLECNT_VAL(XSP_FM_DET_CYCLE_CNT); in u2_phy_slew_rate_calibrate()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_64xx.c31 u32 tmp; in mvs_64xx_enable_xmt() local
33 tmp = mr32(MVS_PCS); in mvs_64xx_enable_xmt()
35 tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT); in mvs_64xx_enable_xmt()
37 tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT2); in mvs_64xx_enable_xmt()
38 mw32(MVS_PCS, tmp); in mvs_64xx_enable_xmt()
70 u32 reg, tmp; in mvs_64xx_stp_reset() local
81 tmp = reg; in mvs_64xx_stp_reset()
83 tmp |= (1U << phy_id) << PCTL_LINK_OFFS; in mvs_64xx_stp_reset()
85 tmp |= (1U << (phy_id - MVS_SOC_PORTS)) << PCTL_LINK_OFFS; in mvs_64xx_stp_reset()
89 pci_write_config_dword(mvi->pdev, PCR_PHY_CTL, tmp); in mvs_64xx_stp_reset()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/kyro/
DSTG4000Ramdac.c29 u32 tmp = 0; in InitialiseRamdac() local
35 tmp = STG_READ_REG(SoftwareReset); in InitialiseRamdac()
37 if (tmp & 0x1) { in InitialiseRamdac()
39 STG_WRITE_REG(SoftwareReset, tmp); in InitialiseRamdac()
43 tmp = STG_READ_REG(DACPixelFormat); in InitialiseRamdac()
53 tmp |= _16BPP; in InitialiseRamdac()
60 tmp |= _32BPP; in InitialiseRamdac()
67 STG_WRITE_REG(DACPixelFormat, tmp); in InitialiseRamdac()
76 tmp = STG_READ_REG(DACPrimSize); in InitialiseRamdac()
79 tmp |= in InitialiseRamdac()
[all …]
DSTG4000OverlayDevice.c81 u32 tmp; in ResetOverlayRegisters() local
84 tmp = STG_READ_REG(DACOverlayAddr); in ResetOverlayRegisters()
87 STG_WRITE_REG(DACOverlayAddr, tmp); in ResetOverlayRegisters()
90 tmp = STG_READ_REG(DACOverlayUAddr); in ResetOverlayRegisters()
92 STG_WRITE_REG(DACOverlayUAddr, tmp); in ResetOverlayRegisters()
95 tmp = STG_READ_REG(DACOverlayVAddr); in ResetOverlayRegisters()
97 STG_WRITE_REG(DACOverlayVAddr, tmp); in ResetOverlayRegisters()
100 tmp = STG_READ_REG(DACOverlaySize); in ResetOverlayRegisters()
103 STG_WRITE_REG(DACOverlaySize, tmp); in ResetOverlayRegisters()
106 tmp = STG4000_NO_DECIMATION; in ResetOverlayRegisters()
[all …]
DSTG4000VTG.c19 u32 tmp; in DisableVGA() local
23 tmp = STG_READ_REG(SoftwareReset); in DisableVGA()
25 STG_WRITE_REG(SoftwareReset, tmp); in DisableVGA()
33 tmp = STG_READ_REG(SoftwareReset); in DisableVGA()
34 tmp |= SET_BIT(8); in DisableVGA()
35 STG_WRITE_REG(SoftwareReset, tmp); in DisableVGA()
40 u32 tmp = 0; in StopVTG() local
43 tmp = (STG_READ_REG(DACSyncCtrl)) | SET_BIT(0) | SET_BIT(2); in StopVTG()
45 STG_WRITE_REG(DACSyncCtrl, tmp); in StopVTG()
50 u32 tmp = 0; in StartVTG() local
[all …]
/kernel/linux/linux-5.10/arch/csky/kernel/probes/
Dsimulate-insn.c125 unsigned long tmp = (opcode >> 2) & 0xf; in simulate_jmp16() local
127 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_jmp16()
129 instruction_pointer_set(regs, tmp & 0xfffffffe); in simulate_jmp16()
135 unsigned long tmp = opcode & 0x1f; in simulate_jmp32() local
137 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_jmp32()
139 instruction_pointer_set(regs, tmp & 0xfffffffe); in simulate_jmp32()
145 unsigned long tmp = (opcode >> 2) & 0xf; in simulate_jsr16() local
147 csky_insn_reg_get_val(regs, tmp, &tmp); in simulate_jsr16()
151 instruction_pointer_set(regs, tmp & 0xfffffffe); in simulate_jsr16()
157 unsigned long tmp = opcode & 0x1f; in simulate_jsr32() local
[all …]
/kernel/linux/linux-5.10/fs/
Dstat.c228 struct __old_kernel_stat tmp; in cp_old_stat() local
239 memset(&tmp, 0, sizeof(struct __old_kernel_stat)); in cp_old_stat()
240 tmp.st_dev = old_encode_dev(stat->dev); in cp_old_stat()
241 tmp.st_ino = stat->ino; in cp_old_stat()
242 if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) in cp_old_stat()
244 tmp.st_mode = stat->mode; in cp_old_stat()
245 tmp.st_nlink = stat->nlink; in cp_old_stat()
246 if (tmp.st_nlink != stat->nlink) in cp_old_stat()
248 SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_old_stat()
249 SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_old_stat()
[all …]
Dfilesystems.c110 struct file_system_type ** tmp; in unregister_filesystem() local
113 tmp = &file_systems; in unregister_filesystem()
114 while (*tmp) { in unregister_filesystem()
115 if (fs == *tmp) { in unregister_filesystem()
116 *tmp = fs->next; in unregister_filesystem()
122 tmp = &(*tmp)->next; in unregister_filesystem()
134 struct file_system_type * tmp; in fs_index() local
145 for (tmp=file_systems, index=0 ; tmp ; tmp=tmp->next, index++) { in fs_index()
146 if (strcmp(tmp->name, name->name) == 0) { in fs_index()
158 struct file_system_type * tmp; in fs_name() local
[all …]
/kernel/linux/linux-5.10/drivers/pnp/isapnp/
Dcore.c352 unsigned char tag, tmp[2]; in isapnp_read_tag() local
359 isapnp_peek(tmp, 2); in isapnp_read_tag()
360 *size = (tmp[1] << 8) | tmp[0]; in isapnp_read_tag()
384 unsigned char tmp[6]; in isapnp_parse_device() local
389 isapnp_peek(tmp, size); in isapnp_parse_device()
390 eisa_id = tmp[0] | tmp[1] << 8 | tmp[2] << 16 | tmp[3] << 24; in isapnp_parse_device()
413 unsigned char tmp[3]; in isapnp_parse_irq_resource() local
418 isapnp_peek(tmp, size); in isapnp_parse_irq_resource()
419 bits = (tmp[1] << 8) | tmp[0]; in isapnp_parse_irq_resource()
425 flags = tmp[2]; in isapnp_parse_irq_resource()
[all …]
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
Dip22-mc.c60 unsigned int tmp = get_bank_config(i); in probe_memory() local
61 if (!(tmp & SGIMC_MCONFIG_BVALID)) in probe_memory()
64 size = get_bank_size(tmp); in probe_memory()
65 addr = get_bank_addr(tmp); in probe_memory()
77 u32 tmp; in sgimc_init() local
94 tmp = sgimc->cpuctrl0; in sgimc_init()
95 tmp &= ~SGIMC_CCTRL0_WDOG; in sgimc_init()
96 sgimc->cpuctrl0 = tmp; in sgimc_init()
109 tmp = sgimc->cpuctrl0; in sgimc_init()
111 tmp |= SGIMC_CCTRL0_EPERRGIO | SGIMC_CCTRL0_EPERRMEM; in sgimc_init()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Ddma.c29 hrt_data tmp; in dma_get_state() local
34 tmp = dma_reg_load(ID, DMA_COMMAND_FSM_REG_IDX); in dma_get_state()
39 state->fsm_command_idle = tmp & 0x1; in dma_get_state()
40 state->fsm_command_run = tmp & 0x2; in dma_get_state()
41 state->fsm_command_stalling = tmp & 0x4; in dma_get_state()
42 state->fsm_command_error = tmp & 0x8; in dma_get_state()
43 state->last_command_channel = (tmp >> 10 & 0x1F); in dma_get_state()
44 state->last_command_param = (tmp >> 15 & 0x0F); in dma_get_state()
45 tmp = (tmp >> 4) & 0x3F; in dma_get_state()
51 state->last_command = tmp; in dma_get_state()
[all …]
/kernel/linux/linux-5.10/lib/
Dkstrtox.c153 unsigned long long tmp; in kstrtoll() local
157 rv = _kstrtoull(s + 1, base, &tmp); in kstrtoll()
160 if ((long long)-tmp > 0) in kstrtoll()
162 *res = -tmp; in kstrtoll()
164 rv = kstrtoull(s, base, &tmp); in kstrtoll()
167 if ((long long)tmp < 0) in kstrtoll()
169 *res = tmp; in kstrtoll()
178 unsigned long long tmp; in _kstrtoul() local
181 rv = kstrtoull(s, base, &tmp); in _kstrtoul()
184 if (tmp != (unsigned long)tmp) in _kstrtoul()
[all …]

12345678910>>...141