Searched refs:_ism (Results 1 – 1 of 1) sorted by relevance
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | iosys-map.h | 124 #define iosys_map_rd(_ism, _off, _type) ({ \ argument 126 if ((_ism)->is_iomem) { \ 127 void *addr = (_ism)->vaddr_iomem + (_off); \ 134 val = READ_ONCE(*(_type *)((_ism)->vaddr + (_off))); \ 137 #define iosys_map_wr(_ism, _off, _type, _val) ({ \ argument 139 if ((_ism)->is_iomem) { \ 140 void *addr = (_ism)->vaddr_iomem + (_off); \ 147 WRITE_ONCE(*(_type *)((_ism)->vaddr + (_off)), val); \ 150 #define iosys_map_rd_field(_ism, _off, _type, _field) ({ \ argument 152 iosys_map_rd(_ism, (_off) + offsetof(_type, _field), \ [all …]
|