Chapter 16. Device drivers infrastructure
Prev |  | Next

## Chapter 16. Device drivers infrastructure

Table of Contents

Device Drivers Base
Device Drivers Power Management
Device Drivers ACPI Support
Device drivers PnP support
Userspace IO devices

## Device Drivers Base

driver_for_each_device — Iterator for devices bound to a driver.
driver_find_device — device iterator for locating a particular device.
driver_create_file — create sysfs file for driver.
driver_remove_file — remove sysfs file for driver.
driver_add_kobj — add a kobject below the specified driver
get_driver — increment driver reference count.
put_driver — decrement driver's refcount.
driver_register — register driver with bus
driver_unregister — remove driver from system.
driver_find — locate driver on a bus by its name.
dev_driver_string — Return a device's driver name, if at all possible
device_create_file — create sysfs attribute file for device.
device_remove_file — remove sysfs attribute file.
device_create_bin_file — create sysfs binary attribute file for device.
device_remove_bin_file — remove sysfs binary attribute file
device_schedule_callback_owner — helper to schedule a callback for a device
device_initialize — init device structure.
device_add — add device to device hierarchy.
device_register — register a device with the system.
get_device — increment reference count for device.
put_device — decrement reference count.
device_del — delete device from system.
device_unregister — unregister device from system.
device_for_each_child — device child iterator.
device_find_child — device iterator for locating a particular device.
device_create — creates a device and registers it with sysfs
device_destroy — removes a device that was created with `device_create`
destroy_suspended_device — asks the PM core to remove a suspended device
device_rename — renames a device
device_move — moves a device to a new parent
class_create — create a struct class structure
class_destroy — destroys a struct class structure
class_device_create — creates a class device and registers it with sysfs
class_device_destroy — removes a class device that was created with `class_device_create`
class_for_each_device — device iterator
class_find_device — device iterator for locating a particular device
class_find_child — device iterator for locating a particular class_device
request_firmware — send firmware request and wait for it
release_firmware — release the resource associated with a firmware image
request_firmware_nowait —
transport_class_register — register an initial transport class
transport_class_unregister — unregister a previously registered class
anon_transport_class_register — register an anonymous class
anon_transport_class_unregister — unregister an anon class
transport_setup_device — declare a new dev for transport class association
transport_add_device — declare a new dev for transport class association
transport_configure_device — configure an already set up device
transport_remove_device — remove the visibility of a device
transport_destroy_device — destroy a removed device
sysdev_driver_register — Register auxillary driver
sysdev_driver_unregister — Remove an auxillary driver.
sysdev_register — add a system device to the tree
platform_get_resource — get a resource for a device
platform_get_irq — get an IRQ for a device
platform_get_resource_byname — get a resource for a device by name
platform_get_irq_byname — get an IRQ for a device
platform_add_devices — add a numbers of platform devices
platform_device_put —
platform_device_alloc —
platform_device_add_resources —
platform_device_add_data —
platform_device_add — add a platform device to device hierarchy
platform_device_del — remove a platform-level device
platform_device_register — add a platform-level device
platform_device_unregister — unregister a platform-level device
platform_device_register_simple —
platform_driver_register —
platform_driver_unregister —
platform_driver_probe — register driver for non-hotpluggable device
bus_for_each_dev — device iterator.
bus_find_device — device iterator for locating a particular device.
bus_find_device_by_name — device iterator for locating a particular device of a specific name
bus_for_each_drv — driver iterator
bus_rescan_devices — rescan devices on the bus for possible drivers
device_reprobe — remove driver for a device and probe for a new driver
bus_register — register a bus with the system.
bus_unregister — remove a bus from the system

Prev |  | Next
pm_send_all | Home | driver_for_each_device