Lines Matching refs:bValue
881 * @param bValue The value being written.
883 static int smcRegData_w(PDEVSMC pThis, uint8_t uReg, uint8_t bValue)
899 pThis->CurKey.Key.ab[pThis->offKey++] = bValue;
907 if (bValue <= sizeof(pThis->CurKey.Value))
909 pThis->CurKey.cbValue = bValue;
923 bValue, sizeof(pThis->CurKey.Value)));
931 pThis->CurKey.Value.ab[pThis->offValue++] = bValue;
956 pThis->CurKey.Key.ab[pThis->offKey] = bValue;
981 Log(("smcRegData_w: Unknown command %#x!\n", bValue));
995 * @param bValue The value being written.
997 static int smcRegCmd_w(PDEVSMC pThis, uint8_t uReg, uint8_t bValue)
999 LogFlow(("smcRegCmd_w: New command: %#x (old=%#x)\n", bValue, pThis->bCmd)); NOREF(uReg);
1001 pThis->bCmd = bValue;
1004 switch (bValue)
1015 Log(("SMC: Unknown command %#x!\n", bValue));
1036 * @param bValue The value being written.
1038 static int smcRegGen_w(PDEVSMC pThis, uint8_t uReg, uint8_t bValue)
1040 Log(("smcRegGen_w: %#04x: %#x -> %#x (write)\n", uReg, pThis->u.abRegsRW[uReg], bValue));
1041 pThis->u.abRegsRW[uReg] = bValue;
1066 * @param bValue The value being written.
1068 static int smcRegFF_w(PDEVSMC pThis, uint8_t uReg, uint8_t bValue)
1070 Log(("SMC: %#04x: Writing %#x to unknown register!\n", uReg, bValue));
1145 int (*pfnWrite)(PDEVSMC pThis, uint8_t uReg, uint8_t bValue);
1240 uint8_t bValue = 0xff;
1241 int rc = g_aSmcRegs[uReg].pfnRead(pThis, uReg, &bValue);
1242 *pu32 = bValue;
1253 bValue = 0xff;
1256 int rc2 = g_aSmcRegs[uReg].pfnRead(pThis, uReg, &bValue);
1265 *pu32 |= (uint32_t)bValue << ((4 - cb) * 8);