Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/arch/x86/cpu/tangier/
H A Dsdram.c26 static int sfi_table_check(struct sfi_table_header *sbh) in sfi_table_check() argument
29 char *pos = (char *)sbh; in sfi_table_check()
32 if (sbh->len < SFI_TABLE_LENGTH) in sfi_table_check()
35 if (sbh->len > SFI_LENGTH) in sfi_table_check()
38 for (i = 0; i < sbh->len; i++) in sfi_table_check()
48 static int sfi_table_is_type(struct sfi_table_header *sbh, const char *signature) in sfi_table_is_type() argument
50 return !strncmp(sbh->sig, signature, SFI_SIGNATURE_SIZE) && in sfi_table_is_type()
51 !sfi_table_check(sbh); in sfi_table_is_type()
71 struct sfi_table_header *sbh; in sfi_search_mmap() local
83 sys_entry_cnt = (sb->header.len - sizeof(*sbh)) / 8; in sfi_search_mmap()
[all …]