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