/Linux-v4.19/drivers/pinctrl/pxa/ |
D | pinctrl-pxa2xx.c | 306 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/ |
D | sci-clk.c | 470 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/ |
D | adc-keys.c | 82 map = devm_kmalloc_array(dev, st->num_keys, sizeof(*map), GFP_KERNEL); in adc_keys_load_keymap()
|
D | sun4i-lradc-keys.c | 175 lradc->chan0_map = devm_kmalloc_array(dev, lradc->chan0_map_count, in sun4i_lradc_load_dt_keymap()
|
/Linux-v4.19/scripts/coccinelle/free/ |
D | devm_free.cocci | 40 x = devm_kmalloc_array(...)
|
/Linux-v4.19/drivers/phy/qualcomm/ |
D | phy-qcom-usb-hs.c | 219 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/ |
D | nic_main.c | 1382 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/ |
D | cx231xx-cards.c | 1590 …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/ |
D | i2c.c | 262 *fw_vsc_cfg = devm_kmalloc_array(dev, in fdp_nci_i2c_read_device_properties()
|
/Linux-v4.19/drivers/clk/hisilicon/ |
D | clk.c | 59 clk_table = devm_kmalloc_array(&pdev->dev, nr_clks, in hisi_clk_alloc()
|
/Linux-v4.19/drivers/iio/adc/ |
D | max1027.c | 425 st->buffer = devm_kmalloc_array(&indio_dev->dev, in max1027_probe()
|
/Linux-v4.19/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_ethtool.c | 266 pdata->extd_stats = devm_kmalloc_array(&pdata->pdev->dev, in xgene_extd_stats_init()
|
/Linux-v4.19/drivers/bus/fsl-mc/ |
D | dprc-driver.c | 241 devm_kmalloc_array(&mc_bus_dev->dev, num_child_objects, in dprc_scan_objects()
|
/Linux-v4.19/drivers/pinctrl/sh-pfc/ |
D | core.c | 660 pfc->saved_regs = devm_kmalloc_array(pfc->dev, n, in sh_pfc_suspend_init()
|
/Linux-v4.19/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-xp.c | 633 mpp_saved_regs = devm_kmalloc_array(&pdev->dev, nregs, sizeof(u32), in armada_xp_pinctrl_probe()
|
/Linux-v4.19/drivers/gpu/drm/mediatek/ |
D | mtk_drm_crtc.c | 565 mtk_crtc->ddp_comp = devm_kmalloc_array(dev, mtk_crtc->ddp_comp_nr, in mtk_drm_crtc_create()
|
/Linux-v4.19/include/linux/ |
D | device.h | 680 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/ |
D | devres.txt | 335 devm_kmalloc_array()
|
/Linux-v4.19/drivers/pinctrl/freescale/ |
D | pinctrl-imx.c | 703 ipctl->pin_regs = devm_kmalloc_array(&pdev->dev, in imx_pinctrl_probe()
|
/Linux-v4.19/drivers/clk/renesas/ |
D | renesas-cpg-mssr.c | 851 clks = devm_kmalloc_array(dev, nclks, sizeof(*clks), GFP_KERNEL); in cpg_mssr_probe()
|
/Linux-v4.19/drivers/spi/ |
D | spi-mt65xx.c | 624 mdata->pad_sel = devm_kmalloc_array(&pdev->dev, mdata->pad_num, in mtk_spi_probe()
|
/Linux-v4.19/drivers/power/supply/ |
D | power_supply_core.c | 293 psy->supplied_from = devm_kmalloc_array(&psy->dev, nval, in power_supply_check_supplies()
|
/Linux-v4.19/drivers/regulator/ |
D | s2mps11.c | 1129 s2mps11->ext_control_gpio = devm_kmalloc_array(&pdev->dev, in s2mps11_pmic_probe()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 2591 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/ |
D | arm-smmu.c | 1776 smmu->s2crs = devm_kmalloc_array(smmu->dev, size, sizeof(*smmu->s2crs), in arm_smmu_device_cfg_probe()
|