Lines Matching refs:addr
10 #define pci_read_le16(addr, dest) \ argument
12 "r" (addr), "m" (*addr));
14 #define pci_write_le16(addr, val) \ argument
15 __asm__ __volatile__("sthbrx %1,0,%2" : "=m" (*addr) : \
16 "r" (val), "r" (addr));
19 #define pci_read_le32(addr, dest) \ argument
21 "r" (addr), "m" (*addr));
23 #define pci_write_le32(addr, val) \ argument
24 __asm__ __volatile__("stwbrx %1,0,%2" : "=m" (*addr) : \
25 "r" (val), "r" (addr));
27 #define pci_readb(addr,b) ((b) = *(volatile u8 *) (addr)) argument
28 #define pci_writeb(b,addr) ((*(volatile u8 *) (addr)) = (b)) argument
31 #define pci_readw(addr,b) ((b) = *(volatile u16 *) (addr)) argument
32 #define pci_readl(addr,b) ((b) = *(volatile u32 *) (addr)) argument
33 #define pci_writew(b,addr) ((*(volatile u16 *) (addr)) = (b)) argument
34 #define pci_writel(b,addr) ((*(volatile u32 *) (addr)) = (b)) argument
36 #define pci_readw(addr,b) pci_read_le16((volatile u16 *)(addr),(b)) argument
37 #define pci_readl(addr,b) pci_read_le32((volatile u32 *)(addr),(b)) argument
38 #define pci_writew(b,addr) pci_write_le16((volatile u16 *)(addr),(b)) argument
39 #define pci_writel(b,addr) pci_write_le32((volatile u32 *)(addr),(b)) argument