Home
last modified time | relevance | path

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

12345678910>>...119

/linux-6.6.21/sound/soc/intel/avs/boards/
Dmax98357a.c54 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
55 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
62 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
63 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
108 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_max98357a_probe()
Drt286.c122 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
123 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
130 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
131 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
196 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt286_probe()
197 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_rt286_probe()
Drt298.c139 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
140 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
147 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
148 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
216 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt298_probe()
217 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_rt298_probe()
Dssm4567.c91 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
92 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
99 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
100 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link()
151 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_ssm4567_probe()
Dhdaudio.c27 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_links()
48 dl[i].codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_links()
49 dl[i].cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_links()
191 binder->platforms = devm_kzalloc(dev, sizeof(*binder->platforms), GFP_KERNEL); in avs_hdaudio_probe()
192 binder->codecs = devm_kzalloc(dev, sizeof(*binder->codecs), GFP_KERNEL); in avs_hdaudio_probe()
205 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_hdaudio_probe()
Drt5663.c141 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
142 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
149 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
150 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
215 priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); in avs_rt5663_probe()
216 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_rt5663_probe()
Drt274.c153 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
154 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
161 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
162 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
226 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt274_probe()
227 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_rt274_probe()
Dmax98373.c103 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
104 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
111 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
112 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link()
163 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_max98373_probe()
Dmax98927.c100 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
101 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
108 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
109 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs) * 2, GFP_KERNEL); in avs_create_dai_link()
160 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_max98927_probe()
Dda7219.c172 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
173 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
180 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
181 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
245 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_da7219_probe()
246 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_da7219_probe()
Des8336.c202 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
203 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
210 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
211 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
276 data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL); in avs_es8336_probe()
277 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_es8336_probe()
Drt5682.c211 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
212 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
219 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
220 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
291 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt5682_probe()
292 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_rt5682_probe()
Dnau8825.c179 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
180 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
187 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
188 dl->codecs = devm_kzalloc(dev, sizeof(*dl->codecs), GFP_KERNEL); in avs_create_dai_link()
263 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_nau8825_probe()
264 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_nau8825_probe()
Di2s_test.c22 dl = devm_kzalloc(dev, sizeof(*dl), GFP_KERNEL); in avs_create_dai_link()
23 platform = devm_kzalloc(dev, sizeof(*platform), GFP_KERNEL); in avs_create_dai_link()
30 dl->cpus = devm_kzalloc(dev, sizeof(*dl->cpus), GFP_KERNEL); in avs_create_dai_link()
124 card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL); in avs_i2s_test_probe()
/linux-6.6.21/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()
/linux-6.6.21/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()
177 plat->safety_feat_cfg = devm_kzalloc(&pdev->dev, in stmmac_pci_probe()
Ddwmac-loongson.c62 plat = devm_kzalloc(&pdev->dev, sizeof(*plat), GFP_KERNEL); in loongson_dwmac_probe()
66 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in loongson_dwmac_probe()
78 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), GFP_KERNEL); in loongson_dwmac_probe()
/linux-6.6.21/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\|
/linux-6.6.21/drivers/clk/visconti/
Dclkc.c90 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in visconti_clk_register_gate()
96 gate = devm_kzalloc(dev, sizeof(*gate), GFP_KERNEL); in visconti_clk_register_gate()
142 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); in visconti_clk_register_gates()
194 ctx = devm_kzalloc(dev, struct_size(ctx, clk_data.hws, nr_clks), GFP_KERNEL); in visconti_init_clk()
/linux-6.6.21/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()
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-hisi.c84 pcie = devm_kzalloc(dev, sizeof(*pcie), GFP_KERNEL); in hisi_pcie_init()
92 res = devm_kzalloc(dev, sizeof(*res), GFP_KERNEL); in hisi_pcie_init()
130 pcie = devm_kzalloc(dev, sizeof(*pcie), GFP_KERNEL); in hisi_pcie_platform_init()
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-syscfg-configfs.c17 ci_type = devm_kzalloc(cscfg_device(), sizeof(*ci_type), GFP_KERNEL); in cscfg_create_ci_type()
189 cfg_fs_preset = devm_kzalloc(cscfg_device(), in cscfg_add_preset_groups()
214 cfg_view = devm_kzalloc(dev, sizeof(struct cscfg_fs_config), GFP_KERNEL); in cscfg_create_config_group()
331 param_item = devm_kzalloc(dev, sizeof(struct cscfg_fs_param), GFP_KERNEL); in cscfg_create_params_group_items()
355 feat_view = devm_kzalloc(dev, sizeof(struct cscfg_fs_feature), GFP_KERNEL); in cscfg_create_feature_group()
360 params_group = devm_kzalloc(dev, sizeof(struct config_group), GFP_KERNEL); in cscfg_create_feature_group()
/linux-6.6.21/drivers/devfreq/
Dexynos-bus.c205 bus->edev = devm_kzalloc(dev, size, GFP_KERNEL); in exynos_bus_parent_parse_of()
303 ondemand_data = devm_kzalloc(dev, sizeof(*ondemand_data), GFP_KERNEL); in exynos_bus_profile_init()
367 passive_data = devm_kzalloc(dev, sizeof(*passive_data), GFP_KERNEL); in exynos_bus_profile_init_passive()
400 bus = devm_kzalloc(&pdev->dev, sizeof(*bus), GFP_KERNEL); in exynos_bus_probe()
407 profile = devm_kzalloc(dev, sizeof(*profile), GFP_KERNEL); in exynos_bus_probe()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_platform.c45 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in sxgbe_probe_config_dt()
51 dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*dma_cfg), GFP_KERNEL); in sxgbe_probe_config_dt()
94 plat_dat = devm_kzalloc(&pdev->dev, in sxgbe_platform_probe()

12345678910>>...119