Home
last modified time | relevance | path

Searched refs:devm_kmalloc_array (Results 1 – 25 of 69) sorted by relevance

123

/Linux-v6.6/drivers/pinctrl/renesas/
Dpinctrl-rzn1.c722 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/
Dpinctrl-pxa2xx.c303 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/
Dsci-clk.c459 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/
Dpinctrl-apple-gpio.c456 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/
Dfortify_kunit.c281 devm_kmalloc_array(dev, 1, alloc_size, gfp), \
284 devm_kmalloc_array(dev, alloc_size, 1, gfp), \
/Linux-v6.6/drivers/clk/imx/
Dclk-imx8-acm.c267 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/
Dperf_event.c677 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/
Dadc-keys.c78 map = devm_kmalloc_array(dev, st->num_keys, sizeof(*map), GFP_KERNEL); in adc_keys_load_keymap()
Dsun4i-lradc-keys.c219 lradc->chan0_map = devm_kmalloc_array(dev, lradc->chan0_map_count, in sun4i_lradc_load_dt_keymap()
/Linux-v6.6/drivers/pinctrl/mediatek/
Dpinctrl-paris.c1004 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()
Dpinctrl-moore.c661 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/
Ddevm_free.cocci41 x = devm_kmalloc_array(...)
/Linux-v6.6/drivers/regulator/
Dtps6594-regulator.c493 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/
Dimx8.c216 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/
Dexynos5422-dmc.c354 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/
Di2c.c246 *fw_vsc_cfg = devm_kmalloc_array(dev, in fdp_nci_i2c_read_device_properties()
/Linux-v6.6/drivers/phy/qualcomm/
Dphy-qcom-usb-hs.c221 uphy->init_seq = devm_kmalloc_array(&ulpi->dev, (size / 2) + 1, in qcom_usb_hs_phy_probe()
/Linux-v6.6/drivers/input/joystick/
Dadc-joystick.c140 axes = devm_kmalloc_array(dev, num_axes, sizeof(*axes), GFP_KERNEL); in adc_joystick_set_axes()
/Linux-v6.6/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1578 …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/
Dpwm-mediatek.c251 pc->clk_pwms = devm_kmalloc_array(&pdev->dev, pc->soc->num_pwms, in pwm_mediatek_probe()
/Linux-v6.6/drivers/power/supply/
Dgpio-charger.c211 gpio_charger->current_limit_map = devm_kmalloc_array(dev, in init_charge_current_limit()
/Linux-v6.6/sound/soc/codecs/
Daudio-iio-aux.c265 iio_aux->chans = devm_kmalloc_array(dev, iio_aux->num_chans, in audio_iio_aux_probe()
/Linux-v6.6/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c252 pdata->extd_stats = devm_kmalloc_array(&pdata->pdev->dev, in xgene_extd_stats_init()
/Linux-v6.6/drivers/clk/hisilicon/
Dclk.c45 clk_table = devm_kmalloc_array(&pdev->dev, nr_clks, in hisi_clk_alloc()
/Linux-v6.6/drivers/memory/tegra/
Dtegra186-emc.c187 emc->dvfs = devm_kmalloc_array(emc->dev, emc->num_dvfs, sizeof(*emc->dvfs), GFP_KERNEL); in tegra186_emc_get_emc_dvfs_latency()

123