FreeBSD/sys/dev/pms/freebsd/driver/common/lxosapi.c
/******************************************************************************
ostiChipConfigWriteBit32()
Purpose:
  Write 32-bit value to PCI configuration register
Parameters:
  tiRoot_t *ptiRoot (IN)     Pointer to tiRoot structure
  U32 chipConfigOffset (IN)  Offset to PCI configuration register    
  U32 chipConfigValue (IN)   Value to be written
Return: none
******************************************************************************/
ostiChipConfigWriteBit32()
Purpose:
Write 32-bit value to PCI configuration register
Parameters:
tiRoot_t *ptiRoot (IN)     Pointer to tiRoot structure
U32 chipConfigOffset (IN)  Offset to PCI configuration register
U32 chipConfigValue (IN)   Value to be written
Return: none
ostiChipConfigWriteBit32 () Purpose : Write 32 - bit value to PCI configuration register Parameters : tiRoot_t * ptiRoot ( IN ) Pointer to tiRoot structure U32 chipConfigOffset ( IN ) Offset to PCI configuration register U32 chipConfigValue ( IN ) Value to be written Return : none
void ostiChipConfigWriteBit32( tiRoot_t *ptiRoot,
			       U32       chipConfigOffset,
			       U32       chipConfigValue   )
{
  device_t lDev = TIROOT_TO_PCIDEV(ptiRoot);
  pci_write_config( lDev, chipConfigOffset, chipConfigValue, 4 );
}
void ostiChipConfigWriteBit32 ( tiRoot_t * ptiRoot , U32 chipConfigOffset , U32 chipConfigValue ) { device_t lDev = TIROOT_TO_PCIDEV ( ptiRoot ) ; pci_write_config ( lDev , chipConfigOffset , chipConfigValue , 4 ) ; }
ostiChipConfigWriteBit32()
Purpose:
Write 32-bit value to PCI configuration register
Parameters:
tiRoot_t *ptiRoot (IN)     Pointer to tiRoot structure
U32 chipConfigOffset (IN)  Offset to PCI configuration register
U32 chipConfigValue (IN)   Value to be written
Return: none
ostiChipConfigWriteBit32 () Purpose : Write 32 - bit value to PCI configuration register Parameters : tiRoot_t * ptiRoot ( IN ) Pointer to tiRoot structure U32 chipConfigOffset ( IN ) Offset to PCI configuration register U32 chipConfigValue ( IN ) Value to be written Return : none