Searched refs:FIELD_TO (Results 1 – 2 of 2) sorted by relevance
/dports/emulators/simh-hp2100/simh-hp2100-3.11.0.31/SCP/HP2100/ |
H A D | hp2100_mpx.c | 1058 #define CN_OPCODE(w) FIELD_TO (15, 8, w) 1059 #define CN_KEY(w) FIELD_TO ( 7, 0, w) 1184 #define GET_BPC(w) FIELD_TO (15, 14, w) 1185 #define GET_STOPBITS(w) FIELD_TO (11, 10, w) 1186 #define GET_PARITY(w) FIELD_TO ( 9, 8, w) 1187 #define GET_BAUDRATE(w) FIELD_TO ( 6, 3, w) 1188 #define GET_PORT(w) FIELD_TO ( 2, 0, w) 1361 #define GET_UIREASON(w) FIELD_TO (13, 8, w) 1362 #define GET_UIPORT(w) FIELD_TO ( 7, 0, w) 1392 #define GET_ETC(w) FIELD_TO (12, 11, w) [all …]
|
/dports/emulators/simh-hpdoc/simh-hpdoc-3.11.0/SCP/HP2100/ |
H A D | hp2100_mpx.c | 216 #undef FIELD_TO /* undefine any prior sim_defs.h usage */ 222 #define FIELD_TO(h,l,v) (((unsigned) (v) & FIELD (h, l)) >> (l)) macro 371 #define CN_OPCODE(w) FIELD_TO (15, 8, w) 372 #define CN_KEY(w) FIELD_TO ( 7, 0, w) 452 #define WR_LENGTH(w) FIELD_TO (10, 0, w) /* Write: write length in bytes */ 541 #define GET_BPC(w) FIELD_TO (15, 14, w) 542 #define GET_BAUDRATE(w) FIELD_TO ( 6, 3, w) 543 #define GET_PORT(w) FIELD_TO ( 2, 0, w) 700 #define GET_UIREASON(w) FIELD_TO (13, 8, w) 701 #define GET_UIPORT(w) FIELD_TO ( 7, 0, w)
|