Searched refs:diag_query (Results 1 – 2 of 2) sorted by relevance
158 static int mpr_diag_query(struct mpr_softc *sc, mpr_fw_diag_query_t *diag_query,1700 mpr_diag_query(struct mpr_softc *sc, mpr_fw_diag_query_t *diag_query, in mpr_diag_query() argument1707 unique_id = diag_query->UniqueId; in mpr_diag_query()1714 i = diag_query->BufferType; in mpr_diag_query()1731 diag_query->BufferType = pBuffer->buffer_type; in mpr_diag_query()1732 diag_query->ExtendedType = pBuffer->extended_type; in mpr_diag_query()1733 if (diag_query->BufferType == MPI2_DIAG_BUF_TYPE_TRACE) { in mpr_diag_query()1734 for (i = 0; i < (sizeof(diag_query->ProductSpecific) / 4); in mpr_diag_query()1736 diag_query->ProductSpecific[i] = in mpr_diag_query()1740 diag_query->TotalBufferSize = pBuffer->size; in mpr_diag_query()[all …]
160 static int mps_diag_query(struct mps_softc *sc, mps_fw_diag_query_t *diag_query,1588 mps_diag_query(struct mps_softc *sc, mps_fw_diag_query_t *diag_query, in mps_diag_query() argument1595 unique_id = diag_query->UniqueId; in mps_diag_query()1602 i = diag_query->BufferType; in mps_diag_query()1619 diag_query->BufferType = pBuffer->buffer_type; in mps_diag_query()1620 diag_query->ExtendedType = pBuffer->extended_type; in mps_diag_query()1621 if (diag_query->BufferType == MPI2_DIAG_BUF_TYPE_TRACE) { in mps_diag_query()1622 for (i = 0; i < (sizeof(diag_query->ProductSpecific) / 4); in mps_diag_query()1624 diag_query->ProductSpecific[i] = in mps_diag_query()1628 diag_query->TotalBufferSize = pBuffer->size; in mps_diag_query()[all …]