Home
last modified time | relevance | path

Searched full:managed (Results 1 – 25 of 1604) sorted by relevance

12345678910>>...65

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_managed.c20 * DOC: managed resources
22 * Inspired by struct &device managed resources, but tied to the lifetime of
32 * Note that release actions and managed memory can also be added and removed
34 * safe. But it is recommended to use managed resources only for resources that
68 list_for_each_entry_safe(dr, tmp, &dev->managed.resources, node.entry) { in drm_managed_release()
120 spin_lock_irqsave(&dev->managed.lock, flags); in add_dr()
121 list_add(&dr->node.entry, &dev->managed.resources); in add_dr()
122 spin_unlock_irqrestore(&dev->managed.lock, flags); in add_dr()
130 WARN_ON(dev->managed.final_kfree); in drmm_add_final_kfree()
133 dev->managed.final_kfree = container; in drmm_add_final_kfree()
[all …]
/kernel/linux/linux-4.19/lib/
Ddevres.c61 * devm_ioremap - Managed ioremap()
66 * Managed ioremap(). Map is automatically unmapped on driver detach.
76 * devm_ioremap_uc - Managed ioremap_uc()
81 * Managed ioremap_uc(). Map is automatically unmapped on driver detach.
91 * devm_ioremap_nocache - Managed ioremap_nocache()
96 * Managed ioremap_nocache(). Map is automatically unmapped on driver
107 * devm_ioremap_wc - Managed ioremap_wc()
112 * Managed ioremap_wc(). Map is automatically unmapped on driver detach.
122 * devm_iounmap - Managed iounmap()
126 * Managed iounmap(). @addr must have been mapped using devm_ioremap*().
[all …]
/kernel/linux/linux-5.10/lib/
Ddevres.c57 * devm_ioremap - Managed ioremap()
62 * Managed ioremap(). Map is automatically unmapped on driver detach.
72 * devm_ioremap_uc - Managed ioremap_uc()
77 * Managed ioremap_uc(). Map is automatically unmapped on driver detach.
87 * devm_ioremap_wc - Managed ioremap_wc()
92 * Managed ioremap_wc(). Map is automatically unmapped on driver detach.
102 * devm_iounmap - Managed iounmap()
106 * Managed iounmap(). @addr must have been mapped using devm_ioremap*().
162 * region and ioremaps it. All operations are managed and will be undone
199 * for a given device_node managed by a given device
[all …]
/kernel/linux/linux-4.19/kernel/irq/
Dmatrix.c16 unsigned int managed; member
86 cm->available -= cm->managed + m->systembits_inalloc; in irq_matrix_online()
111 unsigned int num, bool managed) in matrix_alloc_area() argument
121 if (managed) in matrix_alloc_area()
149 /* Find the best CPU which has the lowest number of managed IRQs allocated */
202 * irq_matrix_reserve_managed - Reserve a managed interrupt in a CPU map
221 cm->managed++; in irq_matrix_reserve_managed()
240 * irq_matrix_remove_managed - Remove managed interrupts in a CPU map
246 * This removes not allocated managed interrupts from the map. It does
247 * not matter which one because the managed interrupts free their
[all …]
/kernel/linux/linux-5.10/kernel/irq/
Dmatrix.c16 unsigned int managed; member
86 cm->available -= cm->managed + m->systembits_inalloc; in irq_matrix_online()
111 unsigned int num, bool managed) in matrix_alloc_area() argument
121 if (managed) in matrix_alloc_area()
149 /* Find the best CPU which has the lowest number of managed IRQs allocated */
202 * irq_matrix_reserve_managed - Reserve a managed interrupt in a CPU map
221 cm->managed++; in irq_matrix_reserve_managed()
240 * irq_matrix_remove_managed - Remove managed interrupts in a CPU map
246 * This removes not allocated managed interrupts from the map. It does
247 * not matter which one because the managed interrupts free their
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_managed.h15 * drmm_add_action - add a managed release action to a &drm_device
32 * drmm_add_action_or_reset - add a managed release action to a &drm_device
52 * drmm_kzalloc - &drm_device managed kzalloc()
57 * This is a &drm_device managed version of kzalloc(). The allocated memory is
67 * drmm_kmalloc_array - &drm_device managed kmalloc_array()
73 * This is a &drm_device managed version of kmalloc_array(). The allocated
89 * drmm_kcalloc - &drm_device managed kcalloc()
95 * This is a &drm_device managed version of kcalloc(). The allocated memory is
Ddrm_device.h71 * @managed:
73 * Managed resources linked to the lifetime of this &drm_device as
77 /** @managed.resources: managed resources list */
79 /** @managed.final_kfree: pointer for final kfree() call */
81 /** @managed.lock: protects @managed.resources */
83 } managed; member
/kernel/linux/linux-5.10/drivers/regulator/
Ddevres.c43 * devm_regulator_get - Resource managed regulator_get()
47 * Managed regulator_get(). Regulators returned from this function are
58 * devm_regulator_get_exclusive - Resource managed regulator_get_exclusive()
62 * Managed regulator_get_exclusive(). Regulators returned from this function
74 * devm_regulator_get_optional - Resource managed regulator_get_optional()
78 * Managed regulator_get_optional(). Regulators returned from this
100 * devm_regulator_put - Resource managed regulator_put()
131 * devm_regulator_bulk_get - managed get multiple regulator consumers
175 * devm_regulator_register - Resource managed regulator_register()
219 * devm_regulator_unregister - Resource managed regulator_unregister()
[all …]
/kernel/linux/linux-4.19/drivers/gpio/
Ddevres.c2 * drivers/gpio/devres.c - managed gpio resources
55 * devm_gpiod_get - Resource-managed gpiod_get()
60 * Managed gpiod_get(). GPIO descriptors returned from this function are
73 * devm_gpiod_get_optional - Resource-managed gpiod_get_optional()
78 * Managed gpiod_get_optional(). GPIO descriptors returned from this function
91 * devm_gpiod_get_index - Resource-managed gpiod_get_index()
97 * Managed gpiod_get_index(). GPIO descriptors returned from this function are
227 * devm_gpiod_get_index_optional - Resource-managed gpiod_get_index_optional()
233 * Managed gpiod_get_index_optional(). GPIO descriptors returned from this
256 * devm_gpiod_get_array - Resource-managed gpiod_get_array()
[all …]
/kernel/linux/linux-4.19/drivers/regulator/
Ddevres.c48 * devm_regulator_get - Resource managed regulator_get()
52 * Managed regulator_get(). Regulators returned from this function are
63 * devm_regulator_get_exclusive - Resource managed regulator_get_exclusive()
67 * Managed regulator_get_exclusive(). Regulators returned from this function
79 * devm_regulator_get_optional - Resource managed regulator_get_optional()
83 * Managed regulator_get_optional(). Regulators returned from this
105 * devm_regulator_put - Resource managed regulator_put()
136 * devm_regulator_bulk_get - managed get multiple regulator consumers
180 * devm_regulator_register - Resource managed regulator_register()
223 * devm_regulator_unregister - Resource managed regulator_unregister()
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-devres.c3 * devres.c - managed gpio resources
47 * devm_gpiod_get - Resource-managed gpiod_get()
52 * Managed gpiod_get(). GPIO descriptors returned from this function are
65 * devm_gpiod_get_optional - Resource-managed gpiod_get_optional()
70 * Managed gpiod_get_optional(). GPIO descriptors returned from this function
83 * devm_gpiod_get_index - Resource-managed gpiod_get_index()
89 * Managed gpiod_get_index(). GPIO descriptors returned from this function are
230 * devm_gpiod_get_index_optional - Resource-managed gpiod_get_index_optional()
236 * Managed gpiod_get_index_optional(). GPIO descriptors returned from this
259 * devm_gpiod_get_array - Resource-managed gpiod_get_array()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
Dt1040rdb.dts119 managed = "in-band-status";
127 managed = "in-band-status";
135 managed = "in-band-status";
143 managed = "in-band-status";
151 managed = "in-band-status";
159 managed = "in-band-status";
167 managed = "in-band-status";
175 managed = "in-band-status";
/kernel/linux/linux-5.10/Documentation/driver-api/driver-model/
Ddevres.rst2 Devres - Managed Device Resource
16 6. List of managed interfaces: Currently implemented managed interfaces
57 Managed interface is created for resources commonly used by device
59 using dma_alloc_coherent(). The managed version is called
61 for the DMA memory allocated using it is managed and will be
101 detached. If most resources are acquired using managed interface, a
138 managed devm_* versions it is up to you to check if internal operations
139 like allocating memory, have failed. Managed resources pertains to the
142 necessary before moving to the managed devm_* calls.
242 6. List of managed interfaces
[all …]
/kernel/linux/linux-4.19/include/linux/soc/ti/
Dti_sci_protocol.h42 * @get_device: Command to request for device managed by TISCI
45 * @idle_device: Command to idle a device managed by TISCI
48 * @put_device: Command to release a device managed by TISCI
79 * @set_device_resets: Command to configure resets for device managed by TISCI.
83 * @get_device_resets: Command to read state of resets for device managed
96 * managed by driver for that purpose.
125 * @idle_clock: Request for Idling a clock managed by processor
126 * @put_clock: Release the clock to be auto managed by TISCI
127 * @is_auto: Is the clock being auto managed
128 * - req_state: state indicating if the clock is auto managed
[all …]
/kernel/linux/linux-4.19/kernel/dma/
Dmapping.c18 * Managed DMA API
48 * dmam_alloc_coherent - Managed dma_alloc_coherent()
54 * Managed dma_alloc_coherent(). Memory allocated using this function
87 * dmam_free_coherent - Managed dma_free_coherent()
93 * Managed dma_free_coherent().
106 * dmam_alloc_attrs - Managed dma_alloc_attrs()
113 * Managed dma_alloc_attrs(). Memory allocated using this function will be
154 * dmam_declare_coherent_memory - Managed dma_declare_coherent_memory()
161 * Managed dma_declare_coherent_memory().
188 * dmam_release_declared_memory - Managed dma_release_declared_memory().
[all …]
/kernel/linux/linux-4.19/Documentation/driver-model/
Ddevres.txt1 Devres - Managed Device Resource
14 6. List of managed interfaces : Currently implemented managed interfaces
55 Managed interface is created for resources commonly used by device
57 using dma_alloc_coherent(). The managed version is called
59 for the DMA memory allocated using it is managed and will be
99 detached. If most resources are acquired using managed interface, a
233 6. List of managed interfaces
354 devm_pci_alloc_host_bridge() : managed PCI host bridge allocation
357 pcim_enable_device() : after success, all PCI ops become managed
/kernel/linux/linux-5.10/drivers/net/dsa/
DKconfig91 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
97 for I2C managed mode.
100 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
105 for MDIO managed mode.
124 and VSC7398 SparX integrated ethernet switches in SPI managed mode.
/kernel/linux/linux-5.10/include/linux/
Dreset.h327 * devm_reset_control_get_exclusive - resource managed
332 * Managed reset_control_get_exclusive(). For reset controllers returned
346 * devm_reset_control_get_exclusive_released - resource managed
351 * Managed reset_control_get_exclusive_released(). For reset controllers
365 * devm_reset_control_get_shared - resource managed reset_control_get_shared()
369 * Managed reset_control_get_shared(). For reset controllers returned from
380 * devm_reset_control_get_optional_exclusive - resource managed
385 * Managed reset_control_get_optional_exclusive(). For reset controllers
398 * devm_reset_control_get_optional_shared - resource managed
403 * Managed reset_control_get_optional_shared(). For reset controllers returned
[all …]
/kernel/linux/linux-5.10/drivers/extcon/
Ddevres.c53 * devm_extcon_dev_allocate - Allocate managed extcon device
90 * devm_extcon_dev_free() - Resource-managed extcon_dev_unregister()
105 * devm_extcon_dev_register() - Resource-managed extcon_dev_register()
141 * devm_extcon_dev_unregister() - Resource-managed extcon_dev_unregister()
156 * devm_extcon_register_notifier() - Resource-managed extcon_register_notifier()
200 * - Resource-managed extcon_unregister_notifier()
217 * - Resource-managed extcon_register_notifier_all()
255 * - Resource-managed extcon_unregister_notifier_all()
/kernel/linux/linux-4.19/drivers/extcon/
Ddevres.c61 * devm_extcon_dev_allocate - Allocate managed extcon device
98 * devm_extcon_dev_free() - Resource-managed extcon_dev_unregister()
113 * devm_extcon_dev_register() - Resource-managed extcon_dev_register()
149 * devm_extcon_dev_unregister() - Resource-managed extcon_dev_unregister()
164 * devm_extcon_register_notifier() - Resource-managed extcon_register_notifier()
208 - Resource-managed extcon_unregister_notifier()
225 * - Resource-managed extcon_register_notifier_all()
263 * - Resource-managed extcon_unregister_notifier_all()
/kernel/linux/linux-4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c34 * struct vmw_cmdbuf_res - Command buffer managed resource entry.
186 * vmw_cmdbuf_res_add - Stage a command buffer managed resource for addition.
228 * vmw_cmdbuf_res_remove - Stage a command buffer managed resource for removal.
281 * vmw_cmdbuf_res_man_create - Allocate a command buffer managed resource
286 * Allocates and initializes a command buffer managed resource manager. Returns
310 * vmw_cmdbuf_res_man_destroy - Destroy a command buffer managed resource
315 * This function destroys a command buffer managed resource manager and
316 * unreferences / frees all command buffer managed resources and -entries
332 * vmw_cmdbuf_res_man_size - Return the size of a command buffer managed
335 * Returns the approximate allocation size of a command buffer managed
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf_res.c34 * struct vmw_cmdbuf_res - Command buffer managed resource entry.
185 * vmw_cmdbuf_res_add - Stage a command buffer managed resource for addition.
227 * vmw_cmdbuf_res_remove - Stage a command buffer managed resource for removal.
280 * vmw_cmdbuf_res_man_create - Allocate a command buffer managed resource
285 * Allocates and initializes a command buffer managed resource manager. Returns
309 * vmw_cmdbuf_res_man_destroy - Destroy a command buffer managed resource
314 * This function destroys a command buffer managed resource manager and
315 * unreferences / frees all command buffer managed resources and -entries
331 * vmw_cmdbuf_res_man_size - Return the size of a command buffer managed
334 * Returns the approximate allocation size of a command buffer managed
/kernel/linux/linux-4.19/drivers/net/dsa/
DKconfig75 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
81 for I2C managed mode.
84 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
89 for MDIO managed mode.
/kernel/linux/linux-5.10/net/
Ddevres.c58 * devm_register_netdev - resource managed variant of register_netdev()
64 * detached. Note: the net_device used must also be resource managed by
72 /* struct net_device must itself be managed. For now a managed netdev in devm_register_netdev()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dfsl-ls1028a-kontron-kbox-a-230-ls.dts76 managed = "in-band-status";
84 managed = "in-band-status";
92 managed = "in-band-status";
100 managed = "in-band-status";

12345678910>>...65