Lines Matching refs:IoC
54 SK_IOC IoC, /* IO Context */ in VpdWait() argument
83 VPD_IN16(pAC, IoC, PCI_VPD_ADR_REG, &state); in VpdWait()
106 SK_IOC IoC, /* IO Context */ in VpdReadDWord() argument
116 VPD_OUT16(pAC, IoC, PCI_VPD_ADR_REG, (SK_U16)addr); in VpdReadDWord()
119 (void)VpdWait(pAC, IoC, VPD_READ); in VpdReadDWord()
124 VPD_IN32(pAC, IoC, PCI_VPD_DAT_REG, &Rtv); in VpdReadDWord()
160 SK_IOC IoC, /* IO Context */
168 VPD_OUT32(pAC, IoC, PCI_VPD_DAT_REG, (SK_U32)data);
172 VPD_OUT16(pAC, IoC, PCI_VPD_ADR_REG, (SK_U16)(addr | VPD_WRITE));
175 if (VpdWait(pAC, IoC, VPD_WRITE)) {
182 if (VpdReadDWord(pAC, IoC, addr) != data) {
200 SK_IOC IoC, /* IO Context */ in VpdWriteStream() argument
225 VPD_OUT16(pAC, IoC, PCI_VPD_ADR_REG, AdrReg); in VpdWriteStream()
228 Rtv = VpdWait(pAC, IoC, VPD_READ); in VpdWriteStream()
235 VPD_OUT8(pAC, IoC, PCI_VPD_DAT_REG + (i%sizeof(SK_U32)), in VpdWriteStream()
244 VPD_OUT16(pAC, IoC, PCI_VPD_ADR_REG, AdrReg); in VpdWriteStream()
247 Rtv = VpdWait(pAC, IoC, VPD_WRITE); in VpdWriteStream()
259 VPD_OUT16(pAC, IoC, PCI_VPD_ADR_REG, AdrReg); in VpdWriteStream()
262 Rtv = VpdWait(pAC, IoC, VPD_READ); in VpdWriteStream()
271 VPD_IN8(pAC, IoC, PCI_VPD_DAT_REG + j, &Data); in VpdWriteStream()
295 SK_IOC IoC, /* IO Context */ in VpdReadStream() argument
311 VPD_OUT16(pAC, IoC, PCI_VPD_ADR_REG, AdrReg); in VpdReadStream()
314 Rtv = VpdWait(pAC, IoC, VPD_READ); in VpdReadStream()
319 VPD_IN8(pAC, IoC, PCI_VPD_DAT_REG + (i%sizeof(SK_U32)), in VpdReadStream()
334 SK_IOC IoC, /* IO Context */ in VpdTransferBlock() argument
366 Rtv = VpdReadStream(pAC, IoC, buf, addr, len); in VpdTransferBlock()
369 Rtv = VpdWriteStream(pAC, IoC, buf, addr, len); in VpdTransferBlock()
384 SK_IOC IoC, /* IO Context */ in VpdReadBlock() argument
389 return(VpdTransferBlock(pAC, IoC, buf, addr, len, VPD_READ)); in VpdReadBlock()
399 SK_IOC IoC, /* IO Context */ in VpdWriteBlock() argument
404 return(VpdTransferBlock(pAC, IoC, buf, addr, len, VPD_WRITE)); in VpdWriteBlock()
419 SK_IOC IoC) /* IO Context */ in VpdInit() argument
430 VPD_IN16(pAC, IoC, PCI_DEVICE_ID, &dev_id); in VpdInit()
432 VPD_IN32(pAC, IoC, PCI_OUR_REG_2, &our_reg2); in VpdInit()
459 if (VpdTransferBlock(pAC, IoC, pAC->vpd.vpd_buf, 0, vpd_size, VPD_READ) in VpdInit()
822 SK_IOC IoC) /* IO Context */ in VpdStat() argument
825 (void)VpdInit(pAC, IoC); in VpdStat()
855 SK_IOC IoC, /* IO Context */ in VpdKeys() argument
866 if (VpdInit(pAC, IoC) != 0) { in VpdKeys()
941 SK_IOC IoC, /* IO Context */ in VpdRead() argument
950 if (VpdInit(pAC, IoC) != 0) { in VpdRead()
1012 SK_IOC IoC, /* IO Context */ in VpdWrite() argument
1033 if (VpdInit(pAC, IoC) != 0) { in VpdWrite()
1072 SK_IOC IoC, /* IO Context */ in VpdDelete() argument
1083 if (VpdInit(pAC, IoC) != 0) { in VpdDelete()
1127 SK_IOC IoC) /* IO Context */ in VpdUpdate() argument
1135 if (VpdTransferBlock(pAC, IoC, pAC->vpd.vpd_buf + vpd_size/2, in VpdUpdate()
1161 SK_IOC IoC, /* IO Context */ in VpdErrLog() argument
1170 if (VpdInit(pAC, IoC) != 0) { in VpdErrLog()
1191 (void)VpdUpdate(pAC, IoC); in VpdErrLog()