RTEMS: bsps/shared/dev/pci/pci_find_device.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
pci_find_device.c File Reference
`#include <rtems/pci.h>`
`#include <rtems/bspIo.h>`
`#include <inttypes.h>`
`#include <stdio.h>`

## Data Structures
struct | pci_scan_arg_t

## Macros
#define | PCIB_DEVSIG_BUS(x) (((x)>>8) &0xff)
#define | PCIB_DEVSIG_DEV(x) (((x)>>3) & 0x1f)
#define | PCIB_DEVSIG_FUNC(x) ((x) & 0x7)
#define | PCIB_DEVSIG_MAKE(b, d, f) ((b<<8)|(d<<3)|(f))

## Typedefs
typedef int(* | pci_scan_helper_t) (int bus, int dev, int fun, void *uarg)

## Functions
void | pci_dump (FILE *f)
int | pci_find_device (uint16_t vendorid, uint16_t deviceid, int instance, int *bus, int *device, int *function)

## Detailed Description

This file implements a BSP independent version of pci_find_device().