/linux-master/drivers/pwm/ |
H A D | pwm-rcar.c | 75 u64 div, tmp; local 81 tmp = (u64)period_ns * clk_rate + div - 1; 82 tmp = div64_u64(tmp, div); 83 div = ilog2(tmp - 1) + 1; 108 unsigned long long one_cycle, tmp; /* 0.01 nanoseconds */ local 115 tmp = period_ns * 100ULL; 116 do_div(tmp, one_cycle); 117 cyc = (tmp << RCAR_PWMCNT_CYC0_SHIFT) & RCAR_PWMCNT_CYC0_MASK; 119 tmp [all...] |
/linux-master/arch/arm/mm/ |
H A D | proc-macros.S | 74 .macro dcache_line_size, reg, tmp 76 movw \tmp, #:lower16:BASEADDR_V7M_SCB + V7M_SCB_CTR 77 movt \tmp, #:upper16:BASEADDR_V7M_SCB + V7M_SCB_CTR 78 ldr \tmp, [\tmp] 80 mrc p15, 0, \tmp, c0, c0, 1 @ read ctr 82 lsr \tmp, \tmp, #16 83 and \tmp, \tmp, # [all...] |
/linux-master/kernel/ |
H A D | crash_reserve.c | 62 char *cur = cmdline, *tmp; local 78 start = memparse(cur, &tmp); 79 if (cur == tmp) { 83 cur = tmp; 92 end = memparse(cur, &tmp); 93 if (cur == tmp) { 97 cur = tmp; 110 size = memparse(cur, &tmp); 111 if (cur == tmp) { 115 cur = tmp; [all...] |
/linux-master/drivers/net/ethernet/freescale/fman/ |
H A D | fman_port.c | 461 u32 tmp; local 464 tmp = (u32)cfg->dma_swap_data << BMI_DMA_ATTR_SWP_SHIFT; 466 tmp |= BMI_DMA_ATTR_WRITE_OPTIMIZE; 467 iowrite32be(tmp, ®s->fmbm_rda); 470 tmp = (cfg->rx_pri_elevation / PORT_BMI_FIFO_UNITS - 1) << 472 tmp |= cfg->rx_fifo_thr / PORT_BMI_FIFO_UNITS - 1; 473 iowrite32be(tmp, ®s->fmbm_rfp); 480 tmp = (cfg->cheksum_last_bytes_ignore & BMI_FRAME_END_CS_IGNORE_MASK) << 482 tmp |= (cfg->rx_cut_end_bytes & BMI_RX_FRAME_END_CUT_MASK) << 485 tmp 544 u32 tmp; local 610 u32 tmp; local 748 u32 tmp; local 1565 u32 tmp; local 1642 u32 tmp; local [all...] |
/linux-master/drivers/thermal/ |
H A D | k3_j72xx_bandgap.c | 190 static int two_cmp(int tmp, int mask) argument 192 tmp = ~(tmp); 193 tmp &= mask; 194 tmp += 1; 197 return (0 - tmp); 280 int i, tmp, pow; local 300 tmp = (readl(fuse_base + 0x8) & 0xE0000000) >> (29); 301 tmp |= ((readl(fuse_base + 0xC) & 0x1F) << 3); 302 pow = tmp [all...] |
/linux-master/arch/x86/math-emu/ |
H A D | reg_ld_str.c | 385 FPU_REG tmp; local 390 reg_copy(st0_ptr, &tmp); 391 exp = exponent(&tmp); 394 addexponent(&tmp, -DOUBLE_Emin + 52); /* largest exp to be 51 */ 396 if ((precision_loss = FPU_round_to_int(&tmp, st0_tag))) { 403 ((tmp.sigh == 0x00100000) && (tmp.sigl == 0) 417 l[0] = tmp.sigl; 418 l[1] = tmp.sigh; 420 if (tmp 570 FPU_REG tmp; local [all...] |
/linux-master/arch/mips/mm/ |
H A D | tlbex.c | 611 unsigned int tmp, enum label_id lid, 624 uasm_i_lui(p, tmp, PM_DEFAULT_MASK >> 16); 625 uasm_i_ori(p, tmp, tmp, PM_DEFAULT_MASK & 0xffff); 626 uasm_i_mtc0(p, tmp, C0_PAGEMASK); 629 uasm_i_ori(p, tmp, 0, PM_DEFAULT_MASK); 630 uasm_i_mtc0(p, tmp, C0_PAGEMASK); 643 uasm_i_lui(p, tmp, PM_DEFAULT_MASK >> 16); 644 uasm_i_ori(p, tmp, tmp, PM_DEFAULT_MAS 610 build_restore_pagemask(u32 **p, struct uasm_reloc **r, unsigned int tmp, enum label_id lid, int restore_scratch) argument 658 build_huge_tlb_write_entry(u32 **p, struct uasm_label **l, struct uasm_reloc **r, unsigned int tmp, enum tlb_write_entry wmode, int restore_scratch) argument 678 build_is_huge_pte(u32 **p, struct uasm_reloc **r, unsigned int tmp, unsigned int pmd, int lid) argument 690 build_huge_update_entries(u32 **p, unsigned int pte, unsigned int tmp) argument 760 build_get_pmde64(u32 **p, struct uasm_label **l, struct uasm_reloc **r, unsigned int tmp, unsigned int ptr) argument 926 build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr) argument 965 build_get_ptep(u32 **p, unsigned int tmp, unsigned int ptr) argument 991 build_update_entries(u32 **p, unsigned int tmp, unsigned int ptep) argument 1049 build_fast_tlb_refill_handler(u32 **p, struct uasm_label **l, struct uasm_reloc **r, unsigned int tmp, unsigned int ptr, int c0_scratch_reg) argument 1825 build_r3000_pte_reload_tlbwi(u32 **p, unsigned int pte, unsigned int tmp) argument 1841 build_r3000_tlb_reload_write(u32 **p, struct uasm_label **l, struct uasm_reloc **r, unsigned int pte, unsigned int tmp) argument 2037 build_r4000_tlbchange_handler_tail(u32 **p, struct uasm_label **l, struct uasm_reloc **r, unsigned int tmp, unsigned int ptr) argument [all...] |
/linux-master/fs/affs/ |
H A D | bitmap.c | 44 u32 blk, bmap, bit, mask, tmp; local 73 tmp = be32_to_cpu(*data); 74 if (tmp & mask) 76 *data = cpu_to_be32(tmp | mask); 79 tmp = be32_to_cpu(*(__be32 *)bh->b_data); 80 *(__be32 *)bh->b_data = cpu_to_be32(tmp - mask); 122 u32 blk, bmap, bit, mask, mask2, tmp; local 188 tmp = be32_to_cpu(*data); 189 if (tmp & mask) 201 tmp [all...] |
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-gpio.c | 25 u8 tmp; local 30 ret = mxl111sf_read_reg(state, 0x19, &tmp); 33 tmp &= ~(1 << (pin - 1)); 34 tmp |= (val << (pin - 1)); 35 ret = mxl111sf_write_reg(state, 0x19, tmp); 41 ret = mxl111sf_read_reg(state, 0x30, &tmp); 44 tmp &= ~(1 << (pin - 3)); 45 tmp |= (val << (pin - 3)); 46 ret = mxl111sf_write_reg(state, 0x30, tmp); 58 u8 tmp; local 108 u8 tmp; local [all...] |
/linux-master/drivers/mfd/ |
H A D | ezx-pcap.c | 113 u32 tmp = PCAP_REGISTER_READ_OP_BIT | local 117 ret = ezx_pcap_putget(pcap, &tmp); 121 tmp &= (PCAP_REGISTER_VALUE_MASK & ~mask); 122 tmp |= (val & mask) | PCAP_REGISTER_WRITE_OP_BIT | 125 ret = ezx_pcap_putget(pcap, &tmp); 217 u32 tmp; local 220 ezx_pcap_read(pcap, PCAP_REG_ADC, &tmp); 221 tmp &= ~(PCAP_ADC_TS_M_MASK | PCAP_ADC_TS_REF_LOWPWR); 222 tmp |= bits & (PCAP_ADC_TS_M_MASK | PCAP_ADC_TS_REF_LOWPWR); 223 ezx_pcap_write(pcap, PCAP_REG_ADC, tmp); 230 u32 tmp; local 240 u32 tmp; local 269 u32 tmp; local [all...] |
/linux-master/drivers/mmc/host/ |
H A D | sdhci-cadence.c | 113 u32 tmp; local 116 ret = readl_poll_timeout(reg, tmp, !(tmp & SDHCI_CDNS_HRS04_ACK), 121 tmp = FIELD_PREP(SDHCI_CDNS_HRS04_WDATA, data) | 123 priv->priv_writel(priv, tmp, reg); 125 tmp |= SDHCI_CDNS_HRS04_WR; 126 priv->priv_writel(priv, tmp, reg); 128 ret = readl_poll_timeout(reg, tmp, tmp & SDHCI_CDNS_HRS04_ACK, 0, 10); 132 tmp 204 u32 tmp; local 215 u32 tmp; local 225 u32 tmp; local [all...] |
/linux-master/net/caif/ |
H A D | cfctrl.c | 62 struct cfctrl_request_info *p, *tmp; local 66 list_for_each_entry_safe(p, tmp, &ctrl->list, list) { 143 struct cfctrl_request_info *p, *tmp, *first; local 147 list_for_each_entry_safe(p, tmp, &ctrl->list, list) { 337 struct cfctrl_request_info *p, *tmp; local 342 list_for_each_entry_safe(p, tmp, &ctrl->list, list) { 383 u8 tmp; local 389 tmp = cfpkt_extr_head_u8(pkt); 391 serv = tmp & CFCTRL_SRV_MASK; 394 servtype = tmp >> 568 struct cfctrl_request_info *p, *tmp; local 594 u8 linkid, linktype, tmp; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | vcn_v5_0_0.c | 621 uint32_t tmp; local 628 tmp = RREG32_SOC15(VCN, inst_idx, regUVD_POWER_STATUS); 629 tmp |= UVD_POWER_STATUS__UVD_PG_MODE_MASK; 630 tmp |= UVD_POWER_STATUS__UVD_PG_EN_MASK; 631 WREG32_SOC15(VCN, inst_idx, regUVD_POWER_STATUS, tmp); 637 tmp = (0xFF << UVD_VCPU_CNTL__PRB_TIMEOUT_VAL__SHIFT); 638 tmp |= UVD_VCPU_CNTL__CLK_EN_MASK | UVD_VCPU_CNTL__BLK_RST_MASK; 640 VCN, inst_idx, regUVD_VCPU_CNTL), tmp, 0, indirect); 647 tmp = (UVD_LMI_CTRL__WRITE_CLEAN_TIMER_EN_MASK | 656 VCN, inst_idx, regUVD_LMI_CTRL), tmp, 718 uint32_t tmp; local 869 uint32_t tmp; local 898 uint32_t tmp; local [all...] |
H A D | hdp_v6_0.c | 138 uint32_t tmp; local 141 tmp = RREG32_SOC15(HDP, 0, regHDP_MEM_POWER_CTRL); 142 if (tmp & HDP_MEM_POWER_CTRL__ATOMIC_MEM_POWER_LS_EN_MASK) 144 else if (tmp & HDP_MEM_POWER_CTRL__ATOMIC_MEM_POWER_DS_EN_MASK) 146 else if (tmp & HDP_MEM_POWER_CTRL__ATOMIC_MEM_POWER_SD_EN_MASK)
|
H A D | hdp_v7_0.c | 126 uint32_t tmp; local 129 tmp = RREG32_SOC15(HDP, 0, regHDP_MEM_POWER_CTRL); 130 if (tmp & HDP_MEM_POWER_CTRL__ATOMIC_MEM_POWER_LS_EN_MASK) 132 else if (tmp & HDP_MEM_POWER_CTRL__ATOMIC_MEM_POWER_DS_EN_MASK) 134 else if (tmp & HDP_MEM_POWER_CTRL__ATOMIC_MEM_POWER_SD_EN_MASK)
|
/linux-master/arch/arm/mach-lpc32xx/ |
H A D | common.c | 67 u32 tmp = __raw_readl(LPC32XX_CLKPWR_MACCLK_CTRL); local 68 tmp &= ~LPC32XX_CLKPWR_MACCTRL_PINS_MSK; 70 tmp |= LPC32XX_CLKPWR_MACCTRL_USE_MII_PINS; 72 tmp |= LPC32XX_CLKPWR_MACCTRL_USE_RMII_PINS; 73 __raw_writel(tmp, LPC32XX_CLKPWR_MACCLK_CTRL);
|
/linux-master/arch/mips/bcm63xx/ |
H A D | gpio.c | 90 u32 tmp; local 104 tmp = bcm_gpio_readl(reg); 106 tmp &= ~mask; 108 tmp |= mask; 109 bcm_gpio_writel(tmp, reg);
|
/linux-master/drivers/platform/x86/intel/atomisp2/ |
H A D | pm.c | 53 u32 tmp; local 56 iosf_mbi_read(BT_MBI_UNIT_PMC, MBI_REG_READ, ISPSSPM0, &tmp); 57 tmp = (tmp & ISPSSPM0_ISPSSS_MASK) >> ISPSSPM0_ISPSSS_OFFSET; 58 if (tmp == val)
|
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | hwio.c | 23 __le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL); local 26 if (!tmp) 28 ret = wdev->hwbus_ops->copy_from_io(wdev->hwbus_priv, reg, tmp, sizeof(u32)); 30 *val = le32_to_cpu(*tmp); 31 kfree(tmp); 40 __le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL); local 42 if (!tmp) 44 *tmp = cpu_to_le32(val); 45 ret = wdev->hwbus_ops->copy_to_io(wdev->hwbus_priv, reg, tmp, sizeof(u32)); 46 kfree(tmp); 187 __le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL); local 203 __le32 *tmp = kmalloc(sizeof(u32), GFP_KERNEL); local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | pci-hotplug.c | 25 struct pci_bus *tmp; local 30 list_for_each_entry(tmp, &bus->children, node) { 31 child = find_bus_among_children(tmp, dn); 80 struct pci_dev *dev, *tmp; local 89 list_for_each_entry_safe_reverse(dev, tmp, &bus->devices, bus_list) {
|
/linux-master/drivers/usb/host/ |
H A D | bcma-hcd.c | 71 u32 tmp; local 73 tmp = bcma_cpu_clock(&dev->bus->drv_mips); 74 if (tmp >= 480000000) 75 tmp = 0x1846b; /* set CDR to 0x11(fast) */ 76 else if (tmp == 453000000) 77 tmp = 0x1046b; /* set CDR to 0x10(slow) */ 79 tmp = 0; 84 if (tmp) { 88 bcma_write32(dev, 0x524, tmp); 102 u32 tmp; local [all...] |
/linux-master/drivers/ata/ |
H A D | pata_ali.c | 433 u8 tmp; local 442 pci_read_config_byte(pdev, 0x53, &tmp); 443 tmp |= 0x03; 444 pci_write_config_byte(pdev, 0x53, tmp); 446 pci_read_config_byte(pdev, 0x4a, &tmp); 447 pci_write_config_byte(pdev, 0x4a, tmp | 0x20); 448 pci_read_config_byte(pdev, 0x4B, &tmp); 452 tmp &= 0x7F; 455 tmp |= 0x01; 456 pci_write_config_byte(pdev, 0x4B, tmp | 553 u8 tmp; local [all...] |
/linux-master/fs/crypto/ |
H A D | hkdf.c | 126 u8 tmp[HKDF_HASHLEN]; local 158 err = crypto_shash_finup(desc, &counter, 1, tmp); 161 memcpy(&okm[i], tmp, okmlen - i); 162 memzero_explicit(tmp, sizeof(tmp));
|
/linux-master/kernel/sched/ |
H A D | swait.c | 64 LIST_HEAD(tmp); 67 list_splice_init(&q->task_list, &tmp); 68 while (!list_empty(&tmp)) { 69 curr = list_first_entry(&tmp, typeof(*curr), task_list); 74 if (list_empty(&tmp))
|
/linux-master/arch/arc/mm/ |
H A D | init.c | 170 unsigned long tmp; local 173 for (tmp = min_high_pfn; tmp < max_high_pfn; tmp++) 174 free_highmem_page(pfn_to_page(tmp));
|