Home
last modified time | relevance | path

Searched refs:GET_UNALIGN16 (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Denvd.h341 #define GET_UNALIGN16(addr) \ macro
344 (GET_UNALIGN16(addr) << 16) | GET_UNALIGN16((uint8_t *)addr + 2)
H A Dpiclenvd.c904 (GET_UNALIGN16(&scn_hdr.sscn_ver) != SSCN_VER)) { in envd_es_setup()
906 GET_UNALIGN16(&scn_hdr.sscn_ver)); in envd_es_setup()
924 GET_UNALIGN16(&seg_hdr.sseg_name), in envd_es_setup()
925 GET_UNALIGN16(&seg_hdr.sseg_off), in envd_es_setup()
926 GET_UNALIGN16(&seg_hdr.sseg_len)); in envd_es_setup()
929 if (GET_UNALIGN16(&seg_hdr.sseg_name) == ENVSEG_NAME) in envd_es_setup()
941 envseg_len = GET_UNALIGN16(&seg_hdr.sseg_len); in envd_es_setup()
948 if (lseek(fd, (off_t)GET_UNALIGN16(&seg_hdr.sseg_off), in envd_es_setup()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvd.c388 GET_UNALIGN16(&section.header_version[0]) != SECTION_HDR_VER) { in get_envseg()
393 GET_UNALIGN16(&section.header_version)); in get_envseg()
408 GET_UNALIGN16(&segment.name), in get_envseg()
410 GET_UNALIGN16(&segment.offset), in get_envseg()
411 GET_UNALIGN16(&segment.length)); in get_envseg()
412 if (GET_UNALIGN16(&segment.name) == ENVSEG_NAME) in get_envseg()
423 envseglen = GET_UNALIGN16(&segment.length); in get_envseg()
428 if (lseek(fd, (long)GET_UNALIGN16(&segment.offset), 0) == -1L || in get_envseg()
H A Denvd.h215 #define GET_UNALIGN16(addr) \ macro
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvd.c851 GET_UNALIGN16(&section.header_version[0]) != SECTION_HDR_VER) { in get_envseg()
856 GET_UNALIGN16(&section.header_version)); in get_envseg()
871 GET_UNALIGN16(&segment.name), in get_envseg()
873 GET_UNALIGN16(&segment.offset), in get_envseg()
874 GET_UNALIGN16(&segment.length)); in get_envseg()
876 if (GET_UNALIGN16(&segment.name) == ENVSEG_NAME) in get_envseg()
887 envseglen = GET_UNALIGN16(&segment.length); in get_envseg()
892 if (lseek(fd, (long)GET_UNALIGN16(&segment.offset), 0) == -1L || in get_envseg()
1078 offset = (uint_t)GET_UNALIGN16(&envsegp->sensors[i].offset); in process_fru_envseg()
1081 mapentries = GET_UNALIGN16(&datap->obs2exp_cnt); in process_fru_envseg()
H A Denvd.h49 #define GET_UNALIGN16(addr) \ macro
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvd.c532 GET_UNALIGN16(&section.header_version[0]) != SECTION_HDR_VER) { in get_envseg()
537 GET_UNALIGN16(&section.header_version)); in get_envseg()
552 GET_UNALIGN16(&segment.name), in get_envseg()
554 GET_UNALIGN16(&segment.offset), in get_envseg()
555 GET_UNALIGN16(&segment.length)); in get_envseg()
556 if (GET_UNALIGN16(&segment.name) == ENVSEG_NAME) in get_envseg()
567 envseglen = GET_UNALIGN16(&segment.length); in get_envseg()
572 if (lseek(fd, (long)GET_UNALIGN16(&segment.offset), 0) == -1L || in get_envseg()
H A Denvd.h293 #define GET_UNALIGN16(addr) \ macro