Sort function prototypes.
This commit is contained in:
parent
0e03919dc4
commit
0a9c80e520
@ -30,51 +30,51 @@
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm pci ,
|
||||
.Nm pci_read_config ,
|
||||
.Nm pci_write_config ,
|
||||
.Nm pci_enable_busmaster ,
|
||||
.Nm pci_disable_busmaster ,
|
||||
.Nm pci_enable_io ,
|
||||
.Nm pci_disable_io ,
|
||||
.Nm pci_set_powerstate ,
|
||||
.Nm pci_get_powerstate ,
|
||||
.Nm pci_save_state ,
|
||||
.Nm pci_restore_state ,
|
||||
.Nm pci_enable_busmaster ,
|
||||
.Nm pci_enable_io ,
|
||||
.Nm pci_find_bsf ,
|
||||
.Nm pci_find_dbsf ,
|
||||
.Nm pci_find_device
|
||||
.Nm pci_find_device ,
|
||||
.Nm pci_get_powerstate ,
|
||||
.Nm pci_read_config ,
|
||||
.Nm pci_restore_state ,
|
||||
.Nm pci_save_state ,
|
||||
.Nm pci_set_powerstate ,
|
||||
.Nm pci_write_config
|
||||
.Nd PCI bus interface
|
||||
.Sh SYNOPSIS
|
||||
.In sys/bus.h
|
||||
.In dev/pci/pcivar.h
|
||||
.In dev/pci/pcireg.h
|
||||
.In machine/pci_cfgreg.h
|
||||
.Ft void
|
||||
.Fn pci_write_config "device_t dev" "int reg" "uint32_t val" "int width"
|
||||
.Ft int
|
||||
.Fn pci_enable_busmaster "device_t dev"
|
||||
.Ft int
|
||||
.Fn pci_disable_busmaster "device_t dev"
|
||||
.Ft int
|
||||
.Fn pci_enable_io "device_t dev" "int space"
|
||||
.Ft int
|
||||
.Fn pci_disable_io "device_t dev" "int space"
|
||||
.Ft int
|
||||
.Fn pci_set_powerstate "device_t dev" "int state"
|
||||
.Fn pci_enable_busmaster "device_t dev"
|
||||
.Ft int
|
||||
.Fn pci_get_powerstate "device_t dev"
|
||||
.Ft uint32_t
|
||||
.Fn pci_read_config "device_t dev" "int reg" "int width"
|
||||
.Ft void
|
||||
.Fn pci_save_state "device_t dev"
|
||||
.Ft void
|
||||
.Fn pci_restore_state "device_t dev"
|
||||
.Fn pci_enable_io "device_t dev" "int space"
|
||||
.Ft device_t
|
||||
.Fn pci_find_bsf "uint8_t bus" "uint8_t slot" "uint8_t func"
|
||||
.Ft device_t
|
||||
.Fn pci_find_dbsf "uint32_t domain" "uint8_t bus" "uint8_t slot" "uint8_t func"
|
||||
.Ft device_t
|
||||
.Fn pci_find_device "uint16_t vendor" "uint16_t device"
|
||||
.Ft int
|
||||
.Fn pci_get_powerstate "device_t dev"
|
||||
.Ft uint32_t
|
||||
.Fn pci_read_config "device_t dev" "int reg" "int width"
|
||||
.Ft void
|
||||
.Fn pci_restore_state "device_t dev"
|
||||
.Ft void
|
||||
.Fn pci_save_state "device_t dev"
|
||||
.Ft int
|
||||
.Fn pci_set_powerstate "device_t dev" "int state"
|
||||
.Ft void
|
||||
.Fn pci_write_config "device_t dev" "int reg" "uint32_t val" "int width"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
|
Loading…
Reference in New Issue
Block a user