Home
last modified time | relevance | path

Searched refs:flash_attr (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad_ethtool.c898 struct bfa_flash_attr *flash_attr; in bnad_get_flash_partition_by_offset() local
904 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 …]
H A Dbnad.h362 struct bfa_flash_attr flash_attr; member
H A Dbnad_debugfs.c168 ret = bfa_nw_flash_get_attr(&bnad->bna.flash, &drvinfo->flash_attr, in bnad_get_debug_drvinfo()