diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-07-10 04:10:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-11 20:56:55 -0400 |
commit | d8e1e01289316552bd5037aaa1f5a0e8d22b0eb3 (patch) | |
tree | 5e0a529991dd3ccffd6adaac67bbc5f9cde32ec9 /Documentation/driver-model | |
parent | b23b35445ec82cde8afac8ba86b57a66a5fa1734 (diff) |
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>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r-- | Documentation/driver-model/devres.txt | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 034d32b00846..d14710b04439 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt | |||
@@ -233,68 +233,78 @@ certainly invest a bit more effort into libata core layer). | |||
233 | 6. List of managed interfaces | 233 | 6. List of managed interfaces |
234 | ----------------------------- | 234 | ----------------------------- |
235 | 235 | ||
236 | MEM | 236 | CLOCK |
237 | devm_kmalloc() | 237 | devm_clk_get() |
238 | devm_kzalloc() | 238 | devm_clk_put() |
239 | devm_kmalloc_array() | 239 | |
240 | devm_kcalloc() | 240 | DMA |
241 | devm_kfree() | 241 | dmam_alloc_coherent() |
242 | devm_kmemdup() | 242 | dmam_alloc_noncoherent() |
243 | devm_get_free_pages() | 243 | dmam_declare_coherent_memory() |
244 | devm_free_pages() | 244 | dmam_free_coherent() |
245 | dmam_free_noncoherent() | ||
246 | dmam_pool_create() | ||
247 | dmam_pool_destroy() | ||
248 | |||
249 | GPIO | ||
250 | devm_gpiod_get() | ||
251 | devm_gpiod_get_index() | ||
252 | devm_gpiod_get_index_optional() | ||
253 | devm_gpiod_get_optional() | ||
254 | devm_gpiod_put() | ||
245 | 255 | ||
246 | IIO | 256 | IIO |
247 | devm_iio_device_alloc() | 257 | devm_iio_device_alloc() |
248 | devm_iio_device_free() | 258 | devm_iio_device_free() |
249 | devm_iio_trigger_alloc() | ||
250 | devm_iio_trigger_free() | ||
251 | devm_iio_device_register() | 259 | devm_iio_device_register() |
252 | devm_iio_device_unregister() | 260 | devm_iio_device_unregister() |
261 | devm_iio_trigger_alloc() | ||
262 | devm_iio_trigger_free() | ||
253 | 263 | ||
254 | IO region | 264 | IO region |
255 | devm_request_region() | ||
256 | devm_request_mem_region() | ||
257 | devm_release_region() | ||
258 | devm_release_mem_region() | 265 | devm_release_mem_region() |
259 | 266 | devm_release_region() | |
260 | IRQ | 267 | devm_request_mem_region() |
261 | devm_request_irq() | 268 | devm_request_region() |
262 | devm_free_irq() | ||
263 | |||
264 | DMA | ||
265 | dmam_alloc_coherent() | ||
266 | dmam_free_coherent() | ||
267 | dmam_alloc_noncoherent() | ||
268 | dmam_free_noncoherent() | ||
269 | dmam_declare_coherent_memory() | ||
270 | dmam_pool_create() | ||
271 | dmam_pool_destroy() | ||
272 | |||
273 | PCI | ||
274 | pcim_enable_device() : after success, all PCI ops become managed | ||
275 | pcim_pin_device() : keep PCI device enabled after release | ||
276 | 269 | ||
277 | IOMAP | 270 | IOMAP |
278 | devm_ioport_map() | 271 | devm_ioport_map() |
279 | devm_ioport_unmap() | 272 | devm_ioport_unmap() |
280 | devm_ioremap() | 273 | devm_ioremap() |
281 | devm_ioremap_nocache() | 274 | devm_ioremap_nocache() |
282 | devm_iounmap() | ||
283 | devm_ioremap_resource() : checks resource, requests memory region, ioremaps | 275 | devm_ioremap_resource() : checks resource, requests memory region, ioremaps |
276 | devm_iounmap() | ||
284 | pcim_iomap() | 277 | pcim_iomap() |
285 | pcim_iounmap() | ||
286 | pcim_iomap_table() : array of mapped addresses indexed by BAR | ||
287 | pcim_iomap_regions() : do request_region() and iomap() on multiple BARs | 278 | pcim_iomap_regions() : do request_region() and iomap() on multiple BARs |
279 | pcim_iomap_table() : array of mapped addresses indexed by BAR | ||
280 | pcim_iounmap() | ||
288 | 281 | ||
289 | REGULATOR | 282 | IRQ |
290 | devm_regulator_get() | 283 | devm_free_irq() |
291 | devm_regulator_put() | 284 | devm_request_irq() |
292 | devm_regulator_bulk_get() | ||
293 | devm_regulator_register() | ||
294 | 285 | ||
295 | CLOCK | 286 | MDIO |
296 | devm_clk_get() | 287 | devm_mdiobus_alloc() |
297 | devm_clk_put() | 288 | devm_mdiobus_alloc_size() |
289 | devm_mdiobus_free() | ||
290 | |||
291 | MEM | ||
292 | devm_free_pages() | ||
293 | devm_get_free_pages() | ||
294 | devm_kcalloc() | ||
295 | devm_kfree() | ||
296 | devm_kmalloc() | ||
297 | devm_kmalloc_array() | ||
298 | devm_kmemdup() | ||
299 | devm_kzalloc() | ||
300 | |||
301 | PCI | ||
302 | pcim_enable_device() : after success, all PCI ops become managed | ||
303 | pcim_pin_device() : keep PCI device enabled after release | ||
304 | |||
305 | PHY | ||
306 | devm_usb_get_phy() | ||
307 | devm_usb_put_phy() | ||
298 | 308 | ||
299 | PINCTRL | 309 | PINCTRL |
300 | devm_pinctrl_get() | 310 | devm_pinctrl_get() |
@@ -304,24 +314,14 @@ PWM | |||
304 | devm_pwm_get() | 314 | devm_pwm_get() |
305 | devm_pwm_put() | 315 | devm_pwm_put() |
306 | 316 | ||
307 | PHY | 317 | REGULATOR |
308 | devm_usb_get_phy() | 318 | devm_regulator_bulk_get() |
309 | devm_usb_put_phy() | 319 | devm_regulator_get() |
320 | devm_regulator_put() | ||
321 | devm_regulator_register() | ||
310 | 322 | ||
311 | SLAVE DMA ENGINE | 323 | SLAVE DMA ENGINE |
312 | devm_acpi_dma_controller_register() | 324 | devm_acpi_dma_controller_register() |
313 | 325 | ||
314 | SPI | 326 | SPI |
315 | devm_spi_register_master() | 327 | devm_spi_register_master() |
316 | |||
317 | GPIO | ||
318 | devm_gpiod_get() | ||
319 | devm_gpiod_get_index() | ||
320 | devm_gpiod_get_optional() | ||
321 | devm_gpiod_get_index_optional() | ||
322 | devm_gpiod_put() | ||
323 | |||
324 | MDIO | ||
325 | devm_mdiobus_alloc() | ||
326 | devm_mdiobus_alloc_size() | ||
327 | devm_mdiobus_free() | ||