Home
last modified time | relevance | path

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

12345678910>>...38

/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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 …]
/Linux-v5.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
/Linux-v5.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 …]
/Linux-v5.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";
/Linux-v5.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 …]
/Linux-v5.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.
/Linux-v5.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 …]
/Linux-v5.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()
/Linux-v5.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
/Linux-v5.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";
/Linux-v5.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()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmmgm200.c144 struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm200_vmm_new_() argument
168 return nvkm_vmm_new_(func, mmu, 0, managed, addr, size, key, name, pvmm); in gm200_vmm_new_()
172 gm200_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm200_vmm_new() argument
176 return gm200_vmm_new_(&gm200_vmm_16, &gm200_vmm_17, mmu, managed, addr, in gm200_vmm_new()
181 gm200_vmm_new_fixed(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm200_vmm_new_fixed() argument
185 return gf100_vmm_new_(&gm200_vmm_16, &gm200_vmm_17, mmu, managed, addr, in gm200_vmm_new_fixed()
Dvmmgm20b.c57 gm20b_vmm_new(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm20b_vmm_new() argument
61 return gm200_vmm_new_(&gm20b_vmm_16, &gm20b_vmm_17, mmu, managed, addr, in gm20b_vmm_new()
66 gm20b_vmm_new_fixed(struct nvkm_mmu *mmu, bool managed, u64 addr, u64 size, in gm20b_vmm_new_fixed() argument
70 return gf100_vmm_new_(&gm20b_vmm_16, &gm20b_vmm_17, mmu, managed, addr, in gm20b_vmm_new_fixed()
/Linux-v5.10/Documentation/doc-guide/
Dcontributing.rst59 - Resource-managed devfreq_register_notifier()
61 - Resource-managed devfreq_unregister_notifier()
70 - Resource-managed devfreq_register_notifier()
91 - Resource-managed devfreq_register_notifier()
93 - Resource-managed devfreq_unregister_notifier()
110 - - Resource-managed devfreq_register_notifier()
111 + * - Resource-managed devfreq_register_notifier()
119 - - Resource-managed devfreq_unregister_notifier()
120 + * - Resource-managed devfreq_unregister_notifier()
255 managed to turn a big pile into a group of smaller piles. The work of
/Linux-v5.10/drivers/base/
Ddevres.c531 * devres_release_all - Release all managed resources
731 * devm_add_action() - add a custom action to list of managed resources
736 * This adds a custom action to the list of managed resources so that
801 * Managed kmalloc/kfree
814 * devm_kmalloc - Resource-managed kmalloc
819 * Managed kmalloc. Memory allocated with this function is
849 * devm_krealloc - Resource-managed krealloc()
855 * Managed krealloc(). Resizes the memory chunk allocated with devm_kmalloc().
920 WARN(1, "Memory chunk not managed or managed by a different device."); in devm_krealloc()
946 * devm_kstrdup - Allocate resource managed space and
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/net/dsa/
Dlan9303.txt7 - "smsc,lan9303-i2c" for I2C managed mode
9 - "smsc,lan9303-mdio" for mdio managed mode
27 I2C managed mode:
65 MDIO managed mode:
/Linux-v5.10/include/trace/events/
Dirq_matrix.h78 __field( unsigned int, managed )
91 __entry->managed = cmap->managed;
98 …TP_printk("bit=%d cpu=%u online=%d avl=%u alloc=%u managed=%u online_maps=%u global_avl=%u, global…
101 __entry->managed, __entry->online_maps,
/Linux-v5.10/Documentation/ABI/testing/
Ddevlink-resource-mlxsw17 Description: The linear section of the KVD is managed by software as a
24 Description: The hash based section of the KVD is managed by the switch
32 Description: The hash based section of the KVD is managed by the switch
/Linux-v5.10/drivers/net/phy/
Dmdio_devres.c20 * devm_mdiobus_alloc_size - Resource-managed mdiobus_alloc_size()
24 * Managed mdiobus_alloc_size. mii_bus allocated with this function is
66 * __devm_mdiobus_register - Resource-managed variant of mdiobus_register()
101 * devm_of_mdiobus_register - Resource managed variant of of_mdiobus_register()
/Linux-v5.10/arch/arm64/boot/dts/marvell/
Darmada-3720-turris-mox.dts155 managed = "in-band-status";
381 managed = "in-band-status";
388 managed = "in-band-status";
398 managed = "in-band-status";
465 managed = "in-band-status";
572 managed = "in-band-status";
580 managed = "in-band-status";
590 managed = "in-band-status";
657 managed = "in-band-status";
764 managed = "in-band-status";
[all …]
/Linux-v5.10/Documentation/networking/devlink/
Dmlx5.rst35 * ``dmfs`` Device managed flow steering. In DMFS mode, the HW
36 steering entities are created and managed through firmware.
37 * ``smfs`` Software managed flow steering. In SMFS mode, the HW

12345678910>>...38