Searched refs:dcr_c (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | dcr.h | 29 #define dcr_map(dev, dcr_n, dcr_c) dcr_map_generic(dev, dcr_n, dcr_c) argument 30 #define dcr_unmap(host, dcr_c) dcr_unmap_generic(host, dcr_c) argument 39 #define dcr_map(dev, dcr_n, dcr_c) dcr_map_native(dev, dcr_n, dcr_c) argument 40 #define dcr_unmap(host, dcr_c) dcr_unmap_native(host, dcr_c) argument 46 #define dcr_map(dev, dcr_n, dcr_c) dcr_map_mmio(dev, dcr_n, dcr_c) argument 47 #define dcr_unmap(host, dcr_c) dcr_unmap_mmio(host, dcr_c) argument
|
H A D | dcr-generic.h | 25 unsigned int dcr_c); 26 extern void dcr_unmap_generic(dcr_host_t host, unsigned int dcr_c);
|
H A D | dcr-mmio.h | 26 unsigned int dcr_c); 27 extern void dcr_unmap_mmio(dcr_host_mmio_t host, unsigned int dcr_c);
|
H A D | dcr-native.h | 26 #define dcr_map_native(dev, dcr_n, dcr_c) \ argument 28 #define dcr_unmap_native(host, dcr_c) do {} while (0) argument
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | dcr.c | 50 unsigned int dcr_c) in dcr_map_generic() argument 68 host.host.native = dcr_map_native(dev, dcr_n, dcr_c); in dcr_map_generic() 71 host.host.mmio = dcr_map_mmio(dev, dcr_n, dcr_c); in dcr_map_generic() 79 void dcr_unmap_generic(dcr_host_t host, unsigned int dcr_c) in dcr_unmap_generic() argument 82 dcr_unmap_native(host.host.native, dcr_c); in dcr_unmap_generic() 84 dcr_unmap_mmio(host.host.mmio, dcr_c); in dcr_unmap_generic() 180 unsigned int dcr_c) in dcr_map_mmio() argument 186 dev, dcr_n, dcr_c); in dcr_map_mmio() 193 pr_debug("mapping 0x%x bytes\n", dcr_c * ret.stride); in dcr_map_mmio() 194 ret.token = ioremap(addr, dcr_c * ret.stride); in dcr_map_mmio() [all …]
|