/**
* @brief Define the entry point for the PCI module.
- */
+ */
#define adf_os_pci_module_init(_fn) __adf_os_pci_module_init(_fn)
/**
* @brief Define the exit point for the PCI module.
- */
+ */
#define adf_os_pci_module_exit(_fn) __adf_os_pci_module_exit(_fn)
/**
* @brief Setup the following driver information: name, PCI IDs of devices
* supported and some device handlers.
- */
+ */
#define adf_os_pci_set_drv_info(_name, _pci_ids, _attach, _detach, _suspend, _resume) \
__adf_os_pci_set_drv_info(_name, _pci_ids, _attach, _detach, _suspend, _resume)
* @param[out] val value read
*
* @return status of operation
- */
-static inline int
+ */
+static inline int
adf_os_pci_config_read8(adf_os_device_t osdev, int offset, a_uint8_t *val)
{
return __adf_os_pci_config_read8(osdev, offset, val);
* @param[in] val value to write
*
* @return status of operation
- */
-static inline int
+ */
+static inline int
adf_os_pci_config_write8(adf_os_device_t osdev, int offset, a_uint8_t val)
{
return __adf_os_pci_config_write8(osdev, offset, val);
* @param[out] val value read
*
* @return status of operation
- */
-static inline int
+ */
+static inline int
adf_os_pci_config_read16(adf_os_device_t osdev, int offset, a_uint16_t *val)
{
return __adf_os_pci_config_read16(osdev, offset, val);
* @param[in] val value to write
*
* @return status of operation
- */
-static inline int
+ */
+static inline int
adf_os_pci_config_write16(adf_os_device_t osdev, int offset, a_uint16_t val)
{
return __adf_os_pci_config_write16(osdev, offset, val);
* @param[out] val value read
*
* @return status of operation
- */
-static inline int
+ */
+static inline int
adf_os_pci_config_read32(adf_os_device_t osdev, int offset, a_uint32_t *val)
{
return __adf_os_pci_config_read32(osdev, offset, val);
* @param[in] val value to write
*
* @return status of operation
- */
-static inline int
+ */
+static inline int
adf_os_pci_config_write32(adf_os_device_t osdev, int offset, a_uint32_t val)
{
return __adf_os_pci_config_write32(osdev, offset, val);