Searched refs:drmem (Results 1 – 1 of 1) sorted by relevance
394 static void read_drconf_cell(struct of_drconf_cell *drmem, const __be32 **cellp) in read_drconf_cell() argument398 drmem->base_addr = read_n_cells(n_mem_addr_cells, cellp); in read_drconf_cell()401 drmem->drc_index = of_read_number(cp, 1); in read_drconf_cell()402 drmem->reserved = of_read_number(&cp[1], 1); in read_drconf_cell()403 drmem->aa_index = of_read_number(&cp[2], 1); in read_drconf_cell()404 drmem->flags = of_read_number(&cp[3], 1); in read_drconf_cell()496 static int of_drconf_to_nid_single(struct of_drconf_cell *drmem, in of_drconf_to_nid_single() argument504 !(drmem->flags & DRCONF_MEM_AI_INVALID) && in of_drconf_to_nid_single()505 drmem->aa_index < aa->n_arrays) { in of_drconf_to_nid_single()506 index = drmem->aa_index * aa->array_sz + min_common_depth - 1; in of_drconf_to_nid_single()[all …]