Changeset 59503 in vbox for trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
- Timestamp:
- Jan 28, 2016 9:29:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevIchHdaCodec.cpp
r59492 r59503 1359 1359 *pResp = 0; 1360 1360 1361 AssertMsgFailed(("Invalid node address: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));1361 AssertMsgFailed(("Invalid node address: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 1362 1362 return false; 1363 1363 } … … 1426 1426 u8Index); 1427 1427 else 1428 LogRel2(("HDA: Unhandled get amplifier command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));1428 LogRel2(("HDA: Unhandled get amplifier command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 1429 1429 1430 1430 return VINF_SUCCESS; … … 1454 1454 pAmplifier = &pNode->adc.B_params; 1455 1455 else 1456 LogRel2(("HDA: Unhandled set amplifier command: 0x%x (Payload=%RU16, NID= %RU8)\n",1456 LogRel2(("HDA: Unhandled set amplifier command: 0x%x (Payload=%RU16, NID=0x%x [%RU8])\n", 1457 1457 cmd, CODEC_VERB_PAYLOAD16(cmd), CODEC_NID(cmd))); 1458 1458 … … 1531 1531 *pResp = pThis->paNodes[CODEC_NID(cmd)].adcvol.u32F01_param; 1532 1532 else 1533 LogRel2(("HDA: Unhandled get pin control command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));1533 LogRel2(("HDA: Unhandled get pin control command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 1534 1534 1535 1535 return VINF_SUCCESS; … … 1556 1556 pu32Reg = &pThis->paNodes[CODEC_NID(cmd)].adcvol.u32F01_param; 1557 1557 else 1558 LogRel2(("HDA: Unhandled set connection select control command: 0x%x (Payload=0x%x, NID= %RU8)\n",1558 LogRel2(("HDA: Unhandled set connection select control command: 0x%x (Payload=0x%x, NID=0x%x [%RU8])\n", 1559 1559 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 1560 1560 … … 1586 1586 *pResp = pThis->paNodes[CODEC_NID(cmd)].reserved.u32F07_param; 1587 1587 else 1588 LogRel2(("HDA: Unhandled get pin control command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));1588 LogRel2(("HDA: Unhandled get pin control command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 1589 1589 1590 1590 return VINF_SUCCESS; … … 1614 1614 pu32Reg = &pThis->paNodes[CODEC_NID(cmd)].reserved.u32F07_param; 1615 1615 else 1616 LogRel2(("HDA: Unhandled set pin control command: 0x%x (Payload=%RU8, NID= %RU8)\n",1616 LogRel2(("HDA: Unhandled set pin control command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 1617 1617 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 1618 1618 … … 1644 1644 *pResp = pThis->paNodes[CODEC_NID(cmd)].digin.u32F08_param; 1645 1645 else 1646 LogRel2(("HDA: Unhandled get unsolicited enabled command: 0x%x (NID= %RU8)\n",1646 LogRel2(("HDA: Unhandled get unsolicited enabled command: 0x%x (NID=0x%x [%RU8])\n", 1647 1647 cmd, CODEC_NID(cmd))); 1648 1648 … … 1672 1672 pu32Reg = &pThis->paNodes[CODEC_NID(cmd)].digout.u32F08_param; 1673 1673 else 1674 LogRel2(("HDA: Unhandled set unsolicited enabled command: 0x%x (Payload=%RU8, NID= %RU8)\n",1674 LogRel2(("HDA: Unhandled set unsolicited enabled command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 1675 1675 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 1676 1676 … … 1694 1694 *pResp = pThis->paNodes[CODEC_NID(cmd)].digin.u32F09_param; 1695 1695 else 1696 LogRel2(("HDA: Unhandled get pin sense command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));1696 LogRel2(("HDA: Unhandled get pin sense command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 1697 1697 1698 1698 return VINF_SUCCESS; … … 1713 1713 pu32Reg = &pThis->paNodes[CODEC_NID(cmd)].digin.u32F09_param; 1714 1714 else 1715 LogRel2(("HDA: Unhandled set pin sense command: 0x%x (Payload=%RU8, NID= %RU8)\n",1715 LogRel2(("HDA: Unhandled set pin sense command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 1716 1716 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 1717 1717 … … 1915 1915 *pResp = pThis->paNodes[CODEC_NID(cmd)].reserved.u32F05_param; 1916 1916 else 1917 LogRel2(("HDA: Unhandled get power state command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));1917 LogRel2(("HDA: Unhandled get power state command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 1918 1918 1919 1919 return VINF_SUCCESS; … … 1957 1957 pu32Reg = &pThis->paNodes[CODEC_NID(cmd)].reserved.u32F05_param; 1958 1958 else 1959 LogRel2(("HDA: Unhandled set power state command: 0x%x (Payload=%RU8, NID= %RU8)\n",1959 LogRel2(("HDA: Unhandled set power state command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 1960 1960 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 1961 1961 … … 2019 2019 *pResp = pThis->paNodes[CODEC_NID(cmd)].reserved.u32F06_param; 2020 2020 else 2021 LogRel2(("HDA: Unhandled get stream ID command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));2021 LogRel2(("HDA: Unhandled get stream ID command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 2022 2022 2023 2023 return VINF_SUCCESS; … … 2044 2044 pu32addr = &pThis->paNodes[CODEC_NID(cmd)].reserved.u32F06_param; 2045 2045 else 2046 LogRel2(("HDA: Unhandled set stream ID command: 0x%x (Payload=%RU8, NID= %RU8)\n",2046 LogRel2(("HDA: Unhandled set stream ID command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 2047 2047 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 2048 2048 … … 2068 2068 *pResp = pThis->paNodes[CODEC_NID(cmd)].spdifin.u32A_param; 2069 2069 else 2070 LogRel2(("HDA: Unhandled get power state command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));2070 LogRel2(("HDA: Unhandled get power state command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 2071 2071 2072 2072 return VINF_SUCCESS; … … 2089 2089 hdaCodecSetRegisterU16(&pThis->paNodes[CODEC_NID(cmd)].spdifin.u32A_param, cmd, 0); 2090 2090 else 2091 LogRel2(("HDA: Unhandled set converter format command: 0x%x (Payload=%RU8, NID= %RU8)\n",2091 LogRel2(("HDA: Unhandled set converter format command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 2092 2092 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 2093 2093 … … 2110 2110 *pResp = pThis->paNodes[CODEC_NID(cmd)].digin.u32F0c_param; 2111 2111 else 2112 LogRel2(("HDA: Unhandled get EAPD/BTL enable command: 0x%x (Payload=%RU8, NID= %RU8)\n", cmd, CODEC_NID(cmd)));2112 LogRel2(("HDA: Unhandled get EAPD/BTL enable command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 2113 2113 2114 2114 return VINF_SUCCESS; … … 2131 2131 pu32Reg = &pThis->paNodes[CODEC_NID(cmd)].digin.u32F0c_param; 2132 2132 else 2133 LogRel2(("HDA: Unhandled set EAPD/BTL enable command: 0x%x (Payload=%RU8, NID= %RU8)\n",2133 LogRel2(("HDA: Unhandled set EAPD/BTL enable command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 2134 2134 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 2135 2135 … … 2151 2151 *pResp = pThis->paNodes[CODEC_NID(cmd)].volumeKnob.u32F0f_param; 2152 2152 else 2153 LogRel2(("HDA: Unhandled get volume knob control command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));2153 LogRel2(("HDA: Unhandled get volume knob control command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 2154 2154 2155 2155 return VINF_SUCCESS; … … 2168 2168 pu32Reg = &pThis->paNodes[CODEC_NID(cmd)].volumeKnob.u32F0f_param; 2169 2169 else 2170 LogRel2(("HDA: Unhandled set volume control command: 0x%x (Payload=%RU8, NID= %RU8)\n",2170 LogRel2(("HDA: Unhandled set volume control command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 2171 2171 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 2172 2172 … … 2189 2189 *pResp = pThis->paNodes[1].afg.u32F17_param; 2190 2190 else 2191 LogRel2(("HDA: Unhandled get GPIO unsolisted command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));2191 LogRel2(("HDA: Unhandled get GPIO unsolisted command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 2192 2192 2193 2193 return VINF_SUCCESS; … … 2206 2206 pu32Reg = &pThis->paNodes[1].afg.u32F17_param; 2207 2207 else 2208 LogRel2(("HDA: Unhandled set GPIO unsolisted command: 0x%x (Payload=%RU8, NID= %RU8)\n",2208 LogRel2(("HDA: Unhandled set GPIO unsolisted command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 2209 2209 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 2210 2210 … … 2236 2236 *pResp = pThis->paNodes[CODEC_NID(cmd)].reserved.u32F1c_param; 2237 2237 else 2238 LogRel2(("HDA: Unhandled get config command: 0x%x (NID= %RU8)\n", cmd, CODEC_NID(cmd)));2238 LogRel2(("HDA: Unhandled get config command: 0x%x (NID=0x%x [%RU8])\n", cmd, CODEC_NID(cmd))); 2239 2239 2240 2240 return VINF_SUCCESS; … … 2257 2257 pu32Reg = &pThis->paNodes[CODEC_NID(cmd)].reserved.u32F1c_param; 2258 2258 else 2259 LogRel2(("HDA: Unhandled set config command: 0x%x (Payload=%RU8, NID= %RU8)\n",2259 LogRel2(("HDA: Unhandled set config command: 0x%x (Payload=%RU8, NID=0x%x [%RU8])\n", 2260 2260 cmd, CODEC_VERB_PAYLOAD8(cmd), CODEC_NID(cmd))); 2261 2261
Note:
See TracChangeset
for help on using the changeset viewer.