Lines Matching defs:func
268 * func - Function number.
278 MV_U32 mvPexConfigRead (MV_U32 pexIf, MV_U32 bus, MV_U32 dev, MV_U32 func,
282 return mvPexVrtBrgConfigRead (pexIf, bus, dev, func, regOff);
285 MV_U32 mvPexHwConfigRead (MV_U32 pexIf, MV_U32 bus, MV_U32 dev, MV_U32 func,
308 if (func >= MAX_PEX_FUNCS)
310 DB(mvOsPrintf("mvPexConfigRead: ERR. function num illigal %d\n", func));
320 DB(mvOsPrintf("mvPexConfigRead: pexIf %d, bus %d, dev %d, func %d, regOff 0x%x\n",
321 pexIf, bus, dev, func, regOff));
362 if(func != 0 ) /* i.e bridge */
372 pexData |= (func << PXCAR_FUNC_NUM_OFFS);
518 pciAddr |= (func << 8);
564 * func - Function number.
576 MV_U32 func, MV_U32 regOff, MV_U32 data)
579 return mvPexVrtBrgConfigWrite (pexIf, bus, dev, func, regOff, data);
583 MV_U32 func, MV_U32 regOff, MV_U32 data)
606 if (func >= MAX_PEX_FUNCS)
608 mvOsPrintf("mvPexConfigWrite: ERR. function number illigal %d\n", func);
675 pexData |= (func << PXCAR_FUNC_NUM_OFFS);
682 DB(mvOsPrintf("mvPexConfigWrite: If=%x bus=%x func=%x dev=%x regOff=%x data=%x \n",
683 pexIf,bus,func,dev,regOff,data,pexData) );