Lines Matching refs:cmd_db_header
67 struct cmd_db_header { struct
97 static bool cmd_db_magic_matches(const struct cmd_db_header *header) in cmd_db_magic_matches()
104 static struct cmd_db_header *cmd_db_header; variable
110 return cmd_db_header->data + offset; in rsc_to_entry_header()
119 return cmd_db_header->data + offset + loffset; in rsc_offset()
129 if (cmd_db_header == NULL) in cmd_db_ready()
131 else if (!cmd_db_magic_matches(cmd_db_header)) in cmd_db_ready()
154 rsc_hdr = &cmd_db_header->header[i]; in cmd_db_get_header()
254 rsc = &cmd_db_header->header[i]; in cmd_db_debugfs_dump()
323 cmd_db_header = memremap(rmem->base, rmem->size, MEMREMAP_WB); in cmd_db_dev_probe()
324 if (!cmd_db_header) { in cmd_db_dev_probe()
326 cmd_db_header = NULL; in cmd_db_dev_probe()
330 if (!cmd_db_magic_matches(cmd_db_header)) { in cmd_db_dev_probe()