Home
last modified time | relevance | path

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

12345678910>>...103

/linux-2.6.39/arch/powerpc/lib/
Dldstfp.S31 reg = 0 define
36 reg = reg + 1 define
47 reg = 1 define
51 reg = reg + 1 define
66 reg = 1 define
70 reg = reg + 1 define
194 reg = 1 define
198 reg = reg + 1 define
213 reg = 1 define
217 reg = reg + 1 define
[all …]
/linux-2.6.39/arch/m32r/kernel/
Dentry.S83 #define R4(reg) @reg argument
84 #define R5(reg) @(0x04,reg) argument
85 #define R6(reg) @(0x08,reg) argument
86 #define PTREGS(reg) @(0x0C,reg) argument
87 #define R0(reg) @(0x10,reg) argument
88 #define R1(reg) @(0x14,reg) argument
89 #define R2(reg) @(0x18,reg) argument
90 #define R3(reg) @(0x1C,reg) argument
91 #define R7(reg) @(0x20,reg) argument
92 #define R8(reg) @(0x24,reg) argument
[all …]
/linux-2.6.39/arch/alpha/lib/
Dfpreg.c8 #define STT(reg,val) asm volatile ("ftoit $f"#reg",%0" : "=r"(val)); argument
10 #define STT(reg,val) asm volatile ("stt $f"#reg",%0" : "=m"(val)); argument
14 alpha_read_fp_reg (unsigned long reg) in alpha_read_fp_reg()
57 #define LDT(reg,val) asm volatile ("itoft %0,$f"#reg : : "r"(val)); argument
59 #define LDT(reg,val) asm volatile ("ldt $f"#reg",%0" : : "m"(val)); argument
63 alpha_write_fp_reg (unsigned long reg, unsigned long val) in alpha_write_fp_reg()
102 #define STS(reg,val) asm volatile ("ftois $f"#reg",%0" : "=r"(val)); argument
104 #define STS(reg,val) asm volatile ("sts $f"#reg",%0" : "=m"(val)); argument
108 alpha_read_fp_reg_s (unsigned long reg) in alpha_read_fp_reg_s()
151 #define LDS(reg,val) asm volatile ("itofs %0,$f"#reg : : "r"(val)); argument
[all …]
/linux-2.6.39/drivers/video/riva/
Dnvreg.h44 #define DEVICE_ACCESS(device,reg) \ argument
47 #define DEVICE_WRITE(device,reg,value) DEVICE_ACCESS(device,reg)=(value) argument
48 #define DEVICE_READ(device,reg) DEVICE_ACCESS(device,reg) argument
49 #define DEVICE_PRINT(device,reg) \ argument
56 #define PDAC_Write(reg,value) DEVICE_WRITE(PDAC,reg,value) argument
57 #define PDAC_Read(reg) DEVICE_READ(PDAC,reg) argument
58 #define PDAC_Print(reg) DEVICE_PRINT(PDAC,reg) argument
63 #define PFB_Write(reg,value) DEVICE_WRITE(PFB,reg,value) argument
64 #define PFB_Read(reg) DEVICE_READ(PFB,reg) argument
65 #define PFB_Print(reg) DEVICE_PRINT(PFB,reg) argument
[all …]
/linux-2.6.39/sound/isa/gus/
Dgus_io.c46 static inline void __snd_gf1_ctrl_stop(struct snd_gus_card * gus, unsigned char reg) in __snd_gf1_ctrl_stop()
61 unsigned char reg, in __snd_gf1_write8()
71 unsigned char reg) in __snd_gf1_look8()
79 unsigned char reg, unsigned int data) in __snd_gf1_write16()
88 unsigned char reg) in __snd_gf1_look16()
96 unsigned char reg, unsigned char data) in __snd_gf1_adlib_write()
106 static inline void __snd_gf1_write_addr(struct snd_gus_card * gus, unsigned char reg, in __snd_gf1_write_addr()
120 unsigned char reg, short w_16bit) in __snd_gf1_read_addr()
140 void snd_gf1_ctrl_stop(struct snd_gus_card * gus, unsigned char reg) in snd_gf1_ctrl_stop()
146 unsigned char reg, in snd_gf1_write8()
[all …]
/linux-2.6.39/arch/arm/mach-omap2/
Dsdrc.h27 #define OMAP_SDRC_REGADDR(reg) (omap2_sdrc_base + (reg)) argument
28 #define OMAP_SMS_REGADDR(reg) (omap2_sms_base + (reg)) argument
32 static inline void sdrc_write_reg(u32 val, u16 reg) in sdrc_write_reg()
37 static inline u32 sdrc_read_reg(u16 reg) in sdrc_read_reg()
44 static inline void sms_write_reg(u32 val, u16 reg) in sms_write_reg()
49 static inline u32 sms_read_reg(u16 reg) in sms_read_reg()
54 #define OMAP242X_SDRC_REGADDR(reg) \ argument
56 #define OMAP243X_SDRC_REGADDR(reg) \ argument
58 #define OMAP34XX_SDRC_REGADDR(reg) \ argument
/linux-2.6.39/drivers/net/sfc/
Dio.h66 unsigned int reg) in _efx_writeq()
70 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq()
77 unsigned int reg) in _efx_writed()
81 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd()
88 unsigned int reg) in efx_writeo()
136 unsigned int reg) in efx_writed()
149 unsigned int reg) in efx_reado()
190 unsigned int reg) in efx_readd()
200 unsigned int reg, unsigned int index) in efx_writeo_table()
207 unsigned int reg, unsigned int index) in efx_reado_table()
[all …]
/linux-2.6.39/drivers/staging/octeon/
Dcvmx-fau.h119 static inline uint64_t __cvmx_fau_store_address(uint64_t noadd, uint64_t reg) in __cvmx_fau_store_address()
142 static inline uint64_t __cvmx_fau_atomic_address(uint64_t tagwait, uint64_t reg, in __cvmx_fau_atomic_address()
160 static inline int64_t cvmx_fau_fetch_and_add64(cvmx_fau_reg_64_t reg, in cvmx_fau_fetch_and_add64()
175 static inline int32_t cvmx_fau_fetch_and_add32(cvmx_fau_reg_32_t reg, in cvmx_fau_fetch_and_add32()
189 static inline int16_t cvmx_fau_fetch_and_add16(cvmx_fau_reg_16_t reg, in cvmx_fau_fetch_and_add16()
202 static inline int8_t cvmx_fau_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_fetch_and_add8()
220 cvmx_fau_tagwait_fetch_and_add64(cvmx_fau_reg_64_t reg, int64_t value) in cvmx_fau_tagwait_fetch_and_add64()
244 cvmx_fau_tagwait_fetch_and_add32(cvmx_fau_reg_32_t reg, int32_t value) in cvmx_fau_tagwait_fetch_and_add32()
267 cvmx_fau_tagwait_fetch_and_add16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_tagwait_fetch_and_add16()
289 cvmx_fau_tagwait_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_tagwait_fetch_and_add8()
[all …]
/linux-2.6.39/arch/ia64/include/asm/native/
Dpvchk_inst.h136 #define IS_RREG_IN(reg) is_rreg_in reg ; argument
138 #define IS_RREG_OUT(reg) \ argument
143 #define IS_RREG_CLOB(reg) IS_RREG_OUT(reg) argument
161 #define MOV_FROM_IFA(reg) \ argument
163 #define MOV_FROM_ITIR(reg) \ argument
165 #define MOV_FROM_ISR(reg) \ argument
167 #define MOV_FROM_IHA(reg) \ argument
169 #define MOV_FROM_IPSR(pred, reg) \ argument
172 #define MOV_FROM_IIM(reg) \ argument
174 #define MOV_FROM_IIP(reg) \ argument
[all …]
Dinst.h51 #define MOV_FROM_IFA(reg) \ argument
54 #define MOV_FROM_ITIR(reg) \ argument
57 #define MOV_FROM_ISR(reg) \ argument
60 #define MOV_FROM_IHA(reg) \ argument
63 #define MOV_FROM_IPSR(pred, reg) \ argument
66 #define MOV_FROM_IIM(reg) \ argument
69 #define MOV_FROM_IIP(reg) \ argument
72 #define MOV_FROM_IVR(reg, clob) \ argument
76 #define MOV_FROM_PSR(pred, reg, clob) \ argument
80 #define MOV_FROM_ITC(pred, pred_clob, reg, clob) \ argument
[all …]
/linux-2.6.39/arch/ia64/include/asm/xen/
Dinst.h39 #define MOV_FROM_IFA(reg) \ argument
44 #define MOV_FROM_ITIR(reg) \ argument
49 #define MOV_FROM_ISR(reg) \ argument
54 #define MOV_FROM_IHA(reg) \ argument
59 #define MOV_FROM_IPSR(pred, reg) \ argument
64 #define MOV_FROM_IIM(reg) \ argument
69 #define MOV_FROM_IIP(reg) \ argument
94 #define MOV_FROM_IVR(reg, clob) __MOV_FROM_IVR reg, clob argument
96 .macro __MOV_FROM_PSR pred, reg, clob variable
114 #define MOV_FROM_PSR(pred, reg, clob) __MOV_FROM_PSR pred, reg, clob argument
[all …]
/linux-2.6.39/drivers/scsi/arcmsr/
Darcmsr_hba.c330 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_hba_wait_msgint_ready() local
350 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_hbb_wait_msgint_ready() local
388 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_flush_hba_cache() local
404 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_flush_hbb_cache() local
420 struct MessageUnit_C *reg = (struct MessageUnit_C *)pACB->pmuC; in arcmsr_flush_hbc_cache() local
513 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_message_isr_bh_fn() local
551 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_message_isr_bh_fn() local
588 struct MessageUnit_C *reg = acb->pmuC; in arcmsr_message_isr_bh_fn() local
735 struct MessageUnit_A __iomem *reg = acb->pmuA; in arcmsr_abort_hba_allcmd() local
748 struct MessageUnit_B *reg = acb->pmuB; in arcmsr_abort_hbb_allcmd() local
[all …]
/linux-2.6.39/drivers/net/e1000/
De1000_osdep.h54 #define er32(reg) \ argument
58 #define ew32(reg, value) \ argument
62 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument
67 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument
75 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument
80 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument
85 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \ argument
90 #define E1000_READ_REG_ARRAY_BYTE(a, reg, offset) ( \ argument
97 #define E1000_WRITE_ICH_FLASH_REG(a, reg, value) ( \ argument
100 #define E1000_READ_ICH_FLASH_REG(a, reg) ( \ argument
[all …]
/linux-2.6.39/drivers/scsi/
Ddtc.h59 #define DTC_address(reg) (base + DTC_5380_OFFSET + reg) argument
61 #define dbNCR5380_read(reg) \ argument
66 #define dbNCR5380_write(reg, value) do { \ argument
73 #define NCR5380_read(reg) (readb(DTC_address(reg))) argument
74 #define NCR5380_write(reg, value) (writeb(value, DTC_address(reg))) argument
76 #define NCR5380_read(reg) (readb(DTC_address(reg))) argument
77 #define xNCR5380_read(reg) \ argument
81 #define NCR5380_write(reg, value) do { \ argument
/linux-2.6.39/drivers/staging/sm7xx/
Dsmtcfb.h47 #define smtc_mmiowb(dat, reg) writeb(dat, smtc_RegBaseAddress + reg) argument
48 #define smtc_mmioww(dat, reg) writew(dat, smtc_RegBaseAddress + reg) argument
49 #define smtc_mmiowl(dat, reg) writel(dat, smtc_RegBaseAddress + reg) argument
51 #define smtc_mmiorb(reg) readb(smtc_RegBaseAddress + reg) argument
52 #define smtc_mmiorw(reg) readw(smtc_RegBaseAddress + reg) argument
53 #define smtc_mmiorl(reg) readl(smtc_RegBaseAddress + reg) argument
68 static inline void smtc_crtcw(int reg, int val) in smtc_crtcw()
74 static inline unsigned int smtc_crtcr(int reg) in smtc_crtcr()
80 static inline void smtc_grphw(int reg, int val) in smtc_grphw()
86 static inline unsigned int smtc_grphr(int reg) in smtc_grphr()
[all …]
/linux-2.6.39/arch/ia64/kernel/
Dparavirt.c397 #define __DEFINE_GET_REG(id, reg) \ argument
405 #define __DEFINE_GET_AR(id, reg) __DEFINE_GET_REG(AR_ ## id, ar.reg) argument
406 #define __DEFINE_GET_CR(id, reg) __DEFINE_GET_REG(CR_ ## id, cr.reg) argument
475 #define __DEFINE_SET_REG(id, reg) \ argument
483 #define __DEFINE_SET_AR(id, reg) __DEFINE_SET_REG(AR_ ## id, ar.reg) argument
484 #define __DEFINE_SET_CR(id, reg) __DEFINE_SET_REG(CR_ ## id, cr.reg) argument
599 ia64_native_iosapic_read(char __iomem *iosapic, unsigned int reg) in ia64_native_iosapic_read()
605 ia64_native_iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) in ia64_native_iosapic_write()
655 #define IA64_NATIVE_PATCH_DEFINE_GET_REG(name, reg) \ argument
661 #define IA64_NATIVE_PATCH_DEFINE_SET_REG(name, reg) \ argument
[all …]
/linux-2.6.39/arch/mips/include/asm/
Dgcmpregs.h22 #define GCMPOFS(block, tag, reg) \ argument
24 #define GCMPOFSn(block, tag, reg, n) \ argument
27 #define GCMPGCBOFS(reg) GCMPOFS(GCB, GCB, reg) argument
28 #define GCMPGCBOFSn(reg, n) GCMPOFSn(GCB, GCB, reg, n) argument
29 #define GCMPCLCBOFS(reg) GCMPOFS(CLCB, CCB, reg) argument
30 #define GCMPCOCBOFS(reg) GCMPOFS(COCB, CCB, reg) argument
31 #define GCMPGDBOFS(reg) GCMPOFS(GDB, GDB, reg) argument
34 #define GCMPGCB(reg) REGP(_gcmp_base, GCMPGCBOFS(reg)) argument
35 #define GCMPGCBn(reg, n) REGP(_gcmp_base, GCMPGCBOFSn(reg, n)) argument
36 #define GCMPCLCB(reg) REGP(_gcmp_base, GCMPCLCBOFS(reg)) argument
[all …]
/linux-2.6.39/arch/cris/include/arch-v32/mach-a3/mach/hwregs/iop/
Diop_version_defs.h15 #define REG_RD( scope, inst, reg ) \ argument
21 #define REG_WR( scope, inst, reg, val ) \ argument
27 #define REG_RD_VECT( scope, inst, reg, index ) \ argument
34 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument
41 #define REG_RD_INT( scope, inst, reg ) \ argument
46 #define REG_WR_INT( scope, inst, reg, val ) \ argument
51 #define REG_RD_INT_VECT( scope, inst, reg, index ) \ argument
57 #define REG_WR_INT_VECT( scope, inst, reg, index, val ) \ argument
72 #define REG_ADDR( scope, inst, reg ) \ argument
77 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument
/linux-2.6.39/arch/cris/include/arch-v32/arch/hwregs/iop/
Diop_version_defs.h18 #define REG_RD( scope, inst, reg ) \ argument
24 #define REG_WR( scope, inst, reg, val ) \ argument
30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument
37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument
44 #define REG_RD_INT( scope, inst, reg ) \ argument
49 #define REG_WR_INT( scope, inst, reg, val ) \ argument
54 #define REG_RD_INT_VECT( scope, inst, reg, index ) \ argument
60 #define REG_WR_INT_VECT( scope, inst, reg, index, val ) \ argument
75 #define REG_ADDR( scope, inst, reg ) \ argument
80 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument
/linux-2.6.39/drivers/net/wireless/rt2x00/
Drt2500pci.c61 u32 reg; in rt2500pci_bbp_write() local
85 u32 reg; in rt2500pci_bbp_read() local
116 u32 reg; in rt2500pci_rf_write() local
141 u32 reg; in rt2500pci_eepromregister_read() local
156 u32 reg = 0; in rt2500pci_eepromregister_write() local
205 u32 reg; in rt2500pci_rfkill_poll() local
218 u32 reg; in rt2500pci_brightness_set() local
236 u32 reg; in rt2500pci_blink_set() local
264 u32 reg; in rt2500pci_config_filter() local
298 u32 reg; in rt2500pci_config_intf() local
[all …]
Drt2400pci.c61 u32 reg; in rt2400pci_bbp_write() local
85 u32 reg; in rt2400pci_bbp_read() local
116 u32 reg; in rt2400pci_rf_write() local
141 u32 reg; in rt2400pci_eepromregister_read() local
156 u32 reg = 0; in rt2400pci_eepromregister_write() local
205 u32 reg; in rt2400pci_rfkill_poll() local
218 u32 reg; in rt2400pci_brightness_set() local
236 u32 reg; in rt2400pci_blink_set() local
264 u32 reg; in rt2400pci_config_filter() local
293 u32 reg; in rt2400pci_config_intf() local
[all …]
/linux-2.6.39/arch/x86/pci/
Dce4100.c47 int reg; member
68 static void reg_init(struct sim_dev_reg *reg) in reg_init()
74 static void reg_read(struct sim_dev_reg *reg, u32 *value) in reg_read()
83 static void reg_write(struct sim_dev_reg *reg, u32 value) in reg_write()
93 static void sata_reg_init(struct sim_dev_reg *reg) in sata_reg_init()
100 static void ehci_reg_read(struct sim_dev_reg *reg, u32 *value) in ehci_reg_read()
107 void sata_revid_init(struct sim_dev_reg *reg) in sata_revid_init()
113 static void sata_revid_read(struct sim_dev_reg *reg, u32 *value) in sata_revid_read()
178 static inline void extract_bytes(u32 *value, int reg, int len) in extract_bytes()
187 int bridge_read(unsigned int devfn, int reg, int len, u32 *value) in bridge_read()
[all …]
/linux-2.6.39/arch/cris/include/arch-v32/arch/hwregs/
Dirq_nmi_defs.h18 #define REG_RD( scope, inst, reg ) \ argument
24 #define REG_WR( scope, inst, reg, val ) \ argument
30 #define REG_RD_VECT( scope, inst, reg, index ) \ argument
37 #define REG_WR_VECT( scope, inst, reg, index, val ) \ argument
44 #define REG_RD_INT( scope, inst, reg ) \ argument
49 #define REG_WR_INT( scope, inst, reg, val ) \ argument
54 #define REG_RD_INT_VECT( scope, inst, reg, index ) \ argument
60 #define REG_WR_INT_VECT( scope, inst, reg, index, val ) \ argument
75 #define REG_ADDR( scope, inst, reg ) \ argument
80 #define REG_ADDR_VECT( scope, inst, reg, index ) \ argument
/linux-2.6.39/include/video/
Dvga.h234 static inline void vga_io_w_fast (unsigned short port, unsigned char reg, in vga_io_w_fast()
251 unsigned char reg, unsigned char val) in vga_mm_w_fast()
274 unsigned char reg, unsigned char val) in vga_w_fast()
287 static inline unsigned char vga_rcrt (void __iomem *regbase, unsigned char reg) in vga_rcrt()
293 static inline void vga_wcrt (void __iomem *regbase, unsigned char reg, unsigned char val) in vga_wcrt()
303 static inline unsigned char vga_io_rcrt (unsigned char reg) in vga_io_rcrt()
309 static inline void vga_io_wcrt (unsigned char reg, unsigned char val) in vga_io_wcrt()
319 static inline unsigned char vga_mm_rcrt (void __iomem *regbase, unsigned char reg) in vga_mm_rcrt()
325 static inline void vga_mm_wcrt (void __iomem *regbase, unsigned char reg, unsigned char val) in vga_mm_wcrt()
340 static inline unsigned char vga_rseq (void __iomem *regbase, unsigned char reg) in vga_rseq()
[all …]
/linux-2.6.39/arch/arm/mach-cns3xxx/
Dpm.c20 u32 reg = __raw_readl(PM_CLK_GATE_REG); in cns3xxx_pwr_clk_en() local
29 u32 reg = __raw_readl(PM_CLK_GATE_REG); in cns3xxx_pwr_clk_dis() local
38 u32 reg = __raw_readl(PM_PLL_HM_PD_CTRL_REG); in cns3xxx_pwr_power_up() local
50 u32 reg = __raw_readl(PM_PLL_HM_PD_CTRL_REG); in cns3xxx_pwr_power_down() local
60 u32 reg = __raw_readl(PM_SOFT_RST_REG); in cns3xxx_pwr_soft_rst_force() local
109 u32 reg = __raw_readl(PM_CLK_CTRL_REG); in cns3xxx_cpu_clock() local

12345678910>>...103