Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/pinctrl/pxa/
Dpinctrl-pxa2xx.c306 gtmp = devm_kmalloc_array(pctl->dev, pctl->npins, sizeof(*gtmp), in pxa2xx_build_groups()
323 devm_kmalloc_array(pctl->dev, ngroups, in pxa2xx_build_groups()
355 pctl->groups = devm_kmalloc_array(pctl->dev, pctl->ngroups, in pxa2xx_build_state()
/Linux-v4.19/drivers/clk/keystone/
Dsci-clk.c470 tmp_clks = devm_kmalloc_array(dev, max_clks + 64, in ti_sci_clk_probe()
494 provider->clocks = devm_kmalloc_array(dev, num_clks, sizeof(sci_clk), in ti_sci_clk_probe()
/Linux-v4.19/drivers/input/keyboard/
Dadc-keys.c82 map = devm_kmalloc_array(dev, st->num_keys, sizeof(*map), GFP_KERNEL); in adc_keys_load_keymap()
Dsun4i-lradc-keys.c175 lradc->chan0_map = devm_kmalloc_array(dev, lradc->chan0_map_count, in sun4i_lradc_load_dt_keymap()
/Linux-v4.19/scripts/coccinelle/free/
Ddevm_free.cocci40 x = devm_kmalloc_array(...)
/Linux-v4.19/drivers/phy/qualcomm/
Dphy-qcom-usb-hs.c219 uphy->init_seq = devm_kmalloc_array(&ulpi->dev, (size / 2) + 1, in qcom_usb_hs_phy_probe()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnic_main.c1382 nic->vf_lmac_map = devm_kmalloc_array(dev, max_lmac, sizeof(u8), in nic_probe()
1387 nic->link = devm_kmalloc_array(dev, max_lmac, sizeof(u8), GFP_KERNEL); in nic_probe()
1391 nic->duplex = devm_kmalloc_array(dev, max_lmac, sizeof(u8), GFP_KERNEL); in nic_probe()
1395 nic->speed = devm_kmalloc_array(dev, max_lmac, sizeof(u32), GFP_KERNEL); in nic_probe()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1590 …dev->video_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->video_mode.num_alt, GFP… in cx231xx_init_v4l2()
1631 …dev->vbi_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->vbi_mode.num_alt, GFP_KER… in cx231xx_init_v4l2()
1673 …dev->sliced_cc_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->sliced_cc_mode.num_… in cx231xx_init_v4l2()
1867 …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-v4.19/drivers/nfc/fdp/
Di2c.c262 *fw_vsc_cfg = devm_kmalloc_array(dev, in fdp_nci_i2c_read_device_properties()
/Linux-v4.19/drivers/clk/hisilicon/
Dclk.c59 clk_table = devm_kmalloc_array(&pdev->dev, nr_clks, in hisi_clk_alloc()
/Linux-v4.19/drivers/iio/adc/
Dmax1027.c425 st->buffer = devm_kmalloc_array(&indio_dev->dev, in max1027_probe()
/Linux-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c266 pdata->extd_stats = devm_kmalloc_array(&pdata->pdev->dev, in xgene_extd_stats_init()
/Linux-v4.19/drivers/bus/fsl-mc/
Ddprc-driver.c241 devm_kmalloc_array(&mc_bus_dev->dev, num_child_objects, in dprc_scan_objects()
/Linux-v4.19/drivers/pinctrl/sh-pfc/
Dcore.c660 pfc->saved_regs = devm_kmalloc_array(pfc->dev, n, in sh_pfc_suspend_init()
/Linux-v4.19/drivers/pinctrl/mvebu/
Dpinctrl-armada-xp.c633 mpp_saved_regs = devm_kmalloc_array(&pdev->dev, nregs, sizeof(u32), in armada_xp_pinctrl_probe()
/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_drm_crtc.c565 mtk_crtc->ddp_comp = devm_kmalloc_array(dev, mtk_crtc->ddp_comp_nr, in mtk_drm_crtc_create()
/Linux-v4.19/include/linux/
Ddevice.h680 static inline void *devm_kmalloc_array(struct device *dev, in devm_kmalloc_array() function
693 return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); in devm_kcalloc()
/Linux-v4.19/Documentation/driver-model/
Ddevres.txt335 devm_kmalloc_array()
/Linux-v4.19/drivers/pinctrl/freescale/
Dpinctrl-imx.c703 ipctl->pin_regs = devm_kmalloc_array(&pdev->dev, in imx_pinctrl_probe()
/Linux-v4.19/drivers/clk/renesas/
Drenesas-cpg-mssr.c851 clks = devm_kmalloc_array(dev, nclks, sizeof(*clks), GFP_KERNEL); in cpg_mssr_probe()
/Linux-v4.19/drivers/spi/
Dspi-mt65xx.c624 mdata->pad_sel = devm_kmalloc_array(&pdev->dev, mdata->pad_num, in mtk_spi_probe()
/Linux-v4.19/drivers/power/supply/
Dpower_supply_core.c293 psy->supplied_from = devm_kmalloc_array(&psy->dev, nval, in power_supply_check_supplies()
/Linux-v4.19/drivers/regulator/
Ds2mps11.c1129 s2mps11->ext_control_gpio = devm_kmalloc_array(&pdev->dev, in s2mps11_pmic_probe()
/Linux-v4.19/drivers/input/touchscreen/
Datmel_mxt_ts.c2591 dbg->t37_buf = devm_kmalloc_array(&data->client->dev, dbg->t37_pages, in mxt_debug_init()
3007 keymap = devm_kmalloc_array(dev, n_keys, sizeof(*keymap), in mxt_parse_device_properties()
/Linux-v4.19/drivers/iommu/
Darm-smmu.c1776 smmu->s2crs = devm_kmalloc_array(smmu->dev, size, sizeof(*smmu->s2crs), in arm_smmu_device_cfg_probe()

12