Searched refs:flash_attr (Results 1 – 3 of 3) sorted by relevance
898 struct bfa_flash_attr *flash_attr; in bnad_get_flash_partition_by_offset() local904 if (!flash_attr) in bnad_get_flash_partition_by_offset()912 ret = bfa_nw_flash_get_attr(&bnad->bna.flash, flash_attr, in bnad_get_flash_partition_by_offset()916 kfree(flash_attr); in bnad_get_flash_partition_by_offset()925 for (i = 0; i < flash_attr->npart; i++) { in bnad_get_flash_partition_by_offset()926 if (offset >= flash_attr->part[i].part_off && in bnad_get_flash_partition_by_offset()927 offset < (flash_attr->part[i].part_off + in bnad_get_flash_partition_by_offset()928 flash_attr->part[i].part_size)) { in bnad_get_flash_partition_by_offset()929 flash_part = flash_attr->part[i].part_type; in bnad_get_flash_partition_by_offset()930 *base_offset = flash_attr->part[i].part_off; in bnad_get_flash_partition_by_offset()[all …]
362 struct bfa_flash_attr flash_attr; member
168 ret = bfa_nw_flash_get_attr(&bnad->bna.flash, &drvinfo->flash_attr, in bnad_get_debug_drvinfo()