Searched refs:ADDR_TO_OFFSET (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/uts/sun4u/lw2plus/io/ |
H A D | lombus.c | 101 #define ADDR_TO_OFFSET(a, hdlp) ((caddr_t)(a) - HANDLE_ADDR(hdlp)) macro 979 offset = ADDR_TO_OFFSET(addr, hdlp); in lombus_vreg_get8() 1003 offset = ADDR_TO_OFFSET(addr, hdlp); in lombus_vreg_put8() 1068 offset = ADDR_TO_OFFSET(addr, hdlp); in lombus_pat_get8() 1093 offset = ADDR_TO_OFFSET(addr, hdlp); in lombus_pat_put8() 1149 offset = ADDR_TO_OFFSET(addr, hdlp); in lombus_event_get16() 1177 offset = ADDR_TO_OFFSET(addr, hdlp); in lombus_event_put16() 1230 offset = ADDR_TO_OFFSET(addr, hdlp); in lombus_meta_get32() 1282 offset = ADDR_TO_OFFSET(addr, hdlp); in lombus_meta_put32()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | bscbus.c | 104 #define ADDR_TO_OFFSET(a, hdlp) ((caddr_t)(a) - HANDLE_ADDR(hdlp)) macro 1078 offset = ADDR_TO_OFFSET(addr, hdlp); in bscbus_vreg_get8() 1102 offset = ADDR_TO_OFFSET(addr, hdlp); in bscbus_vreg_put8() 1164 offset = ADDR_TO_OFFSET(addr, hdlp); in bscbus_pat_get8() 1186 offset = ADDR_TO_OFFSET(addr, hdlp); in bscbus_pat_put8() 1238 offset = ADDR_TO_OFFSET(addr, hdlp); in bscbus_event_get16() 1266 offset = ADDR_TO_OFFSET(addr, hdlp); in bscbus_event_put16() 1319 offset = ADDR_TO_OFFSET(addr, hdlp); in bscbus_meta_get32() 1371 offset = ADDR_TO_OFFSET(addr, hdlp); in bscbus_meta_put32()
|