Searched refs:PTR_TO_PHYS (Results 1 - 11 of 11) sorted by relevance
/broadcom-cfe-1.4.2/cfe/dev/ |
H A D | dev_bcm1250.c | 51 /* Note that PTR_TO_PHYS only works with 32-bit addresses */ 52 #define PTR_TO_PHYS(x) (PHYSADDR((uint32_t)(uintptr_t)(x))) macro 214 /* Note: This code assumes that PTR_TO_PHYS gives a PCI memory space 219 code.addr = PTR_TO_PHYS(HSADDR2PTR(buffer->buf_ptr)); 228 phys_write32(arg_p | MBOX_SET_BIT, PTR_TO_PHYS(&code));
|
H A D | dev_rtl8139.c | 214 /* Note that PTR_TO_PHYS only works with 32-bit addresses, but then 216 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro 228 #define PTR_TO_PCI(x) (PHYS_TO_PCI(PTR_TO_PHYS(x)))
|
H A D | dev_aic6915.c | 400 #define PTR_TO_PHYS(x) (K0_TO_PHYS((uintptr_t)(x))) macro 404 #define PTR_TO_PCI(x) (PHYS_TO_PCI(PTR_TO_PHYS(x)))
|
H A D | dev_bcm4401.c | 264 /* Note that PTR_TO_PHYS only works with 32-bit addresses, but then 266 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro 282 #define PTR_TO_PCI(x) (PHYS_TO_PCI(PTR_TO_PHYS(x)))
|
H A D | dev_i82559.c | 289 /* Note that PTR_TO_PHYS only works with 32-bit addresses, but then 291 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro 303 #define PTR_TO_PCI(x) (PHYS_TO_PCI(PTR_TO_PHYS(x)))
|
H A D | dev_bcm5700.c | 451 #define PTR_TO_PHYS(x) (((uintptr_t)(x)) + 0xD0000000) macro 454 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro 459 #define PTR_TO_PCI(x) (PHYS_TO_PCI(PTR_TO_PHYS(x)))
|
H A D | dev_tulip.c | 297 /* Note that PTR_TO_PHYS only works with 32-bit addresses, but then 300 #define PTR_TO_PHYS(x) (((uintptr_t)(x)) + 0xD0000000) macro 303 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro 308 #define PTR_TO_PCI(x) (PHYS_TO_PCI(PTR_TO_PHYS(x)))
|
H A D | dev_dp83815.c | 261 /* Note that PTR_TO_PHYS only works with 32-bit addresses, but then 263 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro 267 #define PTR_TO_PCI(x) (PHYS_TO_PCI(PTR_TO_PHYS(x)))
|
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/bcmsb/src/ |
H A D | sb_pci_machdep.c | 98 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro
|
H A D | dev_sb_mac.c | 305 /* Note that PTR_TO_PHYS only works with 32-bit addresses, but then 307 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro 342 #define PTR_TO_PCI(sc,x) ((*(sc)->phys_to_dma)(PTR_TO_PHYS(x)))
|
/broadcom-cfe-1.4.2/cfe/arch/ppc/chipset/mpc824x/src/ |
H A D | dev_tulip.c | 353 /* Note that PTR_TO_PHYS only works with 32-bit addresses, but then 355 #define PTR_TO_PHYS(x) (PHYSADDR((uintptr_t)(x))) macro 367 #define PTR_TO_PCI(sc,x) (PHYS_TO_PCI((sc),PTR_TO_PHYS(x)))
|
Completed in 123 milliseconds