Lines Matching refs:rsc_hdr
54 struct rsc_hdr { struct
76 struct rsc_hdr header[MAX_SLV_ID]; argument
112 static inline const void *rsc_to_entry_header(const struct rsc_hdr *hdr) in rsc_to_entry_header()
120 rsc_offset(const struct rsc_hdr *hdr, const struct entry_header *ent) in rsc_offset()
145 const struct rsc_hdr **rh) in cmd_db_get_header()
147 const struct rsc_hdr *rsc_hdr; in cmd_db_get_header() local
159 rsc_hdr = &cmd_db_header->header[i]; in cmd_db_get_header()
160 if (!rsc_hdr->slv_id) in cmd_db_get_header()
163 ent = rsc_to_entry_header(rsc_hdr); in cmd_db_get_header()
164 for (j = 0; j < le16_to_cpu(rsc_hdr->cnt); j++, ent++) { in cmd_db_get_header()
169 *rh = rsc_hdr; in cmd_db_get_header()
211 const struct rsc_hdr *rsc_hdr; in cmd_db_read_aux_data() local
213 ret = cmd_db_get_header(id, &ent, &rsc_hdr); in cmd_db_read_aux_data()
220 return rsc_offset(rsc_hdr, ent); in cmd_db_read_aux_data()
274 const struct rsc_hdr *rsc; in cmd_db_debugfs_dump()