Device Drivers Base
Prev
Chapter 2. Device drivers infrastructure
Next
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.
dev_set_name
— set a device name
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.
__root_device_register
— allocate and register a root device
root_device_unregister
— unregister and free a root device
device_create_vargs
— creates a device and registers it with sysfs
device_create
— creates a device and registers it with sysfs
device_destroy
— removes a device that was created with
device_create
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_dev_iter_init
— initialize class device iterator
class_dev_iter_next
— iterate to the next device
class_dev_iter_exit
— finish iteration
class_for_each_device
— device iterator
class_find_device
— device iterator for locating a particular device
class_compat_register
— register a compatibility class
class_compat_unregister
— unregister a compatibility class
class_compat_create_link
— create a compatibility class device link to a bus device
class_compat_remove_link
— remove a compatibility class device link to a bus device
request_firmware
— send firmware request and wait for it
release_firmware
— release the resource associated with a firmware image
request_firmware_nowait
— asynchronous version of request_firmware
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 but don't make it visible yet.
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 auxiliary driver
sysdev_driver_unregister
— Remove an auxiliary driver.
sysdev_register
— add a system device to the tree
platform_device_register_simple
— add a platform-level device and its resources
platform_device_register_data
— add a platform-level device with platform-specific data
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
— destroy a platform device
platform_device_alloc
— create a platform device
platform_device_add_resources
— add resources to a platform device
platform_device_add_data
— add platform-specific data to a platform device
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_resndata
— add a platform-level device with resources and platform-specific data
platform_driver_register
— register a driver for platform-level devices
platform_driver_unregister
— unregister a driver for platform-level devices
platform_driver_probe
— register driver for non-hotpluggable device
platform_create_bundle
— register driver and create corresponding 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