|
FreeBSD kernel kern code
|
#include <sys/types.h>#include <sys/systm.h>#include <sys/bus.h>
Go to the source code of this file.
Variables | |
| INTERFACE | bus |
| CODE | |
| METHOD int | print_child |
| Print a description of a child device. More... | |
| device_t | _child |
| DEFAULT | bus_generic_print_child |
| METHOD void | probe_nomatch |
| Print a notification about an unprobed child device. More... | |
| METHOD int | read_ivar |
| Read the value of a bus-specific attribute of a device. More... | |
| int | _index |
| uintptr_t * | _result |
| METHOD int | write_ivar |
| Write the value of a bus-specific attribute of a device. More... | |
| int | _indx |
| uintptr_t | _value |
| METHOD void | child_deleted |
| Notify a bus that a child was deleted. More... | |
| METHOD void | child_detached |
| Notify a bus that a child was detached. More... | |
| METHOD void | driver_added |
| Notify a bus that a new driver was added. More... | |
| driver_t * | _driver |
| DEFAULT | bus_generic_driver_added |
| METHOD device_t | add_child |
| Create a new child device. More... | |
| u_int | _order |
| const char * | _name |
| int | _unit |
| DEFAULT | null_add_child |
| METHOD struct resource * | alloc_resource |
| Allocate a system resource. More... | |
| int | _type |
| int * | _rid |
| u_long | _start |
| u_long | _end |
| u_long | _count |
| u_int | _flags |
| DEFAULT | null_alloc_resource |
| METHOD int | activate_resource |
| Activate a resource. More... | |
| struct resource * | _r |
| METHOD int | deactivate_resource |
| Deactivate a resource. More... | |
| METHOD int | adjust_resource |
| Adjust a resource. More... | |
| struct resource * | _res |
| METHOD int | release_resource |
| Release a resource. More... | |
| METHOD int | setup_intr |
| Install an interrupt handler. More... | |
| struct resource * | _irq |
| driver_filter_t * | _filter |
| driver_intr_t * | _intr |
| void * | _arg |
| void ** | _cookiep |
| METHOD int | teardown_intr |
| Uninstall an interrupt handler. More... | |
| void * | _cookie |
| METHOD int | set_resource |
| Define a resource which can be allocated with BUS_ALLOC_RESOURCE(). More... | |
| METHOD int | get_resource |
| Describe a resource. More... | |
| u_long * | _startp |
| u_long * | _countp |
| METHOD void | delete_resource |
| Delete a resource. More... | |
| METHOD struct resource_list * | get_resource_list |
| Return a struct resource_list. More... | |
| DEFAULT | bus_generic_get_resource_list |
| METHOD int | child_present |
Is the hardware described by _child still attached to the system? More... | |
| DEFAULT | bus_generic_child_present |
| METHOD int | child_pnpinfo_str |
| Returns the pnp info for this device. More... | |
| char * | _buf |
| size_t | _buflen |
| METHOD int | child_location_str |
| Returns the location for this device. More... | |
| METHOD int | bind_intr |
| Allow drivers to request that an interrupt be bound to a specific CPU. More... | |
| int | _cpu |
| DEFAULT | bus_generic_bind_intr |
| METHOD int | config_intr |
| Allow (bus) drivers to specify the trigger mode and polarity of the specified interrupt. More... | |
| enum intr_trigger | _trig |
| enum intr_polarity | _pol |
| DEFAULT | bus_generic_config_intr |
| METHOD int | describe_intr |
| Allow drivers to associate a description with an active interrupt handler. More... | |
| const char * | _descr |
| DEFAULT | bus_generic_describe_intr |
| METHOD void | hinted_child |
| Notify a (bus) driver about a child that the hints mechanism believes it has discovered. More... | |
| const char * | _dname |
| int | _dunit |
| METHOD bus_dma_tag_t | get_dma_tag |
| Returns bus_dma_tag_t for use w/ devices on the bus. More... | |
| DEFAULT | bus_generic_get_dma_tag |
| METHOD void | hint_device_unit |
| Allow the bus to determine the unit number of a device. More... | |
| int * | _unitp |
| METHOD void | new_pass |
| Notify a bus that the bus pass level has been changed. More... | |
| DEFAULT | bus_generic_new_pass |
| METHOD int | remap_intr |
| Notify a bus that specified child's IRQ should be remapped. More... | |
| DEFAULT | null_remap_intr |