Home
last modified time | relevance | path

Searched refs:devm_kzalloc (Results 1 – 25 of 3625) sorted by relevance

12345678910>>...145

/kernel/linux/linux-5.10/sound/soc/atmel/
Dsam9x5_wm8731.c88 card = devm_kzalloc(&pdev->dev, sizeof(*card), GFP_KERNEL); in sam9x5_wm8731_driver_probe()
89 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in sam9x5_wm8731_driver_probe()
90 dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); in sam9x5_wm8731_driver_probe()
91 comp = devm_kzalloc(&pdev->dev, 3 * sizeof(*comp), GFP_KERNEL); in sam9x5_wm8731_driver_probe()
/kernel/linux/linux-5.10/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci36 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
59 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
82 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
99 dma_alloc_coherent\|devm_kmalloc\|devm_kzalloc\|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pci.c121 plat->axi = devm_kzalloc(&pdev->dev, sizeof(*plat->axi), GFP_KERNEL); in snps_gmac5_default_data()
162 plat = devm_kzalloc(&pdev->dev, sizeof(*plat), GFP_KERNEL); in stmmac_pci_probe()
166 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in stmmac_pci_probe()
172 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), in stmmac_pci_probe()
/kernel/linux/linux-5.10/drivers/soc/fsl/qbman/
Ddpaa_sys.c68 prop = devm_kzalloc(dev, sizeof(*prop), GFP_KERNEL); in qbman_init_private_mem()
71 prop->value = res_array = devm_kzalloc(dev, sizeof(__be32) * 4, in qbman_init_private_mem()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/
Ddp_parser.c148 core_power->clk_config = devm_kzalloc(dev, in dp_parser_init_clk_data()
161 ctrl_power->clk_config = devm_kzalloc(dev, in dp_parser_init_clk_data()
176 stream_power->clk_config = devm_kzalloc(dev, in dp_parser_init_clk_data()
285 parser = devm_kzalloc(&pdev->dev, sizeof(*parser), GFP_KERNEL); in dp_parser_get()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpci-layerscape-ep.c164 pcie = devm_kzalloc(dev, sizeof(*pcie), GFP_KERNEL); in ls_pcie_ep_probe()
168 pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); in ls_pcie_ep_probe()
172 ls_epc = devm_kzalloc(dev, sizeof(*ls_epc), GFP_KERNEL); in ls_pcie_ep_probe()
Dpcie-al.c52 al_pcie = devm_kzalloc(dev, sizeof(*al_pcie), GFP_KERNEL); in al_pcie_init()
56 res = devm_kzalloc(dev, sizeof(*res), GFP_KERNEL); in al_pcie_init()
354 al_pcie = devm_kzalloc(dev, sizeof(*al_pcie), GFP_KERNEL); in al_pcie_probe()
358 pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); in al_pcie_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/arc/
Darcpgu_sim.c64 encoder = devm_kzalloc(drm->dev, sizeof(*encoder), GFP_KERNEL); in arcpgu_drm_sim_init()
76 arcpgu_connector = devm_kzalloc(drm->dev, sizeof(*arcpgu_connector), in arcpgu_drm_sim_init()
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dprobe_roms.c55 rom = devm_kzalloc(&pdev->dev, sizeof(*rom), GFP_KERNEL); in isci_request_oprom()
132 orom = devm_kzalloc(&pdev->dev, fw->size, GFP_KERNEL); in isci_request_firmware()
179 efi_data = devm_kzalloc(&pdev->dev, data_len, GFP_KERNEL); in isci_get_efi_var()
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_platform.c47 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in sxgbe_probe_config_dt()
53 dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*dma_cfg), GFP_KERNEL); in sxgbe_probe_config_dt()
98 plat_dat = devm_kzalloc(&pdev->dev, in sxgbe_platform_probe()
/kernel/linux/linux-5.10/drivers/devfreq/
Dexynos-bus.c205 bus->edev = devm_kzalloc(dev, size, GFP_KERNEL); in exynos_bus_parent_parse_of()
304 ondemand_data = devm_kzalloc(dev, sizeof(*ondemand_data), GFP_KERNEL); in exynos_bus_profile_init()
368 passive_data = devm_kzalloc(dev, sizeof(*passive_data), GFP_KERNEL); in exynos_bus_profile_init_passive()
401 bus = devm_kzalloc(&pdev->dev, sizeof(*bus), GFP_KERNEL); in exynos_bus_probe()
408 profile = devm_kzalloc(dev, sizeof(*profile), GFP_KERNEL); in exynos_bus_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_debugfs.c152 desc_blob = devm_kzalloc(dev, sizeof(*desc_blob), GFP_KERNEL); in ionic_debugfs_add_qcq()
160 desc_blob = devm_kzalloc(dev, sizeof(*desc_blob), GFP_KERNEL); in ionic_debugfs_add_qcq()
178 desc_blob = devm_kzalloc(dev, sizeof(*desc_blob), GFP_KERNEL); in ionic_debugfs_add_qcq()
195 intr_ctrl_regset = devm_kzalloc(dev, sizeof(*intr_ctrl_regset), in ionic_debugfs_add_qcq()
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_debugfs.c68 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL); in cc_debugfs_init()
83 verset = devm_kzalloc(dev, sizeof(*verset), GFP_KERNEL); in cc_debugfs_init()
/kernel/linux/linux-5.10/drivers/mfd/
Dintel_quark_i2c_gpio.c173 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in intel_quark_i2c_setup()
201 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in intel_quark_gpio_setup()
237 quark_mfd = devm_kzalloc(&pdev->dev, sizeof(*quark_mfd), GFP_KERNEL); in intel_quark_mfd_probe()
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dcommon.c149 fixed = devm_kzalloc(dev, sizeof(*fixed), GFP_KERNEL); in _qcom_cc_register_board_clk()
166 factor = devm_kzalloc(dev, sizeof(*factor), GFP_KERNEL); in _qcom_cc_register_board_clk()
252 cc = devm_kzalloc(dev, sizeof(*cc), GFP_KERNEL); in qcom_cc_really_probe()
269 scd = devm_kzalloc(dev, sizeof(*scd), GFP_KERNEL); in qcom_cc_really_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_28nm_8960.c419 bytediv = devm_kzalloc(dev, sizeof(*bytediv), GFP_KERNEL); in pll_28nm_register()
423 vco_name = devm_kzalloc(dev, 32, GFP_KERNEL); in pll_28nm_register()
427 parent_name = devm_kzalloc(dev, 32, GFP_KERNEL); in pll_28nm_register()
431 clk_name = devm_kzalloc(dev, 32, GFP_KERNEL); in pll_28nm_register()
494 pll_28nm = devm_kzalloc(&pdev->dev, sizeof(*pll_28nm), GFP_KERNEL); in msm_dsi_pll_28nm_8960_init()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-acer-a500.c78 white_led = devm_kzalloc(&pdev->dev, sizeof(*white_led), GFP_KERNEL); in a500_ec_leds_probe()
89 orange_led = devm_kzalloc(&pdev->dev, sizeof(*orange_led), GFP_KERNEL); in a500_ec_leds_probe()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-spdif.c28 data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL); in imx_spdif_audio_probe()
29 comp = devm_kzalloc(&pdev->dev, 3 * sizeof(*comp), GFP_KERNEL); in imx_spdif_audio_probe()
/kernel/linux/linux-5.10/sound/soc/sof/
Dnocodec.c33 dlc = devm_kzalloc(dev, 3 * sizeof(*dlc), GFP_KERNEL); in sof_nocodec_bes_setup()
74 links = devm_kzalloc(dev, sizeof(struct snd_soc_dai_link) * in sof_nocodec_setup()
/kernel/linux/linux-5.10/drivers/video/backlight/
Dled_bl.c92 leds = devm_kzalloc(dev, sizeof(struct led_classdev *) * nb_leds, in led_bl_get_leds()
140 levels = devm_kzalloc(dev, sizeof(u32) * num_levels, in led_bl_parse_levels()
181 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL); in led_bl_probe()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamrng.c178 ctx->desc_sync = devm_kzalloc(ctx->ctrldev, CAAM_RNG_DESC_LEN, in caam_init()
183 ctx->desc_async = devm_kzalloc(ctx->ctrldev, CAAM_RNG_DESC_LEN, in caam_init()
238 ctx = devm_kzalloc(ctrldev, sizeof(*ctx), GFP_KERNEL); in caam_rng_init()
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
Dint3403_thermal.c87 obj = devm_kzalloc(&priv->pdev->dev, sizeof(*obj), GFP_KERNEL); in int3403_sensor_add()
174 obj = devm_kzalloc(&priv->pdev->dev, sizeof(*obj), GFP_KERNEL); in int3403_cdev_add()
218 priv = devm_kzalloc(&pdev->dev, sizeof(struct int3403_priv), in int3403_add()
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-bcm2711-dvp.c33 dvp = devm_kzalloc(&pdev->dev, sizeof(*dvp), GFP_KERNEL); in clk_dvp_probe()
38 dvp->data = devm_kzalloc(&pdev->dev, in clk_dvp_probe()
/kernel/linux/linux-5.10/sound/soc/meson/
Dgx-card.c53 be = devm_kzalloc(card->dev, sizeof(*be), GFP_KERNEL); in gx_card_parse_i2s()
86 cpu = devm_kzalloc(card->dev, sizeof(*cpu), GFP_KERNEL); in gx_card_add_link()
/kernel/linux/linux-5.10/drivers/regulator/
Dgpio-regulator.c139 config = devm_kzalloc(dev, in of_get_gpio_regulator_config()
166 config->gflags = devm_kzalloc(dev, in of_get_gpio_regulator_config()
242 drvdata = devm_kzalloc(dev, sizeof(struct gpio_regulator_data), in gpio_regulator_probe()
260 drvdata->gpiods = devm_kzalloc(dev, sizeof(struct gpio_desc *), in gpio_regulator_probe()

12345678910>>...145