Home
last modified time | relevance | path

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

12345

/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/gpio/
Dgpiolib-devres.c118 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index()
156 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_fwnode_gpiod_get_index()
218 dr = devres_alloc(devm_gpiod_release_array, in devm_gpiod_get_array()
346 dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); in devm_gpio_request()
376 dr = devres_alloc(devm_gpio_release, sizeof(unsigned), GFP_KERNEL); in devm_gpio_request_one()
/linux-6.6.21/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()
117 dr = devres_alloc(devm_mdiobus_unregister, sizeof(*dr), GFP_KERNEL); in __devm_of_mdiobus_register()
/linux-6.6.21/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-6.6.21/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()
211 state = devres_alloc(devm_clk_release, sizeof(*state), 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()
Dclk-gate.c242 ptr = devres_alloc(devm_clk_hw_release_gate, sizeof(*ptr), GFP_KERNEL); in __devm_clk_hw_register_gate()
/linux-6.6.21/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-6.6.21/drivers/regulator/
Ddevres.c27 ptr = devres_alloc(devm_regulator_release, sizeof(*ptr), GFP_KERNEL); in _devm_regulator_get()
196 devres = devres_alloc(devm_regulator_bulk_release, in _devm_regulator_bulk_get()
413 ptr = devres_alloc(devm_rdev_release, sizeof(*ptr), in devm_regulator_register()
471 match = devres_alloc(devm_regulator_destroy_supply_alias, in devm_regulator_register_supply_alias()
594 match = devres_alloc(devm_regulator_destroy_notifier, in devm_regulator_register_notifier()
/linux-6.6.21/drivers/mux/
Dcore.c241 ptr = devres_alloc(devm_mux_chip_release, sizeof(*ptr), GFP_KERNEL); in devm_mux_chip_alloc()
280 ptr = devres_alloc(devm_mux_chip_reg_release, sizeof(*ptr), GFP_KERNEL); in devm_mux_chip_register()
657 ptr = devres_alloc(devm_mux_control_release, sizeof(*ptr), GFP_KERNEL); in devm_mux_control_get()
732 ptr = devres_alloc(devm_mux_state_release, sizeof(*ptr), GFP_KERNEL); in devm_mux_state_get()
/linux-6.6.21/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-6.6.21/drivers/phy/
Dphy-core.c785 ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); in devm_phy_get()
841 ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); in devm_of_phy_get()
911 ptr = devres_alloc(devm_phy_release, sizeof(*ptr), GFP_KERNEL); in devm_of_phy_get_by_index()
1031 ptr = devres_alloc(devm_phy_consume, sizeof(*ptr), GFP_KERNEL); in devm_phy_create()
1165 ptr = devres_alloc(devm_phy_provider_release, sizeof(*ptr), GFP_KERNEL); in __devm_of_phy_provider_register()
/linux-6.6.21/sound/core/
Disadma.c129 p = devres_alloc(__snd_release_dma, sizeof(*p), GFP_KERNEL); in snd_devm_request_dma()
/linux-6.6.21/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-6.6.21/drivers/interconnect/
Dbulk.c144 devres = devres_alloc(devm_icc_bulk_release, sizeof(*devres), GFP_KERNEL); in devm_of_icc_bulk_get()
/linux-6.6.21/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-6.6.21/drivers/power/reset/
Dreboot-mode.c152 dr = devres_alloc(devm_reboot_mode_release, sizeof(*dr), GFP_KERNEL); in devm_reboot_mode_register()
/linux-6.6.21/drivers/leds/
Dled-class-multicolor.c164 dr = devres_alloc(devm_led_classdev_multicolor_release, in devm_led_classdev_multicolor_register_ext()
Dled-class.c289 dr = devres_alloc(devm_led_release, sizeof(struct led_classdev *), GFP_KERNEL); in __devm_led_get()
627 dr = devres_alloc(devm_led_classdev_release, sizeof(*dr), GFP_KERNEL); in devm_led_classdev_register_ext()
/linux-6.6.21/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()
698 dr = devres_alloc(devm_intel_scu_ipc_unregister, sizeof(*dr), GFP_KERNEL); in __devm_intel_scu_ipc_register()
/linux-6.6.21/drivers/net/pse-pd/
Dpse_core.c120 pcdevp = devres_alloc(devm_pse_controller_release, sizeof(*pcdevp), in devm_pse_controller_register()
/linux-6.6.21/drivers/clk/sunxi-ng/
Dccu_common.c198 ccu = devres_alloc(devm_sunxi_ccu_release, sizeof(*ccu), GFP_KERNEL); in devm_sunxi_ccu_probe()
/linux-6.6.21/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-6.6.21/drivers/iio/buffer/
Dkfifo_buf.c243 ptr = devres_alloc(devm_iio_kfifo_release, sizeof(*ptr), GFP_KERNEL); in devm_iio_kfifo_allocate()

12345