Lines Matching defs:u32RAP

318     uint32_t                            u32RAP;
1092 static uint32_t pcnetBCRReadU16(PPCNETSTATE pThis, uint32_t u32RAP);
1093 static int pcnetBCRWriteU16(PPCNETSTATE pThis, uint32_t u32RAP, uint32_t val);
1216 pThis->u32RAP = 0;
2747 static int pcnetCSRWriteU16(PPCNETSTATE pThis, uint32_t u32RAP, uint32_t val)
2751 Log(("#%d pcnetCSRWriteU16: rap=%d val=%#06x\n", PCNET_INST_NR, u32RAP, val));
2753 switch (u32RAP)
2882 Log(("#%d: WRITE CSR%d, %#06x !!\n", PCNET_INST_NR, u32RAP, val));
2885 if (u32RAP == 24)
2889 Log(("#%d: WRITE CSR%d, %#06x => GCRDRA=%08x (alt init)\n", PCNET_INST_NR, u32RAP, val, pThis->GCRDRA));
2900 Log(("#%d: WRITE CSR%d, %#06x !!\n", PCNET_INST_NR, u32RAP, val));
2903 if (u32RAP == 30)
2907 Log(("#%d: WRITE CSR%d, %#06x => GCTDRA=%08x (alt init)\n", PCNET_INST_NR, u32RAP, val, pThis->GCTDRA));
2924 Log(("#%d: WRITE CSR%d, %#06x !!\n", PCNET_INST_NR, u32RAP, val));
2928 u32RAP, val, 1 + ~(uint16_t)val));
2934 pThis->aCSR[u32RAP - 4] = val;
2940 pThis->aCSR[u32RAP] = val;
2959 static uint32_t pcnetCSRReadU16(PPCNETSTATE pThis, uint32_t u32RAP)
2962 switch (u32RAP)
2984 val = pThis->aCSR[u32RAP];
2987 Log(("#%d pcnetCSRReadU16: rap=%d val=%#06x\n", PCNET_INST_NR, u32RAP, val));
2992 static int pcnetBCRWriteU16(PPCNETSTATE pThis, uint32_t u32RAP, uint32_t val)
2995 u32RAP &= 0x7f;
2997 Log2(("#%d pcnetBCRWriteU16: rap=%d val=%#06x\n", PCNET_INST_NR, u32RAP, val));
2999 switch (u32RAP)
3041 pThis->aBCR[u32RAP] = val;
3178 static uint32_t pcnetBCRReadU16(PPCNETSTATE pThis, uint32_t u32RAP)
3181 u32RAP &= 0x7f;
3182 switch (u32RAP)
3188 val = pThis->aBCR[u32RAP] & ~0x8000;
3192 if (u32RAP == 4)
3210 val = u32RAP < BCR_MAX_RAP ? pThis->aBCR[u32RAP] : 0;
3214 Log2(("#%d pcnetBCRReadU16: rap=%d val=%#06x\n", PCNET_INST_NR, u32RAP, val));
3407 rc = pcnetCSRWriteU16(pThis, pThis->u32RAP, val);
3411 pThis->u32RAP = val & 0x7f;
3414 rc = pcnetBCRWriteU16(pThis, pThis->u32RAP, val);
3440 val = pcnetCSRReadU16(pThis, pThis->u32RAP);
3441 if (pThis->u32RAP == 0) // pcnetUpdateIrq() already called by pcnetCSRReadU16()
3445 val = pThis->u32RAP;
3452 val = pcnetBCRReadU16(pThis, pThis->u32RAP);
3482 rc = pcnetCSRWriteU16(pThis, pThis->u32RAP, val & 0xffff);
3486 pThis->u32RAP = val & 0x7f;
3489 rc = pcnetBCRWriteU16(pThis, pThis->u32RAP, val & 0xffff);
3523 val = pcnetCSRReadU16(pThis, pThis->u32RAP);
3524 if (pThis->u32RAP == 0) // pcnetUpdateIrq() already called by pcnetCSRReadU16()
3528 val = pThis->u32RAP;
3535 val = pcnetBCRReadU16(pThis, pThis->u32RAP);
4219 SSMR3PutU32(pSSM, pThis->u32RAP);
4291 SSMR3GetU32(pSSM, &pThis->u32RAP);