Searched refs:OFFSETOF (Results 1 – 1 of 1) sorted by relevance
609 #define OFFSETOF(strct, elem) ((long)&(((struct strct *)NULL)->elem)) macro612 #define CHAN_OFFSET(port,elem) (port->ch_base + OFFSETOF (_SXCHANNEL, elem))613 #define MODU_OFFSET(board,addr,elem) (addr + OFFSETOF (_SXMODULE, elem))614 #define BRD_OFFSET(board,elem) (OFFSETOF (_SXCARD, elem))