/linux-6.6.21/sound/soc/intel/avs/boards/ |
D | max98357a.c | 54 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()
|
D | rt286.c | 122 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()
|
D | rt298.c | 139 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()
|
D | ssm4567.c | 91 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()
|
D | hdaudio.c | 27 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()
|
D | rt5663.c | 141 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()
|
D | rt274.c | 153 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()
|
D | max98373.c | 103 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()
|
D | max98927.c | 100 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()
|
D | da7219.c | 172 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()
|
D | es8336.c | 202 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()
|
D | rt5682.c | 211 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()
|
D | nau8825.c | 179 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()
|
D | i2s_test.c | 22 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/ |
D | sam9x5_wm8731.c | 88 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/ |
D | stmmac_pci.c | 121 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()
|
D | dwmac-loongson.c | 62 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/ |
D | alloc_cast.cocci | 36 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/ |
D | clkc.c | 90 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/ |
D | dpaa_sys.c | 68 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/ |
D | pcie-hisi.c | 84 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/ |
D | coresight-syscfg-configfs.c | 17 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/ |
D | exynos-bus.c | 205 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/ |
D | probe_roms.c | 55 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/ |
D | sxgbe_platform.c | 45 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()
|