Searched refs:id_blk (Results 1 – 1 of 1) sorted by relevance
745 u16 *id_blk; in ice_get_netlist_info() local774 id_blk = kcalloc(ICE_NETLIST_ID_BLK_SIZE, sizeof(*id_blk), GFP_KERNEL); in ice_get_netlist_info()775 if (!id_blk) in ice_get_netlist_info()781 (u8 *)id_blk, ICE_NETLIST_ID_BLK_SIZE * sizeof(u16)); in ice_get_netlist_info()786 id_blk[i] = le16_to_cpu(((__force __le16 *)id_blk)[i]); in ice_get_netlist_info()788 netlist->major = id_blk[ICE_NETLIST_ID_BLK_MAJOR_VER_HIGH] << 16 | in ice_get_netlist_info()789 id_blk[ICE_NETLIST_ID_BLK_MAJOR_VER_LOW]; in ice_get_netlist_info()790 netlist->minor = id_blk[ICE_NETLIST_ID_BLK_MINOR_VER_HIGH] << 16 | in ice_get_netlist_info()791 id_blk[ICE_NETLIST_ID_BLK_MINOR_VER_LOW]; in ice_get_netlist_info()792 netlist->type = id_blk[ICE_NETLIST_ID_BLK_TYPE_HIGH] << 16 | in ice_get_netlist_info()[all …]