Lines Matching refs:nic_id
50 static inline enum fwtype determine_firmware_type(struct comp_id *nic_id) in determine_firmware_type() argument
52 if (nic_id->id < 0x8000) in determine_firmware_type()
54 else if (nic_id->id == 0x8000 && nic_id->major == 0) in determine_firmware_type()
76 struct comp_id nic_id, sta_id; in determine_fw_capabilities() local
81 err = HERMES_READ_RECORD_PR(hw, USER_BAP, HERMES_RID_NICID, &nic_id); in determine_fw_capabilities()
88 le16_to_cpus(&nic_id.id); in determine_fw_capabilities()
89 le16_to_cpus(&nic_id.variant); in determine_fw_capabilities()
90 le16_to_cpus(&nic_id.major); in determine_fw_capabilities()
91 le16_to_cpus(&nic_id.minor); in determine_fw_capabilities()
93 nic_id.id, nic_id.variant, nic_id.major, nic_id.minor); in determine_fw_capabilities()
96 *hw_ver = (((nic_id.id & 0xff) << 24) | in determine_fw_capabilities()
97 ((nic_id.variant & 0xff) << 16) | in determine_fw_capabilities()
98 ((nic_id.major & 0xff) << 8) | in determine_fw_capabilities()
99 (nic_id.minor & 0xff)); in determine_fw_capabilities()
101 priv->firmware_type = determine_firmware_type(&nic_id); in determine_fw_capabilities()