Home
last modified time | relevance | path

Searched defs:reg (Results 1 – 25 of 593) sorted by relevance

12345678910>>...24

/arch/powerpc/lib/
Dldstfp.S28 reg = 0 define
32 reg = reg + 1 define
52 reg = 0 define
56 reg = reg + 1 define
77 reg = 0 define
81 reg = reg + 1 define
101 reg = 0 define
105 reg = reg + 1 define
125 reg = 1 define
129 reg = reg + 1 define
[all …]
/arch/mips/include/asm/
Dasm-eva.h19 #define kernel_ll(reg, addr) "ll " reg ", " addr "\n" argument
20 #define kernel_sc(reg, addr) "sc " reg ", " addr "\n" argument
21 #define kernel_lw(reg, addr) "lw " reg ", " addr "\n" argument
22 #define kernel_lwl(reg, addr) "lwl " reg ", " addr "\n" argument
23 #define kernel_lwr(reg, addr) "lwr " reg ", " addr "\n" argument
24 #define kernel_lh(reg, addr) "lh " reg ", " addr "\n" argument
25 #define kernel_lb(reg, addr) "lb " reg ", " addr "\n" argument
26 #define kernel_lbu(reg, addr) "lbu " reg ", " addr "\n" argument
27 #define kernel_sw(reg, addr) "sw " reg ", " addr "\n" argument
28 #define kernel_swl(reg, addr) "swl " reg ", " addr "\n" argument
[all …]
/arch/alpha/lib/
Dfpreg.c12 #define STT(reg,val) asm volatile ("ftoit $f"#reg",%0" : "=r"(val)); argument
14 #define STT(reg,val) asm volatile ("stt $f"#reg",%0" : "=m"(val)); argument
18 alpha_read_fp_reg (unsigned long reg) in alpha_read_fp_reg()
62 #define LDT(reg,val) asm volatile ("itoft %0,$f"#reg : : "r"(val)); argument
64 #define LDT(reg,val) asm volatile ("ldt $f"#reg",%0" : : "m"(val)); argument
68 alpha_write_fp_reg (unsigned long reg, unsigned long val) in alpha_write_fp_reg()
108 #define STS(reg,val) asm volatile ("ftois $f"#reg",%0" : "=r"(val)); argument
110 #define STS(reg,val) asm volatile ("sts $f"#reg",%0" : "=m"(val)); argument
114 alpha_read_fp_reg_s (unsigned long reg) in alpha_read_fp_reg_s()
158 #define LDS(reg,val) asm volatile ("itofs %0,$f"#reg : : "r"(val)); argument
[all …]
/arch/powerpc/kvm/
Dtm.S17 #define VCPU_GPRS_TM(reg) (((reg) * ULONG_SIZE) + VCPU_GPR_TM) argument
116 reg = 3 define
121 reg = reg + 1 define
326 reg = 0 define
329 reg = reg + 1 define
/arch/x86/lib/
Dretpoline.S16 .macro RETPOLINE reg argument
30 .macro THUNK reg argument
55 #define EXPORT_THUNK(reg) __EXPORT_THUNK(__x86_indirect_thunk_ ## reg) argument
60 #define GEN(reg) THUNK reg argument
67 #define GEN(reg) EXPORT_THUNK(reg) argument
/arch/ia64/include/asm/native/
Dinst.h11 #define MOV_FROM_IFA(reg) \ argument
14 #define MOV_FROM_ITIR(reg) \ argument
17 #define MOV_FROM_ISR(reg) \ argument
20 #define MOV_FROM_IHA(reg) \ argument
23 #define MOV_FROM_IPSR(pred, reg) \ argument
26 #define MOV_FROM_IIM(reg) \ argument
29 #define MOV_FROM_IIP(reg) \ argument
32 #define MOV_FROM_IVR(reg, clob) \ argument
35 #define MOV_FROM_PSR(pred, reg, clob) \ argument
38 #define MOV_FROM_ITC(pred, pred_clob, reg, clob) \ argument
[all …]
/arch/mips/include/asm/octeon/
Dcvmx-fau.h129 static inline uint64_t __cvmx_fau_store_address(uint64_t noadd, uint64_t reg) in __cvmx_fau_store_address()
152 static inline uint64_t __cvmx_fau_atomic_address(uint64_t tagwait, uint64_t reg, in __cvmx_fau_atomic_address()
170 static inline int64_t cvmx_fau_fetch_and_add64(cvmx_fau_reg_64_t reg, in cvmx_fau_fetch_and_add64()
185 static inline int32_t cvmx_fau_fetch_and_add32(cvmx_fau_reg_32_t reg, in cvmx_fau_fetch_and_add32()
200 static inline int16_t cvmx_fau_fetch_and_add16(cvmx_fau_reg_16_t reg, in cvmx_fau_fetch_and_add16()
214 static inline int8_t cvmx_fau_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_fetch_and_add8()
233 cvmx_fau_tagwait_fetch_and_add64(cvmx_fau_reg_64_t reg, int64_t value) in cvmx_fau_tagwait_fetch_and_add64()
257 cvmx_fau_tagwait_fetch_and_add32(cvmx_fau_reg_32_t reg, int32_t value) in cvmx_fau_tagwait_fetch_and_add32()
281 cvmx_fau_tagwait_fetch_and_add16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_tagwait_fetch_and_add16()
304 cvmx_fau_tagwait_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_tagwait_fetch_and_add8()
[all …]
/arch/arm64/kernel/
Dentry-ftrace.S194 .macro mcount_get_parent_fp reg argument
200 .macro mcount_get_pc0 reg argument
204 .macro mcount_get_pc reg argument
209 .macro mcount_get_lr reg argument
214 .macro mcount_get_lr_addr reg argument
/arch/mips/include/asm/netlogic/
Dhaldefs.h46 nlm_read_reg(uint64_t base, uint32_t reg) in nlm_read_reg()
54 nlm_write_reg(uint64_t base, uint32_t reg, uint32_t val) in nlm_write_reg()
71 nlm_read_reg64(uint64_t base, uint32_t reg) in nlm_read_reg64()
98 nlm_write_reg64(uint64_t base, uint32_t reg, uint64_t val) in nlm_write_reg64()
129 nlm_read_reg_xkphys(uint64_t base, uint32_t reg) in nlm_read_reg_xkphys()
135 nlm_write_reg_xkphys(uint64_t base, uint32_t reg, uint32_t val) in nlm_write_reg_xkphys()
141 nlm_read_reg64_xkphys(uint64_t base, uint32_t reg) in nlm_read_reg64_xkphys()
147 nlm_write_reg64_xkphys(uint64_t base, uint32_t reg, uint64_t val) in nlm_write_reg64_xkphys()
/arch/arm/mach-cns3xxx/
Dpm.c17 u32 reg = __raw_readl(PM_CLK_GATE_REG); in cns3xxx_pwr_clk_en() local
26 u32 reg = __raw_readl(PM_CLK_GATE_REG); in cns3xxx_pwr_clk_dis() local
35 u32 reg = __raw_readl(PM_PLL_HM_PD_CTRL_REG); in cns3xxx_pwr_power_up() local
47 u32 reg = __raw_readl(PM_PLL_HM_PD_CTRL_REG); in cns3xxx_pwr_power_down() local
57 u32 reg = __raw_readl(PM_SOFT_RST_REG); in cns3xxx_pwr_soft_rst_force() local
105 u32 reg = __raw_readl(PM_CLK_CTRL_REG); in cns3xxx_cpu_clock() local
/arch/x86/pci/
Dce4100.c31 int reg; member
55 static void reg_init(struct sim_dev_reg *reg) in reg_init()
61 static void reg_read(struct sim_dev_reg *reg, u32 *value) in reg_read()
66 static void reg_write(struct sim_dev_reg *reg, u32 value) in reg_write()
72 static void sata_reg_init(struct sim_dev_reg *reg) in sata_reg_init()
79 static void ehci_reg_read(struct sim_dev_reg *reg, u32 *value) in ehci_reg_read()
86 void sata_revid_init(struct sim_dev_reg *reg) in sata_revid_init()
92 static void sata_revid_read(struct sim_dev_reg *reg, u32 *value) in sata_revid_read()
97 static void reg_noirq_read(struct sim_dev_reg *reg, u32 *value) in reg_noirq_read()
166 static inline void extract_bytes(u32 *value, int reg, int len) in extract_bytes()
[all …]
/arch/x86/include/asm/
Dmc146818rtc.h41 static inline void lock_cmos(unsigned char reg) in lock_cmos()
70 #define lock_cmos_prefix(reg) \ argument
76 #define lock_cmos_suffix(reg) \ argument
81 #define lock_cmos_prefix(reg) do {} while (0) argument
82 #define lock_cmos_suffix(reg) do {} while (0) argument
83 #define lock_cmos(reg) do { } while (0) argument
/arch/arm/mach-omap2/
Dsdrc.h24 #define OMAP_SDRC_REGADDR(reg) (omap2_sdrc_base + (reg)) argument
25 #define OMAP_SMS_REGADDR(reg) (omap2_sms_base + (reg)) argument
29 static inline void sdrc_write_reg(u32 val, u16 reg) in sdrc_write_reg()
34 static inline u32 sdrc_read_reg(u16 reg) in sdrc_read_reg()
41 static inline void sms_write_reg(u32 val, u16 reg) in sms_write_reg()
46 static inline u32 sms_read_reg(u16 reg) in sms_read_reg()
105 #define OMAP242X_SDRC_REGADDR(reg) \ argument
107 #define OMAP243X_SDRC_REGADDR(reg) \ argument
109 #define OMAP34XX_SDRC_REGADDR(reg) \ argument
196 #define OMAP242X_SMS_REGADDR(reg) \ argument
[all …]
Dprcm_mpu44xx.c28 u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 reg) in omap4_prcm_mpu_read_inst_reg()
33 void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 reg) in omap4_prcm_mpu_write_inst_reg()
38 u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) in omap4_prcm_mpu_rmw_inst_reg_bits()
/arch/mips/include/asm/mach-lantiq/
Dlantiq.h14 #define ltq_r32(reg) __raw_readl(reg) argument
15 #define ltq_w32(val, reg) __raw_writel(val, reg) argument
16 #define ltq_w32_mask(clear, set, reg) \ argument
18 #define ltq_r8(reg) __raw_readb(reg) argument
19 #define ltq_w8(val, reg) __raw_writeb(val, reg) argument
/arch/mips/pci/
Dops-sni.c24 static int set_config_address(unsigned int busno, unsigned int devfn, int reg) in set_config_address()
40 static int pcimt_read(struct pci_bus *bus, unsigned int devfn, int reg, in pcimt_read()
63 static int pcimt_write(struct pci_bus *bus, unsigned int devfn, int reg, in pcimt_write()
91 static int pcit_set_config_address(unsigned int busno, unsigned int devfn, int reg) in pcit_set_config_address()
100 static int pcit_read(struct pci_bus *bus, unsigned int devfn, int reg, in pcit_read()
137 static int pcit_write(struct pci_bus *bus, unsigned int devfn, int reg, in pcit_write()
/arch/sparc/include/asm/
Dbackoff.h49 #define BACKOFF_SETUP(reg) \ argument
55 #define BACKOFF_SPIN(reg, tmp, label) \ argument
77 #define BACKOFF_SETUP(reg) argument
82 #define BACKOFF_SPIN(reg, tmp, label) argument
/arch/powerpc/kernel/
Dudbg_16550.c165 static u8 udbg_uart_in_pio(unsigned int reg) in udbg_uart_in_pio()
170 static void udbg_uart_out_pio(unsigned int reg, u8 data) in udbg_uart_out_pio()
186 static u8 udbg_uart_in_mmio(unsigned int reg) in udbg_uart_in_mmio()
191 static void udbg_uart_out_mmio(unsigned int reg, u8 data) in udbg_uart_out_mmio()
212 static u8 udbg_uart_in_maple(unsigned int reg) in udbg_uart_in_maple()
217 static void udbg_uart_out_maple(unsigned int reg, u8 val) in udbg_uart_out_maple()
235 static u8 udbg_uart_in_pas(unsigned int reg) in udbg_uart_in_pas()
240 static void udbg_uart_out_pas(unsigned int reg, u8 val) in udbg_uart_out_pas()
258 static u8 udbg_uart_in_44x_as1(unsigned int reg) in udbg_uart_in_44x_as1()
263 static void udbg_uart_out_44x_as1(unsigned int reg, u8 val) in udbg_uart_out_44x_as1()
[all …]
/arch/mips/include/asm/mach-ralink/
Dralink_regs.h35 static inline void rt_sysc_w32(u32 val, unsigned reg) in rt_sysc_w32()
40 static inline u32 rt_sysc_r32(unsigned reg) in rt_sysc_r32()
45 static inline void rt_sysc_m32(u32 clr, u32 set, unsigned reg) in rt_sysc_m32()
52 static inline void rt_memc_w32(u32 val, unsigned reg) in rt_memc_w32()
57 static inline u32 rt_memc_r32(unsigned reg) in rt_memc_r32()
/arch/powerpc/include/asm/
Ddcr-native.h39 static inline unsigned int mfdcrx(unsigned int reg) in mfdcrx()
47 static inline void mtdcrx(unsigned int reg, unsigned int val) in mtdcrx()
78 static inline unsigned __mfdcri(int base_addr, int base_data, int reg) in __mfdcri()
95 static inline void __mtdcri(int base_addr, int base_data, int reg, in __mtdcri()
111 static inline void __dcri_clrset(int base_addr, int base_data, int reg, in __dcri_clrset()
130 #define mfdcri(base, reg) __mfdcri(DCRN_ ## base ## _CONFIG_ADDR, \ argument
134 #define mtdcri(base, reg, data) __mtdcri(DCRN_ ## base ## _CONFIG_ADDR, \ argument
138 #define dcri_clrset(base, reg, clr, set) __dcri_clrset(DCRN_ ## base ## _CONFIG_ADDR, \ argument
/arch/sh/include/mach-common/mach/
Dmagicpanelr2.h19 #define SETBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) | mask, reg) argument
20 #define SETBITS_OUTW(mask, reg) __raw_writew(__raw_readw(reg) | mask, reg) argument
21 #define SETBITS_OUTL(mask, reg) __raw_writel(__raw_readl(reg) | mask, reg) argument
22 #define CLRBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) & ~mask, reg) argument
23 #define CLRBITS_OUTW(mask, reg) __raw_writew(__raw_readw(reg) & ~mask, reg) argument
24 #define CLRBITS_OUTL(mask, reg) __raw_writel(__raw_readl(reg) & ~mask, reg) argument
/arch/powerpc/platforms/86xx/
Dgef_ppc9a.c98 unsigned int reg; in gef_ppc9a_get_pcb_rev() local
107 unsigned int reg; in gef_ppc9a_get_board_rev() local
116 unsigned int reg; in gef_ppc9a_get_fpga_rev() local
125 unsigned int reg; in gef_ppc9a_get_vme_geo_addr() local
134 unsigned int reg; in gef_ppc9a_get_vme_is_syscon() local
/arch/powerpc/platforms/85xx/
Dge_imp3a.c134 unsigned int reg; in ge_imp3a_get_pcb_rev() local
143 unsigned int reg; in ge_imp3a_get_board_rev() local
152 unsigned int reg; in ge_imp3a_get_fpga_rev() local
161 unsigned int reg; in ge_imp3a_get_cpci_geo_addr() local
170 unsigned int reg; in ge_imp3a_get_cpci_is_syscon() local
/arch/alpha/oprofile/
Dop_model_ev5.c25 common_reg_setup(struct op_register_config *reg, in common_reg_setup()
116 ev5_reg_setup(struct op_register_config *reg, in ev5_reg_setup()
124 pca56_reg_setup(struct op_register_config *reg, in pca56_reg_setup()
136 struct op_register_config *reg = x; in ev5_cpu_setup() local
157 ev5_reset_ctr(struct op_register_config *reg, unsigned long ctr) in ev5_reset_ctr()
/arch/c6x/include/asm/
Dspecial_insns.h12 #define get_creg(reg) \ argument
16 #define set_creg(reg, v) \ argument
21 #define or_creg(reg, n) \ argument
30 #define and_creg(reg, n) \ argument

12345678910>>...24