Documentation: devres: Sort managed interfaces
Sort the list of managed interfaces and their lists of methods alphabetically, to reduce the risk of merge conflicts and duplicates. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
b23b35445e
Коммит
d8e1e01289
|
@ -233,68 +233,78 @@ certainly invest a bit more effort into libata core layer).
|
||||||
6. List of managed interfaces
|
6. List of managed interfaces
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
MEM
|
CLOCK
|
||||||
devm_kmalloc()
|
devm_clk_get()
|
||||||
devm_kzalloc()
|
devm_clk_put()
|
||||||
devm_kmalloc_array()
|
|
||||||
devm_kcalloc()
|
DMA
|
||||||
devm_kfree()
|
dmam_alloc_coherent()
|
||||||
devm_kmemdup()
|
dmam_alloc_noncoherent()
|
||||||
devm_get_free_pages()
|
dmam_declare_coherent_memory()
|
||||||
devm_free_pages()
|
dmam_free_coherent()
|
||||||
|
dmam_free_noncoherent()
|
||||||
|
dmam_pool_create()
|
||||||
|
dmam_pool_destroy()
|
||||||
|
|
||||||
|
GPIO
|
||||||
|
devm_gpiod_get()
|
||||||
|
devm_gpiod_get_index()
|
||||||
|
devm_gpiod_get_index_optional()
|
||||||
|
devm_gpiod_get_optional()
|
||||||
|
devm_gpiod_put()
|
||||||
|
|
||||||
IIO
|
IIO
|
||||||
devm_iio_device_alloc()
|
devm_iio_device_alloc()
|
||||||
devm_iio_device_free()
|
devm_iio_device_free()
|
||||||
devm_iio_trigger_alloc()
|
|
||||||
devm_iio_trigger_free()
|
|
||||||
devm_iio_device_register()
|
devm_iio_device_register()
|
||||||
devm_iio_device_unregister()
|
devm_iio_device_unregister()
|
||||||
|
devm_iio_trigger_alloc()
|
||||||
|
devm_iio_trigger_free()
|
||||||
|
|
||||||
IO region
|
IO region
|
||||||
devm_request_region()
|
|
||||||
devm_request_mem_region()
|
|
||||||
devm_release_region()
|
|
||||||
devm_release_mem_region()
|
devm_release_mem_region()
|
||||||
|
devm_release_region()
|
||||||
IRQ
|
devm_request_mem_region()
|
||||||
devm_request_irq()
|
devm_request_region()
|
||||||
devm_free_irq()
|
|
||||||
|
|
||||||
DMA
|
|
||||||
dmam_alloc_coherent()
|
|
||||||
dmam_free_coherent()
|
|
||||||
dmam_alloc_noncoherent()
|
|
||||||
dmam_free_noncoherent()
|
|
||||||
dmam_declare_coherent_memory()
|
|
||||||
dmam_pool_create()
|
|
||||||
dmam_pool_destroy()
|
|
||||||
|
|
||||||
PCI
|
|
||||||
pcim_enable_device() : after success, all PCI ops become managed
|
|
||||||
pcim_pin_device() : keep PCI device enabled after release
|
|
||||||
|
|
||||||
IOMAP
|
IOMAP
|
||||||
devm_ioport_map()
|
devm_ioport_map()
|
||||||
devm_ioport_unmap()
|
devm_ioport_unmap()
|
||||||
devm_ioremap()
|
devm_ioremap()
|
||||||
devm_ioremap_nocache()
|
devm_ioremap_nocache()
|
||||||
devm_iounmap()
|
|
||||||
devm_ioremap_resource() : checks resource, requests memory region, ioremaps
|
devm_ioremap_resource() : checks resource, requests memory region, ioremaps
|
||||||
|
devm_iounmap()
|
||||||
pcim_iomap()
|
pcim_iomap()
|
||||||
pcim_iounmap()
|
|
||||||
pcim_iomap_table() : array of mapped addresses indexed by BAR
|
|
||||||
pcim_iomap_regions() : do request_region() and iomap() on multiple BARs
|
pcim_iomap_regions() : do request_region() and iomap() on multiple BARs
|
||||||
|
pcim_iomap_table() : array of mapped addresses indexed by BAR
|
||||||
|
pcim_iounmap()
|
||||||
|
|
||||||
REGULATOR
|
IRQ
|
||||||
devm_regulator_get()
|
devm_free_irq()
|
||||||
devm_regulator_put()
|
devm_request_irq()
|
||||||
devm_regulator_bulk_get()
|
|
||||||
devm_regulator_register()
|
|
||||||
|
|
||||||
CLOCK
|
MDIO
|
||||||
devm_clk_get()
|
devm_mdiobus_alloc()
|
||||||
devm_clk_put()
|
devm_mdiobus_alloc_size()
|
||||||
|
devm_mdiobus_free()
|
||||||
|
|
||||||
|
MEM
|
||||||
|
devm_free_pages()
|
||||||
|
devm_get_free_pages()
|
||||||
|
devm_kcalloc()
|
||||||
|
devm_kfree()
|
||||||
|
devm_kmalloc()
|
||||||
|
devm_kmalloc_array()
|
||||||
|
devm_kmemdup()
|
||||||
|
devm_kzalloc()
|
||||||
|
|
||||||
|
PCI
|
||||||
|
pcim_enable_device() : after success, all PCI ops become managed
|
||||||
|
pcim_pin_device() : keep PCI device enabled after release
|
||||||
|
|
||||||
|
PHY
|
||||||
|
devm_usb_get_phy()
|
||||||
|
devm_usb_put_phy()
|
||||||
|
|
||||||
PINCTRL
|
PINCTRL
|
||||||
devm_pinctrl_get()
|
devm_pinctrl_get()
|
||||||
|
@ -304,24 +314,14 @@ PWM
|
||||||
devm_pwm_get()
|
devm_pwm_get()
|
||||||
devm_pwm_put()
|
devm_pwm_put()
|
||||||
|
|
||||||
PHY
|
REGULATOR
|
||||||
devm_usb_get_phy()
|
devm_regulator_bulk_get()
|
||||||
devm_usb_put_phy()
|
devm_regulator_get()
|
||||||
|
devm_regulator_put()
|
||||||
|
devm_regulator_register()
|
||||||
|
|
||||||
SLAVE DMA ENGINE
|
SLAVE DMA ENGINE
|
||||||
devm_acpi_dma_controller_register()
|
devm_acpi_dma_controller_register()
|
||||||
|
|
||||||
SPI
|
SPI
|
||||||
devm_spi_register_master()
|
devm_spi_register_master()
|
||||||
|
|
||||||
GPIO
|
|
||||||
devm_gpiod_get()
|
|
||||||
devm_gpiod_get_index()
|
|
||||||
devm_gpiod_get_optional()
|
|
||||||
devm_gpiod_get_index_optional()
|
|
||||||
devm_gpiod_put()
|
|
||||||
|
|
||||||
MDIO
|
|
||||||
devm_mdiobus_alloc()
|
|
||||||
devm_mdiobus_alloc_size()
|
|
||||||
devm_mdiobus_free()
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче