Searched refs:secure_regions (Results 1 – 2 of 2) sorted by relevance
298 const struct nand_secure_region *region = &chip->secure_regions[i]; in nand_region_is_secured()5317 chip->secure_regions = kcalloc(chip->nr_secure_regions, sizeof(*chip->secure_regions), in of_get_nand_secure_regions()5319 if (!chip->secure_regions) in of_get_nand_secure_regions()5324 &chip->secure_regions[i].offset); in of_get_nand_secure_regions()5326 &chip->secure_regions[i].size); in of_get_nand_secure_regions()6350 kfree(chip->secure_regions); in nand_scan_tail()6440 kfree(chip->secure_regions); in nand_cleanup()
1301 struct nand_secure_region *secure_regions; member