Home
last modified time | relevance | path

Searched refs:devres_alloc (Results 1 – 25 of 101) sorted by relevance

12345

/Linux-v6.1/sound/soc/
Dsoc-devres.c33 ptr = devres_alloc(devm_dai_release, sizeof(*ptr), GFP_KERNEL); in devm_snd_soc_register_dai()
73 ptr = devres_alloc(devm_component_release, sizeof(*ptr), GFP_KERNEL); in devm_snd_soc_register_component()
107 ptr = devres_alloc(devm_card_release, sizeof(*ptr), GFP_KERNEL); in devm_snd_soc_register_card()
145 ptr = devres_alloc(devm_dmaengine_pcm_release, sizeof(*ptr), GFP_KERNEL); in devm_snd_dmaengine_pcm_register()
/Linux-v6.1/drivers/gpio/
Dgpiolib-devres.c118 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index()
173 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_from_of_node()
211 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_fwnode_gpiod_get_index()
273 dr = devres_alloc(devm_gpiod_release_array, in devm_gpiod_get_array()
401 dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); in devm_gpio_request()
431 dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); in devm_gpio_request_one()
/Linux-v6.1/drivers/extcon/
Ddevres.c70 ptr = devres_alloc(devm_extcon_dev_release, sizeof(*ptr), GFP_KERNEL); in devm_extcon_dev_allocate()
123 ptr = devres_alloc(devm_extcon_dev_unreg, sizeof(*ptr), GFP_KERNEL); in devm_extcon_dev_register()
178 ptr = devres_alloc(devm_extcon_dev_notifier_unreg, sizeof(*ptr), in devm_extcon_register_notifier()
234 ptr = devres_alloc(devm_extcon_dev_notifier_all_unreg, sizeof(*ptr), in devm_extcon_register_notifier_all()
/Linux-v6.1/drivers/net/phy/
Dmdio_devres.c34 dr = devres_alloc(devm_mdiobus_free, sizeof(*dr), GFP_KERNEL); in devm_mdiobus_alloc_size()
83 dr = devres_alloc(devm_mdiobus_unregister, sizeof(*dr), GFP_KERNEL); in __devm_mdiobus_register()
116 dr = devres_alloc(devm_mdiobus_unregister, sizeof(*dr), GFP_KERNEL); in devm_of_mdiobus_register()
/Linux-v6.1/kernel/irq/
Ddevres.c59 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_threaded_irq()
106 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_any_context_irq()
185 dr = devres_alloc(devm_irq_desc_release, sizeof(*dr), GFP_KERNEL); in __devm_irq_alloc_descs()
268 dr = devres_alloc(devm_irq_remove_generic_chip, in devm_irq_setup_generic_chip()
/Linux-v6.1/drivers/clk/
Dclk-devres.c31 state = devres_alloc(devm_clk_release, sizeof(*state), GFP_KERNEL); in __devm_clk_get()
120 devres = devres_alloc(devm_clk_bulk_release, in __devm_clk_bulk_get()
167 devres = devres_alloc(devm_clk_bulk_release_all, in devm_clk_bulk_get_all()
210 ptr = devres_alloc(devm_clk_release, sizeof(*ptr), GFP_KERNEL); in devm_get_clk_from_child()
Dclk-fixed-rate.c78 fixed = devres_alloc(devm_clk_hw_register_fixed_rate_release, in __clk_hw_register_fixed_rate()
/Linux-v6.1/net/
Ddevres.c26 dr = devres_alloc(devm_free_netdev, sizeof(*dr), GFP_KERNEL); in devm_alloc_etherdev_mqs()
80 dr = devres_alloc(devm_unregister_netdev, sizeof(*dr), GFP_KERNEL); in devm_register_netdev()
/Linux-v6.1/drivers/regulator/
Ddevres.c27 ptr = devres_alloc(devm_regulator_release, sizeof(*ptr), GFP_KERNEL); in _devm_regulator_get()
210 devres = devres_alloc(devm_regulator_bulk_release, in devm_regulator_bulk_get()
383 ptr = devres_alloc(devm_rdev_release, sizeof(*ptr), in devm_regulator_register()
441 match = devres_alloc(devm_regulator_destroy_supply_alias, in devm_regulator_register_supply_alias()
564 match = devres_alloc(devm_regulator_destroy_notifier, in devm_regulator_register_notifier()
/Linux-v6.1/drivers/mux/
Dcore.c243 ptr = devres_alloc(devm_mux_chip_release, sizeof(*ptr), GFP_KERNEL); in devm_mux_chip_alloc()
282 ptr = devres_alloc(devm_mux_chip_reg_release, sizeof(*ptr), GFP_KERNEL); in devm_mux_chip_register()
659 ptr = devres_alloc(devm_mux_control_release, sizeof(*ptr), GFP_KERNEL); in devm_mux_control_get()
734 ptr = devres_alloc(devm_mux_state_release, sizeof(*ptr), GFP_KERNEL); in devm_mux_state_get()
/Linux-v6.1/drivers/hwspinlock/
Dhwspinlock_core.c620 ptr = devres_alloc(devm_hwspin_lock_unreg, sizeof(*ptr), GFP_KERNEL); in devm_hwspin_lock_register()
900 ptr = devres_alloc(devm_hwspin_lock_release, sizeof(*ptr), GFP_KERNEL); in devm_hwspin_lock_request()
936 ptr = devres_alloc(devm_hwspin_lock_release, sizeof(*ptr), GFP_KERNEL); in devm_hwspin_lock_request_specific()
/Linux-v6.1/drivers/phy/
Dphy-core.c804 ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); in devm_phy_get()
860 ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); in devm_of_phy_get()
900 ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); in devm_of_phy_get_by_index()
1018 ptr = devres_alloc(devm_phy_consume, sizeof(*ptr), GFP_KERNEL); in devm_phy_create()
1152 ptr = devres_alloc(devm_phy_provider_release, sizeof(*ptr), GFP_KERNEL); in __devm_of_phy_provider_register()
/Linux-v6.1/sound/core/
Disadma.c129 p = devres_alloc(__snd_release_dma, sizeof(*p), GFP_KERNEL); in snd_devm_request_dma()
/Linux-v6.1/drivers/reset/
Dcore.c149 rcdevp = devres_alloc(devm_reset_controller_release, sizeof(*rcdevp), in devm_reset_controller_register()
1040 ptr = devres_alloc(devm_reset_control_release, sizeof(*ptr), in __devm_reset_control_get()
1077 ptr = devres_alloc(devm_reset_control_bulk_release, sizeof(*ptr), in __devm_reset_control_bulk_get()
1231 ptr = devres_alloc(devm_reset_control_release, sizeof(*ptr), in devm_reset_control_array_get()
/Linux-v6.1/drivers/interconnect/
Dbulk.c144 devres = devres_alloc(devm_icc_bulk_release, sizeof(*devres), GFP_KERNEL); in devm_of_icc_bulk_get()
/Linux-v6.1/drivers/leds/
Dled-class.c292 dr = devres_alloc(devm_led_release, sizeof(struct led_classdev *), in devm_of_led_get()
487 dr = devres_alloc(devm_led_classdev_release, sizeof(*dr), GFP_KERNEL); in devm_led_classdev_register_ext()
Dled-class-multicolor.c162 dr = devres_alloc(devm_led_classdev_multicolor_release, in devm_led_classdev_multicolor_register_ext()
/Linux-v6.1/drivers/power/reset/
Dreboot-mode.c152 dr = devres_alloc(devm_reboot_mode_release, sizeof(*dr), GFP_KERNEL); in devm_reboot_mode_register()
/Linux-v6.1/drivers/soc/qcom/
Dsmem_state.c175 ptr = devres_alloc(devm_qcom_smem_state_release, sizeof(*ptr), GFP_KERNEL); in devm_qcom_smem_state_get()
/Linux-v6.1/drivers/platform/x86/
Dintel_scu_ipc.c167 dr = devres_alloc(devm_intel_scu_ipc_dev_release, sizeof(*dr), GFP_KERNEL); in devm_intel_scu_ipc_dev_get()
685 dr = devres_alloc(devm_intel_scu_ipc_unregister, sizeof(*dr), GFP_KERNEL); in __devm_intel_scu_ipc_register()
/Linux-v6.1/drivers/base/
Ddevres.c734 devres = devres_alloc(devm_action_release, in devm_add_action()
1129 devres = devres_alloc(devm_pages_release, in devm_get_free_pages()
1198 p = devres_alloc(devm_percpu_release, sizeof(void *), GFP_KERNEL); in __devm_alloc_percpu()
/Linux-v6.1/drivers/clk/sunxi-ng/
Dccu_common.c186 ccu = devres_alloc(devm_sunxi_ccu_release, sizeof(*ccu), GFP_KERNEL); in devm_sunxi_ccu_probe()
/Linux-v6.1/drivers/net/pse-pd/
Dpse_core.c120 pcdevp = devres_alloc(devm_pse_controller_release, sizeof(*pcdevp), in devm_pse_controller_register()
/Linux-v6.1/drivers/usb/phy/
Dphy.c468 ptr = devres_alloc(devm_usb_phy_release, sizeof(*ptr), GFP_KERNEL); in devm_usb_get_phy()
543 ptr = devres_alloc(devm_usb_phy_release2, sizeof(*ptr), GFP_KERNEL); in devm_usb_get_phy_by_node()
/Linux-v6.1/drivers/iio/buffer/
Dkfifo_buf.c243 ptr = devres_alloc(devm_iio_kfifo_release, sizeof(*ptr), GFP_KERNEL); in devm_iio_kfifo_allocate()

12345