Lines Matching refs:header
14 __fru_get_board_tl(struct fru_common_header *header, int nr) in __fru_get_board_tl() argument
19 bia = fru_get_board_area(header); in __fru_get_board_tl()
30 static char *__fru_alloc_get_tl(struct fru_common_header *header, int nr) in __fru_alloc_get_tl() argument
35 tl = __fru_get_board_tl(header, nr); in __fru_alloc_get_tl()
46 int fru_header_cksum_ok(struct fru_common_header *header) in fru_header_cksum_ok() argument
48 uint8_t *ptr = (void *)header; in fru_header_cksum_ok()
51 for (i = sum = 0; i < sizeof(*header); i++) in fru_header_cksum_ok()
66 char *fru_get_board_manufacturer(struct fru_common_header *header) in fru_get_board_manufacturer() argument
68 return __fru_alloc_get_tl(header, 0); in fru_get_board_manufacturer()
70 char *fru_get_product_name(struct fru_common_header *header) in fru_get_product_name() argument
72 return __fru_alloc_get_tl(header, 1); in fru_get_product_name()
74 char *fru_get_serial_number(struct fru_common_header *header) in fru_get_serial_number() argument
76 return __fru_alloc_get_tl(header, 2); in fru_get_serial_number()
78 char *fru_get_part_number(struct fru_common_header *header) in fru_get_part_number() argument
80 return __fru_alloc_get_tl(header, 3); in fru_get_part_number()