/linux-4.4.14/drivers/staging/skein/ |
D | threefish_block.c | 507 u64 tmp; in threefish_decrypt_256() local 513 tmp = b3 ^ b0; in threefish_decrypt_256() 514 b3 = (tmp >> 32) | (tmp << (64 - 32)); in threefish_decrypt_256() 517 tmp = b1 ^ b2; in threefish_decrypt_256() 518 b1 = (tmp >> 32) | (tmp << (64 - 32)); in threefish_decrypt_256() 521 tmp = b1 ^ b0; in threefish_decrypt_256() 522 b1 = (tmp >> 58) | (tmp << (64 - 58)); in threefish_decrypt_256() 525 tmp = b3 ^ b2; in threefish_decrypt_256() 526 b3 = (tmp >> 22) | (tmp << (64 - 22)); in threefish_decrypt_256() 529 tmp = b3 ^ b0; in threefish_decrypt_256() [all …]
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fb_ssd1331.c | 127 unsigned long tmp[GAMMA_NUM * GAMMA_LEN]; in set_gamma() local 138 tmp[i] = acc; in set_gamma() 148 tmp[0], tmp[1], tmp[2], tmp[3], tmp[4], tmp[5], tmp[6], tmp[7], in set_gamma() 149 tmp[8], tmp[9], tmp[10], tmp[11], tmp[12], tmp[13], tmp[14], tmp[15], in set_gamma() 150 tmp[16], tmp[17], tmp[18], tmp[19], tmp[20], tmp[21], tmp[22], tmp[23], in set_gamma() 151 tmp[24], tmp[25], tmp[26], tmp[27], tmp[28], tmp[29], tmp[30], tmp[31], in set_gamma() 152 tmp[32], tmp[33], tmp[34], tmp[35], tmp[36], tmp[37], tmp[38], tmp[39], in set_gamma() 153 tmp[40], tmp[41], tmp[42], tmp[43], tmp[44], tmp[45], tmp[46], tmp[47], in set_gamma() 154 tmp[48], tmp[49], tmp[50], tmp[51], tmp[52], tmp[53], tmp[54], tmp[55], in set_gamma() 155 tmp[56], tmp[57], tmp[58], tmp[59], tmp[60], tmp[61], tmp[62]); in set_gamma()
|
D | fb_ssd1351.c | 122 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], tmp[4], tmp[5], tmp[6], tmp[7], in set_gamma() 144 tmp[8], tmp[9], tmp[10], tmp[11], tmp[12], tmp[13], tmp[14], tmp[15], in set_gamma() 145 tmp[16], tmp[17], tmp[18], tmp[19], tmp[20], tmp[21], tmp[22], tmp[23], in set_gamma() 146 tmp[24], tmp[25], tmp[26], tmp[27], tmp[28], tmp[29], tmp[30], tmp[31], in set_gamma() 147 tmp[32], tmp[33], tmp[34], tmp[35], tmp[36], tmp[37], tmp[38], tmp[39], in set_gamma() 148 tmp[40], tmp[41], tmp[42], tmp[43], tmp[44], tmp[45], tmp[46], tmp[47], in set_gamma() 149 tmp[48], tmp[49], tmp[50], tmp[51], tmp[52], tmp[53], tmp[54], tmp[55], in set_gamma() 150 tmp[56], tmp[57], tmp[58], tmp[59], tmp[60], tmp[61], tmp[62]); in set_gamma()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | vce_v2_0.c | 40 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 …]
|
D | radeon_clocks.c | 195 u32 tmp = RREG32_PLL(RADEON_PPLL_REF_DIV); in radeon_get_clock_info() local 198 (tmp & R300_PPLL_REF_DIV_ACC_MASK) >> R300_PPLL_REF_DIV_ACC_SHIFT; in radeon_get_clock_info() 200 p1pll->reference_div = tmp & RADEON_PPLL_REF_DIV_MASK; in radeon_get_clock_info() 388 uint32_t tmp; in radeon_legacy_set_engine_clock() local 395 tmp = RREG32_PLL(RADEON_CLK_PIN_CNTL); in radeon_legacy_set_engine_clock() 396 tmp &= ~RADEON_DONT_USE_XTALIN; in radeon_legacy_set_engine_clock() 397 WREG32_PLL(RADEON_CLK_PIN_CNTL, tmp); in radeon_legacy_set_engine_clock() 399 tmp = RREG32_PLL(RADEON_SCLK_CNTL); in radeon_legacy_set_engine_clock() 400 tmp &= ~RADEON_SCLK_SRC_SEL_MASK; in radeon_legacy_set_engine_clock() 401 WREG32_PLL(RADEON_SCLK_CNTL, tmp); in radeon_legacy_set_engine_clock() [all …]
|
D | rs400.c | 62 uint32_t tmp; in rs400_gart_tlb_flush() local 67 tmp = RREG32_MC(RS480_GART_CACHE_CNTRL); in rs400_gart_tlb_flush() 68 if ((tmp & RS480_GART_CACHE_INVALIDATE) == 0) in rs400_gart_tlb_flush() 110 uint32_t tmp; in rs400_gart_enable() local 112 tmp = RREG32_MC(RS690_AIC_CTRL_SCRATCH); in rs400_gart_enable() 113 tmp |= RS690_DIS_OUT_OF_PCI_GART_ACCESS; in rs400_gart_enable() 114 WREG32_MC(RS690_AIC_CTRL_SCRATCH, tmp); in rs400_gart_enable() 149 tmp = REG_SET(RS690_MC_AGP_TOP, rdev->mc.gtt_end >> 16); in rs400_gart_enable() 150 tmp |= REG_SET(RS690_MC_AGP_START, rdev->mc.gtt_start >> 16); in rs400_gart_enable() 152 WREG32_MC(RS690_MCCFG_AGP_LOCATION, tmp); in rs400_gart_enable() [all …]
|
D | vce_v1_0.c | 104 u32 tmp; in vce_v1_0_enable_mgcg() local 107 tmp = RREG32(VCE_CLOCK_GATING_A); in vce_v1_0_enable_mgcg() 108 tmp |= CGC_DYN_CLOCK_MODE; in vce_v1_0_enable_mgcg() 109 WREG32(VCE_CLOCK_GATING_A, tmp); in vce_v1_0_enable_mgcg() 111 tmp = RREG32(VCE_UENC_CLOCK_GATING); in vce_v1_0_enable_mgcg() 112 tmp &= ~0x1ff000; in vce_v1_0_enable_mgcg() 113 tmp |= 0xff800000; in vce_v1_0_enable_mgcg() 114 WREG32(VCE_UENC_CLOCK_GATING, tmp); in vce_v1_0_enable_mgcg() 116 tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); in vce_v1_0_enable_mgcg() 117 tmp &= ~0x3ff; in vce_v1_0_enable_mgcg() [all …]
|
D | r600.c | 298 u32 tmp = 0; in dce3_program_fmt() local 323 tmp |= FMT_SPATIAL_DITHER_EN; in dce3_program_fmt() 325 tmp |= FMT_TRUNCATE_EN; in dce3_program_fmt() 330 tmp |= (FMT_SPATIAL_DITHER_EN | FMT_SPATIAL_DITHER_DEPTH); in dce3_program_fmt() 332 tmp |= (FMT_TRUNCATE_EN | FMT_TRUNCATE_DEPTH); in dce3_program_fmt() 340 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); in dce3_program_fmt() 856 u32 tmp; in r600_hpd_set_polarity() local 862 tmp = RREG32(DC_HPD1_INT_CONTROL); in r600_hpd_set_polarity() 864 tmp &= ~DC_HPDx_INT_POLARITY; in r600_hpd_set_polarity() 866 tmp |= DC_HPDx_INT_POLARITY; in r600_hpd_set_polarity() [all …]
|
D | radeon_dp_auxch.c | 62 uint32_t tmp, ack = 0; in radeon_dp_aux_transfer_native() local 99 tmp = RREG32(chan->rec.mask_clk_reg); in radeon_dp_aux_transfer_native() 100 tmp |= (1 << 16); in radeon_dp_aux_transfer_native() 101 WREG32(chan->rec.mask_clk_reg, tmp); in radeon_dp_aux_transfer_native() 104 tmp = RREG32(AUX_CONTROL + aux_offset[instance]); in radeon_dp_aux_transfer_native() 106 tmp &= AUX_HPD_SEL(0x7); in radeon_dp_aux_transfer_native() 107 tmp |= AUX_HPD_SEL(chan->rec.hpd); in radeon_dp_aux_transfer_native() 108 tmp |= AUX_EN | AUX_LS_READ_EN | AUX_HPD_DISCON(0x1); in radeon_dp_aux_transfer_native() 110 WREG32(AUX_CONTROL + aux_offset[instance], tmp); in radeon_dp_aux_transfer_native() 153 tmp = RREG32(AUX_SW_STATUS + aux_offset[instance]); in radeon_dp_aux_transfer_native() [all …]
|
D | rs600.c | 116 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rs600_page_flip() local 120 tmp |= AVIVO_D1GRPH_UPDATE_LOCK; in rs600_page_flip() 121 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip() 138 tmp &= ~AVIVO_D1GRPH_UPDATE_LOCK; in rs600_page_flip() 139 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip() 158 u32 tmp = 0; in avivo_program_fmt() local 178 tmp |= AVIVO_TMDS_BIT_DEPTH_CONTROL_SPATIAL_DITHER_EN; in avivo_program_fmt() 180 tmp |= AVIVO_TMDS_BIT_DEPTH_CONTROL_TRUNCATE_EN; in avivo_program_fmt() 185 tmp |= (AVIVO_TMDS_BIT_DEPTH_CONTROL_SPATIAL_DITHER_EN | in avivo_program_fmt() 188 tmp |= (AVIVO_TMDS_BIT_DEPTH_CONTROL_TRUNCATE_EN | in avivo_program_fmt() [all …]
|
D | radeon_i2c.c | 336 u32 tmp, reg; in r100_hw_i2c_xfer() local 351 tmp = RREG32(RADEON_BIOS_6_SCRATCH); in r100_hw_i2c_xfer() 352 WREG32(RADEON_BIOS_6_SCRATCH, tmp | ATOM_S6_HW_I2C_BUSY_STATE); in r100_hw_i2c_xfer() 479 tmp = RREG32(i2c_cntl_0); in r100_hw_i2c_xfer() 480 if (tmp & RADEON_I2C_GO) in r100_hw_i2c_xfer() 482 tmp = RREG32(i2c_cntl_0); in r100_hw_i2c_xfer() 483 if (tmp & RADEON_I2C_DONE) in r100_hw_i2c_xfer() 486 DRM_DEBUG("i2c write error 0x%08x\n", tmp); in r100_hw_i2c_xfer() 487 WREG32(i2c_cntl_0, tmp | RADEON_I2C_ABORT); in r100_hw_i2c_xfer() 511 tmp = RREG32(i2c_cntl_0); in r100_hw_i2c_xfer() [all …]
|
D | ci_smc.c | 116 u32 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); in ci_start_smc() local 118 tmp &= ~RST_REG; in ci_start_smc() 119 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in ci_start_smc() 124 u32 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); in ci_reset_smc() local 126 tmp |= RST_REG; in ci_reset_smc() 127 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in ci_reset_smc() 139 u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); in ci_stop_smc_clock() local 141 tmp |= CK_DISABLE; in ci_stop_smc_clock() 143 WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); in ci_stop_smc_clock() 148 u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); in ci_start_smc_clock() local [all …]
|
D | si_smc.c | 115 u32 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); in si_start_smc() local 117 tmp &= ~RST_REG; in si_start_smc() 119 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in si_start_smc() 124 u32 tmp; in si_reset_smc() local 131 tmp = RREG32_SMC(SMC_SYSCON_RESET_CNTL); in si_reset_smc() 132 tmp |= RST_REG; in si_reset_smc() 133 WREG32_SMC(SMC_SYSCON_RESET_CNTL, tmp); in si_reset_smc() 145 u32 tmp = RREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0); in si_stop_smc_clock() local 147 tmp |= CK_DISABLE; in si_stop_smc_clock() 149 WREG32_SMC(SMC_SYSCON_CLOCK_CNTL_0, tmp); in si_stop_smc_clock() [all …]
|
D | r300.c | 84 uint32_t tmp; in rv370_pcie_gart_tlb_flush() local 89 tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_CNTL); in rv370_pcie_gart_tlb_flush() 90 WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp | RADEON_PCIE_TX_GART_INVALIDATE_TLB); in rv370_pcie_gart_tlb_flush() 92 WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); in rv370_pcie_gart_tlb_flush() 150 uint32_t tmp; in rv370_pcie_gart_enable() local 161 tmp = RADEON_PCIE_TX_GART_UNMAPPED_ACCESS_DISCARD; in rv370_pcie_gart_enable() 162 WREG32_PCIE(RADEON_PCIE_TX_GART_CNTL, tmp); in rv370_pcie_gart_enable() 164 tmp = rdev->mc.gtt_end & ~RADEON_GPU_PAGE_MASK; in rv370_pcie_gart_enable() 165 WREG32_PCIE(RADEON_PCIE_TX_GART_END_LO, tmp); in rv370_pcie_gart_enable() 175 tmp = RREG32_PCIE(RADEON_PCIE_TX_GART_CNTL); in rv370_pcie_gart_enable() [all …]
|
D | evergreen.c | 1295 u32 tmp = 0; in dce4_program_fmt() local 1320 tmp |= (FMT_FRAME_RANDOM_ENABLE | FMT_HIGHPASS_RANDOM_ENABLE | in dce4_program_fmt() 1323 tmp |= FMT_TRUNCATE_EN; in dce4_program_fmt() 1328 tmp |= (FMT_FRAME_RANDOM_ENABLE | FMT_HIGHPASS_RANDOM_ENABLE | in dce4_program_fmt() 1332 tmp |= (FMT_TRUNCATE_EN | FMT_TRUNCATE_DEPTH); in dce4_program_fmt() 1340 WREG32(FMT_BIT_DEPTH_CONTROL + radeon_crtc->crtc_offset, tmp); in dce4_program_fmt() 1665 u32 tmp; in evergreen_pm_prepare() local 1671 tmp = RREG32(EVERGREEN_CRTC_CONTROL + radeon_crtc->crtc_offset); in evergreen_pm_prepare() 1672 tmp |= EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE; in evergreen_pm_prepare() 1673 WREG32(EVERGREEN_CRTC_CONTROL + radeon_crtc->crtc_offset, tmp); in evergreen_pm_prepare() [all …]
|
D | dce6_afmt.c | 64 u32 offset, tmp; in dce6_afmt_get_connected_pins() local 68 tmp = RREG32_ENDPOINT(offset, in dce6_afmt_get_connected_pins() 70 if (((tmp & PORT_CONNECTIVITY_MASK) >> PORT_CONNECTIVITY_SHIFT) == 1) in dce6_afmt_get_connected_pins() 130 u32 tmp = 0; in dce6_afmt_write_latency_fields() local 137 tmp = VIDEO_LIPSYNC(connector->video_latency[1]) | in dce6_afmt_write_latency_fields() 140 tmp = VIDEO_LIPSYNC(0) | AUDIO_LIPSYNC(0); in dce6_afmt_write_latency_fields() 143 tmp = VIDEO_LIPSYNC(connector->video_latency[0]) | in dce6_afmt_write_latency_fields() 146 tmp = VIDEO_LIPSYNC(0) | AUDIO_LIPSYNC(0); in dce6_afmt_write_latency_fields() 149 AZ_F0_CODEC_PIN_CONTROL_RESPONSE_LIPSYNC, tmp); in dce6_afmt_write_latency_fields() 158 u32 tmp; in dce6_afmt_hdmi_write_speaker_allocation() local [all …]
|
D | evergreen_hdmi.c | 41 u32 tmp = RREG32(AZ_HOT_PLUG_CONTROL); in dce4_audio_enable() local 47 tmp |= AUDIO_ENABLED; in dce4_audio_enable() 49 tmp |= PIN0_AUDIO_ENABLED; in dce4_audio_enable() 51 tmp |= PIN1_AUDIO_ENABLED; in dce4_audio_enable() 53 tmp |= PIN2_AUDIO_ENABLED; in dce4_audio_enable() 55 tmp |= PIN3_AUDIO_ENABLED; in dce4_audio_enable() 57 tmp &= ~(AUDIO_ENABLED | in dce4_audio_enable() 64 WREG32(AZ_HOT_PLUG_CONTROL, tmp); in dce4_audio_enable() 101 u32 tmp = 0; in dce4_afmt_write_latency_fields() local 105 tmp = VIDEO_LIPSYNC(connector->video_latency[1]) | in dce4_afmt_write_latency_fields() [all …]
|
D | si.c | 1311 u32 tmp; in si_get_xclk() local 1313 tmp = RREG32(CG_CLKPIN_CNTL_2); in si_get_xclk() 1314 if (tmp & MUX_TCLK_TO_XCLK) in si_get_xclk() 1317 tmp = RREG32(CG_CLKPIN_CNTL); in si_get_xclk() 1318 if (tmp & XTALIN_DIVIDE) in si_get_xclk() 1916 u32 tmp, buffer_alloc, i; in dce6_line_buffer_adjust() local 1933 tmp = 0; /* 1/2 */ in dce6_line_buffer_adjust() 1936 tmp = 2; /* whole */ in dce6_line_buffer_adjust() 1940 tmp = 0; in dce6_line_buffer_adjust() 1945 DC_LB_MEMORY_CONFIG(tmp)); in dce6_line_buffer_adjust() [all …]
|
/linux-4.4.14/drivers/scsi/mvsas/ |
D | mv_64xx.c | 47 u32 tmp; in mvs_64xx_enable_xmt() local 49 tmp = mr32(MVS_PCS); in mvs_64xx_enable_xmt() 51 tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT); in mvs_64xx_enable_xmt() 53 tmp |= 1 << (phy_id + PCS_EN_PORT_XMT_SHIFT2); in mvs_64xx_enable_xmt() 54 mw32(MVS_PCS, tmp); in mvs_64xx_enable_xmt() 86 u32 reg, tmp; in mvs_64xx_stp_reset() local 97 tmp = reg; in mvs_64xx_stp_reset() 99 tmp |= (1U << phy_id) << PCTL_LINK_OFFS; in mvs_64xx_stp_reset() 101 tmp |= (1U << (phy_id - MVS_SOC_PORTS)) << PCTL_LINK_OFFS; in mvs_64xx_stp_reset() 105 pci_write_config_dword(mvi->pdev, PCR_PHY_CTL, tmp); in mvs_64xx_stp_reset() [all …]
|
D | mv_94xx.c | 54 u32 tmp, setting_0 = 0, setting_1 = 0; in set_phy_tuning() local 97 tmp = mvs_read_port_vsr_data(mvi, phy_id); in set_phy_tuning() 98 tmp &= ~(0xFBE << 16); in set_phy_tuning() 99 tmp |= (((phy_tuning.trans_emp_en << 11) | in set_phy_tuning() 102 mvs_write_port_vsr_data(mvi, phy_id, tmp); in set_phy_tuning() 106 tmp = mvs_read_port_vsr_data(mvi, phy_id); in set_phy_tuning() 107 tmp &= ~(0xC000); in set_phy_tuning() 108 tmp |= (phy_tuning.trans_amp_adj << 14); in set_phy_tuning() 109 mvs_write_port_vsr_data(mvi, phy_id, tmp); in set_phy_tuning() 116 u32 tmp; in set_phy_ffe_tuning() local [all …]
|
/linux-4.4.14/drivers/phy/ |
D | phy-mt65xx-usb3.c | 134 u32 tmp; in phy_instance_init() local 137 tmp = readl(port_base + U3P_U2PHYDTM0); in phy_instance_init() 138 tmp &= ~P2C_FORCE_UART_EN; in phy_instance_init() 139 tmp |= P2C_RG_XCVRSEL_VAL(1) | P2C_RG_DATAIN_VAL(0); in phy_instance_init() 140 writel(tmp, port_base + U3P_U2PHYDTM0); in phy_instance_init() 142 tmp = readl(port_base + U3P_U2PHYDTM1); in phy_instance_init() 143 tmp &= ~P2C_RG_UART_EN; in phy_instance_init() 144 writel(tmp, port_base + U3P_U2PHYDTM1); in phy_instance_init() 147 tmp = readl(port_base + U3P_U2PHYACR4); in phy_instance_init() 148 tmp &= ~P2C_U2_GPIO_CTR_MSK; in phy_instance_init() [all …]
|
/linux-4.4.14/drivers/video/fbdev/kyro/ |
D | STG4000Ramdac.c | 29 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 …]
|
D | STG4000OverlayDevice.c | 81 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 …]
|
D | STG4000VTG.c | 19 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 …]
|
D | STG4000InitDevice.c | 248 u32 tmp; in SetCoreClockPLL() local 254 tmp = STG_READ_REG(Thread0Enable); in SetCoreClockPLL() 256 STG_WRITE_REG(Thread0Enable, tmp); in SetCoreClockPLL() 259 tmp = STG_READ_REG(Thread1Enable); in SetCoreClockPLL() 261 STG_WRITE_REG(Thread1Enable, tmp); in SetCoreClockPLL() 292 tmp = ((CORE_PLL_MODE_REG_0_7 << 8) | (core_pll & 0x00FF)); in SetCoreClockPLL() 293 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL() 299 tmp |= SET_BIT(14); in SetCoreClockPLL() 300 pci_write_config_word(pDev, CorePllControl, tmp); in SetCoreClockPLL() 304 tmp = in SetCoreClockPLL() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | gmc_v8_0.c | 133 u32 tmp; in gmc_v8_0_mc_wait_for_idle() local 137 tmp = RREG32(mmSRBM_STATUS) & (SRBM_STATUS__VMC_BUSY_MASK | in gmc_v8_0_mc_wait_for_idle() 143 if (!tmp) in gmc_v8_0_mc_wait_for_idle() 176 u32 tmp; in gmc_v8_0_mc_resume() local 179 tmp = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v8_0_mc_resume() 180 tmp = REG_SET_FIELD(tmp, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE, 0); in gmc_v8_0_mc_resume() 181 WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp); in gmc_v8_0_mc_resume() 183 tmp = REG_SET_FIELD(0, BIF_FB_EN, FB_READ_EN, 1); in gmc_v8_0_mc_resume() 184 tmp = REG_SET_FIELD(tmp, BIF_FB_EN, FB_WRITE_EN, 1); in gmc_v8_0_mc_resume() 185 WREG32(mmBIF_FB_EN, tmp); in gmc_v8_0_mc_resume() [all …]
|
D | gmc_v7_0.c | 88 u32 tmp; in gmc_v7_0_mc_wait_for_idle() local 92 tmp = RREG32(mmSRBM_STATUS) & 0x1F00; in gmc_v7_0_mc_wait_for_idle() 93 if (!tmp) in gmc_v7_0_mc_wait_for_idle() 126 u32 tmp; in gmc_v7_0_mc_resume() local 129 tmp = RREG32(mmMC_SHARED_BLACKOUT_CNTL); in gmc_v7_0_mc_resume() 130 tmp = REG_SET_FIELD(tmp, MC_SHARED_BLACKOUT_CNTL, BLACKOUT_MODE, 0); in gmc_v7_0_mc_resume() 131 WREG32(mmMC_SHARED_BLACKOUT_CNTL, tmp); in gmc_v7_0_mc_resume() 133 tmp = REG_SET_FIELD(0, BIF_FB_EN, FB_READ_EN, 1); in gmc_v7_0_mc_resume() 134 tmp = REG_SET_FIELD(tmp, BIF_FB_EN, FB_WRITE_EN, 1); in gmc_v7_0_mc_resume() 135 WREG32(mmBIF_FB_EN, tmp); in gmc_v7_0_mc_resume() [all …]
|
D | dce_v10_0.c | 369 u32 tmp; in dce_v10_0_hpd_set_polarity() local 396 tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[idx]); in dce_v10_0_hpd_set_polarity() 398 tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_POLARITY, 0); in dce_v10_0_hpd_set_polarity() 400 tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_POLARITY, 1); in dce_v10_0_hpd_set_polarity() 401 WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[idx], tmp); in dce_v10_0_hpd_set_polarity() 416 u32 tmp; in dce_v10_0_hpd_init() local 455 tmp = RREG32(mmDC_HPD_CONTROL + hpd_offsets[idx]); in dce_v10_0_hpd_init() 456 tmp = REG_SET_FIELD(tmp, DC_HPD_CONTROL, DC_HPD_EN, 1); in dce_v10_0_hpd_init() 457 WREG32(mmDC_HPD_CONTROL + hpd_offsets[idx], tmp); in dce_v10_0_hpd_init() 459 tmp = RREG32(mmDC_HPD_TOGGLE_FILT_CNTL + hpd_offsets[idx]); in dce_v10_0_hpd_init() [all …]
|
D | dce_v11_0.c | 359 u32 tmp; in dce_v11_0_hpd_set_polarity() local 386 tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[idx]); in dce_v11_0_hpd_set_polarity() 388 tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_POLARITY, 0); in dce_v11_0_hpd_set_polarity() 390 tmp = REG_SET_FIELD(tmp, DC_HPD_INT_CONTROL, DC_HPD_INT_POLARITY, 1); in dce_v11_0_hpd_set_polarity() 391 WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[idx], tmp); in dce_v11_0_hpd_set_polarity() 406 u32 tmp; in dce_v11_0_hpd_init() local 445 tmp = RREG32(mmDC_HPD_CONTROL + hpd_offsets[idx]); in dce_v11_0_hpd_init() 446 tmp = REG_SET_FIELD(tmp, DC_HPD_CONTROL, DC_HPD_EN, 1); in dce_v11_0_hpd_init() 447 WREG32(mmDC_HPD_CONTROL + hpd_offsets[idx], tmp); in dce_v11_0_hpd_init() 449 tmp = RREG32(mmDC_HPD_TOGGLE_FILT_CNTL + hpd_offsets[idx]); in dce_v11_0_hpd_init() [all …]
|
D | vi.c | 291 u32 tmp; in vi_get_xclk() local 296 tmp = RREG32_SMC(ixCG_CLKPIN_CNTL_2); in vi_get_xclk() 297 if (REG_GET_FIELD(tmp, CG_CLKPIN_CNTL_2, MUX_TCLK_TO_XCLK)) in vi_get_xclk() 300 tmp = RREG32_SMC(ixCG_CLKPIN_CNTL); in vi_get_xclk() 301 if (REG_GET_FIELD(tmp, CG_CLKPIN_CNTL, XTALIN_DIVIDE)) in vi_get_xclk() 594 u32 tmp; in vi_gpu_check_soft_reset() local 597 tmp = RREG32(mmGRBM_STATUS); in vi_gpu_check_soft_reset() 598 if (tmp & (GRBM_STATUS__PA_BUSY_MASK | GRBM_STATUS__SC_BUSY_MASK | in vi_gpu_check_soft_reset() 606 if (tmp & (GRBM_STATUS__CP_BUSY_MASK | GRBM_STATUS__CP_COHERENCY_BUSY_MASK)) in vi_gpu_check_soft_reset() 610 tmp = RREG32(mmGRBM_STATUS2); in vi_gpu_check_soft_reset() [all …]
|
D | vce_v2_0.c | 305 u32 tmp; in vce_v2_0_set_sw_cg() local 308 tmp = RREG32(mmVCE_CLOCK_GATING_B); in vce_v2_0_set_sw_cg() 309 tmp |= 0xe70000; in vce_v2_0_set_sw_cg() 310 WREG32(mmVCE_CLOCK_GATING_B, tmp); in vce_v2_0_set_sw_cg() 312 tmp = RREG32(mmVCE_UENC_CLOCK_GATING); in vce_v2_0_set_sw_cg() 313 tmp |= 0xff000000; in vce_v2_0_set_sw_cg() 314 WREG32(mmVCE_UENC_CLOCK_GATING, tmp); in vce_v2_0_set_sw_cg() 316 tmp = RREG32(mmVCE_UENC_REG_CLOCK_GATING); in vce_v2_0_set_sw_cg() 317 tmp &= ~0x3fc; in vce_v2_0_set_sw_cg() 318 WREG32(mmVCE_UENC_REG_CLOCK_GATING, tmp); in vce_v2_0_set_sw_cg() [all …]
|
D | ci_smc.c | 119 u32 tmp = RREG32_SMC(ixSMC_SYSCON_RESET_CNTL); in amdgpu_ci_start_smc() local 121 tmp &= ~SMC_SYSCON_RESET_CNTL__rst_reg_MASK; in amdgpu_ci_start_smc() 122 WREG32_SMC(ixSMC_SYSCON_RESET_CNTL, tmp); in amdgpu_ci_start_smc() 127 u32 tmp = RREG32_SMC(ixSMC_SYSCON_RESET_CNTL); in amdgpu_ci_reset_smc() local 129 tmp |= SMC_SYSCON_RESET_CNTL__rst_reg_MASK; in amdgpu_ci_reset_smc() 130 WREG32_SMC(ixSMC_SYSCON_RESET_CNTL, tmp); in amdgpu_ci_reset_smc() 142 u32 tmp = RREG32_SMC(ixSMC_SYSCON_CLOCK_CNTL_0); in amdgpu_ci_stop_smc_clock() local 144 tmp |= SMC_SYSCON_CLOCK_CNTL_0__ck_disable_MASK; in amdgpu_ci_stop_smc_clock() 146 WREG32_SMC(ixSMC_SYSCON_CLOCK_CNTL_0, tmp); in amdgpu_ci_stop_smc_clock() 151 u32 tmp = RREG32_SMC(ixSMC_SYSCON_CLOCK_CNTL_0); in amdgpu_ci_start_smc_clock() local [all …]
|
D | cik.c | 877 uint32_t tmp; in cik_vga_set_state() local 879 tmp = RREG32(mmCONFIG_CNTL); in cik_vga_set_state() 881 tmp |= CONFIG_CNTL__VGA_DIS_MASK; in cik_vga_set_state() 883 tmp &= ~CONFIG_CNTL__VGA_DIS_MASK; in cik_vga_set_state() 884 WREG32(mmCONFIG_CNTL, tmp); in cik_vga_set_state() 1081 u32 tmp; in amdgpu_cik_gpu_check_soft_reset() local 1084 tmp = RREG32(mmGRBM_STATUS); in amdgpu_cik_gpu_check_soft_reset() 1085 if (tmp & (GRBM_STATUS__PA_BUSY_MASK | GRBM_STATUS__SC_BUSY_MASK | in amdgpu_cik_gpu_check_soft_reset() 1093 if (tmp & (GRBM_STATUS__CP_BUSY_MASK | GRBM_STATUS__CP_COHERENCY_BUSY_MASK)) in amdgpu_cik_gpu_check_soft_reset() 1097 tmp = RREG32(mmGRBM_STATUS2); in amdgpu_cik_gpu_check_soft_reset() [all …]
|
/linux-4.4.14/lib/ |
D | kstrtox.c | 148 unsigned long long tmp; in kstrtoll() local 152 rv = _kstrtoull(s + 1, base, &tmp); in kstrtoll() 155 if ((long long)-tmp > 0) in kstrtoll() 157 *res = -tmp; in kstrtoll() 159 rv = kstrtoull(s, base, &tmp); in kstrtoll() 162 if ((long long)tmp < 0) in kstrtoll() 164 *res = tmp; in kstrtoll() 173 unsigned long long tmp; in _kstrtoul() local 176 rv = kstrtoull(s, base, &tmp); in _kstrtoul() 179 if (tmp != (unsigned long long)(unsigned long)tmp) in _kstrtoul() [all …]
|
D | rbtree.c | 100 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local 118 tmp = gparent->rb_right; in __rb_insert() 119 if (parent != tmp) { /* parent == gparent->rb_left */ in __rb_insert() 120 if (tmp && rb_is_red(tmp)) { in __rb_insert() 134 rb_set_parent_color(tmp, gparent, RB_BLACK); in __rb_insert() 142 tmp = parent->rb_right; in __rb_insert() 143 if (node == tmp) { in __rb_insert() 156 tmp = node->rb_left; in __rb_insert() 157 WRITE_ONCE(parent->rb_right, tmp); in __rb_insert() 159 if (tmp) in __rb_insert() [all …]
|
D | find_bit.c | 34 unsigned long tmp; in _find_next_bit() local 39 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit() 42 tmp &= BITMAP_FIRST_WORD_MASK(start); in _find_next_bit() 45 while (!tmp) { in _find_next_bit() 50 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit() 53 return min(start + __ffs(tmp), nbits); in _find_next_bit() 152 unsigned long tmp; in _find_next_bit_le() local 157 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit_le() 160 tmp &= ext2_swab(BITMAP_FIRST_WORD_MASK(start)); in _find_next_bit_le() 163 while (!tmp) { in _find_next_bit_le() [all …]
|
/linux-4.4.14/drivers/devfreq/exynos/ |
D | exynos4_bus.c | 294 unsigned int tmp; in exynos4210_set_busclk() local 304 tmp = data->dmc_divtable[index]; in exynos4210_set_busclk() 306 __raw_writel(tmp, EXYNOS4_CLKDIV_DMC0); in exynos4210_set_busclk() 309 tmp = __raw_readl(EXYNOS4_CLKDIV_STAT_DMC0); in exynos4210_set_busclk() 310 } while (tmp & 0x11111111); in exynos4210_set_busclk() 313 tmp = data->top_divtable[index]; in exynos4210_set_busclk() 315 __raw_writel(tmp, EXYNOS4_CLKDIV_TOP); in exynos4210_set_busclk() 318 tmp = __raw_readl(EXYNOS4_CLKDIV_STAT_TOP); in exynos4210_set_busclk() 319 } while (tmp & 0x11111); in exynos4210_set_busclk() 322 tmp = __raw_readl(EXYNOS4_CLKDIV_LEFTBUS); in exynos4210_set_busclk() [all …]
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_audio.c | 140 uint32_t tmp = val; in audio_config_setup_n_reg() local 144 tmp &= ~(AUD_CONFIG_UPPER_N_MASK | AUD_CONFIG_LOWER_N_MASK); in audio_config_setup_n_reg() 145 tmp |= ((n_up << AUD_CONFIG_UPPER_N_SHIFT) | in audio_config_setup_n_reg() 148 return tmp; in audio_config_setup_n_reg() 170 uint32_t tmp; in intel_eld_uptodate() local 173 tmp = I915_READ(reg_eldv); in intel_eld_uptodate() 174 tmp &= bits_eldv; in intel_eld_uptodate() 176 if (!tmp) in intel_eld_uptodate() 179 tmp = I915_READ(reg_elda); in intel_eld_uptodate() 180 tmp &= ~bits_elda; in intel_eld_uptodate() [all …]
|
/linux-4.4.14/fs/ |
D | filesystems.c | 103 struct file_system_type ** tmp; in unregister_filesystem() local 106 tmp = &file_systems; in unregister_filesystem() 107 while (*tmp) { in unregister_filesystem() 108 if (fs == *tmp) { in unregister_filesystem() 109 *tmp = fs->next; in unregister_filesystem() 115 tmp = &(*tmp)->next; in unregister_filesystem() 127 struct file_system_type * tmp; in fs_index() local 138 for (tmp=file_systems, index=0 ; tmp ; tmp=tmp->next, index++) { in fs_index() 139 if (strcmp(tmp->name, name->name) == 0) { in fs_index() 151 struct file_system_type * tmp; in fs_name() local [all …]
|
D | stat.c | 143 struct __old_kernel_stat tmp; in cp_old_stat() local 154 memset(&tmp, 0, sizeof(struct __old_kernel_stat)); in cp_old_stat() 155 tmp.st_dev = old_encode_dev(stat->dev); in cp_old_stat() 156 tmp.st_ino = stat->ino; in cp_old_stat() 157 if (sizeof(tmp.st_ino) < sizeof(stat->ino) && tmp.st_ino != stat->ino) in cp_old_stat() 159 tmp.st_mode = stat->mode; in cp_old_stat() 160 tmp.st_nlink = stat->nlink; in cp_old_stat() 161 if (tmp.st_nlink != stat->nlink) in cp_old_stat() 163 SET_UID(tmp.st_uid, from_kuid_munged(current_user_ns(), stat->uid)); in cp_old_stat() 164 SET_GID(tmp.st_gid, from_kgid_munged(current_user_ns(), stat->gid)); in cp_old_stat() [all …]
|
/linux-4.4.14/drivers/pnp/isapnp/ |
D | core.c | 369 unsigned char tag, tmp[2]; in isapnp_read_tag() local 376 isapnp_peek(tmp, 2); in isapnp_read_tag() 377 *size = (tmp[1] << 8) | tmp[0]; in isapnp_read_tag() 401 unsigned char tmp[6]; in isapnp_parse_device() local 406 isapnp_peek(tmp, size); in isapnp_parse_device() 407 eisa_id = tmp[0] | tmp[1] << 8 | tmp[2] << 16 | tmp[3] << 24; in isapnp_parse_device() 430 unsigned char tmp[3]; in isapnp_parse_irq_resource() local 435 isapnp_peek(tmp, size); in isapnp_parse_irq_resource() 436 bits = (tmp[1] << 8) | tmp[0]; in isapnp_parse_irq_resource() 442 flags = tmp[2]; in isapnp_parse_irq_resource() [all …]
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
D | radeon_pm.c | 131 u32 tmp; in radeon_pm_disable_dynamic_mode() local 136 tmp = INPLL(pllSCLK_CNTL); in radeon_pm_disable_dynamic_mode() 137 tmp &= ~SCLK_CNTL__DYN_STOP_LAT_MASK; in radeon_pm_disable_dynamic_mode() 138 tmp |= SCLK_CNTL__CP_MAX_DYN_STOP_LAT | SCLK_CNTL__FORCEON_MASK; in radeon_pm_disable_dynamic_mode() 139 OUTPLL(pllSCLK_CNTL, tmp); in radeon_pm_disable_dynamic_mode() 141 tmp = INPLL(pllMCLK_CNTL); in radeon_pm_disable_dynamic_mode() 142 tmp |= (MCLK_CNTL__FORCE_MCLKA | in radeon_pm_disable_dynamic_mode() 148 OUTPLL(pllMCLK_CNTL, tmp); in radeon_pm_disable_dynamic_mode() 153 tmp = INPLL(pllSCLK_CNTL); in radeon_pm_disable_dynamic_mode() 154 tmp |= (SCLK_CNTL__FORCE_CP | SCLK_CNTL__FORCE_HDP | in radeon_pm_disable_dynamic_mode() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_rect.c | 76 int64_t tmp = src->x1 + (int64_t) diff * hscale; in drm_rect_clip_scaled() local 77 src->x1 = clamp_t(int64_t, tmp, INT_MIN, INT_MAX); in drm_rect_clip_scaled() 81 int64_t tmp = src->y1 + (int64_t) diff * vscale; in drm_rect_clip_scaled() local 82 src->y1 = clamp_t(int64_t, tmp, INT_MIN, INT_MAX); in drm_rect_clip_scaled() 86 int64_t tmp = src->x2 - (int64_t) diff * hscale; in drm_rect_clip_scaled() local 87 src->x2 = clamp_t(int64_t, tmp, INT_MIN, INT_MAX); in drm_rect_clip_scaled() 91 int64_t tmp = src->y2 - (int64_t) diff * vscale; in drm_rect_clip_scaled() local 92 src->y2 = clamp_t(int64_t, tmp, INT_MIN, INT_MAX); in drm_rect_clip_scaled() 317 struct drm_rect tmp; in drm_rect_rotate() local 320 tmp = *r; in drm_rect_rotate() [all …]
|
/linux-4.4.14/tools/power/cpupower/lib/ |
D | cpufreq.c | 80 struct cpufreq_available_governors *tmp, *next; in cpufreq_put_available_governors() local 85 tmp = any->first; in cpufreq_put_available_governors() 86 while (tmp) { in cpufreq_put_available_governors() 87 next = tmp->next; in cpufreq_put_available_governors() 88 if (tmp->governor) in cpufreq_put_available_governors() 89 free(tmp->governor); in cpufreq_put_available_governors() 90 free(tmp); in cpufreq_put_available_governors() 91 tmp = next; in cpufreq_put_available_governors() 104 struct cpufreq_available_frequencies *tmp, *next; in cpufreq_put_available_frequencies() local 109 tmp = any->first; in cpufreq_put_available_frequencies() [all …]
|
/linux-4.4.14/arch/metag/include/asm/ |
D | spinlock_lnkget.h | 26 int tmp; in arch_spin_lock() local 37 : "=&d" (tmp) in arch_spin_lock() 47 int tmp; in arch_spin_trylock() local 59 : "=&d" (tmp) in arch_spin_trylock() 65 return tmp; in arch_spin_trylock() 88 int tmp; in arch_write_lock() local 99 : "=&d" (tmp) in arch_write_lock() 108 int tmp; in arch_write_trylock() local 120 : "=&d" (tmp) in arch_write_trylock() 126 return tmp; in arch_write_trylock() [all …]
|
/linux-4.4.14/arch/arm/mach-zx/ |
D | zx296702-pm-domain.c | 42 u32 tmp; in normal_power_off() local 44 tmp = readl_relaxed(pcubase + PCU_DM_CLKEN); in normal_power_off() 45 tmp &= ~BIT(zpd->bit); in normal_power_off() 46 writel_relaxed(tmp, pcubase + PCU_DM_CLKEN); in normal_power_off() 49 tmp = readl_relaxed(pcubase + PCU_DM_ISOEN); in normal_power_off() 50 tmp &= ~BIT(zpd->bit); in normal_power_off() 51 writel_relaxed(tmp | BIT(zpd->bit), pcubase + PCU_DM_ISOEN); in normal_power_off() 54 tmp = readl_relaxed(pcubase + PCU_DM_RSTEN); in normal_power_off() 55 tmp &= ~BIT(zpd->bit); in normal_power_off() 56 writel_relaxed(tmp, pcubase + PCU_DM_RSTEN); in normal_power_off() [all …]
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
D | ip22-mc.c | 57 unsigned int tmp = get_bank_config(i); in probe_memory() local 58 if (!(tmp & SGIMC_MCONFIG_BVALID)) in probe_memory() 61 bank[cnt].size = get_bank_size(tmp); in probe_memory() 62 bank[cnt].addr = get_bank_addr(tmp); in probe_memory() 108 u32 tmp; in sgimc_init() local 125 tmp = sgimc->cpuctrl0; in sgimc_init() 126 tmp &= ~SGIMC_CCTRL0_WDOG; in sgimc_init() 127 sgimc->cpuctrl0 = tmp; in sgimc_init() 140 tmp = sgimc->cpuctrl0; in sgimc_init() 142 tmp |= SGIMC_CCTRL0_EPERRGIO | SGIMC_CCTRL0_EPERRMEM; in sgimc_init() [all …]
|
D | ip22-gio.c | 64 struct device *tmp; in gio_dev_get() local 68 tmp = get_device(&dev->dev); in gio_dev_get() 69 if (tmp) in gio_dev_get() 70 return to_gio_device(tmp); in gio_dev_get() 228 u32 tmp = sgimc->giopar; in gio_set_master() local 232 tmp |= SGIMC_GIOPAR_MASTERGFX; in gio_set_master() 235 tmp |= SGIMC_GIOPAR_MASTEREXP0; in gio_set_master() 238 tmp |= SGIMC_GIOPAR_MASTEREXP1; in gio_set_master() 241 sgimc->giopar = tmp; in gio_set_master() 247 u32 tmp = sgimc->giopar; in ip22_gio_set_64bit() local [all …]
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | amd5536udc.c | 272 u32 tmp; in udc_mask_unused_interrupts() local 275 tmp = AMD_BIT(UDC_DEVINT_SVC) | in udc_mask_unused_interrupts() 283 writel(tmp, &dev->regs->irqmsk); in udc_mask_unused_interrupts() 294 u32 tmp; in udc_enable_ep0_interrupts() local 299 tmp = readl(&dev->regs->ep_irqmsk); in udc_enable_ep0_interrupts() 301 tmp &= AMD_UNMASK_BIT(UDC_EPINT_IN_EP0) in udc_enable_ep0_interrupts() 303 writel(tmp, &dev->regs->ep_irqmsk); in udc_enable_ep0_interrupts() 311 u32 tmp; in udc_enable_dev_setup_interrupts() local 316 tmp = readl(&dev->regs->irqmsk); in udc_enable_dev_setup_interrupts() 319 tmp &= AMD_UNMASK_BIT(UDC_DEVINT_SI) in udc_enable_dev_setup_interrupts() [all …]
|
D | net2280.c | 173 u32 tmp = readl(&ep->dev->regs->pciirqenb0); in enable_pciirqenb() local 176 tmp |= BIT(ep->num); in enable_pciirqenb() 178 tmp |= BIT(ep_bit[ep->num]); in enable_pciirqenb() 179 writel(tmp, &ep->dev->regs->pciirqenb0); in enable_pciirqenb() 190 u32 tmp = 0; in net2280_enable() local 249 tmp = readl(&ep->cfg->ep_cfg); in net2280_enable() 251 if ((tmp & 0xf) != usb_endpoint_num(desc)) { in net2280_enable() 257 tmp &= ~USB3380_EP_CFG_MASK_IN; in net2280_enable() 259 tmp &= ~USB3380_EP_CFG_MASK_OUT; in net2280_enable() 282 tmp |= type << ENDPOINT_TYPE; in net2280_enable() [all …]
|
D | omap_udc.c | 2230 u32 tmp; in proc_otg_show() local 2234 tmp = omap_readl(OTG_REV); in proc_otg_show() 2238 tmp >> 4, tmp & 0xf, ctrl_name, trans); in proc_otg_show() 2239 tmp = omap_readw(OTG_SYSCON_1); in proc_otg_show() 2241 FOURBITS "\n", tmp, in proc_otg_show() 2242 trx_mode(USB2_TRX_MODE(tmp), trans & CONF_USB2_UNI_R), in proc_otg_show() 2243 trx_mode(USB1_TRX_MODE(tmp), trans & CONF_USB1_UNI_R), in proc_otg_show() 2244 (USB0_TRX_MODE(tmp) == 0 && !cpu_is_omap1710()) in proc_otg_show() 2246 : trx_mode(USB0_TRX_MODE(tmp), 1), in proc_otg_show() 2247 (tmp & OTG_IDLE_EN) ? " !otg" : "", in proc_otg_show() [all …]
|
/linux-4.4.14/arch/alpha/math-emu/ |
D | qrnnd.S | 41 #define tmp $3 macro 52 $loop1: cmplt n0,0,tmp 54 bis n1,tmp,n1 57 subq n1,d,tmp 58 cmovne qb,tmp,n1 60 cmplt n0,0,tmp 62 bis n1,tmp,n1 65 subq n1,d,tmp 66 cmovne qb,tmp,n1 68 cmplt n0,0,tmp [all …]
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | spinlock.h | 39 unsigned long tmp; in arch_spin_lock() local 47 : "=&a" (tmp) in arch_spin_lock() 56 unsigned long tmp; in arch_spin_trylock() local 63 : "=&a" (tmp) in arch_spin_trylock() 67 return tmp == 0 ? 1 : 0; in arch_spin_trylock() 72 unsigned long tmp; in arch_spin_unlock() local 77 : "=&a" (tmp) in arch_spin_unlock() 103 unsigned long tmp; in arch_write_lock() local 112 : "=&a" (tmp) in arch_write_lock() 121 unsigned long tmp; in arch_write_trylock() local [all …]
|
D | rwsem.h | 40 int tmp; in __down_read_trylock() local 42 while ((tmp = sem->count) >= 0) { in __down_read_trylock() 43 if (tmp == cmpxchg(&sem->count, tmp, in __down_read_trylock() 44 tmp + RWSEM_ACTIVE_READ_BIAS)) { in __down_read_trylock() 57 int tmp; in __down_write() local 59 tmp = atomic_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write() 61 if (tmp == RWSEM_ACTIVE_WRITE_BIAS) in __down_write() 69 int tmp; in __down_write_trylock() local 71 tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 74 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock() [all …]
|
D | tlbflush.h | 66 unsigned long tmp; in itlb_probe() local 67 __asm__ __volatile__("pitlb %0, %1\n\t" : "=a" (tmp) : "a" (addr)); in itlb_probe() 68 return tmp; in itlb_probe() 73 unsigned long tmp; in dtlb_probe() local 74 __asm__ __volatile__("pdtlb %0, %1\n\t" : "=a" (tmp) : "a" (addr)); in dtlb_probe() 75 return tmp; in dtlb_probe() 125 unsigned long tmp; in read_ptevaddr_register() local 126 __asm__ __volatile__("rsr %0, ptevaddr\n\t" : "=a" (tmp)); in read_ptevaddr_register() 127 return tmp; in read_ptevaddr_register() 181 unsigned long tmp; in read_dtlb_virtual() local [all …]
|
D | bitops.h | 105 unsigned long tmp, value; in set_bit() local 116 : "=&a" (tmp), "=&a" (value) in set_bit() 123 unsigned long tmp, value; in clear_bit() local 134 : "=&a" (tmp), "=&a" (value) in clear_bit() 141 unsigned long tmp, value; in change_bit() local 152 : "=&a" (tmp), "=&a" (value) in change_bit() 160 unsigned long tmp, value; in test_and_set_bit() local 171 : "=&a" (tmp), "=&a" (value) in test_and_set_bit() 175 return tmp & mask; in test_and_set_bit() 181 unsigned long tmp, value; in test_and_clear_bit() local [all …]
|
/linux-4.4.14/net/6lowpan/ |
D | nhc_udp.c | 44 u8 tmp = 0, val = 0; in udp_uncompress() local 49 fail = lowpan_fetch_skb(skb, &tmp, sizeof(tmp)); in udp_uncompress() 52 switch (tmp & LOWPAN_NHC_UDP_CS_P_11) { in udp_uncompress() 80 if (tmp & LOWPAN_NHC_UDP_CS_C) { in udp_uncompress() 124 u8 tmp; in udp_compress() local 132 tmp = LOWPAN_NHC_UDP_CS_P_11; in udp_compress() 133 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 135 tmp = ntohs(uh->dest) - LOWPAN_NHC_UDP_4BIT_PORT + in udp_compress() 137 lowpan_push_hc_data(hc_ptr, &tmp, sizeof(tmp)); in udp_compress() 142 tmp = LOWPAN_NHC_UDP_CS_P_01; in udp_compress() [all …]
|
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 81 void fix_up_intel_idle_driver_name(char *tmp, int num) in fix_up_intel_idle_driver_name() argument 84 if (!strncmp(tmp, "NHM-", 4)) { in fix_up_intel_idle_driver_name() 87 strcpy(tmp, "C1"); in fix_up_intel_idle_driver_name() 90 strcpy(tmp, "C3"); in fix_up_intel_idle_driver_name() 93 strcpy(tmp, "C6"); in fix_up_intel_idle_driver_name() 96 } else if (!strncmp(tmp, "SNB-", 4)) { in fix_up_intel_idle_driver_name() 99 strcpy(tmp, "C1"); in fix_up_intel_idle_driver_name() 102 strcpy(tmp, "C3"); in fix_up_intel_idle_driver_name() 105 strcpy(tmp, "C6"); in fix_up_intel_idle_driver_name() 108 strcpy(tmp, "C7"); in fix_up_intel_idle_driver_name() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | nv44.c | 42 u32 tmp[4]; in nv44_vm_fill() local 44 tmp[0] = nvkm_ro32(pgt, base + 0x0); in nv44_vm_fill() 45 tmp[1] = nvkm_ro32(pgt, base + 0x4); in nv44_vm_fill() 46 tmp[2] = nvkm_ro32(pgt, base + 0x8); in nv44_vm_fill() 47 tmp[3] = nvkm_ro32(pgt, base + 0xc); in nv44_vm_fill() 53 tmp[0] &= ~0x07ffffff; in nv44_vm_fill() 54 tmp[0] |= addr; in nv44_vm_fill() 57 tmp[0] &= ~0xf8000000; in nv44_vm_fill() 58 tmp[0] |= addr << 27; in nv44_vm_fill() 59 tmp[1] &= ~0x003fffff; in nv44_vm_fill() [all …]
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | rwsem.h | 34 long tmp; in __down_read_trylock() local 36 while ((tmp = sem->count) >= 0L) { in __down_read_trylock() 37 if (tmp == cmpxchg(&sem->count, tmp, in __down_read_trylock() 38 tmp + RWSEM_ACTIVE_READ_BIAS)) { in __down_read_trylock() 50 long tmp; in __down_write_nested() local 52 tmp = atomic64_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write_nested() 54 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write_nested() 65 long tmp; in __down_write_trylock() local 67 tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 69 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock() [all …]
|
D | backoff.h | 54 #define BACKOFF_SPIN(reg, tmp, label) \ argument 55 mov reg, tmp; \ 61 sllx tmp, 7, tmp; \ 62 wr tmp, 0, %asr27; \ 63 clr tmp; \ 65 brnz,pt tmp, 88b; \ 66 sub tmp, 1, tmp; \ 67 set BACKOFF_LIMIT, tmp; \ 68 cmp reg, tmp; \ 81 #define BACKOFF_SPIN(reg, tmp, label) argument
|
/linux-4.4.14/include/asm-generic/ |
D | rwsem.h | 42 long tmp; in __down_read_trylock() local 44 while ((tmp = sem->count) >= 0) { in __down_read_trylock() 45 if (tmp == cmpxchg_acquire(&sem->count, tmp, in __down_read_trylock() 46 tmp + RWSEM_ACTIVE_READ_BIAS)) { in __down_read_trylock() 58 long tmp; in __down_write_nested() local 60 tmp = atomic_long_add_return_acquire(RWSEM_ACTIVE_WRITE_BIAS, in __down_write_nested() 62 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write_nested() 73 long tmp; in __down_write_trylock() local 75 tmp = cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 77 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock() [all …]
|
D | termios-base.h | 17 unsigned short tmp; in user_termio_to_kernel_termios() local 19 if (get_user(tmp, &termio->c_iflag) < 0) in user_termio_to_kernel_termios() 21 termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp; in user_termio_to_kernel_termios() 23 if (get_user(tmp, &termio->c_oflag) < 0) in user_termio_to_kernel_termios() 25 termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp; in user_termio_to_kernel_termios() 27 if (get_user(tmp, &termio->c_cflag) < 0) in user_termio_to_kernel_termios() 29 termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp; in user_termio_to_kernel_termios() 31 if (get_user(tmp, &termio->c_lflag) < 0) in user_termio_to_kernel_termios() 33 termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp; in user_termio_to_kernel_termios()
|
/linux-4.4.14/arch/arm/mach-s5pv210/ |
D | pm.c | 45 unsigned long tmp; in s5pv210_cpu_suspend() local 50 tmp = 0; in s5pv210_cpu_suspend() 57 "wfi" : : "r" (tmp)); in s5pv210_cpu_suspend() 65 unsigned int tmp; in s5pv210_pm_prepare() local 74 tmp = __raw_readl(S5P_SLEEP_CFG); in s5pv210_pm_prepare() 75 tmp &= ~(S5P_SLEEP_CFG_OSC_EN | S5P_SLEEP_CFG_USBOSC_EN); in s5pv210_pm_prepare() 76 __raw_writel(tmp, S5P_SLEEP_CFG); in s5pv210_pm_prepare() 79 tmp = __raw_readl(S5P_PWR_CFG); in s5pv210_pm_prepare() 80 tmp &= S5P_CFG_WFI_CLEAN; in s5pv210_pm_prepare() 81 tmp |= S5P_CFG_WFI_SLEEP; in s5pv210_pm_prepare() [all …]
|
/linux-4.4.14/arch/sh/include/asm/ |
D | rwsem.h | 35 int tmp; in __down_read_trylock() local 37 while ((tmp = sem->count) >= 0) { in __down_read_trylock() 38 if (tmp == cmpxchg(&sem->count, tmp, in __down_read_trylock() 39 tmp + RWSEM_ACTIVE_READ_BIAS)) { in __down_read_trylock() 52 int tmp; in __down_write() local 54 tmp = atomic_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write() 56 if (tmp == RWSEM_ACTIVE_WRITE_BIAS) in __down_write() 64 int tmp; in __down_write_trylock() local 66 tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 69 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock() [all …]
|
D | spinlock.h | 39 unsigned long tmp; in arch_spin_lock() local 51 : "=&z" (tmp), "=&r" (oldval) in arch_spin_lock() 59 unsigned long tmp; in arch_spin_unlock() local 64 : "=&z" (tmp) in arch_spin_unlock() 72 unsigned long tmp, oldval; in arch_spin_trylock() local 82 : "=&z" (tmp), "=&r" (oldval) in arch_spin_trylock() 113 unsigned long tmp; in arch_read_lock() local 123 : "=&z" (tmp) in arch_read_lock() 131 unsigned long tmp; in arch_read_unlock() local 139 : "=&z" (tmp) in arch_read_unlock() [all …]
|
D | bitops-grb.h | 8 unsigned long tmp; in set_bit() local 22 : "=&r" (tmp), in set_bit() 32 unsigned long tmp; in clear_bit() local 45 : "=&r" (tmp), in clear_bit() 55 unsigned long tmp; in change_bit() local 68 : "=&r" (tmp), in change_bit() 78 unsigned long tmp; in test_and_set_bit() local 96 : "=&r" (tmp), in test_and_set_bit() 109 unsigned long tmp; in test_and_clear_bit() local 129 : "=&r" (tmp), in test_and_clear_bit() [all …]
|
D | bitops-llsc.h | 8 unsigned long tmp; in set_bit() local 19 : "=&z" (tmp) in set_bit() 29 unsigned long tmp; in clear_bit() local 40 : "=&z" (tmp) in clear_bit() 50 unsigned long tmp; in change_bit() local 61 : "=&z" (tmp) in change_bit() 71 unsigned long tmp; in test_and_set_bit() local 84 : "=&z" (tmp), "=&r" (retval) in test_and_set_bit() 96 unsigned long tmp; in test_and_clear_bit() local 110 : "=&z" (tmp), "=&r" (retval) in test_and_clear_bit() [all …]
|
/linux-4.4.14/arch/mips/include/asm/ |
D | spinlock.h | 65 int tmp; in arch_spin_lock() local 99 [ticket] "=&r" (tmp), in arch_spin_lock() 132 [ticket] "=&r" (tmp), in arch_spin_lock() 150 int tmp, tmp2, tmp3; in arch_spin_trylock() local 173 [ticket] "=&r" (tmp), in arch_spin_trylock() 197 [ticket] "=&r" (tmp), in arch_spin_trylock() 205 return tmp; in arch_spin_trylock() 231 unsigned int tmp; in arch_read_lock() local 243 : "=" GCC_OFF_SMALL_ASM() (rw->lock), "=&r" (tmp) in arch_read_lock() 253 : "=" GCC_OFF_SMALL_ASM() (rw->lock), "=&r" (tmp) in arch_read_lock() [all …]
|
/linux-4.4.14/arch/arm/mach-davinci/include/mach/ |
D | entry-macro.S | 13 .macro get_irqnr_preamble, base, tmp 18 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp 20 ldr \tmp, =davinci_intc_type 21 ldr \tmp, [\tmp] 22 cmp \tmp, #DAVINCI_INTC_TYPE_CP_INTC 26 ldr \tmp, [\base, #0x14] 27 movs \tmp, \tmp, lsr #2 28 sub \irqnr, \tmp, #1 33 mov \tmp, \irqnr, lsr #31 35 and \tmp, \tmp, #0x1 [all …]
|
/linux-4.4.14/sound/pci/ice1712/ |
D | delta.c | 47 static void ap_cs8427_write_byte(struct snd_ice1712 *ice, unsigned char data, unsigned char tmp) in ap_cs8427_write_byte() argument 52 tmp &= ~(ICE1712_DELTA_AP_DOUT|ICE1712_DELTA_AP_CCLK); in ap_cs8427_write_byte() 54 tmp |= ICE1712_DELTA_AP_DOUT; in ap_cs8427_write_byte() 55 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_write_byte() 57 tmp |= ICE1712_DELTA_AP_CCLK; in ap_cs8427_write_byte() 58 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_write_byte() 64 static unsigned char ap_cs8427_read_byte(struct snd_ice1712 *ice, unsigned char tmp) in ap_cs8427_read_byte() argument 70 tmp &= ~ICE1712_DELTA_AP_CCLK; in ap_cs8427_read_byte() 71 snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp); in ap_cs8427_read_byte() 75 tmp |= ICE1712_DELTA_AP_CCLK; in ap_cs8427_read_byte() [all …]
|
D | ak4xxx.c | 58 unsigned int tmp; in snd_ice1712_akm4xxx_write() local 67 tmp = snd_ice1712_gpio_read(ice); in snd_ice1712_akm4xxx_write() 68 tmp |= priv->add_flags; in snd_ice1712_akm4xxx_write() 69 tmp &= ~priv->mask_flags; in snd_ice1712_akm4xxx_write() 72 tmp |= priv->cs_mask; /* start without chip select */ in snd_ice1712_akm4xxx_write() 74 tmp &= ~priv->cs_mask; /* chip select low */ in snd_ice1712_akm4xxx_write() 75 snd_ice1712_gpio_write(ice, tmp); in snd_ice1712_akm4xxx_write() 80 tmp &= ~priv->cs_mask; in snd_ice1712_akm4xxx_write() 81 tmp |= priv->cs_addr; in snd_ice1712_akm4xxx_write() 82 snd_ice1712_gpio_write(ice, tmp); in snd_ice1712_akm4xxx_write() [all …]
|
D | aureon.c | 114 unsigned int tmp; in aureon_pca9554_write() local 119 tmp = snd_ice1712_gpio_read(ice); in aureon_pca9554_write() 124 tmp |= AUREON_WM_RW; in aureon_pca9554_write() 125 tmp |= AUREON_CS8415_CS | AUREON_WM_CS; /* disable SPI devices */ in aureon_pca9554_write() 127 tmp &= ~AUREON_SPI_MOSI; in aureon_pca9554_write() 128 tmp &= ~AUREON_SPI_CLK; in aureon_pca9554_write() 129 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 136 tmp |= AUREON_SPI_CLK; in aureon_pca9554_write() 137 snd_ice1712_gpio_write(ice, tmp); in aureon_pca9554_write() 139 tmp |= AUREON_SPI_MOSI; in aureon_pca9554_write() [all …]
|
/linux-4.4.14/tools/power/cpupower/utils/ |
D | cpuidle-info.c | 26 char *tmp; in cpuidle_cpu_output() local 39 tmp = sysfs_get_idlestate_name(cpu, idlestate); in cpuidle_cpu_output() 40 if (!tmp) in cpuidle_cpu_output() 42 printf(" %s", tmp); in cpuidle_cpu_output() 43 free(tmp); in cpuidle_cpu_output() 55 tmp = sysfs_get_idlestate_name(cpu, idlestate); in cpuidle_cpu_output() 56 if (!tmp) in cpuidle_cpu_output() 58 printf("%s%s:\n", tmp, (disabled) ? " (DISABLED) " : ""); in cpuidle_cpu_output() 59 free(tmp); in cpuidle_cpu_output() 61 tmp = sysfs_get_idlestate_desc(cpu, idlestate); in cpuidle_cpu_output() [all …]
|
/linux-4.4.14/arch/mips/bcm63xx/ |
D | cpu.c | 129 unsigned int tmp, mips_pll_fcvo; in detect_cpu_clock() local 131 tmp = bcm_misc_readl(MISC_STRAPBUS_6328_REG); in detect_cpu_clock() 132 mips_pll_fcvo = (tmp & STRAPBUS_6328_FCVO_MASK) in detect_cpu_clock() 164 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local 167 tmp = bcm_perf_readl(PERF_MIPSPLLCTL_REG); in detect_cpu_clock() 168 n1 = (tmp & MIPSPLLCTL_N1_MASK) >> MIPSPLLCTL_N1_SHIFT; in detect_cpu_clock() 169 n2 = (tmp & MIPSPLLCTL_N2_MASK) >> MIPSPLLCTL_N2_SHIFT; in detect_cpu_clock() 170 m1 = (tmp & MIPSPLLCTL_M1CPU_MASK) >> MIPSPLLCTL_M1CPU_SHIFT; in detect_cpu_clock() 179 unsigned int tmp, n1, n2, m1; in detect_cpu_clock() local 182 tmp = bcm_ddr_readl(DDR_DMIPSPLLCFG_REG); in detect_cpu_clock() [all …]
|
/linux-4.4.14/arch/arm/mm/ |
D | abort-macro.S | 12 .macro do_thumb_abort, fsr, pc, psr, tmp 15 ldrh \tmp, [\pc] @ Read aborted Thumb instruction 17 and \tmp, \tmp, # 0xfe00 @ Mask opcode field 18 cmp \tmp, # 0x5600 @ Is it ldrsb? 19 orreq \tmp, \tmp, #1 << 11 @ Set L-bit if yes 20 tst \tmp, #1 << 11 @ L = 0 -> write 33 .macro teq_ldrd, tmp, insn 34 mov \tmp, #0x0e100000 35 orr \tmp, #0x000000f0 36 and \tmp, \insn, \tmp [all …]
|
D | proc-v7-3level.S | 129 .macro v7_ttb_setup, zero, ttbr0l, ttbr0h, ttbr1, tmp 130 ldr \tmp, =swapper_pg_dir @ swapper_pg_dir virtual address 131 cmp \ttbr1, \tmp, lsr #12 @ PHYS_OFFSET > PAGE_OFFSET? 132 mrc p15, 0, \tmp, c2, c0, 2 @ TTB control egister 133 orr \tmp, \tmp, #TTB_EAE 134 ALT_SMP(orr \tmp, \tmp, #TTB_FLAGS_SMP) 135 ALT_UP(orr \tmp, \tmp, #TTB_FLAGS_UP) 136 ALT_SMP(orr \tmp, \tmp, #TTB_FLAGS_SMP << 16) 137 ALT_UP(orr \tmp, \tmp, #TTB_FLAGS_UP << 16) 143 orrls \tmp, \tmp, #TTBR1_SIZE @ TTBCR.T1SZ [all …]
|
/linux-4.4.14/drivers/char/ |
D | tlclk.c | 330 unsigned long tmp; in store_received_ref_clk3a() local 334 sscanf(buf, "%lX", &tmp); in store_received_ref_clk3a() 335 dev_dbg(d, ": tmp = 0x%lX\n", tmp); in store_received_ref_clk3a() 337 val = (unsigned char)tmp; in store_received_ref_clk3a() 352 unsigned long tmp; in store_received_ref_clk3b() local 356 sscanf(buf, "%lX", &tmp); in store_received_ref_clk3b() 357 dev_dbg(d, ": tmp = 0x%lX\n", tmp); in store_received_ref_clk3b() 359 val = (unsigned char)tmp; in store_received_ref_clk3b() 374 unsigned long tmp; in store_enable_clk3b_output() local 378 sscanf(buf, "%lX", &tmp); in store_enable_clk3b_output() [all …]
|
D | ttyprintk.c | 45 static char tmp[TPK_STR_SIZE + 4]; in tpk_printk() local 52 tmp[tpk_curr + 0] = '\n'; in tpk_printk() 53 tmp[tpk_curr + 1] = '\0'; in tpk_printk() 54 printk(KERN_INFO "%s%s", tpk_tag, tmp); in tpk_printk() 61 tmp[tpk_curr] = buf[i]; in tpk_printk() 66 tmp[tpk_curr + 0] = '\n'; in tpk_printk() 67 tmp[tpk_curr + 1] = '\0'; in tpk_printk() 68 printk(KERN_INFO "%s%s", tpk_tag, tmp); in tpk_printk() 74 tmp[tpk_curr + 1] = '\0'; in tpk_printk() 75 printk(KERN_INFO "%s%s", tpk_tag, tmp); in tpk_printk() [all …]
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | spinlock.h | 37 unsigned int tmp; in arch_spin_lock() local 71 : "=&r" (lockval), "=&r" (newval), "=&r" (tmp), "+Q" (*lock) in arch_spin_lock() 78 unsigned int tmp; in arch_spin_trylock() local 100 : "=&r" (lockval), "=&r" (tmp), "+Q" (*lock) in arch_spin_trylock() 104 return !tmp; in arch_spin_trylock() 109 unsigned long tmp; in arch_spin_unlock() local 120 : "=Q" (lock->owner), "=&r" (tmp) in arch_spin_unlock() 154 unsigned int tmp; in arch_write_lock() local 174 : "=&r" (tmp), "+Q" (rw->lock) in arch_write_lock() 181 unsigned int tmp; in arch_write_trylock() local [all …]
|
D | assembler.h | 63 .macro disable_step_tsk, flgs, tmp 65 mrs \tmp, mdscr_el1 66 bic \tmp, \tmp, #1 67 msr mdscr_el1, \tmp 72 .macro enable_step_tsk, flgs, tmp 75 mrs \tmp, mdscr_el1 76 orr \tmp, \tmp, #1 77 msr mdscr_el1, \tmp 158 .macro adr_l, dst, sym, tmp= 159 .ifb \tmp [all …]
|
D | futex.h | 29 #define __futex_atomic_op(insn, ret, oldval, uaddr, tmp, oparg) \ argument 51 : "=&r" (ret), "=&r" (oldval), "+Q" (*uaddr), "=&r" (tmp) \ 62 int oldval = 0, ret, tmp; in futex_atomic_op_inuser() local 75 ret, oldval, uaddr, tmp, oparg); in futex_atomic_op_inuser() 79 ret, oldval, uaddr, tmp, oparg); in futex_atomic_op_inuser() 83 ret, oldval, uaddr, tmp, oparg); in futex_atomic_op_inuser() 87 ret, oldval, uaddr, tmp, ~oparg); in futex_atomic_op_inuser() 91 ret, oldval, uaddr, tmp, oparg); in futex_atomic_op_inuser() 118 u32 val, tmp; in futex_atomic_cmpxchg_inatomic() local 140 : "+r" (ret), "=&r" (val), "+Q" (*uaddr), "=&r" (tmp) in futex_atomic_cmpxchg_inatomic()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-spinlock.h | 105 unsigned int tmp; in cvmx_spinlock_trylock() local 117 [val] "+m"(lock->value), [tmp] "=&r"(tmp) in cvmx_spinlock_trylock() 120 return tmp != 0; /* normalize to 0 or 1 */ in cvmx_spinlock_trylock() 130 unsigned int tmp; in cvmx_spinlock_lock() local 140 [val] "+m"(lock->value), [tmp] "=&r"(tmp) in cvmx_spinlock_lock() 163 unsigned int tmp; in cvmx_spinlock_bit_lock() local 177 [val] "+m"(*word), [tmp] "=&r"(tmp), [sav] "=&r"(sav) in cvmx_spinlock_bit_lock() 195 unsigned int tmp; in cvmx_spinlock_bit_trylock() local 210 [val] "+m"(*word), [tmp] "=&r"(tmp) in cvmx_spinlock_bit_trylock() 213 return tmp != 0; /* normalize to 0 or 1 */ in cvmx_spinlock_bit_trylock()
|
/linux-4.4.14/kernel/ |
D | delayacct.c | 88 s64 tmp; in __delayacct_add_tsk() local 91 tmp = (s64)d->cpu_run_real_total; in __delayacct_add_tsk() 92 tmp += cputime_to_nsecs(utime + stime); in __delayacct_add_tsk() 93 d->cpu_run_real_total = (tmp < (s64)d->cpu_run_real_total) ? 0 : tmp; in __delayacct_add_tsk() 96 tmp = (s64)d->cpu_scaled_run_real_total; in __delayacct_add_tsk() 97 tmp += cputime_to_nsecs(utimescaled + stimescaled); in __delayacct_add_tsk() 99 (tmp < (s64)d->cpu_scaled_run_real_total) ? 0 : tmp; in __delayacct_add_tsk() 111 tmp = (s64)d->cpu_delay_total + t2; in __delayacct_add_tsk() 112 d->cpu_delay_total = (tmp < (s64)d->cpu_delay_total) ? 0 : tmp; in __delayacct_add_tsk() 114 tmp = (s64)d->cpu_run_virtual_total + t3; in __delayacct_add_tsk() [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | atafb_utils.h | 92 long tmp; in fb_memclear() local 109 : "=a" (s), "=d" (count), "=d" (tmp) in fb_memclear() 157 long tmp; in fb_memmove() local 175 : "=a" (d), "=a" (s), "=d" (count), "=d" (tmp) in fb_memmove() 189 long tmp; in fb_memmove() local 208 : "=a" (d), "=a" (s), "=d" (count), "=d" (tmp) in fb_memmove() 281 u32 tmp = m[0]; in fill8_col() local 282 dst[0] = tmp; in fill8_col() 283 dst[2] = (tmp >>= 8); in fill8_col() 285 dst[4] = (tmp >>= 8); in fill8_col() [all …]
|
/linux-4.4.14/drivers/ata/ |
D | ahci_ceva.c | 108 u32 tmp; in ahci_ceva_setup() local 116 tmp = PAXIC_ADBW_BW64 | PAXIC_MAWIDD | PAXIC_MARIDD | PAXIC_OTL; in ahci_ceva_setup() 117 writel(tmp, mmio + AHCI_VEND_PAXIC); in ahci_ceva_setup() 120 tmp = readl(mmio + HOST_CTL); in ahci_ceva_setup() 121 tmp |= HOST_AHCI_EN; in ahci_ceva_setup() 122 writel(tmp, mmio + HOST_CTL); in ahci_ceva_setup() 126 tmp = PCFG_TPSS_VAL | PCFG_TPRS_VAL | (PCFG_PAD_VAL + i); in ahci_ceva_setup() 127 writel(tmp, mmio + AHCI_VEND_PCFG); in ahci_ceva_setup() 130 tmp = PPCFG_TTA | PPCFG_PSS_EN | PPCFG_ESDF_EN; in ahci_ceva_setup() 131 writel(tmp, mmio + AHCI_VEND_PPCFG); in ahci_ceva_setup() [all …]
|
D | sata_promise.c | 366 unsigned int tmp; in pdc_sata_port_start() local 368 tmp = readl(sata_mmio + PDC_PHYMODE4); in pdc_sata_port_start() 369 tmp = (tmp & ~3) | 1; /* set bits 1:0 = 0:1 */ in pdc_sata_port_start() 370 writel(tmp, sata_mmio + PDC_PHYMODE4); in pdc_sata_port_start() 379 u32 tmp; in pdc_fpdma_clear_interrupt_flag() local 381 tmp = readl(sata_mmio + PDC_FPDMA_CTLSTAT); in pdc_fpdma_clear_interrupt_flag() 382 tmp |= PDC_FPDMA_CTLSTAT_DMASETUP_INT_FLAG; in pdc_fpdma_clear_interrupt_flag() 383 tmp |= PDC_FPDMA_CTLSTAT_SETDB_INT_FLAG; in pdc_fpdma_clear_interrupt_flag() 387 writeb(tmp >> 8, sata_mmio + PDC_FPDMA_CTLSTAT + 1); in pdc_fpdma_clear_interrupt_flag() 394 u8 tmp; in pdc_fpdma_reset() local [all …]
|
/linux-4.4.14/arch/s390/lib/ |
D | find.c | 20 unsigned long tmp; in find_first_bit_inv() local 23 if ((tmp = *(p++))) in find_first_bit_inv() 30 tmp = (*p) & (~0UL << (BITS_PER_LONG - size)); in find_first_bit_inv() 31 if (!tmp) /* Are any bits set? */ in find_first_bit_inv() 34 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); in find_first_bit_inv() 43 unsigned long tmp; in find_next_bit_inv() local 50 tmp = *(p++); in find_next_bit_inv() 51 tmp &= (~0UL >> offset); in find_next_bit_inv() 54 if (tmp) in find_next_bit_inv() 60 if ((tmp = *(p++))) in find_next_bit_inv() [all …]
|
/linux-4.4.14/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 229 u8 tmp; in mga_g200wb_set_plls() local 305 tmp = RREG8(MGAREG_CRTC_DATA); in mga_g200wb_set_plls() 306 if (tmp < 0xff) in mga_g200wb_set_plls() 307 WREG8(MGAREG_CRTC_DATA, tmp+1); in mga_g200wb_set_plls() 312 tmp = RREG8(DAC_DATA); in mga_g200wb_set_plls() 313 tmp |= MGA1064_PIX_CLK_CTL_CLK_DIS; in mga_g200wb_set_plls() 314 WREG8(DAC_DATA, tmp); in mga_g200wb_set_plls() 317 tmp = RREG8(DAC_DATA); in mga_g200wb_set_plls() 318 tmp |= MGA1064_REMHEADCTL_CLKDIS; in mga_g200wb_set_plls() 319 WREG8(DAC_DATA, tmp); in mga_g200wb_set_plls() [all …]
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | stv0297.c | 137 u64 tmp; in stv0297_get_symbolrate() local 139 tmp = (u64)(stv0297_readreg(state, 0x55) in stv0297_get_symbolrate() 144 tmp *= STV0297_CLOCK_KHZ; in stv0297_get_symbolrate() 145 tmp >>= 32; in stv0297_get_symbolrate() 147 return (u32) tmp; in stv0297_get_symbolrate() 152 long tmp; in stv0297_set_symbolrate() local 154 tmp = 131072L * srate; /* 131072 = 2^17 */ in stv0297_set_symbolrate() 155 tmp = tmp / (STV0297_CLOCK_KHZ / 4); /* 1/4 = 2^-2 */ in stv0297_set_symbolrate() 156 tmp = tmp * 8192L; /* 8192 = 2^13 */ in stv0297_set_symbolrate() 158 stv0297_writereg(state, 0x55, (unsigned char) (tmp & 0xFF)); in stv0297_set_symbolrate() [all …]
|
D | hd29l2.c | 108 u8 tmp; in hd29l2_wr_reg_mask() local 112 ret = hd29l2_rd_regs(priv, reg, &tmp, 1); in hd29l2_wr_reg_mask() 117 tmp &= ~mask; in hd29l2_wr_reg_mask() 118 val |= tmp; in hd29l2_wr_reg_mask() 128 u8 tmp; in hd29l2_rd_reg_mask() local 130 ret = hd29l2_rd_regs(priv, reg, &tmp, 1); in hd29l2_rd_reg_mask() 134 tmp &= mask; in hd29l2_rd_reg_mask() 141 *val = tmp >> i; in hd29l2_rd_reg_mask() 149 u8 tmp; in hd29l2_soft_reset() local 151 ret = hd29l2_rd_reg(priv, 0x26, &tmp); in hd29l2_soft_reset() [all …]
|
D | ec100.c | 94 u8 tmp, tmp2; in ec100_set_frontend() local 123 tmp = 0xb7; in ec100_set_frontend() 127 tmp = 0x00; in ec100_set_frontend() 132 tmp = 0x49; in ec100_set_frontend() 136 ret = ec100_write_reg(state, 0x1b, tmp); in ec100_set_frontend() 181 u8 tmp; in ec100_read_status() local 184 ret = ec100_read_reg(state, 0x42, &tmp); in ec100_read_status() 188 if (tmp & 0x80) { in ec100_read_status() 193 ret = ec100_read_reg(state, 0x01, &tmp); in ec100_read_status() 197 if (tmp & 0x10) { in ec100_read_status() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | reconfig.c | 122 char *tmp; in parse_next_property() local 126 tmp = strchr(buf, ' '); in parse_next_property() 127 if (!tmp) { in parse_next_property() 132 *tmp = '\0'; in parse_next_property() 134 if (++tmp >= end) { in parse_next_property() 142 *length = simple_strtoul(tmp, &tmp, 10); in parse_next_property() 148 if (*tmp != ' ' || ++tmp >= end) { in parse_next_property() 155 *value = tmp; in parse_next_property() 156 tmp += *length; in parse_next_property() 157 if (tmp > end) { in parse_next_property() [all …]
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | istream.c | 79 char tmp[4]; in diva_istream_write() local 88 (dword *)&tmp[0], in diva_istream_write() 90 if (tmp[0] & DIVA_DFIFO_READY) { /* No free blocks more */ in diva_istream_write() 109 tmp[1] = (char)to_write; in diva_istream_write() 110 tmp[0] = (tmp[0] & DIVA_DFIFO_WRAP) | in diva_istream_write() 113 if (tmp[0] & DIVA_DFIFO_LAST) { in diva_istream_write() 114 tmp[2] = usr1; in diva_istream_write() 115 tmp[3] = usr2; in diva_istream_write() 123 (dword *)&tmp[0], in diva_istream_write() 125 if (tmp[0] & DIVA_DFIFO_WRAP) { in diva_istream_write() [all …]
|
/linux-4.4.14/tools/lib/util/ |
D | find_next_bit.c | 29 unsigned long tmp; in find_next_bit() local 36 tmp = *(p++); in find_next_bit() 37 tmp &= (~0UL << offset); in find_next_bit() 40 if (tmp) in find_next_bit() 46 if ((tmp = *(p++))) in find_next_bit() 53 tmp = *p; in find_next_bit() 56 tmp &= (~0UL >> (BITS_PER_LONG - size)); in find_next_bit() 57 if (tmp == 0UL) /* Are any bits set? */ in find_next_bit() 60 return result + __ffs(tmp); in find_next_bit() 72 unsigned long tmp; in find_first_bit() local [all …]
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-m41t93.c | 51 int tmp; in m41t93_set_time() local 66 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_set_time() 67 if (tmp < 0) in m41t93_set_time() 68 return tmp; in m41t93_set_time() 70 if (tmp & M41T93_FLAG_OF) { in m41t93_set_time() 72 m41t93_set_reg(spi, M41T93_REG_FLAGS, tmp & ~M41T93_FLAG_OF); in m41t93_set_time() 74 tmp = spi_w8r8(spi, M41T93_REG_FLAGS); in m41t93_set_time() 75 if (tmp < 0) { in m41t93_set_time() 76 return tmp; in m41t93_set_time() 77 } else if (tmp & M41T93_FLAG_OF) { in m41t93_set_time() [all …]
|
D | rtc-fm3130.c | 98 int tmp; in fm3130_get_time() local 110 tmp = i2c_transfer(to_i2c_adapter(fm3130->client->dev.parent), in fm3130_get_time() 112 if (tmp != 2) { in fm3130_get_time() 113 dev_err(dev, "%s error %d\n", "read", tmp); in fm3130_get_time() 123 tmp = fm3130->regs[FM3130_RTC_HOURS] & 0x3f; in fm3130_get_time() 124 t->tm_hour = bcd2bin(tmp); in fm3130_get_time() 127 tmp = fm3130->regs[FM3130_RTC_MONTHS] & 0x1f; in fm3130_get_time() 128 t->tm_mon = bcd2bin(tmp) - 1; in fm3130_get_time() 147 int tmp, i; in fm3130_set_time() local 165 tmp = t->tm_year - 100; in fm3130_set_time() [all …]
|
D | rtc-sh.c | 107 unsigned int tmp, pending; in __sh_rtc_interrupt() local 109 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_interrupt() 110 pending = tmp & RCR1_CF; in __sh_rtc_interrupt() 111 tmp &= ~RCR1_CF; in __sh_rtc_interrupt() 112 writeb(tmp, rtc->regbase + RCR1); in __sh_rtc_interrupt() 123 unsigned int tmp, pending; in __sh_rtc_alarm() local 125 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_alarm() 126 pending = tmp & RCR1_AF; in __sh_rtc_alarm() 127 tmp &= ~(RCR1_AF | RCR1_AIE); in __sh_rtc_alarm() 128 writeb(tmp, rtc->regbase + RCR1); in __sh_rtc_alarm() [all …]
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | phy_common.c | 347 u32 tmp; in b43_phy_put_into_reset() local 352 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_phy_put_into_reset() 353 tmp &= ~B43_BCMA_IOCTL_GMODE; in b43_phy_put_into_reset() 354 tmp |= B43_BCMA_IOCTL_PHY_RESET; in b43_phy_put_into_reset() 355 tmp |= BCMA_IOCTL_FGC; in b43_phy_put_into_reset() 356 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_phy_put_into_reset() 359 tmp = bcma_aread32(dev->dev->bdev, BCMA_IOCTL); in b43_phy_put_into_reset() 360 tmp &= ~BCMA_IOCTL_FGC; in b43_phy_put_into_reset() 361 bcma_awrite32(dev->dev->bdev, BCMA_IOCTL, tmp); in b43_phy_put_into_reset() 367 tmp = ssb_read32(dev->dev->sdev, SSB_TMSLOW); in b43_phy_put_into_reset() [all …]
|
/linux-4.4.14/drivers/clk/mxs/ |
D | clk-ref.c | 57 u64 tmp = parent_rate; in clk_ref_recalc_rate() local 60 tmp *= 18; in clk_ref_recalc_rate() 61 do_div(tmp, frac); in clk_ref_recalc_rate() 63 return tmp; in clk_ref_recalc_rate() 70 u64 tmp = parent_rate; in clk_ref_round_rate() local 73 tmp = tmp * 18 + rate / 2; in clk_ref_round_rate() 74 do_div(tmp, rate); in clk_ref_round_rate() 75 frac = tmp; in clk_ref_round_rate() 82 tmp = parent_rate; in clk_ref_round_rate() 83 tmp *= 18; in clk_ref_round_rate() [all …]
|
/linux-4.4.14/drivers/clk/imx/ |
D | clk-pfd.c | 61 u64 tmp = parent_rate; in clk_pfd_recalc_rate() local 64 tmp *= 18; in clk_pfd_recalc_rate() 65 do_div(tmp, frac); in clk_pfd_recalc_rate() 67 return tmp; in clk_pfd_recalc_rate() 73 u64 tmp = *prate; in clk_pfd_round_rate() local 76 tmp = tmp * 18 + rate / 2; in clk_pfd_round_rate() 77 do_div(tmp, rate); in clk_pfd_round_rate() 78 frac = tmp; in clk_pfd_round_rate() 83 tmp = *prate; in clk_pfd_round_rate() 84 tmp *= 18; in clk_pfd_round_rate() [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | ptrace32.c | 62 u32 tmp; in compat_arch_ptrace() local 72 copied = access_process_vm(child, (u64)addrOthers, &tmp, in compat_arch_ptrace() 73 sizeof(tmp), 0); in compat_arch_ptrace() 74 if (copied != sizeof(tmp)) in compat_arch_ptrace() 76 ret = put_user(tmp, (u32 __user *) (unsigned long) data); in compat_arch_ptrace() 84 unsigned int tmp; in compat_arch_ptrace() local 91 tmp = regs->regs[addr]; in compat_arch_ptrace() 96 tmp = -1; in compat_arch_ptrace() 106 tmp = get_fpr32(&fregs[(addr & ~1) - FPR_BASE], in compat_arch_ptrace() 110 tmp = get_fpr32(&fregs[addr - FPR_BASE], 0); in compat_arch_ptrace() [all …]
|
/linux-4.4.14/drivers/video/fbdev/via/ |
D | accel.c | 58 u32 ge_cmd = 0, tmp, i; in hw_bitblt_1() local 104 tmp = src_x | (src_y << 16); in hw_bitblt_1() 105 writel(tmp, engine + 0x08); in hw_bitblt_1() 113 tmp = dst_x | (dst_y << 16); in hw_bitblt_1() 114 writel(tmp, engine + 0x0C); in hw_bitblt_1() 121 tmp = (width - 1) | ((height - 1) << 16); in hw_bitblt_1() 122 writel(tmp, engine + 0x10); in hw_bitblt_1() 131 tmp = src_mem ? 0 : src_addr; in hw_bitblt_1() 134 "address %X\n", tmp); in hw_bitblt_1() 137 tmp >>= 3; in hw_bitblt_1() [all …]
|
/linux-4.4.14/arch/arm/mach-exynos/ |
D | pm.c | 60 unsigned long tmp; in exynos_cpu_save_register() local 64 : "=r" (tmp) : : "cc"); in exynos_cpu_save_register() 66 save_arm_register[0] = tmp; in exynos_cpu_save_register() 70 : "=r" (tmp) : : "cc"); in exynos_cpu_save_register() 72 save_arm_register[1] = tmp; in exynos_cpu_save_register() 77 unsigned long tmp; in exynos_cpu_restore_register() local 80 tmp = save_arm_register[0]; in exynos_cpu_restore_register() 83 : : "r" (tmp) in exynos_cpu_restore_register() 87 tmp = save_arm_register[1]; in exynos_cpu_restore_register() 90 : : "r" (tmp) in exynos_cpu_restore_register() [all …]
|
D | suspend.c | 356 unsigned int tmp; in exynos3250_pm_prepare() local 361 tmp = pmu_raw_readl(EXYNOS3_ARM_L2_OPTION); in exynos3250_pm_prepare() 362 tmp &= ~EXYNOS5_OPTION_USE_RETENTION; in exynos3250_pm_prepare() 363 pmu_raw_writel(tmp, EXYNOS3_ARM_L2_OPTION); in exynos3250_pm_prepare() 373 unsigned int tmp; in exynos5420_pm_prepare() local 397 tmp = pmu_raw_readl(EXYNOS5_ARM_L2_OPTION); in exynos5420_pm_prepare() 398 tmp &= ~EXYNOS5_USE_RETENTION; in exynos5420_pm_prepare() 399 pmu_raw_writel(tmp, EXYNOS5_ARM_L2_OPTION); in exynos5420_pm_prepare() 401 tmp = pmu_raw_readl(EXYNOS5420_SFR_AXI_CGDIS1); in exynos5420_pm_prepare() 402 tmp |= EXYNOS5420_UFS; in exynos5420_pm_prepare() [all …]
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | ptrace.c | 82 unsigned long tmp; in user_enable_single_step() local 90 tmp = get_reg(child, PT_ERP) & ~1; in user_enable_single_step() 91 put_reg(child, PT_SPC, tmp); in user_enable_single_step() 93 tmp = get_reg(child, PT_CCS) | SBIT_USER; in user_enable_single_step() 94 put_reg(child, PT_CCS, tmp); in user_enable_single_step() 102 unsigned long tmp; in user_disable_single_step() local 104 tmp = get_reg(child, PT_CCS) & ~SBIT_USER; in user_disable_single_step() 105 put_reg(child, PT_CCS, tmp); in user_disable_single_step() 137 unsigned long tmp; in arch_ptrace() local 148 tmp = *(unsigned long*)addr; in arch_ptrace() [all …]
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
D | sti_vtg.c | 152 u32 tmp; in vtg_set_mode() local 167 tmp = (mode->hsync_end - mode->hsync_start + HDMI_DELAY) << 16; in vtg_set_mode() 168 tmp |= HDMI_DELAY; in vtg_set_mode() 169 writel(tmp, vtg->regs + VTG_H_HD_1); in vtg_set_mode() 171 tmp = (mode->vsync_end - mode->vsync_start + 1) << 16; in vtg_set_mode() 172 tmp |= 1; in vtg_set_mode() 173 writel(tmp, vtg->regs + VTG_TOP_V_VD_1); in vtg_set_mode() 174 writel(tmp, vtg->regs + VTG_BOT_V_VD_1); in vtg_set_mode() 176 tmp = HDMI_DELAY << 16; in vtg_set_mode() 177 tmp |= HDMI_DELAY; in vtg_set_mode() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | prng.c | 113 int rem, tmp; in cfs_get_random_bytes() local 119 get_random_bytes(&tmp, sizeof(tmp)); in cfs_get_random_bytes() 120 tmp ^= cfs_rand(); in cfs_get_random_bytes() 121 memcpy(buf, &tmp, rem); in cfs_get_random_bytes() 127 get_random_bytes(&tmp, sizeof(tmp)); in cfs_get_random_bytes() 128 *p = cfs_rand() ^ tmp; in cfs_get_random_bytes() 134 get_random_bytes(&tmp, sizeof(tmp)); in cfs_get_random_bytes() 135 tmp ^= cfs_rand(); in cfs_get_random_bytes() 136 memcpy(buf, &tmp, size); in cfs_get_random_bytes()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | asm.h | 44 .macro save_min sr, tmp=lr 46 mfsr \tmp, \sr 48 st.w --sp, \tmp 51 .macro restore_min sr, tmp=lr 52 ld.w \tmp, sp++ 53 mtsr \sr, \tmp 57 .macro save_half sr, tmp=lr 61 mfsr \tmp, \sr 62 st.w --sp, \tmp 65 .macro restore_half sr, tmp=lr [all …]
|
D | bitops.h | 32 unsigned long tmp; in set_bit() local 41 : "=&r"(tmp), "=o"(*p) in set_bit() 52 : "=&r"(tmp), "=o"(*p) in set_bit() 71 unsigned long tmp; in clear_bit() local 80 : "=&r"(tmp), "=o"(*p) in clear_bit() 91 : "=&r"(tmp), "=o"(*p) in clear_bit() 110 unsigned long tmp; in change_bit() local 118 : "=&r"(tmp), "=o"(*p) in change_bit() 135 unsigned long tmp, old; in test_and_set_bit() local 145 : "=&r"(tmp), "=o"(*p), "=&r"(old) in test_and_set_bit() [all …]
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-medusa-video.c | 39 u32 tmp = 0; in medusa_enable_bluefield_output() local 77 value = cx25821_i2c_read(&dev->i2c_bus[0], out_ctrl, &tmp); in medusa_enable_bluefield_output() 83 value = cx25821_i2c_read(&dev->i2c_bus[0], out_ctrl_ns, &tmp); in medusa_enable_bluefield_output() 95 u32 tmp = 0; in medusa_initialize_ntsc() local 100 MODE_CTRL + (0x200 * i), &tmp); in medusa_initialize_ntsc() 109 HORIZ_TIM_CTRL + (0x200 * i), &tmp); in medusa_initialize_ntsc() 116 VERT_TIM_CTRL + (0x200 * i), &tmp); in medusa_initialize_ntsc() 128 OUT_CTRL_NS + (0x200 * i), &tmp); in medusa_initialize_ntsc() 136 OUT_CTRL1 + (0x200 * i), &tmp); in medusa_initialize_ntsc() 147 MISC_TIM_CTRL + (0x200 * i), &tmp); in medusa_initialize_ntsc() [all …]
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | gdb-io-ttysm.c | 40 int tmp; in gdbstub_io_init() local 68 tmp = *gdbstub_port->rx_icr; in gdbstub_io_init() 86 tmp = *gdbstub_port->_control; in gdbstub_io_init() 101 unsigned xdiv, tmp; in gdbstub_io_set_baud() local 118 tmxbr = tmp = (ioclk / (baud * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud() 119 if (tmp > 0 && tmp <= 65535) in gdbstub_io_set_baud() 123 tmxbr = tmp = (ioclk / (baud * 8 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud() 124 if (tmp > 0 && tmp <= 65535) in gdbstub_io_set_baud() 128 tmxbr = tmp = (ioclk / (baud * 32 * xdiv) + 4) / 8 - 1; in gdbstub_io_set_baud() 129 if (tmp > 0 && tmp <= 65535) in gdbstub_io_set_baud() [all …]
|
D | irq.c | 44 u16 tmp; in mn10300_cpupic_ack() local 48 tmp = GxICR(irq); in mn10300_cpupic_ack() 56 u16 tmp; in __mask_and_set_icr() local 59 tmp = GxICR(irq); in __mask_and_set_icr() 60 GxICR(irq) = (tmp & mask) | set; in __mask_and_set_icr() 61 tmp = GxICR(irq); in __mask_and_set_icr() 75 u16 tmp; in mn10300_cpupic_mask_ack() local 80 tmp = GxICR(irq); in mn10300_cpupic_mask_ack() 81 GxICR(irq) = (tmp & GxICR_LEVEL) | GxICR_DETECT; in mn10300_cpupic_mask_ack() 82 tmp = GxICR(irq); in mn10300_cpupic_mask_ack() [all …]
|
D | mn10300-watchdog.c | 51 irq_cpustat_t tmp[1]; in check_watchdog() local 55 memcpy(tmp, irq_stat, sizeof(tmp)); in check_watchdog() 60 if (nmi_count(0) - tmp[0].__nmi_count <= 5) { in check_watchdog() 78 unsigned tmp; in setup_watchdog() local 92 tmp = WDCTR; in setup_watchdog() 94 tmp = __muldiv64u(1 << (16 + ctr * 2), 1000000, MN10300_WDCLK); in setup_watchdog() 95 tmp = 1000000000 / tmp; in setup_watchdog() 96 watchdog_hz = (tmp + 500) / 1000; in setup_watchdog() 137 u8 wdt, tmp; in watchdog_interrupt() local 141 tmp = WDCTR; in watchdog_interrupt() [all …]
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | cmpxchg.h | 27 unsigned long tmp; in __xchg() local 31 tmp = __raw_xchg_1_asm(ptr, x); in __xchg() 34 tmp = __raw_xchg_2_asm(ptr, x); in __xchg() 37 tmp = __raw_xchg_4_asm(ptr, x); in __xchg() 41 return tmp; in __xchg() 52 unsigned long tmp; in __cmpxchg() local 56 tmp = __raw_cmpxchg_1_asm(ptr, new, old); in __cmpxchg() 59 tmp = __raw_cmpxchg_2_asm(ptr, new, old); in __cmpxchg() 62 tmp = __raw_cmpxchg_4_asm(ptr, new, old); in __cmpxchg() 66 return tmp; in __cmpxchg() [all …]
|
/linux-4.4.14/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.c | 46 u32 isr, imask, tmp; in ctrl_handle_irq() local 53 tmp = readl_relaxed(ctrl->reg_base + SPU_IRQ_ISR); in ctrl_handle_irq() 54 if (tmp & isr) in ctrl_handle_irq() 134 u32 tmp; in dmafetch_set_fmt() local 136 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt() 137 tmp &= ~dma_mask(overlay_is_vid(overlay)); in dmafetch_set_fmt() 138 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); in dmafetch_set_fmt() 139 writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt() 176 u32 tmp; in dmafetch_onoff() local 180 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff() [all …]
|
D | mmp_spi.c | 46 u32 tmp; in lcd_spi_write() local 68 tmp = readl_relaxed(reg_base + LCD_SPU_SPI_CTRL); in lcd_spi_write() 69 tmp &= ~CFG_SPI_START_MASK; in lcd_spi_write() 70 tmp |= CFG_SPI_START(1); in lcd_spi_write() 71 writel(tmp, reg_base + LCD_SPU_SPI_CTRL); in lcd_spi_write() 84 tmp = readl_relaxed(reg_base + LCD_SPU_SPI_CTRL); in lcd_spi_write() 85 tmp &= ~CFG_SPI_START_MASK; in lcd_spi_write() 86 tmp |= CFG_SPI_START(0); in lcd_spi_write() 87 writel_relaxed(tmp, reg_base + LCD_SPU_SPI_CTRL); in lcd_spi_write() 98 u32 tmp; in lcd_spi_setup() local [all …]
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | hwio.h | 172 __le32 tmp; in cw1200_reg_read_16() local 174 i = cw1200_reg_read(priv, addr, &tmp, sizeof(tmp)); in cw1200_reg_read_16() 175 *val = le32_to_cpu(tmp) & 0xfffff; in cw1200_reg_read_16() 182 __le32 tmp = cpu_to_le32((u32)val); in cw1200_reg_write_16() local 183 return cw1200_reg_write(priv, addr, &tmp, sizeof(tmp)); in cw1200_reg_write_16() 189 __le32 tmp; in cw1200_reg_read_32() local 190 int i = cw1200_reg_read(priv, addr, &tmp, sizeof(tmp)); in cw1200_reg_read_32() 191 *val = le32_to_cpu(tmp); in cw1200_reg_read_32() 198 __le32 tmp = cpu_to_le32(val); in cw1200_reg_write_32() local 199 return cw1200_reg_write(priv, addr, &tmp, sizeof(val)); in cw1200_reg_write_32() [all …]
|
/linux-4.4.14/arch/s390/numa/ |
D | toptree.c | 70 struct toptree *child, *tmp; in toptree_free() local 74 toptree_for_each_child_safe(child, tmp, cand) in toptree_free() 134 struct toptree *child, *tmp; in toptree_move_children() local 136 toptree_for_each_child_safe(child, tmp, cand) in toptree_move_children() 150 struct toptree *child, *tmp, *cand_copy; in toptree_unify() local 157 toptree_for_each_child_safe(child, tmp, cand) { in toptree_unify() 191 struct toptree *stack_target, *real_insert_point, *ptr, *tmp; in toptree_move() local 204 tmp = stack_target; in toptree_move() 207 toptree_insert(tmp, stack_target); in toptree_move() 250 struct toptree *child, *tmp; in toptree_first() local [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | g84.c | 123 u32 tmp; in g84_gr_tlb_flush() local 132 for (tmp = nvkm_rd32(device, 0x400380); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush() 133 if ((tmp & 7) == 1) in g84_gr_tlb_flush() 137 for (tmp = nvkm_rd32(device, 0x400384); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush() 138 if ((tmp & 7) == 1) in g84_gr_tlb_flush() 142 for (tmp = nvkm_rd32(device, 0x400388); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush() 143 if ((tmp & 7) == 1) in g84_gr_tlb_flush() 152 tmp = nvkm_rd32(device, 0x400700); in g84_gr_tlb_flush() 153 nvkm_snprintbf(status, sizeof(status), nv50_gr_status, tmp); in g84_gr_tlb_flush() 154 nvkm_error(subdev, "PGRAPH_STATUS %08x [%s]\n", tmp, status); in g84_gr_tlb_flush()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | vfpmacros.h | 20 .macro VFPFLDMIA, base, tmp in toolkits() 28 ldr \tmp, =elf_hwcap @ may not have MVFR regs 29 ldr \tmp, [\tmp, #0] 30 tst \tmp, #HWCAP_VFPD32 34 VFPFMRX \tmp, MVFR0 @ Media and VFP Feature Register 0 35 and \tmp, \tmp, #MVFR0_A_SIMD_MASK @ A_SIMD field 36 cmp \tmp, #2 @ 32 x 64bit registers? 44 .macro VFPFSTMIA, base, tmp 52 ldr \tmp, =elf_hwcap @ may not have MVFR regs 53 ldr \tmp, [\tmp, #0] [all …]
|
D | assembler.h | 213 .macro inc_preempt_count, ti, tmp 214 ldr \tmp, [\ti, #TI_PREEMPT] @ get preempt count 215 add \tmp, \tmp, #1 @ increment it 216 str \tmp, [\ti, #TI_PREEMPT] 219 .macro dec_preempt_count, ti, tmp 220 ldr \tmp, [\ti, #TI_PREEMPT] @ get preempt count 221 sub \tmp, \tmp, #1 @ decrement it 222 str \tmp, [\ti, #TI_PREEMPT] 225 .macro dec_preempt_count_ti, ti, tmp 227 dec_preempt_count \ti, \tmp [all …]
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | raw_io.h | 133 unsigned int tmp; in raw_insw() local 136 tmp = (nr & 15) - 1; in raw_insw() 139 : "=a" (buf), "=d" (tmp) in raw_insw() 141 "1" (tmp)); in raw_insw() 144 tmp = (nr >> 4) - 1; in raw_insw() 164 : "=a" (buf), "=d" (tmp) in raw_insw() 166 "1" (tmp)); in raw_insw() 173 unsigned int tmp; in raw_outsw() local 176 tmp = (nr & 15) - 1; in raw_outsw() 179 : "=a" (buf), "=d" (tmp) in raw_outsw() [all …]
|
D | uaccess_mm.h | 205 #define __constant_copy_from_user_asm(res, to, from, tmp, n, s1, s2, s3)\ argument 235 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \ 241 unsigned long res = 0, tmp; in __constant_copy_from_user() local 251 __constant_copy_from_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_from_user() 257 __constant_copy_from_user_asm(res, to, from, tmp, 5, l, b,); in __constant_copy_from_user() 260 __constant_copy_from_user_asm(res, to, from, tmp, 6, l, w,); in __constant_copy_from_user() 263 __constant_copy_from_user_asm(res, to, from, tmp, 7, l, w, b); in __constant_copy_from_user() 266 __constant_copy_from_user_asm(res, to, from, tmp, 8, l, l,); in __constant_copy_from_user() 269 __constant_copy_from_user_asm(res, to, from, tmp, 9, l, l, b); in __constant_copy_from_user() 272 __constant_copy_from_user_asm(res, to, from, tmp, 10, l, l, w); in __constant_copy_from_user() [all …]
|
/linux-4.4.14/arch/mn10300/unit-asb2364/include/unit/ |
D | timex.h | 46 u16 tmp; in stop_jiffies_counter() local 48 tmp = TMTMD; in stop_jiffies_counter() 53 u32 tmp; in reload_jiffies_counter() local 56 tmp = TMTBR; in reload_jiffies_counter() 60 tmp = TMTMD; in reload_jiffies_counter() 76 u8 tmp; in stop_jiffies_counter1() local 79 tmp = TM4MD; in stop_jiffies_counter1() 80 tmp = TM5MD; in stop_jiffies_counter1() 85 u32 tmp; in reload_jiffies_counter1() local 88 tmp = TM45BR; in reload_jiffies_counter1() [all …]
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-cpld.c | 40 u32 tmp; in cpld_info_ver3() local 79 tmp = (rd * 33 * 1000) / (483 * 10); in cpld_info_ver3() 80 cobalt_info("\t\tVDD 3V3: %u,%03uV\n", tmp / 1000, tmp % 1000); in cpld_info_ver3() 82 tmp = (rd * 74 * 2197) / (27 * 1000); in cpld_info_ver3() 83 cobalt_info("\t\tADC ch3 5V: %u,%03uV\n", tmp / 1000, tmp % 1000); in cpld_info_ver3() 85 tmp = (rd * 74 * 2197) / (47 * 1000); in cpld_info_ver3() 86 cobalt_info("\t\tADC ch4 3V: %u,%03uV\n", tmp / 1000, tmp % 1000); in cpld_info_ver3() 88 tmp = (rd * 57 * 2197) / (47 * 1000); in cpld_info_ver3() 89 cobalt_info("\t\tADC ch5 2V5: %u,%03uV\n", tmp / 1000, tmp % 1000); in cpld_info_ver3() 91 tmp = (rd * 2197) / 1000; in cpld_info_ver3() [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | NCR5380.c | 917 struct scsi_cmnd *tmp; in NCR5380_queue_command_lck() local 951 …for (tmp = (struct scsi_cmnd *) hostdata->issue_queue; tmp->host_scribble; tmp = (struct scsi_cmnd… in NCR5380_queue_command_lck() 952 LIST(cmd, tmp); in NCR5380_queue_command_lck() 953 tmp->host_scribble = (unsigned char *) cmd; in NCR5380_queue_command_lck() 982 struct scsi_cmnd *tmp, *prev; in DEF_SCSI_QCMD() local 995 …for (tmp = (struct scsi_cmnd *) hostdata->issue_queue, prev = NULL; tmp; prev = tmp, tmp = (struct… in DEF_SCSI_QCMD() 997 if (prev != tmp) in DEF_SCSI_QCMD() 998 …MAIN tmp=%p target=%d busy=%d lun=%llu\n", tmp, tmp->device->id, hostdata->busy[tmp->device->i… in DEF_SCSI_QCMD() 1000 if (!(hostdata->busy[tmp->device->id] & in DEF_SCSI_QCMD() 1001 (1 << (u8)(tmp->device->lun & 0xff)))) { in DEF_SCSI_QCMD() [all …]
|
D | atari_NCR5380.c | 831 struct scsi_cmnd *tmp; in NCR5380_queue_command() local 890 for (tmp = (struct scsi_cmnd *)hostdata->issue_queue; in NCR5380_queue_command() 891 NEXT(tmp); tmp = NEXT(tmp)) in NCR5380_queue_command() 893 LIST(cmd, tmp); in NCR5380_queue_command() 894 SET_NEXT(tmp, cmd); in NCR5380_queue_command() 943 struct scsi_cmnd *tmp, *prev; in NCR5380_main() local 984 for (tmp = (struct scsi_cmnd *) hostdata->issue_queue, prev = NULL; in NCR5380_main() 985 tmp && (tmp != prev); prev = tmp, tmp = NEXT(tmp)) in NCR5380_main() 988 if ((tmp == prev) && tmp) in NCR5380_main() 992 for (tmp = (struct scsi_cmnd *) hostdata->issue_queue, in NCR5380_main() [all …]
|
/linux-4.4.14/drivers/parport/ |
D | share.c | 435 struct parport *tmp; in parport_register_port() local 441 tmp = kzalloc(sizeof(struct parport), GFP_KERNEL); in parport_register_port() 442 if (!tmp) { in parport_register_port() 448 tmp->base = base; in parport_register_port() 449 tmp->irq = irq; in parport_register_port() 450 tmp->dma = dma; in parport_register_port() 451 tmp->muxport = tmp->daisy = tmp->muxsel = -1; in parport_register_port() 452 tmp->modes = 0; in parport_register_port() 453 INIT_LIST_HEAD(&tmp->list); in parport_register_port() 454 tmp->devices = tmp->cad = NULL; in parport_register_port() [all …]
|
/linux-4.4.14/drivers/spi/ |
D | spi-bcm53xx.c | 44 u32 tmp; in bcm53xxspi_wait() local 49 tmp = bcm53xxspi_read(b53spi, B53SPI_MSPI_SPCR2); in bcm53xxspi_wait() 50 if (!(tmp & B53SPI_MSPI_SPCR2_SPE)) in bcm53xxspi_wait() 55 if (tmp & B53SPI_MSPI_SPCR2_SPE) in bcm53xxspi_wait() 61 tmp = bcm53xxspi_read(b53spi, B53SPI_MSPI_MSPI_STATUS); in bcm53xxspi_wait() 62 if (tmp & B53SPI_MSPI_MSPI_STATUS_SPIF) { in bcm53xxspi_wait() 82 u32 tmp; in bcm53xxspi_buf_write() local 92 tmp = B53SPI_CDRAM_CONT | B53SPI_CDRAM_PCS_DISABLE_ALL | in bcm53xxspi_buf_write() 95 tmp &= ~B53SPI_CDRAM_CONT; in bcm53xxspi_buf_write() 96 tmp &= ~0x1; in bcm53xxspi_buf_write() [all …]
|
/linux-4.4.14/drivers/media/common/b2c2/ |
D | flexcop-eeprom.c | 63 u8 tmp[8]; 66 tmp[0] = mac[0]; 67 tmp[1] = mac[1]; 68 tmp[2] = mac[2]; 69 tmp[3] = mac[5]; 70 tmp[4] = mac[6]; 71 tmp[5] = mac[7]; 73 tmp[0] = mac[0]; 74 tmp[1] = mac[1]; 75 tmp[2] = mac[2]; [all …]
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_fs.c | 227 char *tmp; in qsfp_1_read() local 230 tmp = kmalloc(PAGE_SIZE, GFP_KERNEL); in qsfp_1_read() 231 if (!tmp) in qsfp_1_read() 234 ret = qib_qsfp_dump(dd->pport, tmp, PAGE_SIZE); in qsfp_1_read() 236 ret = simple_read_from_buffer(buf, count, ppos, tmp, ret); in qsfp_1_read() 237 kfree(tmp); in qsfp_1_read() 248 char *tmp; in qsfp_2_read() local 254 tmp = kmalloc(PAGE_SIZE, GFP_KERNEL); in qsfp_2_read() 255 if (!tmp) in qsfp_2_read() 258 ret = qib_qsfp_dump(dd->pport + 1, tmp, PAGE_SIZE); in qsfp_2_read() [all …]
|
/linux-4.4.14/drivers/ssb/ |
D | driver_chipcommon.c | 47 u32 tmp; in ssb_chipco_set_clockmode() local 74 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in ssb_chipco_set_clockmode() 75 tmp |= SSB_CHIPCO_SLOWCLKCTL_FSLOW; in ssb_chipco_set_clockmode() 76 chipco_write32(cc, SSB_CHIPCO_SLOWCLKCTL, tmp); in ssb_chipco_set_clockmode() 81 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in ssb_chipco_set_clockmode() 82 tmp &= ~SSB_CHIPCO_SLOWCLKCTL_FSLOW; in ssb_chipco_set_clockmode() 83 tmp |= SSB_CHIPCO_SLOWCLKCTL_IPLL; in ssb_chipco_set_clockmode() 84 chipco_write32(cc, SSB_CHIPCO_SLOWCLKCTL, tmp); in ssb_chipco_set_clockmode() 94 tmp = chipco_read32(cc, SSB_CHIPCO_SLOWCLKCTL); in ssb_chipco_set_clockmode() 95 tmp &= ~SSB_CHIPCO_SLOWCLKCTL_FSLOW; in ssb_chipco_set_clockmode() [all …]
|
D | driver_pcicore.c | 75 u32 tmp; in get_cfgspace_addr() local 86 tmp = SSB_PCICORE_SBTOPCI_CFG0; in get_cfgspace_addr() 87 tmp |= ((1 << (dev + 16)) & SSB_PCICORE_SBTOPCI1_MASK); in get_cfgspace_addr() 88 pcicore_write32(pc, SSB_PCICORE_SBTOPCI1, tmp); in get_cfgspace_addr() 396 u32 tmp; in pcicore_is_in_hostmode() local 417 return !mips_busprobe32(tmp, (bus->mmio + (pc->dev->core_index * SSB_CORE_SIZE))); in pcicore_is_in_hostmode() 427 u16 tmp = pcicore_read16(pc, SSB_PCICORE_SPROM(0)); in ssb_pcicore_fix_sprom_core_index() local 428 if (((tmp & 0xF000) >> 12) != pc->dev->core_index) { in ssb_pcicore_fix_sprom_core_index() 429 tmp &= ~0xF000; in ssb_pcicore_fix_sprom_core_index() 430 tmp |= (pc->dev->core_index << 12); in ssb_pcicore_fix_sprom_core_index() [all …]
|
/linux-4.4.14/arch/m68k/kernel/ |
D | ptrace.c | 128 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in singlestep_disable() local 129 put_reg(child, PT_SR, tmp); in singlestep_disable() 143 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_single_step() local 144 put_reg(child, PT_SR, tmp | T1_BIT); in user_enable_single_step() 151 unsigned long tmp = get_reg(child, PT_SR) & ~TRACE_BITS; in user_enable_block_step() local 152 put_reg(child, PT_SR, tmp | T0_BIT); in user_enable_block_step() 164 unsigned long tmp; in arch_ptrace() local 176 tmp = get_reg(child, regno); in arch_ptrace() 178 tmp = child->thread.fp[regno - 21]; in arch_ptrace() 183 tmp = ((tmp & 0xffff0000) << 15) | in arch_ptrace() [all …]
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_fs.c | 133 char *tmp; in flash_read() local 150 tmp = kmalloc(count, GFP_KERNEL); in flash_read() 151 if (!tmp) { in flash_read() 157 if (ipath_eeprom_read(dd, pos, tmp, count)) { in flash_read() 163 if (copy_to_user(buf, tmp, count)) { in flash_read() 172 kfree(tmp); in flash_read() 184 char *tmp; in flash_write() local 198 tmp = memdup_user(buf, count); in flash_write() 199 if (IS_ERR(tmp)) in flash_write() 200 return PTR_ERR(tmp); in flash_write() [all …]
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_bit.c | 53 uint tmp; in xfs_contig_bits() local 61 tmp = *p++; in xfs_contig_bits() 63 tmp |= (~0U >> (NBWORD-start_bit)); in xfs_contig_bits() 64 if (tmp != ~0U) in xfs_contig_bits() 70 if ((tmp = *p++) != ~0U) in xfs_contig_bits() 77 return result + ffz(tmp) - start_bit; in xfs_contig_bits() 92 uint tmp; in xfs_next_bit() local 101 tmp = *p++; in xfs_next_bit() 103 tmp &= (~0U << start_bit); in xfs_next_bit() 104 if (tmp != 0U) in xfs_next_bit() [all …]
|
/linux-4.4.14/arch/m68k/mm/ |
D | memory.c | 65 unsigned char tmp; in get_pointer_table() local 91 for (tmp = 1, off = 0; (mask & tmp) == 0; tmp <<= 1, off += PTABLE_SIZE) in get_pointer_table() 93 PD_MARKBITS(dp) = mask & ~tmp; in get_pointer_table() 208 int tmp; in cache_clear() local 215 if ((tmp = -paddr & (PAGE_SIZE - 1))) { in cache_clear() 217 if ((len -= tmp) <= 0) in cache_clear() 219 paddr += tmp; in cache_clear() 221 tmp = PAGE_SIZE; in cache_clear() 223 while ((len -= tmp) >= 0) { in cache_clear() 225 paddr += tmp; in cache_clear() [all …]
|
/linux-4.4.14/drivers/tty/serial/ |
D | lpc32xx_hs.c | 250 u32 tmp; in __serial_uart_flush() local 255 tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); in __serial_uart_flush() 261 unsigned int tmp, flag; in __serial_lpc32xx_rx() local 264 tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); in __serial_lpc32xx_rx() 265 while (!(tmp & LPC32XX_HSU_RX_EMPTY)) { in __serial_lpc32xx_rx() 269 if (tmp & LPC32XX_HSU_ERROR_DATA) { in __serial_lpc32xx_rx() 278 tty_insert_flip_char(tport, (tmp & 0xFF), flag); in __serial_lpc32xx_rx() 280 tmp = readl(LPC32XX_HSUART_FIFO(port->membase)); in __serial_lpc32xx_rx() 291 unsigned int tmp; in __serial_lpc32xx_tx() local 319 tmp = readl(LPC32XX_HSUART_CTRL(port->membase)); in __serial_lpc32xx_tx() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | ptrace32.c | 66 u32 tmp; in compat_arch_ptrace() local 76 copied = access_process_vm(child, (u64)addrOthers, &tmp, in compat_arch_ptrace() 77 sizeof(tmp), 0); in compat_arch_ptrace() 78 if (copied != sizeof(tmp)) in compat_arch_ptrace() 80 ret = put_user(tmp, (u32 __user *)data); in compat_arch_ptrace() 87 unsigned long tmp; in compat_arch_ptrace() local 97 ret = ptrace_get_reg(child, index, &tmp); in compat_arch_ptrace() 107 tmp = ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace() 110 ret = put_user((unsigned int)tmp, (u32 __user *)data); in compat_arch_ptrace() 125 u64 tmp; in compat_arch_ptrace() local [all …]
|
/linux-4.4.14/arch/score/kernel/ |
D | ptrace.c | 178 unsigned int tmp, tmp2; in user_enable_single_step() local 188 tmp = epc_insn & 0xFFE; in user_enable_single_step() 189 epc = (epc & 0xFFFFF000) | tmp; in user_enable_single_step() 192 tmp = (epc_insn & 0xFF) << 1; in user_enable_single_step() 193 tmp = tmp << 23; in user_enable_single_step() 194 tmp = (unsigned int)((int) tmp >> 23); in user_enable_single_step() 195 far_epc = epc + tmp; in user_enable_single_step() 199 tmp = (epc_insn >> 4) & 0xF; in user_enable_single_step() 200 far_epc = regs->regs[tmp]; in user_enable_single_step() 206 tmp = epc_insn & 0x03FFFFFE; in user_enable_single_step() [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | item.h | 80 u16 tmp; in __mlxsw_item_get16() local 82 tmp = be16_to_cpu(b[offset]); in __mlxsw_item_get16() 83 tmp >>= item->shift; in __mlxsw_item_get16() 84 tmp &= GENMASK(item->size.bits - 1, 0); in __mlxsw_item_get16() 86 tmp <<= item->shift; in __mlxsw_item_get16() 87 return tmp; in __mlxsw_item_get16() 97 u16 tmp; in __mlxsw_item_set16() local 102 tmp = be16_to_cpu(b[offset]); in __mlxsw_item_set16() 103 tmp &= ~mask; in __mlxsw_item_set16() 104 tmp |= val; in __mlxsw_item_set16() [all …]
|
/linux-4.4.14/drivers/media/tuners/ |
D | fc0013.c | 197 u8 tmp; in fc0013_set_vhf_track() local 199 ret = fc0013_readreg(priv, 0x1d, &tmp); in fc0013_set_vhf_track() 202 tmp &= 0xe3; in fc0013_set_vhf_track() 204 ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c); in fc0013_set_vhf_track() 206 ret = fc0013_writereg(priv, 0x1d, tmp | 0x18); in fc0013_set_vhf_track() 208 ret = fc0013_writereg(priv, 0x1d, tmp | 0x14); in fc0013_set_vhf_track() 210 ret = fc0013_writereg(priv, 0x1d, tmp | 0x10); in fc0013_set_vhf_track() 212 ret = fc0013_writereg(priv, 0x1d, tmp | 0x0c); in fc0013_set_vhf_track() 214 ret = fc0013_writereg(priv, 0x1d, tmp | 0x08); in fc0013_set_vhf_track() 216 ret = fc0013_writereg(priv, 0x1d, tmp | 0x04); in fc0013_set_vhf_track() [all …]
|
/linux-4.4.14/include/linux/unaligned/ |
D | memmove.h | 11 u16 tmp; in __get_unaligned_memmove16() local 12 memmove(&tmp, p, 2); in __get_unaligned_memmove16() 13 return tmp; in __get_unaligned_memmove16() 18 u32 tmp; in __get_unaligned_memmove32() local 19 memmove(&tmp, p, 4); in __get_unaligned_memmove32() 20 return tmp; in __get_unaligned_memmove32() 25 u64 tmp; in __get_unaligned_memmove64() local 26 memmove(&tmp, p, 8); in __get_unaligned_memmove64() 27 return tmp; in __get_unaligned_memmove64()
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | xmit.c | 375 s32 tmp; in b43legacy_rssi_postprocess() local 380 tmp = in_rssi; in b43legacy_rssi_postprocess() 381 if (tmp > 127) in b43legacy_rssi_postprocess() 382 tmp -= 256; in b43legacy_rssi_postprocess() 383 tmp *= 73; in b43legacy_rssi_postprocess() 384 tmp /= 64; in b43legacy_rssi_postprocess() 386 tmp += 25; in b43legacy_rssi_postprocess() 388 tmp -= 3; in b43legacy_rssi_postprocess() 394 tmp = phy->nrssi_lt[in_rssi]; in b43legacy_rssi_postprocess() 395 tmp = 31 - tmp; in b43legacy_rssi_postprocess() [all …]
|
/linux-4.4.14/arch/arm64/mm/ |
D | proc-macros.S | 39 .macro dcache_line_size, reg, tmp 40 mrs \tmp, ctr_el0 // read CTR 41 ubfm \tmp, \tmp, #16, #19 // cache line size encoding 43 lsl \reg, \reg, \tmp // actual cache line size 49 .macro icache_line_size, reg, tmp 50 mrs \tmp, ctr_el0 // read CTR 51 and \tmp, \tmp, #0xf // cache line size encoding 53 lsl \reg, \reg, \tmp // actual cache line size
|
/linux-4.4.14/drivers/mmc/host/ |
D | sdhci-pxav2.c | 62 u16 tmp = 0; in pxav2_reset() local 69 tmp = readw(host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); in pxav2_reset() 71 tmp &= ~(SDCLK_DELAY_MASK << SDCLK_DELAY_SHIFT); in pxav2_reset() 72 tmp |= (pdata->clk_delay_cycles & SDCLK_DELAY_MASK) in pxav2_reset() 74 tmp &= ~(SDCLK_SEL_MASK << SDCLK_SEL_SHIFT); in pxav2_reset() 75 tmp |= (1 & SDCLK_SEL_MASK) << SDCLK_SEL_SHIFT; in pxav2_reset() 77 writew(tmp, host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); in pxav2_reset() 81 tmp = readw(host->ioaddr + SD_FIFO_PARAM); in pxav2_reset() 82 tmp &= ~CLK_GATE_SETTING_BITS; in pxav2_reset() 83 writew(tmp, host->ioaddr + SD_FIFO_PARAM); in pxav2_reset() [all …]
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_x25iface.c | 86 ix25_pdata_t *tmp = kmalloc(sizeof(ix25_pdata_t), GFP_KERNEL); in isdn_x25iface_proto_new() local 88 if (tmp) { in isdn_x25iface_proto_new() 89 tmp->magic = ISDN_X25IFACE_MAGIC; in isdn_x25iface_proto_new() 90 tmp->state = WAN_UNCONFIGURED; in isdn_x25iface_proto_new() 93 spin_lock_init(&tmp->priv.lock); in isdn_x25iface_proto_new() 94 tmp->priv.dops = NULL; in isdn_x25iface_proto_new() 95 tmp->priv.net_dev = NULL; in isdn_x25iface_proto_new() 96 tmp->priv.pops = &ix25_pops; in isdn_x25iface_proto_new() 97 tmp->priv.flags = 0; in isdn_x25iface_proto_new() 98 tmp->priv.proto_data = tmp; in isdn_x25iface_proto_new() [all …]
|
/linux-4.4.14/arch/arm/kvm/ |
D | mmio.c | 34 } tmp; in mmio_write_buf() local 38 tmp.byte = data; in mmio_write_buf() 39 datap = &tmp.byte; in mmio_write_buf() 42 tmp.hword = data; in mmio_write_buf() 43 datap = &tmp.hword; in mmio_write_buf() 46 tmp.word = data; in mmio_write_buf() 47 datap = &tmp.word; in mmio_write_buf() 50 tmp.dword = data; in mmio_write_buf() 51 datap = &tmp.dword; in mmio_write_buf() 65 } tmp; in mmio_read_buf() local [all …]
|
/linux-4.4.14/drivers/staging/olpc_dcon/ |
D | olpc_dcon_xo_1_5.c | 52 u_int8_t tmp; in dcon_was_irq() local 55 tmp = inb(VX855_GPI_STATUS_CHG); in dcon_was_irq() 56 return !!(tmp & BIT_GPIO12); in dcon_was_irq() 88 unsigned char tmp; in set_i2c_line() local 93 tmp = inb(0x3c5); in set_i2c_line() 96 tmp |= 0x20; in set_i2c_line() 98 tmp &= ~0x20; in set_i2c_line() 101 tmp |= 0x10; in set_i2c_line() 103 tmp &= ~0x10; in set_i2c_line() 105 tmp |= 0x01; in set_i2c_line() [all …]
|
/linux-4.4.14/drivers/clk/at91/ |
D | clk-smd.c | 36 u32 tmp; in at91sam9x5_clk_smd_recalc_rate() local 41 tmp = pmc_read(pmc, AT91_PMC_SMD); in at91sam9x5_clk_smd_recalc_rate() 42 smddiv = (tmp & AT91_PMC_SMD_DIV) >> SMD_DIV_SHIFT; in at91sam9x5_clk_smd_recalc_rate() 51 unsigned long tmp; in at91sam9x5_clk_smd_round_rate() local 61 tmp = *parent_rate / (div + 1); in at91sam9x5_clk_smd_round_rate() 62 if (bestrate - rate > rate - tmp) in at91sam9x5_clk_smd_round_rate() 63 bestrate = tmp; in at91sam9x5_clk_smd_round_rate() 70 u32 tmp; in at91sam9x5_clk_smd_set_parent() local 76 tmp = pmc_read(pmc, AT91_PMC_SMD) & ~AT91_PMC_SMDS; in at91sam9x5_clk_smd_set_parent() 78 tmp |= AT91_PMC_SMDS; in at91sam9x5_clk_smd_set_parent() [all …]
|
D | clk-main.c | 86 u32 tmp; in clk_main_osc_prepare() local 88 tmp = pmc_read(pmc, AT91_CKGR_MOR) & ~MOR_KEY_MASK; in clk_main_osc_prepare() 89 if (tmp & AT91_PMC_OSCBYPASS) in clk_main_osc_prepare() 92 if (!(tmp & AT91_PMC_MOSCEN)) { in clk_main_osc_prepare() 93 tmp |= AT91_PMC_MOSCEN | AT91_PMC_KEY; in clk_main_osc_prepare() 94 pmc_write(pmc, AT91_CKGR_MOR, tmp); in clk_main_osc_prepare() 110 u32 tmp = pmc_read(pmc, AT91_CKGR_MOR); in clk_main_osc_unprepare() local 112 if (tmp & AT91_PMC_OSCBYPASS) in clk_main_osc_unprepare() 115 if (!(tmp & AT91_PMC_MOSCEN)) in clk_main_osc_unprepare() 118 tmp &= ~(AT91_PMC_KEY | AT91_PMC_MOSCEN); in clk_main_osc_unprepare() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | interval_tree.c | 317 struct interval_node *tmp; in interval_erase_color() local 321 tmp = parent->in_right; in interval_erase_color() 322 if (node_is_red(tmp)) { in interval_erase_color() 323 tmp->in_color = INTERVAL_BLACK; in interval_erase_color() 326 tmp = parent->in_right; in interval_erase_color() 328 if (node_is_black_or_0(tmp->in_left) && in interval_erase_color() 329 node_is_black_or_0(tmp->in_right)) { in interval_erase_color() 330 tmp->in_color = INTERVAL_RED; in interval_erase_color() 334 if (node_is_black_or_0(tmp->in_right)) { in interval_erase_color() 337 o_left = tmp->in_left; in interval_erase_color() [all …]
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-spear-spics.c | 67 u32 tmp; in spics_set_value() local 70 tmp = readl_relaxed(spics->base + spics->perip_cfg); in spics_set_value() 73 tmp &= ~(spics->cs_enable_mask << spics->cs_enable_shift); in spics_set_value() 74 tmp |= offset << spics->cs_enable_shift; in spics_set_value() 78 tmp &= ~(0x1 << spics->cs_value_bit); in spics_set_value() 79 tmp |= value << spics->cs_value_bit; in spics_set_value() 80 writel_relaxed(tmp, spics->base + spics->perip_cfg); in spics_set_value() 99 u32 tmp; in spics_request() local 102 tmp = readl_relaxed(spics->base + spics->perip_cfg); in spics_request() 103 tmp |= 0x1 << spics->sw_enable_bit; in spics_request() [all …]
|
/linux-4.4.14/drivers/gpu/drm/cirrus/ |
D | cirrus_mode.c | 110 u8 tmp; in cirrus_set_start_address() local 117 tmp = RREG8(CRT_DATA); in cirrus_set_start_address() 118 tmp &= 0xf2; in cirrus_set_start_address() 119 tmp |= (addr >> 16) & 0x01; in cirrus_set_start_address() 120 tmp |= (addr >> 15) & 0x0c; in cirrus_set_start_address() 121 WREG_CRT(0x1b, tmp); in cirrus_set_start_address() 123 tmp = RREG8(CRT_DATA); in cirrus_set_start_address() 124 tmp &= 0x7f; in cirrus_set_start_address() 125 tmp |= (addr >> 12) & 0x80; in cirrus_set_start_address() 126 WREG_CRT(0x1d, tmp); in cirrus_set_start_address() [all …]
|
/linux-4.4.14/arch/arc/include/uapi/asm/ |
D | swab.h | 26 unsigned int tmp = x; \ 29 : "=r" (tmp) \ 30 : "r" (tmp)); \ 31 tmp; \ 81 unsigned int tmp = x; \ 85 : "=r" (tmp) \ 86 : "r" (tmp)); \ 87 tmp; \
|
/linux-4.4.14/include/linux/ |
D | rbtree_augmented.h | 141 struct rb_node *tmp = node->rb_left; in __rb_erase_augmented() local 145 if (!tmp) { in __rb_erase_augmented() 161 tmp = parent; in __rb_erase_augmented() 164 tmp->__rb_parent_color = pc = node->__rb_parent_color; in __rb_erase_augmented() 166 __rb_change_child(node, tmp, parent, root); in __rb_erase_augmented() 168 tmp = parent; in __rb_erase_augmented() 172 tmp = child->rb_left; in __rb_erase_augmented() 173 if (!tmp) { in __rb_erase_augmented() 204 successor = tmp; in __rb_erase_augmented() 205 tmp = tmp->rb_left; in __rb_erase_augmented() [all …]
|
/linux-4.4.14/drivers/watchdog/ |
D | alim7101_wdt.c | 95 char tmp; in wdt_timer_ping() local 99 pci_read_config_byte(alim7101_pmu, 0x92, &tmp); in wdt_timer_ping() 101 ALI_7101_WDT, (tmp & ~ALI_WDT_ARM)); in wdt_timer_ping() 103 ALI_7101_WDT, (tmp | ALI_WDT_ARM)); in wdt_timer_ping() 106 ALI_7101_GPIO_O, &tmp); in wdt_timer_ping() 108 ALI_7101_GPIO_O, tmp | 0x20); in wdt_timer_ping() 110 ALI_7101_GPIO_O, tmp & ~0x20); in wdt_timer_ping() 125 char tmp; in wdt_change() local 127 pci_read_config_byte(alim7101_pmu, ALI_7101_WDT, &tmp); in wdt_change() 130 ALI_7101_WDT, (tmp | ALI_WDT_ARM)); in wdt_change() [all …]
|
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
D | io.c | 29 u32 tmp; in wl18xx_top_reg_write() local 36 ret = wlcore_read32(wl, addr, &tmp); in wl18xx_top_reg_write() 40 tmp = (tmp & 0xffff0000) | val; in wl18xx_top_reg_write() 41 ret = wlcore_write32(wl, addr, tmp); in wl18xx_top_reg_write() 43 ret = wlcore_read32(wl, addr - 2, &tmp); in wl18xx_top_reg_write() 47 tmp = (tmp & 0xffff) | (val << 16); in wl18xx_top_reg_write() 48 ret = wlcore_write32(wl, addr - 2, tmp); in wl18xx_top_reg_write()
|
/linux-4.4.14/arch/arm/mach-iop32x/include/mach/ |
D | entry-macro.S | 12 .macro get_irqnr_preamble, base, tmp 13 mrc p15, 0, \tmp, c15, c1, 0 14 orr \tmp, \tmp, #(1 << 6) 15 mcr p15, 0, \tmp, c15, c1, 0 @ Enable cp6 access 16 mrc p15, 0, \tmp, c15, c1, 0 17 mov \tmp, \tmp 21 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
|
/linux-4.4.14/scripts/dtc/libfdt/ |
D | libfdt.h | 992 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local 993 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32() 1027 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local 1028 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64() 1104 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local 1105 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32() 1109 fdt64_t tmp = cpu_to_fdt64(val); in fdt_property_u64() local 1110 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64() 1265 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32() local 1266 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32() [all …]
|
/linux-4.4.14/drivers/clk/mmp/ |
D | clk-gate.c | 32 u32 tmp; in mmp_clk_gate_enable() local 37 tmp = readl(gate->reg); in mmp_clk_gate_enable() 38 tmp &= ~gate->mask; in mmp_clk_gate_enable() 39 tmp |= gate->val_enable; in mmp_clk_gate_enable() 40 writel(tmp, gate->reg); in mmp_clk_gate_enable() 58 u32 tmp; in mmp_clk_gate_disable() local 63 tmp = readl(gate->reg); in mmp_clk_gate_disable() 64 tmp &= ~gate->mask; in mmp_clk_gate_disable() 65 tmp |= gate->val_disable; in mmp_clk_gate_disable() 66 writel(tmp, gate->reg); in mmp_clk_gate_disable() [all …]
|
/linux-4.4.14/tools/lib/ |
D | rbtree.c | 75 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local 93 tmp = gparent->rb_right; in __rb_insert() 94 if (parent != tmp) { /* parent == gparent->rb_left */ in __rb_insert() 95 if (tmp && rb_is_red(tmp)) { in __rb_insert() 109 rb_set_parent_color(tmp, gparent, RB_BLACK); in __rb_insert() 117 tmp = parent->rb_right; in __rb_insert() 118 if (node == tmp) { in __rb_insert() 131 parent->rb_right = tmp = node->rb_left; in __rb_insert() 133 if (tmp) in __rb_insert() 134 rb_set_parent_color(tmp, parent, in __rb_insert() [all …]
|
/linux-4.4.14/arch/arm/mach-iop33x/include/mach/ |
D | entry-macro.S | 12 .macro get_irqnr_preamble, base, tmp 13 mrc p15, 0, \tmp, c15, c1, 0 14 orr \tmp, \tmp, #(1 << 6) 15 mcr p15, 0, \tmp, c15, c1, 0 @ Enable cp6 access 16 mrc p15, 0, \tmp, c15, c1, 0 17 mov \tmp, \tmp 21 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
|
/linux-4.4.14/arch/x86/include/asm/ |
D | rwsem.h | 82 long result, tmp; in __down_read_trylock() local 93 : "+m" (sem->count), "=&a" (result), "=&r" (tmp) in __down_read_trylock() 104 long tmp; in __down_write_nested() local 114 : "+m" (sem->count), "=d" (tmp) in __down_write_nested() 129 long result, tmp; in __down_write_trylock() local 144 : "+m" (sem->count), "=&a" (result), "=&r" (tmp) in __down_write_trylock() 155 long tmp; in __up_read() local 163 : "+m" (sem->count), "=d" (tmp) in __up_read() 173 long tmp; in __up_write() local 181 : "+m" (sem->count), "=d" (tmp) in __up_write()
|
/linux-4.4.14/drivers/media/pci/ttpci/ |
D | ttpci-eeprom.c | 53 u16 tmp = 0xffff; in check_mac_tt() local 56 tmp = (tmp << 8) | ((tmp >> 8) ^ buf[i]); in check_mac_tt() 57 tmp ^= (tmp >> 4) & 0x0f; in check_mac_tt() 58 tmp ^= (tmp << 12) ^ ((tmp & 0xff) << 5); in check_mac_tt() 60 tmp ^= 0xffff; in check_mac_tt() 61 return (((tmp >> 8) ^ buf[8]) | ((tmp & 0xff) ^ buf[9])); in check_mac_tt()
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | bitops.h | 49 unsigned long tmp; in set_bit() local 60 : "=&r" (tmp) in set_bit() 85 unsigned long tmp; in clear_bit() local 97 : "=&r" (tmp) in clear_bit() 121 unsigned long tmp; in change_bit() local 132 : "=&r" (tmp) in change_bit() 155 unsigned long tmp; in test_and_set_bit() local 168 : "=&r" (oldbit), "=&r" (tmp) in test_and_set_bit() 190 unsigned long tmp; in test_and_clear_bit() local 205 : "=&r" (oldbit), "=&r" (tmp), "+r" (mask) in test_and_clear_bit() [all …]
|
D | cmpxchg.h | 20 unsigned long tmp = 0; in __xchg() local 30 : "=&r" (tmp) : "r" (x), "r" (ptr) : "memory"); in __xchg() 36 : "=&r" (tmp) : "r" (x), "r" (ptr) : "memory"); in __xchg() 42 : "=&r" (tmp) : "r" (x), "r" (ptr) : "memory"); in __xchg() 50 : "=&r" (tmp) : "r" (x), "r" (ptr) in __xchg() 64 return (tmp); in __xchg() 74 unsigned long tmp = 0; in __xchg_local() local 83 : "=&r" (tmp) : "r" (x), "r" (ptr) : "memory"); in __xchg_local() 89 : "=&r" (tmp) : "r" (x), "r" (ptr) : "memory"); in __xchg_local() 95 : "=&r" (tmp) : "r" (x), "r" (ptr) : "memory"); in __xchg_local() [all …]
|
/linux-4.4.14/block/partitions/ |
D | amiga.c | 75 char tmp[7 + 10 + 1 + 1]; in amiga_partition() local 78 snprintf(tmp, sizeof(tmp), " RDSK (%d)", blksize * 512); in amiga_partition() 79 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition() 117 char tmp[42]; in amiga_partition() local 122 snprintf(tmp, sizeof(tmp), " (%c%c%c^%c)", in amiga_partition() 126 snprintf(tmp, sizeof(tmp), " (%c%c%c%c)", in amiga_partition() 129 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition() 130 snprintf(tmp, sizeof(tmp), "(res %d spb %d)", in amiga_partition() 133 strlcat(state->pp_buf, tmp, PAGE_SIZE); in amiga_partition()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | spinlock.h | 62 int tmp = ACCESS_ONCE(lock->lock); in __ticket_spin_trylock() local 64 if (!(((tmp >> TICKET_SHIFT) ^ tmp) & TICKET_MASK)) in __ticket_spin_trylock() 65 return ia64_cmpxchg(acq, &lock->lock, tmp, tmp + 1, sizeof (tmp)) == tmp; in __ticket_spin_trylock() 71 unsigned short *p = (unsigned short *)&lock->lock + 1, tmp; in __ticket_spin_unlock() local 73 asm volatile ("ld2.bias %0=[%1]" : "=r"(tmp) : "r"(p)); in __ticket_spin_unlock() 74 ACCESS_ONCE(*p) = (tmp + 2) & ~1; in __ticket_spin_unlock() 93 long tmp = ACCESS_ONCE(lock->lock); in __ticket_spin_is_locked() local 95 return !!(((tmp >> TICKET_SHIFT) ^ tmp) & TICKET_MASK); in __ticket_spin_is_locked() 100 long tmp = ACCESS_ONCE(lock->lock); in __ticket_spin_is_contended() local 102 return ((tmp - (tmp >> TICKET_SHIFT)) & TICKET_MASK) > 1; in __ticket_spin_is_contended()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | irqflags.h | 209 #define IRQS_DISABLED(tmp) \ argument 210 mfspr tmp, SPR_INTERRUPT_MASK_K; \ 211 andi tmp, tmp, 1 228 #define IRQ_DISABLE_ALL(tmp) \ argument 229 movei tmp, -1; \ 230 mtspr SPR_INTERRUPT_MASK_SET_K, tmp 250 #define IRQS_DISABLED(tmp) \ argument 251 mfspr tmp, SPR_INTERRUPT_MASK_K_0; \ 252 shri tmp, tmp, INT_MEM_ERROR; \ 253 andi tmp, tmp, 1 [all …]
|
/linux-4.4.14/tools/include/linux/ |
D | rbtree_augmented.h | 143 struct rb_node *child = node->rb_right, *tmp = node->rb_left; in __rb_erase_augmented() local 147 if (!tmp) { in __rb_erase_augmented() 163 tmp = parent; in __rb_erase_augmented() 166 tmp->__rb_parent_color = pc = node->__rb_parent_color; in __rb_erase_augmented() 168 __rb_change_child(node, tmp, parent, root); in __rb_erase_augmented() 170 tmp = parent; in __rb_erase_augmented() 173 tmp = child->rb_left; in __rb_erase_augmented() 174 if (!tmp) { in __rb_erase_augmented() 204 successor = tmp; in __rb_erase_augmented() 205 tmp = tmp->rb_left; in __rb_erase_augmented() [all …]
|
/linux-4.4.14/drivers/pci/ |
D | search.c | 51 struct pci_dev *tmp; in pci_for_each_dma_alias() local 57 tmp = bus->self; in pci_for_each_dma_alias() 68 if (pci_is_pcie(tmp)) { in pci_for_each_dma_alias() 69 switch (pci_pcie_type(tmp)) { in pci_for_each_dma_alias() 75 ret = fn(tmp, in pci_for_each_dma_alias() 76 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias() 82 ret = fn(tmp, in pci_for_each_dma_alias() 83 PCI_DEVID(tmp->bus->number, in pci_for_each_dma_alias() 84 tmp->devfn), data); in pci_for_each_dma_alias() 90 if (tmp->dev_flags & PCI_DEV_FLAG_PCIE_BRIDGE_ALIAS) in pci_for_each_dma_alias() [all …]
|
/linux-4.4.14/arch/sh/kernel/ |
D | io_trapped.c | 186 unsigned long long tmp = 0; in copy_word() local 190 tmp = __raw_readb(src_addr); in copy_word() 193 tmp = __raw_readw(src_addr); in copy_word() 196 tmp = __raw_readl(src_addr); in copy_word() 199 tmp = __raw_readq(src_addr); in copy_word() 205 __raw_writeb(tmp, dst_addr); in copy_word() 208 __raw_writew(tmp, dst_addr); in copy_word() 211 __raw_writel(tmp, dst_addr); in copy_word() 214 __raw_writeq(tmp, dst_addr); in copy_word() 218 return tmp; in copy_word() [all …]
|
/linux-4.4.14/drivers/iio/frequency/ |
D | adf4350.c | 133 u64 tmp; in adf4350_set_freq() local 178 tmp = freq * (u64)st->r1_mod + (st->fpfd >> 1); in adf4350_set_freq() 179 do_div(tmp, st->fpfd); /* Div round closest (n + d/2)/d */ in adf4350_set_freq() 180 st->r0_fract = do_div(tmp, st->r1_mod); in adf4350_set_freq() 181 st->r0_int = tmp; in adf4350_set_freq() 252 unsigned long tmp; in adf4350_write() local 271 tmp = clk_round_rate(st->clk, readin); in adf4350_write() 272 if (tmp != readin) { in adf4350_write() 276 ret = clk_set_rate(st->clk, tmp); in adf4350_write() 385 unsigned int tmp; in adf4350_parse_dt() local [all …]
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | cmpxchg.h | 21 unsigned int tmp; in __xchg() local 28 tmp = 0; in __xchg() 29 tmp = *((unsigned char *) ptr); in __xchg() 33 tmp = 0; in __xchg() 34 tmp = *((unsigned short *) ptr); in __xchg() 38 tmp = 0; in __xchg() 39 tmp = *((unsigned int *) ptr); in __xchg() 44 return tmp; in __xchg()
|
/linux-4.4.14/arch/arm/mach-s3c24xx/ |
D | pm-s3c2412.c | 41 unsigned long tmp; in s3c2412_cpu_suspend() local 45 tmp = __raw_readl(S3C2412_PWRCFG); in s3c2412_cpu_suspend() 46 tmp |= S3C2412_PWRCFG_STANDBYWFI_SLEEP; in s3c2412_cpu_suspend() 47 __raw_writel(tmp, S3C2412_PWRCFG); in s3c2412_cpu_suspend() 118 unsigned long tmp; in s3c2412_pm_resume() local 120 tmp = __raw_readl(S3C2412_PWRCFG); in s3c2412_pm_resume() 121 tmp &= ~S3C2412_PWRCFG_STANDBYWFI_MASK; in s3c2412_pm_resume() 122 tmp |= S3C2412_PWRCFG_STANDBYWFI_IDLE; in s3c2412_pm_resume() 123 __raw_writel(tmp, S3C2412_PWRCFG); in s3c2412_pm_resume()
|
/linux-4.4.14/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 69 u32 tmp; in intelfbhw_get_chipset() local 92 tmp = 0; in intelfbhw_get_chipset() 95 pci_read_config_dword(pdev, INTEL_85X_CAPID, &tmp); in intelfbhw_get_chipset() 96 switch ((tmp >> INTEL_85X_VARIANT_SHIFT) & in intelfbhw_get_chipset() 177 u16 tmp; in intelfbhw_get_memory() local 190 tmp = 0; in intelfbhw_get_memory() 191 pci_read_config_word(bridge_dev, INTEL_GMCH_CTRL, &tmp); in intelfbhw_get_memory() 211 if ((tmp & INTEL_GMCH_MEM_MASK) == INTEL_GMCH_MEM_64M) in intelfbhw_get_memory() 224 switch (tmp & INTEL_830_GMCH_GMS_MASK) { in intelfbhw_get_memory() 242 tmp & INTEL_830_GMCH_GMS_MASK); in intelfbhw_get_memory() [all …]
|
/linux-4.4.14/drivers/hwmon/ |
D | w83795.c | 538 int i, tmp; in w83795_update_pwm_config() local 556 for (tmp = PWM_FREQ; tmp <= PWM_STOP_TIME; tmp++) in w83795_update_pwm_config() 557 data->pwm[i][tmp] = in w83795_update_pwm_config() 558 w83795_read(client, W83795_REG_PWM(i, tmp)); in w83795_update_pwm_config() 573 tmp = w83795_read(client, W83795_REG_HT(i)); in w83795_update_pwm_config() 574 data->pwm_temp[i][TEMP_PWM_HCT] = tmp >> 4; in w83795_update_pwm_config() 575 data->pwm_temp[i][TEMP_PWM_HOT] = tmp & 0x0f; in w83795_update_pwm_config() 580 for (tmp = 0; tmp < 7; tmp++) { in w83795_update_pwm_config() 581 data->sf4_reg[i][SF4_TEMP][tmp] = in w83795_update_pwm_config() 583 W83795_REG_SF4_TEMP(i, tmp)); in w83795_update_pwm_config() [all …]
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
D | ptrace.c | 94 unsigned long tmp; in arch_ptrace() local 100 tmp = get_reg(child, regno); in arch_ptrace() 101 ret = put_user(tmp, datap); in arch_ptrace() 132 unsigned long tmp; in arch_ptrace() local 136 tmp = get_reg(child, i); in arch_ptrace() 138 if (put_user(tmp, datap)) { in arch_ptrace() 152 unsigned long tmp; in arch_ptrace() local 156 if (get_user(tmp, datap)) { in arch_ptrace() 162 tmp &= DCCR_MASK; in arch_ptrace() 163 tmp |= get_reg(child, PT_DCCR) & ~DCCR_MASK; in arch_ptrace() [all …]
|
/linux-4.4.14/arch/arm/include/asm/hardware/ |
D | entry-macro-iomd.S | 14 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp 16 ldr \tmp, =irq_prio_h 20 addeq \tmp, \tmp, #256 @ irq_prio_h table size 25 addeq \tmp, \tmp, #256 @ irq_prio_d table size 29 addeq \tmp, \tmp, #256 @ irq_prio_l table size 34 addeq \tmp, \tmp, #256 @ irq_prio_lc table size 37 2406: ldrneb \irqnr, [\tmp, \irqstat] @ get IRQ number
|
/linux-4.4.14/sound/soc/nuc900/ |
D | nuc900-ac97.c | 101 unsigned long tmp, timeout = 0x10000; in nuc900_ac97_write() local 105 tmp = nuc900_checkready(); in nuc900_ac97_write() 106 if (tmp) in nuc900_ac97_write() 116 tmp = AUDIO_READ(nuc900_audio->mmio + ACTL_ACOS0); in nuc900_ac97_write() 117 tmp |= SLOT1_VALID | SLOT2_VALID | VALID_FRAME; in nuc900_ac97_write() 118 AUDIO_WRITE(nuc900_audio->mmio + ACTL_ACOS0, tmp); in nuc900_ac97_write() 130 tmp = AUDIO_READ(nuc900_audio->mmio + ACTL_ACOS0); in nuc900_ac97_write() 131 tmp &= ~(SLOT1_VALID | SLOT2_VALID); in nuc900_ac97_write() 132 AUDIO_WRITE(nuc900_audio->mmio + ACTL_ACOS0, tmp); in nuc900_ac97_write() 213 unsigned long val, tmp; in nuc900_ac97_trigger() local [all …]
|
/linux-4.4.14/arch/arm/include/debug/ |
D | omap2plus.S | 67 .macro addruart, rp, rv, tmp 74 sub \tmp, \rp, \rv @ make it effective 75 ldr \rp, [\tmp, #0] @ omap_uart_phys 76 ldr \rv, [\tmp, #4] @ omap_uart_virt 133 str \rp, [\tmp, #0] @ omap_uart_phys 135 str \rp, [\tmp, #4] @ omap_uart_virt 137 str \rp, [\tmp, #8] @ omap_uart_lsr 143 str \rp, [\tmp, #0] @ omap_uart_phys 146 str \rp, [\tmp, #4] @ omap_uart_virt 148 str \rp, [\tmp, #8] @ omap_uart_lsr [all …]
|
/linux-4.4.14/drivers/bcma/ |
D | driver_chipcommon_pmu.c | 341 u32 tmp, div, ndiv, p1, p2, fc; in bcma_pmu_pll_clock() local 351 tmp = bcma_cc_read32(cc, BCMA_CC_CHIPSTAT); in bcma_pmu_pll_clock() 352 if (tmp & 0x40000) in bcma_pmu_pll_clock() 356 tmp = bcma_chipco_pll_read(cc, pll0 + BCMA_CC_PPL_P1P2_OFF); in bcma_pmu_pll_clock() 357 p1 = (tmp & BCMA_CC_PPL_P1_MASK) >> BCMA_CC_PPL_P1_SHIFT; in bcma_pmu_pll_clock() 358 p2 = (tmp & BCMA_CC_PPL_P2_MASK) >> BCMA_CC_PPL_P2_SHIFT; in bcma_pmu_pll_clock() 360 tmp = bcma_chipco_pll_read(cc, pll0 + BCMA_CC_PPL_M14_OFF); in bcma_pmu_pll_clock() 361 div = (tmp >> ((m - 1) * BCMA_CC_PPL_MDIV_WIDTH)) & in bcma_pmu_pll_clock() 364 tmp = bcma_chipco_pll_read(cc, pll0 + BCMA_CC_PPL_NM5_OFF); in bcma_pmu_pll_clock() 365 ndiv = (tmp & BCMA_CC_PPL_NDIV_MASK) >> BCMA_CC_PPL_NDIV_SHIFT; in bcma_pmu_pll_clock() [all …]
|
/linux-4.4.14/arch/x86/tools/ |
D | insn_sanity.c | 142 char buf[256] = "", *tmp; in read_next_insn() local 145 tmp = fgets(buf, ARRAY_SIZE(buf), input_file); in read_next_insn() 146 if (tmp == NULL || feof(input_file)) in read_next_insn() 150 insn_buf[i] = (unsigned char)strtoul(tmp, &tmp, 16); in read_next_insn() 151 if (*tmp != ' ') in read_next_insn() 178 char *tmp = NULL; in parse_args() local 202 seed = (unsigned int)strtoul(optarg, &tmp, 0); in parse_args() 203 if (*tmp == ',') { in parse_args() 204 optarg = tmp + 1; in parse_args() 205 iter_start = strtoul(optarg, &tmp, 0); in parse_args() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | obd_cksum.h | 69 unsigned int performance = 0, tmp; in cksum_type_pack() local 73 tmp = cfs_crypto_hash_speed(cksum_obd2cfs(OBD_CKSUM_CRC32)); in cksum_type_pack() 74 if (tmp > performance) { in cksum_type_pack() 75 performance = tmp; in cksum_type_pack() 80 tmp = cfs_crypto_hash_speed(cksum_obd2cfs(OBD_CKSUM_CRC32C)); in cksum_type_pack() 81 if (tmp > performance) { in cksum_type_pack() 82 performance = tmp; in cksum_type_pack() 87 tmp = cfs_crypto_hash_speed(cksum_obd2cfs(OBD_CKSUM_ADLER)); in cksum_type_pack() 88 if (tmp > performance) { in cksum_type_pack() 89 performance = tmp; in cksum_type_pack()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebt_mark.c | 42 int tmp; in ebt_mark_tg_check() local 44 tmp = info->target | ~EBT_VERDICT_BITS; in ebt_mark_tg_check() 45 if (BASE_CHAIN && tmp == EBT_RETURN) in ebt_mark_tg_check() 47 if (tmp < -NUM_STANDARD_TARGETS || tmp >= 0) in ebt_mark_tg_check() 49 tmp = info->target & ~EBT_VERDICT_BITS; in ebt_mark_tg_check() 50 if (tmp != MARK_SET_VALUE && tmp != MARK_OR_VALUE && in ebt_mark_tg_check() 51 tmp != MARK_AND_VALUE && tmp != MARK_XOR_VALUE) in ebt_mark_tg_check()
|
/linux-4.4.14/arch/arm64/net/ |
D | bpf_jit_comp.c | 79 u64 tmp = val; in emit_a64_mov_i64() local 82 emit(A64_MOVZ(1, reg, tmp & 0xffff, shift), ctx); in emit_a64_mov_i64() 83 tmp >>= 16; in emit_a64_mov_i64() 85 while (tmp) { in emit_a64_mov_i64() 86 if (tmp & 0xffff) in emit_a64_mov_i64() 87 emit(A64_MOVK(1, reg, tmp & 0xffff, shift), ctx); in emit_a64_mov_i64() 88 tmp >>= 16; in emit_a64_mov_i64() 252 const u8 tmp = bpf2a64[TMP_REG_1]; in build_insn() local 325 emit(A64_UDIV(is64, tmp, dst, src), ctx); in build_insn() 326 emit(A64_MUL(is64, tmp, tmp, src), ctx); in build_insn() [all …]
|
/linux-4.4.14/arch/arm/mach-lpc32xx/ |
D | clock.c | 233 u32 tv, tmp = 0; in local_clk_pll_setup() local 236 tmp |= LPC32XX_CLKPWR_HCLKPLL_POWER_UP; in local_clk_pll_setup() 238 tmp |= LPC32XX_CLKPWR_HCLKPLL_CCO_BYPASS; in local_clk_pll_setup() 240 tmp |= LPC32XX_CLKPWR_HCLKPLL_POSTDIV_BYPASS; in local_clk_pll_setup() 242 tmp |= LPC32XX_CLKPWR_HCLKPLL_FDBK_SEL_FCLK; in local_clk_pll_setup() 248 tmp |= LPC32XX_CLKPWR_HCLKPLL_POSTDIV_2POW(tv); in local_clk_pll_setup() 249 tmp |= LPC32XX_CLKPWR_HCLKPLL_PREDIV_PLUS1(PllSetup->pll_n - 1); in local_clk_pll_setup() 250 tmp |= LPC32XX_CLKPWR_HCLKPLL_PLLM(PllSetup->pll_m - 1); in local_clk_pll_setup() 252 return tmp; in local_clk_pll_setup() 377 u32 reg, tmp = local_clk_pll_setup(pHCLKPllSetup); in local_clk_usbpll_setup() local [all …]
|
/linux-4.4.14/kernel/power/ |
D | console.c | 47 struct pm_vt_switch *entry, *tmp; in pm_vt_switch_required() local 50 list_for_each_entry(tmp, &pm_vt_switch_list, head) { in pm_vt_switch_required() 51 if (tmp->dev == dev) { in pm_vt_switch_required() 53 tmp->required = required; in pm_vt_switch_required() 79 struct pm_vt_switch *tmp; in pm_vt_switch_unregister() local 82 list_for_each_entry(tmp, &pm_vt_switch_list, head) { in pm_vt_switch_unregister() 83 if (tmp->dev == dev) { in pm_vt_switch_unregister() 84 list_del(&tmp->head); in pm_vt_switch_unregister() 85 kfree(tmp); in pm_vt_switch_unregister()
|
/linux-4.4.14/arch/sh/boards/mach-x3proto/ |
D | ilsel.c | 66 unsigned int tmp, shift; in __ilsel_enable() local 77 tmp = __raw_readw(addr); in __ilsel_enable() 78 tmp &= ~(0xf << shift); in __ilsel_enable() 79 tmp |= set << shift; in __ilsel_enable() 80 __raw_writew(tmp, addr); in __ilsel_enable() 147 unsigned int tmp; in ilsel_disable() local 153 tmp = __raw_readw(addr); in ilsel_disable() 154 tmp &= ~(0xf << mk_ilsel_shift(irq)); in ilsel_disable() 155 __raw_writew(tmp, addr); in ilsel_disable()
|
/linux-4.4.14/arch/x86/math-emu/ |
D | fpu_trig.c | 35 FPU_REG tmp; in trig_arg() local 50 tag = FPU_u_div(st0_ptr, &CONST_PI2, &tmp, PR_64_BITS | RC_CHOP | 0x3f, in trig_arg() 53 FPU_round_to_int(&tmp, tag); /* Fortunately, this can't overflow in trig_arg() 55 q = significand(&tmp); in trig_arg() 58 &significand(&tmp), in trig_arg() 61 setexponent16(&tmp, exponent(&CONST_PI2)); in trig_arg() 62 st0_tag = FPU_normalize(&tmp); in trig_arg() 63 FPU_copy_to_reg0(&tmp, st0_tag); in trig_arg() 81 significand(&tmp) = q + 1; in trig_arg() 82 setexponent16(&tmp, 63); in trig_arg() [all …]
|
/linux-4.4.14/drivers/net/wireless/ti/wl1251/ |
D | boot.c | 74 u32 scr_pad6, init_data, tmp, elp_cmd, ref_freq; in wl1251_boot_init_seq() local 117 tmp = ((scr_pad6 & 0x0000FF00) << 4) | 0x00004000; in wl1251_boot_init_seq() 118 wl1251_reg_write32(wl, ELP_CFG_MODE, tmp); in wl1251_boot_init_seq() 136 tmp = init_data - 0x21; in wl1251_boot_init_seq() 138 tmp = 0; in wl1251_boot_init_seq() 139 wl1251_reg_write32(wl, CLK_REQ_TIME, tmp); in wl1251_boot_init_seq() 157 tmp = LUT[ref_freq][LUT_PARAM_INTEGER_DIVIDER] | 0x00017000; in wl1251_boot_init_seq() 158 wl1251_reg_write32(wl, 0x00305840, tmp); in wl1251_boot_init_seq() 163 tmp = LUT[ref_freq][LUT_PARAM_FRACTIONAL_DIVIDER]; in wl1251_boot_init_seq() 164 wl1251_reg_write32(wl, 0x00305844, tmp); in wl1251_boot_init_seq() [all …]
|
/linux-4.4.14/drivers/clk/zte/ |
D | clk.c | 180 u32 sel, integ, fra_div, tmp; in calc_reg() local 187 tmp = (u32)tmp64 % BPAR; in calc_reg() 188 sel = tmp / BPAR; in calc_reg() 190 tmp = tmp % BPAR; in calc_reg() 191 fra_div = tmp * 0xff / BPAR; in calc_reg() 192 tmp = (sel << 24) | (integ << 16) | (0xff << 8) | fra_div; in calc_reg() 197 tmp |= BIT(28); in calc_reg() 198 return tmp; in calc_reg() 203 u32 sel, integ, fra_div, tmp; in calc_rate() local 206 tmp = reg; in calc_rate() [all …]
|
/linux-4.4.14/drivers/usb/host/ |
D | bcma-hcd.c | 65 u32 tmp; in bcma_hcd_4716wa() local 67 tmp = bcma_cpu_clock(&dev->bus->drv_mips); in bcma_hcd_4716wa() 68 if (tmp >= 480000000) in bcma_hcd_4716wa() 69 tmp = 0x1846b; /* set CDR to 0x11(fast) */ in bcma_hcd_4716wa() 70 else if (tmp == 453000000) in bcma_hcd_4716wa() 71 tmp = 0x1046b; /* set CDR to 0x10(slow) */ in bcma_hcd_4716wa() 73 tmp = 0; in bcma_hcd_4716wa() 78 if (tmp) { in bcma_hcd_4716wa() 82 bcma_write32(dev, 0x524, tmp); in bcma_hcd_4716wa() 96 u32 tmp; in bcma_hcd_init_chip_mips() local [all …]
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-jz4780.c | 263 unsigned short tmp = 0; in jz4780_i2c_set_speed() local 291 tmp = JZ4780_I2C_CTRL_SPDS | JZ4780_I2C_CTRL_REST in jz4780_i2c_set_speed() 293 jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); in jz4780_i2c_set_speed() 300 tmp = JZ4780_I2C_CTRL_SPDF | JZ4780_I2C_CTRL_REST in jz4780_i2c_set_speed() 302 jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); in jz4780_i2c_set_speed() 366 unsigned short tmp; in jz4780_i2c_cleanup() local 371 tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_CTRL); in jz4780_i2c_cleanup() 372 tmp &= ~JZ4780_I2C_CTRL_STPHLD; in jz4780_i2c_cleanup() 373 jz4780_i2c_writew(i2c, JZ4780_I2C_CTRL, tmp); in jz4780_i2c_cleanup() 383 tmp = jz4780_i2c_readw(i2c, JZ4780_I2C_CTRL); in jz4780_i2c_cleanup() [all …]
|
/linux-4.4.14/arch/arm/mach-mv78xx0/include/mach/ |
D | entry-macro.S | 13 .macro get_irqnr_preamble, base, tmp 17 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp 20 ldr \tmp, [\base, #IRQ_MASK_LOW_OFF] 22 ands \irqstat, \irqstat, \tmp 27 ldr \tmp, [\base, #IRQ_MASK_HIGH_OFF] 29 ands \irqstat, \irqstat, \tmp 34 ldr \tmp, [\base, #IRQ_MASK_ERR_OFF] 36 ands \irqstat, \irqstat, \tmp
|
/linux-4.4.14/drivers/crypto/vmx/ |
D | aesp8-ppc.pl | 62 my ($zero,$in0,$in1,$key,$rcon,$mask,$tmp)=map("v$_",(0..6)); 143 vsldoi $tmp,$zero,$in0,12 # >>32 151 vxor $in0,$in0,$tmp 152 vsldoi $tmp,$zero,$tmp,12 # >>32 153 vxor $in0,$in0,$tmp 154 vsldoi $tmp,$zero,$tmp,12 # >>32 155 vxor $in0,$in0,$tmp 163 vsldoi $tmp,$zero,$in0,12 # >>32 171 vxor $in0,$in0,$tmp 172 vsldoi $tmp,$zero,$tmp,12 # >>32 [all …]
|
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/ |
D | ehea_ethtool.c | 231 int i, k, tmp; in ehea_get_ethtool_stats() local 242 for (k = 0, tmp = 0; k < EHEA_MAX_PORT_RES; k++) in ehea_get_ethtool_stats() 243 tmp += port->port_res[k].p_stats.poll_receive_errors; in ehea_get_ethtool_stats() 244 data[i++] = tmp; in ehea_get_ethtool_stats() 246 for (k = 0, tmp = 0; k < EHEA_MAX_PORT_RES; k++) in ehea_get_ethtool_stats() 247 tmp += port->port_res[k].p_stats.err_tcp_cksum; in ehea_get_ethtool_stats() 248 data[i++] = tmp; in ehea_get_ethtool_stats() 250 for (k = 0, tmp = 0; k < EHEA_MAX_PORT_RES; k++) in ehea_get_ethtool_stats() 251 tmp += port->port_res[k].p_stats.err_ip_cksum; in ehea_get_ethtool_stats() 252 data[i++] = tmp; in ehea_get_ethtool_stats() [all …]
|
/linux-4.4.14/fs/affs/ |
D | file.c | 65 u32 lc_shift, lc_mask, tmp, off; in affs_grow_extcache() local 69 tmp = (AFFS_I(inode)->i_extcnt / AFFS_LC_SIZE) >> lc_shift; in affs_grow_extcache() 70 for (; tmp; tmp >>= 1) in affs_grow_extcache() 121 u32 blocknr, tmp; in affs_alloc_extblock() local 141 tmp = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); in affs_alloc_extblock() 142 if (tmp) in affs_alloc_extblock() 143 affs_warning(sb, "alloc_ext", "previous extension set (%x)", tmp); in affs_alloc_extblock() 145 affs_adjust_checksum(bh, blocknr - tmp); in affs_alloc_extblock() 175 u32 tmp, idx; in affs_get_extblock_slow() local 241 tmp = ext; in affs_get_extblock_slow() [all …]
|