/arch/microblaze/kernel/ |
D | kgdb.c | 41 int temp; in pt_regs_to_gdb_regs() local 48 __asm__ __volatile__ ("mfs %0, rbtr;" : "=r"(temp) : ); in pt_regs_to_gdb_regs() 49 gdb_regs[GDB_BTR] = temp; in pt_regs_to_gdb_regs() 56 __asm__ __volatile__ ("mfs %0, redr;" : "=r"(temp) : ); in pt_regs_to_gdb_regs() 57 gdb_regs[GDB_REDR] = temp; in pt_regs_to_gdb_regs() 58 __asm__ __volatile__ ("mfs %0, rpid;" : "=r"(temp) : ); in pt_regs_to_gdb_regs() 59 gdb_regs[GDB_RPID] = temp; in pt_regs_to_gdb_regs() 60 __asm__ __volatile__ ("mfs %0, rzpr;" : "=r"(temp) : ); in pt_regs_to_gdb_regs() 61 gdb_regs[GDB_RZPR] = temp; in pt_regs_to_gdb_regs() 62 __asm__ __volatile__ ("mfs %0, rtlbx;" : "=r"(temp) : ); in pt_regs_to_gdb_regs() [all …]
|
/arch/arm/include/asm/ |
D | irqflags.h | 74 unsigned long flags, temp; in arch_local_irq_save() local 80 : "=r" (flags), "=r" (temp) in arch_local_irq_save() 92 unsigned long temp; in arch_local_irq_enable() local 97 : "=r" (temp) in arch_local_irq_enable() 108 unsigned long temp; in arch_local_irq_disable() local 113 : "=r" (temp) in arch_local_irq_disable() 123 unsigned long temp; \ 128 : "=r" (temp) \ 138 unsigned long temp; \ 143 : "=r" (temp) \
|
/arch/hexagon/include/asm/ |
D | spinlock.h | 60 int temp; in arch_read_trylock() local 68 : "=&r" (temp) in arch_read_trylock() 72 return temp; in arch_read_trylock() 93 int temp; in arch_write_trylock() local 101 : "=&r" (temp) in arch_write_trylock() 105 return temp; in arch_write_trylock() 138 int temp; in arch_spin_trylock() local 146 : "=&r" (temp) in arch_spin_trylock() 150 return temp; in arch_spin_trylock()
|
/arch/microblaze/kernel/cpu/ |
D | cpuinfo-pvr-full.c | 31 u32 temp; /* for saving temp value */ in set_cpuinfo_pvr_full() local 40 temp = PVR_USE_BARREL(pvr) | PVR_USE_MSR_INSTR(pvr) | in set_cpuinfo_pvr_full() 42 if (ci->use_instr != temp) in set_cpuinfo_pvr_full() 44 ci->use_instr = temp; in set_cpuinfo_pvr_full() 46 temp = PVR_USE_HW_MUL(pvr) | PVR_USE_MUL64(pvr); in set_cpuinfo_pvr_full() 47 if (ci->use_mult != temp) in set_cpuinfo_pvr_full() 49 ci->use_mult = temp; in set_cpuinfo_pvr_full() 51 temp = PVR_USE_FPU(pvr) | PVR_USE_FPU2(pvr); in set_cpuinfo_pvr_full() 52 if (ci->use_fpu != temp) in set_cpuinfo_pvr_full() 54 ci->use_fpu = temp; in set_cpuinfo_pvr_full() [all …]
|
/arch/powerpc/kernel/ |
D | align.c | 116 } data, temp; in emulate_spe() local 171 temp.ll = data.ll = 0; in emulate_spe() 177 ret |= __get_user_inatomic(temp.v[0], p++); in emulate_spe() 178 ret |= __get_user_inatomic(temp.v[1], p++); in emulate_spe() 179 ret |= __get_user_inatomic(temp.v[2], p++); in emulate_spe() 180 ret |= __get_user_inatomic(temp.v[3], p++); in emulate_spe() 183 ret |= __get_user_inatomic(temp.v[4], p++); in emulate_spe() 184 ret |= __get_user_inatomic(temp.v[5], p++); in emulate_spe() 187 ret |= __get_user_inatomic(temp.v[6], p++); in emulate_spe() 188 ret |= __get_user_inatomic(temp.v[7], p++); in emulate_spe() [all …]
|
/arch/powerpc/platforms/85xx/ |
D | mpc85xx_mds.c | 97 int temp; in mpc8568_mds_phy_fixups() local 106 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() 108 if (temp < 0) in mpc8568_mds_phy_fixups() 109 return temp; in mpc8568_mds_phy_fixups() 111 temp = (temp & (~0x8000)) | 0x4000; in mpc8568_mds_phy_fixups() 112 err = phy_write(phydev,30, temp); in mpc8568_mds_phy_fixups() 122 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() 124 if (temp < 0) in mpc8568_mds_phy_fixups() 125 return temp; in mpc8568_mds_phy_fixups() 127 temp = phy_read(phydev, 30); in mpc8568_mds_phy_fixups() [all …]
|
/arch/arm/mach-socfpga/ |
D | socfpga.c | 72 u32 temp; in socfpga_cyclone5_restart() local 74 temp = readl(rst_manager_base_addr + SOCFPGA_RSTMGR_CTRL); in socfpga_cyclone5_restart() 77 temp |= RSTMGR_CTRL_SWWARMRSTREQ; in socfpga_cyclone5_restart() 79 temp |= RSTMGR_CTRL_SWCOLDRSTREQ; in socfpga_cyclone5_restart() 80 writel(temp, rst_manager_base_addr + SOCFPGA_RSTMGR_CTRL); in socfpga_cyclone5_restart() 85 u32 temp; in socfpga_arria10_restart() local 87 temp = readl(rst_manager_base_addr + SOCFPGA_A10_RSTMGR_CTRL); in socfpga_arria10_restart() 90 temp |= RSTMGR_CTRL_SWWARMRSTREQ; in socfpga_arria10_restart() 92 temp |= RSTMGR_CTRL_SWCOLDRSTREQ; in socfpga_arria10_restart() 93 writel(temp, rst_manager_base_addr + SOCFPGA_A10_RSTMGR_CTRL); in socfpga_arria10_restart()
|
/arch/arc/include/asm/ |
D | irqflags-compact.h | 63 unsigned long temp, flags; in arch_local_irq_save() local 70 : "=r"(temp), "=r"(flags) in arch_local_irq_save() 98 unsigned long temp; in arch_local_irq_enable() local 104 : "=&r"(temp) in arch_local_irq_enable() 115 unsigned long temp; in arch_local_irq_disable() local 121 : "=&r"(temp) in arch_local_irq_disable() 131 unsigned long temp; in arch_local_save_flags() local 135 : "=&r"(temp) in arch_local_save_flags() 139 return temp; in arch_local_save_flags()
|
D | bitops.h | 31 unsigned int temp; \ 42 : "=&r"(temp) /* Early clobber, to prevent reg reuse */ \ 62 unsigned long old, temp; \ 79 : "=&r"(old), "=&r"(temp) \ 109 unsigned long temp, flags; \ 117 temp = *m; \ 118 *m = temp c_op (1UL << (nr & 0x1f)); \ 148 unsigned long temp; \ 151 temp = *m; \ 152 *m = temp c_op (1UL << (nr & 0x1f)); \
|
D | irqflags-arcv2.h | 101 unsigned long temp; in arch_local_save_flags() local 105 : "=&r"(temp) in arch_local_save_flags() 113 temp = (1 << 5) | in arch_local_save_flags() 114 ((!!(temp & STATUS_IE_MASK)) << CLRI_STATUS_IE_BIT) | in arch_local_save_flags() 115 ((temp >> 1) & CLRI_STATUS_E_MASK); in arch_local_save_flags() 116 return temp; in arch_local_save_flags()
|
/arch/parisc/lib/ |
D | bitops.c | 23 unsigned long temp, flags; in __xchg64() local 26 temp = *ptr; in __xchg64() 29 return temp; in __xchg64() 36 long temp; in __xchg32() local 39 temp = (long) *ptr; /* XXX - sign extension wanted? */ in __xchg32() 42 return (unsigned long)temp; in __xchg32() 49 long temp; in __xchg8() local 52 temp = (long) *ptr; /* XXX - sign extension wanted? */ in __xchg8() 55 return (unsigned long)temp; in __xchg8()
|
/arch/m68k/lib/ |
D | memset.c | 13 size_t temp; in memset() local 32 temp = count >> 2; in memset() 33 if (temp) { in memset() 36 for (; temp; temp--) in memset() 58 : "=a" (ls), "=d" (temp), "=&d" (temp1) in memset() 59 : "d" (c), "0" (ls), "1" (temp)); in memset()
|
D | memmove.c | 13 size_t temp; in memmove() local 35 temp = n >> 2; in memmove() 36 if (temp) { in memmove() 39 temp--; in memmove() 42 while (temp--); in memmove() 77 temp = n >> 2; in memmove() 78 if (temp) { in memmove() 81 temp--; in memmove() 84 while (temp--); in memmove()
|
D | memcpy.c | 13 size_t temp; in memcpy() local 42 temp = n >> 2; in memcpy() 43 if (temp) { in memcpy() 47 for (; temp; temp--) in memcpy() 69 : "=a" (lfrom), "=a" (lto), "=d" (temp), "=&d" (temp1) in memcpy() 70 : "0" (lfrom), "1" (lto), "2" (temp)); in memcpy()
|
/arch/arm/mach-s3c/ |
D | bast-irq.c | 55 unsigned long temp; in bast_pc104_mask() local 57 temp = __raw_readb(BAST_VA_PC104_IRQMASK); in bast_pc104_mask() 58 temp &= ~bast_pc104_irqmasks[data->irq]; in bast_pc104_mask() 59 __raw_writeb(temp, BAST_VA_PC104_IRQMASK); in bast_pc104_mask() 74 unsigned long temp; in bast_pc104_unmask() local 76 temp = __raw_readb(BAST_VA_PC104_IRQMASK); in bast_pc104_unmask() 77 temp |= bast_pc104_irqmasks[data->irq]; in bast_pc104_unmask() 78 __raw_writeb(temp, BAST_VA_PC104_IRQMASK); in bast_pc104_unmask()
|
/arch/sh/include/asm/ |
D | atomic-irq.h | 26 unsigned long temp, flags; \ 29 temp = v->counter; \ 30 temp c_op i; \ 31 v->counter = temp; \ 34 return temp; \ 40 unsigned long temp, flags; \ 43 temp = v->counter; \ 47 return temp; \
|
D | atomic-llsc.h | 37 unsigned long temp; \ 45 : "=&z" (temp) \ 49 return temp; \ 55 unsigned long res, temp; \ 64 : "=&z" (temp), "=&r" (res) \
|
/arch/powerpc/sysdev/ |
D | tsi108_pci.c | 137 u32 temp; in tsi108_direct_read_config() local 150 __tsi108_read_pci_config(temp, cfg_addr, "lbzx"); in tsi108_direct_read_config() 153 __tsi108_read_pci_config(temp, cfg_addr, "lhbrx"); in tsi108_direct_read_config() 156 __tsi108_read_pci_config(temp, cfg_addr, "lwbrx"); in tsi108_direct_read_config() 160 *val = temp; in tsi108_direct_read_config() 163 if ((0xFFFFFFFF != temp) && (0xFFFF != temp) && (0xFF != temp)) { in tsi108_direct_read_config() 270 u_int temp = 0; in get_pci_source() local 282 temp = in get_pci_source() 287 if (temp & (1 << mask % 4)) { in get_pci_source() 295 temp = tsi108_read_reg(TSI108_PCI_OFFSET + TSI108_PCI_IRP_ENABLE); in get_pci_source() [all …]
|
D | ipic.c | 525 u32 temp; in ipic_unmask_irq() local 529 temp = ipic_read(ipic->regs, ipic_info[src].mask); in ipic_unmask_irq() 530 temp |= (1 << (31 - ipic_info[src].bit)); in ipic_unmask_irq() 531 ipic_write(ipic->regs, ipic_info[src].mask, temp); in ipic_unmask_irq() 541 u32 temp; in ipic_mask_irq() local 545 temp = ipic_read(ipic->regs, ipic_info[src].mask); in ipic_mask_irq() 546 temp &= ~(1 << (31 - ipic_info[src].bit)); in ipic_mask_irq() 547 ipic_write(ipic->regs, ipic_info[src].mask, temp); in ipic_mask_irq() 561 u32 temp; in ipic_ack_irq() local 565 temp = 1 << (31 - ipic_info[src].bit); in ipic_ack_irq() [all …]
|
/arch/alpha/include/asm/ |
D | bitops.h | 31 unsigned long temp; in set_bit() local 42 :"=&r" (temp), "=m" (*m) in set_bit() 60 unsigned long temp; in clear_bit() local 71 :"=&r" (temp), "=m" (*m) in clear_bit() 103 unsigned long temp; in change_bit() local 114 :"=&r" (temp), "=m" (*m) in change_bit() 133 unsigned long temp; in test_and_set_bit() local 153 :"=&r" (temp), "=m" (*m), "=&r" (oldbit) in test_and_set_bit() 163 unsigned long temp; in test_and_set_bit_lock() local 180 :"=&r" (temp), "=m" (*m), "=&r" (oldbit) in test_and_set_bit_lock() [all …]
|
D | atomic.h | 44 unsigned long temp; \ 53 :"=&r" (temp), "=m" (v->counter) \ 60 long temp, result; \ 70 :"=&r" (temp), "=m" (v->counter), "=&r" (result) \ 79 long temp, result; \ 88 :"=&r" (temp), "=m" (v->counter), "=&r" (result) \ 97 s64 temp; \ 106 :"=&r" (temp), "=m" (v->counter) \ 113 s64 temp, result; \ 123 :"=&r" (temp), "=m" (v->counter), "=&r" (result) \ [all …]
|
/arch/powerpc/platforms/86xx/ |
D | common.c | 28 unsigned int temp; in mpc86xx_time_init() local 34 temp = mfspr(SPRN_HID0); in mpc86xx_time_init() 35 temp |= HID0_TBEN; in mpc86xx_time_init() 36 mtspr(SPRN_HID0, temp); in mpc86xx_time_init()
|
/arch/arm/kernel/ |
D | swp_emulate.c | 35 #define __user_swpX_asm(data, addr, res, temp, B) \ argument 53 : "=&r" (res), "+r" (data), "=&r" (temp) \ 57 #define __user_swp_asm(data, addr, res, temp) \ argument 58 __user_swpX_asm(data, addr, res, temp, "") 59 #define __user_swpb_asm(data, addr, res, temp) \ argument 60 __user_swpX_asm(data, addr, res, temp, "b") 128 unsigned long temp; in emulate_swpX() local 133 __user_swpb_asm(*data, address, res, temp); in emulate_swpX() 135 __user_swp_asm(*data, address, res, temp); in emulate_swpX()
|
/arch/alpha/kernel/ |
D | core_wildfire.c | 182 unsigned long temp; in wildfire_hardware_probe() local 193 temp = fast->qsd_whami.csr; in wildfire_hardware_probe() 195 printk(KERN_ERR "fast QSD_WHAMI at base %p is 0x%lx\n", fast, temp); in wildfire_hardware_probe() 198 hard_qbb = (temp >> 8) & 7; in wildfire_hardware_probe() 199 soft_qbb = (temp >> 4) & 7; in wildfire_hardware_probe() 220 temp = qsa->qsa_qbb_id.csr; in wildfire_hardware_probe() 222 printk(KERN_ERR "QSA_QBB_ID at base %p is 0x%lx\n", qsa, temp); in wildfire_hardware_probe() 225 if (temp & 0x40) /* Is there an HS? */ in wildfire_hardware_probe() 228 if (temp & 0x20) { /* Is there a GP? */ in wildfire_hardware_probe() 230 temp = 0; in wildfire_hardware_probe() [all …]
|
D | core_cia.c | 358 int temp, use_tbia_try2 = 0; in verify_tb_operation() local 404 temp = *(vip)CIA_IOC_TB_TAGn(0); in verify_tb_operation() 405 if (temp != tag0) { in verify_tb_operation() 407 "(tag0 %#x != %#x)\n", temp, tag0); in verify_tb_operation() 410 temp = *(vip)CIA_IOC_TB_TAGn(1); in verify_tb_operation() 411 if (temp != 0) { in verify_tb_operation() 413 "(tag1 %#x != 0)\n", temp); in verify_tb_operation() 416 temp = *(vip)CIA_IOC_TBn_PAGEm(0,0); in verify_tb_operation() 417 if (temp != pte0) { in verify_tb_operation() 419 "(pte0 %#x != %#x)\n", temp, pte0); in verify_tb_operation() [all …]
|