Home
last modified time | relevance | path

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

/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_discovery.c1228 bmic_ident_ctrl_t *identify_ctrl; in pqisrc_get_ctrl_fw_version() local
1232 identify_ctrl = os_mem_alloc(softs, sizeof(*identify_ctrl)); in pqisrc_get_ctrl_fw_version()
1233 if (!identify_ctrl) { in pqisrc_get_ctrl_fw_version()
1238 memset(identify_ctrl, 0, sizeof(*identify_ctrl)); in pqisrc_get_ctrl_fw_version()
1240 ret = pqisrc_identify_ctrl(softs, identify_ctrl); in pqisrc_get_ctrl_fw_version()
1244 softs->fw_build_number = identify_ctrl->fw_build_number; in pqisrc_get_ctrl_fw_version()
1245 memcpy(softs->fw_version, identify_ctrl->fw_version, in pqisrc_get_ctrl_fw_version()
1246 sizeof(identify_ctrl->fw_version)); in pqisrc_get_ctrl_fw_version()
1247 softs->fw_version[sizeof(identify_ctrl->fw_version)] = '\0'; in pqisrc_get_ctrl_fw_version()
1251 "-%u", identify_ctrl->fw_build_number); in pqisrc_get_ctrl_fw_version()
[all …]