/Linux-v6.6/drivers/pinctrl/renesas/ |
D | pinctrl-rzn1.c | 722 grp->pin_ids = devm_kmalloc_array(ipctl->dev, in rzn1_pinctrl_parse_groups() 725 grp->pins = devm_kmalloc_array(ipctl->dev, in rzn1_pinctrl_parse_groups() 779 func->groups = devm_kmalloc_array(ipctl->dev, in rzn1_pinctrl_parse_functions() 830 ipctl->functions = devm_kmalloc_array(&pdev->dev, nfuncs, in rzn1_pinctrl_probe_dt() 840 ipctl->groups = devm_kmalloc_array(&pdev->dev, in rzn1_pinctrl_probe_dt()
|
/Linux-v6.6/drivers/pinctrl/pxa/ |
D | pinctrl-pxa2xx.c | 303 gtmp = devm_kmalloc_array(pctl->dev, pctl->npins, sizeof(*gtmp), in pxa2xx_build_groups() 320 devm_kmalloc_array(pctl->dev, ngroups, in pxa2xx_build_groups() 352 pctl->groups = devm_kmalloc_array(pctl->dev, pctl->ngroups, in pxa2xx_build_state()
|
/Linux-v6.6/drivers/clk/keystone/ |
D | sci-clk.c | 459 tmp_clks = devm_kmalloc_array(dev, max_clks + 64, in ti_sci_scan_clocks_from_fw() 483 provider->clocks = devm_kmalloc_array(dev, num_clks, sizeof(sci_clk), in ti_sci_scan_clocks_from_fw() 609 provider->clocks = devm_kmalloc_array(dev, num_clks, sizeof(sci_clk), in ti_sci_scan_clocks_from_dt()
|
/Linux-v6.6/drivers/pinctrl/ |
D | pinctrl-apple-gpio.c | 456 pins = devm_kmalloc_array(&pdev->dev, npins, sizeof(pins[0]), in apple_gpio_pinctrl_probe() 458 pin_names = devm_kmalloc_array(&pdev->dev, npins, sizeof(pin_names[0]), in apple_gpio_pinctrl_probe() 460 pin_nums = devm_kmalloc_array(&pdev->dev, npins, sizeof(pin_nums[0]), in apple_gpio_pinctrl_probe()
|
/Linux-v6.6/lib/ |
D | fortify_kunit.c | 281 devm_kmalloc_array(dev, 1, alloc_size, gfp), \ 284 devm_kmalloc_array(dev, alloc_size, 1, gfp), \
|
/Linux-v6.6/drivers/clk/imx/ |
D | clk-imx8-acm.c | 267 dev_pm->pd_dev = devm_kmalloc_array(dev, dev_pm->num_domains, in clk_imx_acm_attach_pm_domains() 273 dev_pm->pd_dev_link = devm_kmalloc_array(dev, in clk_imx_acm_attach_pm_domains()
|
/Linux-v6.6/arch/arc/kernel/ |
D | perf_event.c | 677 arc_pmu->attr = devm_kmalloc_array(dev, arc_pmu->n_events + 1, in arc_pmu_raw_alloc() 682 arc_pmu->attrs = devm_kmalloc_array(dev, arc_pmu->n_events + 1, in arc_pmu_raw_alloc() 687 arc_pmu->raw_entry = devm_kmalloc_array(dev, arc_pmu->n_events, in arc_pmu_raw_alloc()
|
/Linux-v6.6/drivers/input/keyboard/ |
D | adc-keys.c | 78 map = devm_kmalloc_array(dev, st->num_keys, sizeof(*map), GFP_KERNEL); in adc_keys_load_keymap()
|
D | sun4i-lradc-keys.c | 219 lradc->chan0_map = devm_kmalloc_array(dev, lradc->chan0_map_count, in sun4i_lradc_load_dt_keymap()
|
/Linux-v6.6/drivers/pinctrl/mediatek/ |
D | pinctrl-paris.c | 1004 hw->groups = devm_kmalloc_array(&pdev->dev, hw->soc->ngrps, in mtk_pctrl_build_state() 1010 hw->grp_names = devm_kmalloc_array(&pdev->dev, hw->soc->ngrps, in mtk_pctrl_build_state() 1051 hw->base = devm_kmalloc_array(&pdev->dev, hw->soc->nbase_names, in mtk_paris_pinctrl_probe() 1078 pins = devm_kmalloc_array(&pdev->dev, hw->soc->npins, sizeof(*pins), in mtk_paris_pinctrl_probe()
|
D | pinctrl-moore.c | 661 hw->base = devm_kmalloc_array(&pdev->dev, hw->soc->nbase_names, in mtk_moore_pinctrl_probe() 678 pins = devm_kmalloc_array(&pdev->dev, hw->soc->npins, sizeof(*pins), in mtk_moore_pinctrl_probe()
|
/Linux-v6.6/scripts/coccinelle/free/ |
D | devm_free.cocci | 41 x = devm_kmalloc_array(...)
|
/Linux-v6.6/drivers/regulator/ |
D | tps6594-regulator.c | 493 irq_data = devm_kmalloc_array(tps->dev, reg_irq_nb, in tps6594_regulator_probe() 572 irq_ext_reg_data = devm_kmalloc_array(tps->dev, in tps6594_regulator_probe()
|
/Linux-v6.6/sound/soc/sof/imx/ |
D | imx8.c | 216 priv->pd_dev = devm_kmalloc_array(&pdev->dev, priv->num_domains, in imx8_probe() 221 priv->link = devm_kmalloc_array(&pdev->dev, priv->num_domains, in imx8_probe()
|
/Linux-v6.6/drivers/memory/samsung/ |
D | exynos5422-dmc.c | 354 dmc->opp = devm_kmalloc_array(dmc->dev, dmc->opp_count, in exynos5_init_freq_table() 1188 dmc->timing_row = devm_kmalloc_array(dmc->dev, TIMING_COUNT, in of_get_dram_timings() 1195 dmc->timing_data = devm_kmalloc_array(dmc->dev, TIMING_COUNT, in of_get_dram_timings() 1202 dmc->timing_power = devm_kmalloc_array(dmc->dev, TIMING_COUNT, in of_get_dram_timings()
|
/Linux-v6.6/drivers/nfc/fdp/ |
D | i2c.c | 246 *fw_vsc_cfg = devm_kmalloc_array(dev, in fdp_nci_i2c_read_device_properties()
|
/Linux-v6.6/drivers/phy/qualcomm/ |
D | phy-qcom-usb-hs.c | 221 uphy->init_seq = devm_kmalloc_array(&ulpi->dev, (size / 2) + 1, in qcom_usb_hs_phy_probe()
|
/Linux-v6.6/drivers/input/joystick/ |
D | adc-joystick.c | 140 axes = devm_kmalloc_array(dev, num_axes, sizeof(*axes), GFP_KERNEL); in adc_joystick_set_axes()
|
/Linux-v6.6/drivers/media/usb/cx231xx/ |
D | cx231xx-cards.c | 1578 …dev->video_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->video_mode.num_alt, GFP… in cx231xx_init_v4l2() 1619 …dev->vbi_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->vbi_mode.num_alt, GFP_KER… in cx231xx_init_v4l2() 1661 …dev->sliced_cc_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->sliced_cc_mode.num_… in cx231xx_init_v4l2() 1855 …dev->ts1_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->ts1_mode.num_alt, GFP_KER… in cx231xx_usb_probe()
|
/Linux-v6.6/drivers/pwm/ |
D | pwm-mediatek.c | 251 pc->clk_pwms = devm_kmalloc_array(&pdev->dev, pc->soc->num_pwms, in pwm_mediatek_probe()
|
/Linux-v6.6/drivers/power/supply/ |
D | gpio-charger.c | 211 gpio_charger->current_limit_map = devm_kmalloc_array(dev, in init_charge_current_limit()
|
/Linux-v6.6/sound/soc/codecs/ |
D | audio-iio-aux.c | 265 iio_aux->chans = devm_kmalloc_array(dev, iio_aux->num_chans, in audio_iio_aux_probe()
|
/Linux-v6.6/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_ethtool.c | 252 pdata->extd_stats = devm_kmalloc_array(&pdata->pdev->dev, in xgene_extd_stats_init()
|
/Linux-v6.6/drivers/clk/hisilicon/ |
D | clk.c | 45 clk_table = devm_kmalloc_array(&pdev->dev, nr_clks, in hisi_clk_alloc()
|
/Linux-v6.6/drivers/memory/tegra/ |
D | tegra186-emc.c | 187 emc->dvfs = devm_kmalloc_array(emc->dev, emc->num_dvfs, sizeof(*emc->dvfs), GFP_KERNEL); in tegra186_emc_get_emc_dvfs_latency()
|