Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_nvm.c759 u16 *id_blk; in ice_get_netlist_info() local
788 id_blk = kcalloc(ICE_NETLIST_ID_BLK_SIZE, sizeof(*id_blk), GFP_KERNEL); in ice_get_netlist_info()
789 if (!id_blk) in ice_get_netlist_info()
795 (u8 *)id_blk, ICE_NETLIST_ID_BLK_SIZE * sizeof(u16)); in ice_get_netlist_info()
800 id_blk[i] = le16_to_cpu(((__force __le16 *)id_blk)[i]); in ice_get_netlist_info()
802 netlist->major = id_blk[ICE_NETLIST_ID_BLK_MAJOR_VER_HIGH] << 16 | in ice_get_netlist_info()
803 id_blk[ICE_NETLIST_ID_BLK_MAJOR_VER_LOW]; in ice_get_netlist_info()
804 netlist->minor = id_blk[ICE_NETLIST_ID_BLK_MINOR_VER_HIGH] << 16 | in ice_get_netlist_info()
805 id_blk[ICE_NETLIST_ID_BLK_MINOR_VER_LOW]; in ice_get_netlist_info()
806 netlist->type = id_blk[ICE_NETLIST_ID_BLK_TYPE_HIGH] << 16 | in ice_get_netlist_info()
[all …]