Home
last modified time | relevance | path

Searched refs:ADDR (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.4.37.9/include/asm-sparc/
Dbitops.h27 register unsigned long *ADDR asm("g1"); in test_and_set_bit()
33 ADDR = ((unsigned long *) addr) + (nr >> 5); in test_and_set_bit()
41 : "0" (mask), "r" (ADDR) in test_and_set_bit()
50 register unsigned long *ADDR asm("g1"); in set_bit()
56 ADDR = ((unsigned long *) addr) + (nr >> 5); in set_bit()
64 : "0" (mask), "r" (ADDR) in set_bit()
71 register unsigned long *ADDR asm("g1"); in test_and_clear_bit()
77 ADDR = ((unsigned long *) addr) + (nr >> 5); in test_and_clear_bit()
85 : "0" (mask), "r" (ADDR) in test_and_clear_bit()
94 register unsigned long *ADDR asm("g1"); in clear_bit()
[all …]
/linux-2.4.37.9/include/asm-i386/
Dbitops.h24 #define ADDR (*(volatile long *) addr) macro
40 :"=m" (ADDR) in set_bit()
41 :"Ir" (nr), "m" (ADDR)); in set_bit()
57 :"=m" (ADDR) in __set_bit()
58 :"Ir" (nr), "m" (ADDR)); in __set_bit()
75 :"=m" (ADDR) in clear_bit()
76 :"Ir" (nr), "m" (ADDR)); in clear_bit()
94 :"=m" (ADDR) in __change_bit()
95 :"Ir" (nr), "m" (ADDR)); in __change_bit()
111 :"=m" (ADDR) in change_bit()
[all …]
/linux-2.4.37.9/arch/ia64/
Dvmlinux.lds.S36 .text : AT(ADDR(.text) - PAGE_OFFSET)
41 .text2 : AT(ADDR(.text2) - PAGE_OFFSET)
44 .text.lock : AT(ADDR(.text.lock) - PAGE_OFFSET)
56 __ex_table : AT(ADDR(__ex_table) - PAGE_OFFSET)
66 .machvec : AT(ADDR(.machvec) - PAGE_OFFSET)
74 __ksymtab : AT(ADDR(__ksymtab) - PAGE_OFFSET)
81 __kallsyms : AT(ADDR(__kallsyms) - PAGE_OFFSET)
90 .IA_64.unwind_info : AT(ADDR(.IA_64.unwind_info) - PAGE_OFFSET)
92 .IA_64.unwind : AT(ADDR(.IA_64.unwind) - PAGE_OFFSET)
99 .rodata : AT(ADDR(.rodata) - PAGE_OFFSET)
[all …]
/linux-2.4.37.9/include/asm-x86_64/
Dbitops.h24 #define ADDR (*(volatile long *) addr) macro
40 :"=m" (ADDR) in set_bit()
41 :"dIr" (nr), "m" (ADDR)); in set_bit()
57 :"=m" (ADDR) in __set_bit()
58 :"dIr" (nr), "m" (ADDR)); in __set_bit()
75 :"=m" (ADDR) in clear_bit()
76 :"dIr" (nr), "m" (ADDR)); in clear_bit()
94 :"=m" (ADDR) in __change_bit()
95 :"dIr" (nr), "m" (ADDR)); in __change_bit()
111 :"=m" (ADDR) in change_bit()
[all …]
/linux-2.4.37.9/drivers/net/skfp/
Dhwt.c98 outpd(ADDR(B2_TI_INI), (u_long) cnt * 200) ; /* Load timer value. */
99 outpw(ADDR(B2_TI_CRTL), TIM_START) ; /* Start timer. */
127 outpw(ADDR(B2_TI_CRTL), TIM_STOP) ;
128 outpw(ADDR(B2_TI_CRTL), TIM_CL_IRQ) ;
213 tr = (u_short)((inpd(ADDR(B2_TI_VAL))/200) & 0xffff) ;
247 interval = inpd(ADDR(B2_TI_INI)) ;
248 outpw(ADDR(B2_TI_CRTL), TIM_STOP) ;
249 time = inpd(ADDR(B2_TI_VAL)) ;
250 outpd(ADDR(B2_TI_INI),time) ;
251 outpw(ADDR(B2_TI_CRTL), TIM_START) ;
[all …]
Ddrvfbi.c162 outp(ADDR(CARD_DIS),0) ; /* reset for all chips */
165 outp(ADDR(CARD_EN),0) ;
178 outp(ADDR(IRQ_CHCK_EN),0) ;
183 outp(ADDR(BYPASS(STAT_INS)),0) ;/* insert station */
193 outp(ADDR(B0_CTRL), CTRL_HPI_SET) ;
198 outp(ADDR(B0_CTRL),CTRL_RST_SET) ; /* reset for all chips */
199 i = (int) inp(ADDR(B0_CTRL)) ; /* do dummy read */
201 outp(ADDR(B0_CTRL), CTRL_RST_CLR) ;
206 outp(ADDR(B0_TST_CTRL), TST_CFG_WRITE_ON) ; /* enable for writes */
209 outp(ADDR(B0_TST_CTRL), TST_CFG_WRITE_OFF) ; /* disable writes */
[all …]
Dfplustm.c56 #define DUMMY_READ() smc->hw.mc_dummy = (u_short) inp(ADDR(B0_RAP))
291 queue->rx_bmu_ctl = (HW_PTR) ADDR(B0_R1_CSR) ;
292 queue->rx_bmu_dsc = (HW_PTR) ADDR(B4_R1_DA) ;
298 queue->rx_bmu_ctl = (HW_PTR) ADDR(B0_R2_CSR) ;
299 queue->rx_bmu_dsc = (HW_PTR) ADDR(B4_R2_DA) ;
324 queue->tx_bmu_ctl = (HW_PTR) ADDR(B0_XS_CSR) ;
325 queue->tx_bmu_dsc = (HW_PTR) ADDR(B5_XS_DA) ;
335 queue->tx_bmu_ctl = (HW_PTR) ADDR(B0_XA_CSR) ;
336 queue->tx_bmu_dsc = (HW_PTR) ADDR(B5_XA_DA) ;
906 smc->hw.fp.fm_st1u = (HW_PTR) ADDR(B0_ST1U) ;
[all …]
Dhwmtm.c362 outpd(ADDR(B5_XA_DA),phys) ;
375 outpd(ADDR(B5_XS_DA),phys) ;
398 outpd(ADDR(B4_R1_DA),phys) ;
561 outpd(ADDR(B5_XA_DA),phys) ;
563 outpd(ADDR(B0_XA_CSR),CSR_START) ;
566 outpd(ADDR(B5_XS_DA),phys) ;
568 outpd(ADDR(B0_XS_CSR),CSR_START) ;
575 outpd(ADDR(B4_R1_DA),phys) ;
576 outpd(ADDR(B0_R1_CSR),CSR_START) ;
791 outpd(ADDR(B4_R1_CSR),CSR_IRQ_CL_P) ;
[all …]
/linux-2.4.37.9/include/asm-ppc64/
Dbitops.h310 __const__ unsigned char *ADDR = (__const__ unsigned char *) addr; in test_le_bit() local
311 return (ADDR[nr >> 3] >> (nr & 7)) & 1; in test_le_bit()
319 unsigned char *ADDR = (unsigned char *)addr; in __set_le_bit() local
321 ADDR += nr >> 3; in __set_le_bit()
322 *ADDR |= 1 << (nr & 0x07); in __set_le_bit()
327 unsigned char *ADDR = (unsigned char *)addr; in __clear_le_bit() local
329 ADDR += nr >> 3; in __clear_le_bit()
330 *ADDR &= ~(1 << (nr & 0x07)); in __clear_le_bit()
336 unsigned char *ADDR = (unsigned char *)addr; in __test_and_set_le_bit() local
338 ADDR += nr >> 3; in __test_and_set_le_bit()
[all …]
/linux-2.4.37.9/drivers/net/skfp/h/
Dskfbi.h27 #define ADDR(a) ((a)+smc->hw.iop) macro
535 #define FM_A(a) ADDR(FMA(a)) /* FORMAC Plus physical addr */
536 #define P1_A(a) ADDR(P1(a)) /* PLC1 (r/w) */
537 #define P2_A(a) ADDR(P2(a)) /* PLC2 (r/w) (DAS) */
538 #define TI_A(a) ADDR(TI(a)) /* Timer (r/w) FM1 only! */
539 #define PR_A(a) ADDR(PR(a)) /* config. PROM */
540 #define CS_A(a) ADDR(CS(a)) /* control/status */
542 #define ISR1_A ADDR(ISRA) /* first int. source register address */
543 #define ISR2_A ADDR(ISR2) /* second -"- */
544 #define CSR_A ADDR(CSRA) /* control/status register address */
[all …]
Dtargetos.h44 #undef ADDR
55 #undef ADDR
57 #define ADDR(a) (char far *) smc->hw.iop+(a) macro
59 #define ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), (smc->hw.iop+( ((a)&0x7F) | ((a)>>7 ?… macro
/linux-2.4.37.9/include/asm-sh/
Dbitops.h257 volatile unsigned char *ADDR = (unsigned char *) addr; in ext2_set_bit() local
259 ADDR += nr >> 3; in ext2_set_bit()
262 retval = (mask & *ADDR) != 0; in ext2_set_bit()
263 *ADDR |= mask; in ext2_set_bit()
272 volatile unsigned char *ADDR = (unsigned char *) addr; in ext2_clear_bit() local
274 ADDR += nr >> 3; in ext2_clear_bit()
277 retval = (mask & *ADDR) != 0; in ext2_clear_bit()
278 *ADDR &= ~mask; in ext2_clear_bit()
286 const volatile unsigned char *ADDR = (const unsigned char *) addr; in ext2_test_bit() local
288 ADDR += nr >> 3; in ext2_test_bit()
[all …]
/linux-2.4.37.9/include/asm-sh64/
Dbitops.h265 volatile unsigned char *ADDR = (unsigned char *) addr; in ext2_set_bit() local
267 ADDR += nr >> 3; in ext2_set_bit()
270 retval = (mask & *ADDR) != 0; in ext2_set_bit()
271 *ADDR |= mask; in ext2_set_bit()
280 volatile unsigned char *ADDR = (unsigned char *) addr; in ext2_clear_bit() local
282 ADDR += nr >> 3; in ext2_clear_bit()
285 retval = (mask & *ADDR) != 0; in ext2_clear_bit()
286 *ADDR &= ~mask; in ext2_clear_bit()
294 const volatile unsigned char *ADDR = (const unsigned char *) addr; in ext2_test_bit() local
296 ADDR += nr >> 3; in ext2_test_bit()
[all …]
/linux-2.4.37.9/include/asm-mips64/
Dbitops.h405 unsigned char *ADDR = (unsigned char *) addr; in __test_and_set_le_bit() local
408 ADDR += nr >> 3; in __test_and_set_le_bit()
410 retval = (mask & *ADDR) != 0; in __test_and_set_le_bit()
411 *ADDR |= mask; in __test_and_set_le_bit()
418 unsigned char *ADDR = (unsigned char *) addr; in __test_and_clear_le_bit() local
421 ADDR += nr >> 3; in __test_and_clear_le_bit()
423 retval = (mask & *ADDR) != 0; in __test_and_clear_le_bit()
424 *ADDR &= ~mask; in __test_and_clear_le_bit()
431 const unsigned char *ADDR = (const unsigned char *) addr; in test_le_bit() local
434 ADDR += nr >> 3; in test_le_bit()
[all …]
/linux-2.4.37.9/arch/ia64/sn/fakeprom/
Dfprom.lds43 .text : AT(ADDR(.text) - 0x0000000000000000 )
57 .rodata : AT(ADDR(.rodata) - 0x0000000000000000 )
59 .opd : AT(ADDR(.opd) - 0x0000000000000000 )
61 .data : AT(ADDR(.data) - 0x0000000000000000 )
66 .got : AT(ADDR(.got) - 0x0000000000000000 )
71 .sdata : AT(ADDR(.sdata) - 0x0000000000000000 )
75 .sbss : AT(ADDR(.sbss) - 0x0000000000000000 )
77 .bss : AT(ADDR(.bss) - 0x0000000000000000 )
/linux-2.4.37.9/include/asm-mips/
Dbitops.h700 unsigned char *ADDR = (unsigned char *) addr; in __test_and_set_le_bit() local
703 ADDR += nr >> 3; in __test_and_set_le_bit()
705 retval = (mask & *ADDR) != 0; in __test_and_set_le_bit()
706 *ADDR |= mask; in __test_and_set_le_bit()
713 unsigned char *ADDR = (unsigned char *) addr; in __test_and_clear_le_bit() local
716 ADDR += nr >> 3; in __test_and_clear_le_bit()
718 retval = (mask & *ADDR) != 0; in __test_and_clear_le_bit()
719 *ADDR &= ~mask; in __test_and_clear_le_bit()
726 const unsigned char *ADDR = (const unsigned char *) addr; in test_le_bit() local
729 ADDR += nr >> 3; in test_le_bit()
[all …]
/linux-2.4.37.9/include/asm-mips64/mips-boards/
Dbonito64.h387 #define BONITO_PCIMAP_WIN(WIN,ADDR) ((((ADDR)>>26) & BONITO_PCIMAP_PCIMAP_LO0) << ((WIN)*6)) argument
390 #define BONITO_PCIMAP_WINOFFSET(ADDR) ((ADDR) & (BONITO_PCIMAP_WINSIZE - 1)) argument
391 #define BONITO_PCIMAP_WINBASE(ADDR) ((ADDR) << 26) argument
422 #define BONITO_PCITOPHYS(WIN,ADDR,CFG) ( \ argument
423 … (((ADDR) & (~(BONITO_PCIMEMBASECFG_MASK))) & (~(BONITO_PCIMEMBASECFG_ADDRMASK(WIN,CFG)))) | \
/linux-2.4.37.9/include/asm-mips/mips-boards/
Dbonito64.h387 #define BONITO_PCIMAP_WIN(WIN,ADDR) ((((ADDR)>>26) & BONITO_PCIMAP_PCIMAP_LO0) << ((WIN)*6)) argument
390 #define BONITO_PCIMAP_WINOFFSET(ADDR) ((ADDR) & (BONITO_PCIMAP_WINSIZE - 1)) argument
391 #define BONITO_PCIMAP_WINBASE(ADDR) ((ADDR) << 26) argument
422 #define BONITO_PCITOPHYS(WIN,ADDR,CFG) ( \ argument
423 … (((ADDR) & (~(BONITO_PCIMEMBASECFG_MASK))) & (~(BONITO_PCIMEMBASECFG_ADDRMASK(WIN,CFG)))) | \
/linux-2.4.37.9/fs/xfs/
Dxfs_da_btree.h265 #define XFS_DA_LOGOFF(BASE, ADDR) ((char *)(ADDR) - (char *)(BASE)) argument
266 #define XFS_DA_LOGRANGE(BASE, ADDR, SIZE) \ argument
267 (uint)(XFS_DA_LOGOFF(BASE, ADDR)), \
268 (uint)(XFS_DA_LOGOFF(BASE, ADDR)+(SIZE)-1)
/linux-2.4.37.9/arch/sh64/boot/compressed/
Dvmlinux.lds.S21 #define ALIGNED_GAP(section, align) (((ADDR(section)+SIZEOF(section)+(align)-1) & ~((align)-1))-ADD…
/linux-2.4.37.9/include/asm-sparc64/
Dbitops.h247 __const__ unsigned char *ADDR = (__const__ unsigned char *) addr; in test_le_bit() local
249 ADDR += nr >> 3; in test_le_bit()
251 return ((mask & *ADDR) != 0); in test_le_bit()
/linux-2.4.37.9/arch/mips/lasat/image/
Dromscript.normal16 _image_start = ADDR(.data);
/linux-2.4.37.9/include/asm-ppc/
Dbitops.h314 __const__ unsigned char *ADDR = (__const__ unsigned char *) addr; in ext2_test_bit() local
316 return (ADDR[nr >> 3] >> (nr & 7)) & 1; in ext2_test_bit()
/linux-2.4.37.9/drivers/net/
Ddgrs.c149 #define OUTB(ADDR, VAL) outb(VAL, ADDR) argument
150 #define OUTW(ADDR, VAL) outw(VAL, ADDR) argument
151 #define OUTL(ADDR, VAL) outl(VAL, ADDR) argument
/linux-2.4.37.9/drivers/acorn/scsi/
Dacornscsi-io.S14 #define ADDR(off,reg) \ macro
19 #define ADDR(off,reg) \ macro

12