Lines Matching refs:addr
31 volatile unsigned char *addr; in __sn_inb() local
34 if ((addr = sn_io_addr(port))) { in __sn_inb()
35 ret = *addr; in __sn_inb()
37 sn_dma_flush((unsigned long)addr); in __sn_inb()
45 volatile unsigned short *addr; in __sn_inw() local
48 if ((addr = sn_io_addr(port))) { in __sn_inw()
49 ret = *addr; in __sn_inw()
51 sn_dma_flush((unsigned long)addr); in __sn_inw()
59 volatile unsigned int *addr; in __sn_inl() local
62 if ((addr = sn_io_addr(port))) { in __sn_inl()
63 ret = *addr; in __sn_inl()
65 sn_dma_flush((unsigned long)addr); in __sn_inl()
73 volatile unsigned char *addr; in __sn_outb() local
75 if ((addr = sn_io_addr(port))) { in __sn_outb()
76 *addr = val; in __sn_outb()
84 volatile unsigned short *addr; in __sn_outw() local
86 if ((addr = sn_io_addr(port))) { in __sn_outw()
87 *addr = val; in __sn_outw()
95 volatile unsigned int *addr; in __sn_outl() local
97 if ((addr = sn_io_addr(port))) { in __sn_outl()
98 *addr = val; in __sn_outl()
113 __sn_readb (void *addr) in __sn_readb() argument
117 val = *(volatile unsigned char *)addr; in __sn_readb()
119 sn_dma_flush((unsigned long)addr); in __sn_readb()
124 __sn_readw (void *addr) in __sn_readw() argument
128 val = *(volatile unsigned short *)addr; in __sn_readw()
130 sn_dma_flush((unsigned long)addr); in __sn_readw()
135 __sn_readl (void *addr) in __sn_readl() argument
139 val = *(volatile unsigned int *) addr; in __sn_readl()
141 sn_dma_flush((unsigned long)addr); in __sn_readl()
146 __sn_readq (void *addr) in __sn_readq() argument
150 val = *(volatile unsigned long *) addr; in __sn_readq()
152 sn_dma_flush((unsigned long)addr); in __sn_readq()
168 volatile unsigned char *addr = (unsigned char *)port; in sn_inb_fast() local
171 ret = *addr; in sn_inb_fast()
179 volatile unsigned short *addr = (unsigned short *)port; in sn_inw_fast() local
182 ret = *addr; in sn_inw_fast()
190 volatile unsigned int *addr = (unsigned int *)port; in sn_inl_fast() local
193 ret = *addr; in sn_inl_fast()
199 sn_readb_fast (void *addr) in sn_readb_fast() argument
201 return *(volatile unsigned char *)addr; in sn_readb_fast()
205 sn_readw_fast (void *addr) in sn_readw_fast() argument
207 return *(volatile unsigned short *)addr; in sn_readw_fast()
211 sn_readl_fast (void *addr) in sn_readl_fast() argument
213 return *(volatile unsigned int *) addr; in sn_readl_fast()
217 sn_readq_fast (void *addr) in sn_readq_fast() argument
219 return *(volatile unsigned long *) addr; in sn_readq_fast()