/linux-4.4.14/drivers/pinctrl/qcom/ |
D | pinctrl-qdf2xxx.c | 53 pins = devm_kcalloc(&pdev->dev, num_gpios, in qdf2xxx_pinctrl_probe() 55 groups = devm_kcalloc(&pdev->dev, num_gpios, in qdf2xxx_pinctrl_probe()
|
D | pinctrl-spmi-gpio.c | 720 pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); in pmic_gpio_probe() 724 pads = devm_kcalloc(dev, npins, sizeof(*pads), GFP_KERNEL); in pmic_gpio_probe()
|
D | pinctrl-ssbi-gpio.c | 686 pins = devm_kcalloc(&pdev->dev, in pm8xxx_gpio_probe() 693 pin_data = devm_kcalloc(&pdev->dev, in pm8xxx_gpio_probe()
|
D | pinctrl-ssbi-mpp.c | 777 pins = devm_kcalloc(&pdev->dev, in pm8xxx_mpp_probe() 784 pin_data = devm_kcalloc(&pdev->dev, in pm8xxx_mpp_probe()
|
D | pinctrl-spmi-mpp.c | 821 pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); in pmic_mpp_probe() 825 pads = devm_kcalloc(dev, npins, sizeof(*pads), GFP_KERNEL); in pmic_mpp_probe()
|
/linux-4.4.14/tools/testing/nvdimm/test/ |
D | nfit.c | 1176 nfit_test->dimm = devm_kcalloc(dev, num, sizeof(void *), in nfit_test_probe() 1178 nfit_test->dimm_dma = devm_kcalloc(dev, num, sizeof(dma_addr_t), in nfit_test_probe() 1180 nfit_test->flush = devm_kcalloc(dev, num, sizeof(void *), in nfit_test_probe() 1182 nfit_test->flush_dma = devm_kcalloc(dev, num, sizeof(dma_addr_t), in nfit_test_probe() 1184 nfit_test->label = devm_kcalloc(dev, num, sizeof(void *), in nfit_test_probe() 1186 nfit_test->label_dma = devm_kcalloc(dev, num, in nfit_test_probe() 1188 nfit_test->dcr = devm_kcalloc(dev, num, in nfit_test_probe() 1190 nfit_test->dcr_dma = devm_kcalloc(dev, num, in nfit_test_probe() 1204 nfit_test->spa_set = devm_kcalloc(dev, num, sizeof(void *), in nfit_test_probe() 1206 nfit_test->spa_set_dma = devm_kcalloc(dev, num, in nfit_test_probe()
|
/linux-4.4.14/drivers/mfd/ |
D | intel_quark_i2c_gpio.c | 135 i2c_clk_lookup = devm_kcalloc(&pdev->dev, INTEL_QUARK_I2C_NCLK, in intel_quark_register_i2c_clk() 223 pdata->properties = devm_kcalloc(dev, pdata->nports, in intel_quark_gpio_setup()
|
D | lpc_sch.c | 130 res = devm_kcalloc(&pdev->dev, 2, sizeof(*res), GFP_KERNEL); in lpc_sch_populate_cell()
|
/linux-4.4.14/drivers/clk/ |
D | clk-s2mps11.c | 185 s2mps11_clks = devm_kcalloc(&pdev->dev, S2MPS11_CLKS_NUM, in s2mps11_clk_probe() 192 clk_table = devm_kcalloc(&pdev->dev, S2MPS11_CLKS_NUM, in s2mps11_clk_probe()
|
D | clk-scpi.c | 220 clk_data->clk = devm_kcalloc(dev, count, sizeof(*clk_data->clk), in scpi_clk_add() 225 clks = devm_kcalloc(dev, count, sizeof(*clks), GFP_KERNEL); in scpi_clk_add()
|
D | clk-rk808.c | 104 clk_table = devm_kcalloc(&client->dev, RK808_NR_OUTPUT, in rk808_clkout_probe()
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | gth.c | 376 attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL); in intel_th_master_attributes() 380 master_attrs = devm_kcalloc(gth->dev, nattrs, in intel_th_master_attributes() 420 attrs = devm_kcalloc(gth->dev, nattrs, sizeof(void *), GFP_KERNEL); in intel_th_output_attributes() 424 out_attrs = devm_kcalloc(gth->dev, nattrs, in intel_th_output_attributes()
|
/linux-4.4.14/drivers/hwmon/ |
D | scpi-hwmon.c | 137 scpi_sensors->data = devm_kcalloc(dev, nr_sensors, in scpi_hwmon_probe() 142 scpi_sensors->attrs = devm_kcalloc(dev, (nr_sensors * 2) + 1, in scpi_hwmon_probe()
|
D | fam15h_power.c | 130 fam15h_power_attrs = devm_kcalloc(&pdev->dev, n, in fam15h_power_init_attrs()
|
/linux-4.4.14/drivers/clk/sunxi/ |
D | clk-sun6i-apb0-gates.c | 77 clk_data->clks = devm_kcalloc(&pdev->dev, (ngates + 1), in sun6i_a31_apb0_gates_clk_probe()
|
D | clk-sun9i-mmc.c | 116 clk_data->clks = devm_kcalloc(&pdev->dev, count, sizeof(struct clk *), in sun9i_a80_mmc_config_clk_probe()
|
/linux-4.4.14/drivers/memory/tegra/ |
D | mc.c | 153 timing->emem_data = devm_kcalloc(mc->dev, mc->soc->num_emem_regs, in load_one_timing() 178 mc->timings = devm_kcalloc(mc->dev, child_count, sizeof(*timing), in load_timings()
|
D | tegra124-emc.c | 962 emc->timings = devm_kcalloc(emc->dev, child_count, sizeof(*timing), in tegra_emc_load_timings_from_dt()
|
/linux-4.4.14/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 1244 pctl->groups = devm_kcalloc(&pdev->dev, pctl->ngroups, in mtk_pctrl_build_state() 1250 pctl->grp_names = devm_kcalloc(&pdev->dev, pctl->ngroups, in mtk_pctrl_build_state() 1318 pins = devm_kcalloc(&pdev->dev, pctl->devdata->npins, sizeof(*pins), in mtk_pctrl_init() 1385 pctl->wake_mask = devm_kcalloc(&pdev->dev, ports_buf, in mtk_pctrl_init() 1392 pctl->cur_mask = devm_kcalloc(&pdev->dev, ports_buf, in mtk_pctrl_init() 1399 pctl->eint_dual_edges = devm_kcalloc(&pdev->dev, pctl->devdata->ap_num, in mtk_pctrl_init()
|
/linux-4.4.14/drivers/iio/magnetometer/ |
D | hid-sensor-magn-3d.c | 345 _channels = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report() 354 st->iio_vals = devm_kcalloc(&pdev->dev, attr_count, in magn_3d_parse_report()
|
/linux-4.4.14/drivers/dma/ |
D | lpc18xx-dmamux.c | 151 dmamux->muxes = devm_kcalloc(&pdev->dev, dmamux->dma_master_requests, in lpc18xx_dmamux_probe()
|
D | edma.c | 1904 queue_priority_map = devm_kcalloc(dev, ecc->num_tc + 1, sizeof(s8), in edma_setup_from_hw() 1935 xbar_chans = devm_kcalloc(dev, nelm + 2, sizeof(s16), GFP_KERNEL); in edma_xbar_event_map() 2000 memcpy_ch = devm_kcalloc(dev, nelm + 1, sizeof(s32), in edma_setup_info_from_dt() 2037 rsv_slots = devm_kcalloc(dev, nelm + 1, sizeof(*rsv_slots), in edma_setup_info_from_dt() 2196 ecc->slave_chans = devm_kcalloc(dev, ecc->num_channels, in edma_probe() 2201 ecc->slot_inuse = devm_kcalloc(dev, BITS_TO_LONGS(ecc->num_slots), in edma_probe() 2273 ecc->tc_list = devm_kcalloc(dev, ecc->num_tc, in edma_probe()
|
D | sun6i-dma.c | 989 sdc->pchans = devm_kcalloc(&pdev->dev, sdc->cfg->nr_max_channels, in sun6i_dma_probe() 994 sdc->vchans = devm_kcalloc(&pdev->dev, sdc->cfg->nr_max_vchans, in sun6i_dma_probe()
|
D | sun4i-dma.c | 1181 priv->pchans = devm_kcalloc(&pdev->dev, SUN4I_DMA_NR_MAX_CHANNELS, in sun4i_dma_probe() 1183 priv->vchans = devm_kcalloc(&pdev->dev, SUN4I_DMA_NR_MAX_VCHANS, in sun4i_dma_probe()
|
D | idma64.c | 550 idma64->chan = devm_kcalloc(chip->dev, nr_chan, sizeof(*idma64->chan), in idma64_probe()
|
D | qcom_bam_dma.c | 1141 bdev->channels = devm_kcalloc(bdev->dev, bdev->num_channels, in bam_dma_probe()
|
D | mmp_pdma.c | 1036 pdev->phy = devm_kcalloc(pdev->dev, dma_channels, sizeof(*pdev->phy), in mmp_pdma_probe()
|
D | pxa_dma.c | 1291 pdev->phys = devm_kcalloc(&op->dev, nb_phy_chans, in pxad_init_phys()
|
/linux-4.4.14/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 928 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); in intel_pinctrl_pm_init() 932 communities = devm_kcalloc(pctrl->dev, pctrl->ncommunities, in intel_pinctrl_pm_init() 942 intmask = devm_kcalloc(pctrl->dev, community->ngpps, in intel_pinctrl_pm_init() 979 pctrl->communities = devm_kcalloc(&pdev->dev, pctrl->ncommunities, in intel_pinctrl_probe()
|
D | pinctrl-baytrail.c | 604 vg->saved_context = devm_kcalloc(&pdev->dev, gc->ngpio, in byt_gpio_probe()
|
D | pinctrl-cherryview.c | 1508 pctrl->saved_pin_context = devm_kcalloc(pctrl->dev, in chv_pinctrl_probe()
|
/linux-4.4.14/drivers/clk/qcom/ |
D | gdsc.c | 214 data->domains = devm_kcalloc(dev, num, sizeof(*data->domains), in gdsc_register()
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-host-generic.c | 186 pci->cfg.win = devm_kcalloc(dev, resource_size(pci->cfg.bus_range), in gen_pci_parse_map_cfg_windows()
|
D | pci-tegra.c | 1461 pcie->supplies = devm_kcalloc(pcie->dev, pcie->num_supplies, in tegra_pcie_get_legacy_regulators() 1494 pcie->supplies = devm_kcalloc(pcie->dev, pcie->num_supplies, in tegra_pcie_get_regulators() 1521 pcie->supplies = devm_kcalloc(pcie->dev, pcie->num_supplies, in tegra_pcie_get_regulators() 1544 pcie->supplies = devm_kcalloc(pcie->dev, pcie->num_supplies, in tegra_pcie_get_regulators()
|
D | pci-mvebu.c | 1233 pcie->ports = devm_kcalloc(&pdev->dev, num, sizeof(*pcie->ports), in mvebu_pcie_probe()
|
/linux-4.4.14/drivers/thunderbolt/ |
D | nhi.c | 572 nhi->tx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe() 574 nhi->rx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()
|
/linux-4.4.14/drivers/phy/ |
D | phy-berlin-sata.c | 221 priv->phys = devm_kcalloc(dev, priv->nphys, sizeof(*priv->phys), in phy_berlin_sata_probe()
|
D | phy-rcar-gen2.c | 272 drv->channels = devm_kcalloc(dev, drv->num_channels, in rcar_gen2_phy_probe()
|
D | phy-miphy365x.c | 547 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy365x_probe()
|
D | phy-mt65xx-usb3.c | 425 u3phy->phys = devm_kcalloc(dev, u3phy->nphys, in mt65xx_u3phy_probe()
|
D | phy-miphy28lp.c | 1207 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy28lp_probe()
|
/linux-4.4.14/drivers/soc/qcom/ |
D | spm.c | 251 fns = devm_kcalloc(get_cpu_device(cpu), state_count, sizeof(*fns), in qcom_cpuidle_init()
|
/linux-4.4.14/drivers/pinctrl/bcm/ |
D | pinctrl-cygnus-mux.c | 916 pinctrl->mux_log = devm_kcalloc(pinctrl->dev, CYGNUS_NUM_IOMUX, in cygnus_mux_log_init() 973 pins = devm_kcalloc(&pdev->dev, num_pins, sizeof(*pins), GFP_KERNEL); in cygnus_pinmux_probe()
|
D | pinctrl-cygnus-gpio.c | 612 pins = devm_kcalloc(chip->dev, gc->ngpio, sizeof(*pins), GFP_KERNEL); in cygnus_gpio_register_pinconf()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-dwapb.c | 476 pdata->properties = devm_kcalloc(dev, nports, sizeof(*pp), GFP_KERNEL); in dwapb_gpio_get_pdata_of() 547 gpio->ports = devm_kcalloc(&pdev->dev, gpio->nr_ports, in dwapb_gpio_probe()
|
/linux-4.4.14/drivers/char/xillybus/ |
D | xillybus_core.c | 332 this_buffer = devm_kcalloc(dev, bufnum, in xilly_get_dma_buffers() 434 channel = devm_kcalloc(dev, ep->num_channels, in xilly_setupchannels() 439 ep->channels = devm_kcalloc(dev, ep->num_channels + 1, in xilly_setupchannels() 515 buffers = devm_kcalloc(dev, bufnum, in xilly_setupchannels()
|
/linux-4.4.14/drivers/bus/ |
D | arm-cci.c | 1228 attrs = devm_kcalloc(&pdev->dev, n + 1, sizeof(struct attribute *), in alloc_attrs() 1477 cci_pmu->irqs = devm_kcalloc(&pdev->dev, CCI_PMU_MAX_HW_CNTRS(model), in cci_pmu_alloc() 1481 cci_pmu->hw_events.events = devm_kcalloc(&pdev->dev, in cci_pmu_alloc() 1487 cci_pmu->hw_events.used_mask = devm_kcalloc(&pdev->dev, in cci_pmu_alloc()
|
/linux-4.4.14/drivers/iio/adc/ |
D | cc10001_adc.c | 279 chan_array = devm_kcalloc(&indio_dev->dev, indio_dev->num_channels, in cc10001_adc_channel_init()
|
D | qcom-spmi-vadc.c | 828 vadc->iio_chans = devm_kcalloc(vadc->dev, vadc->nchannels, in vadc_get_dt_data() 833 vadc->chan_props = devm_kcalloc(vadc->dev, vadc->nchannels, in vadc_get_dt_data()
|
/linux-4.4.14/drivers/usb/host/ |
D | ohci-platform.c | 172 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys, in ohci_platform_probe()
|
D | ehci-platform.c | 209 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys, in ehci_platform_probe()
|
/linux-4.4.14/drivers/net/ethernet/hisilicon/ |
D | hns_mdio.c | 466 new_bus->irq = devm_kcalloc(&pdev->dev, PHY_MAX_ADDR, in hns_mdio_probe()
|
/linux-4.4.14/arch/powerpc/platforms/512x/ |
D | mpc512x_lpbfifo.c | 408 lpbfifo.cs_ranges = devm_kcalloc(dev, lpbfifo.cs_n, in get_cs_ranges()
|
/linux-4.4.14/drivers/input/keyboard/ |
D | cap11xx.c | 276 led = devm_kcalloc(dev, cnt, sizeof(struct cap11xx_led), GFP_KERNEL); in cap11xx_init_leds()
|
/linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 978 buf_pool->rx_skb = devm_kcalloc(dev, buf_pool->slots, in xgene_enet_create_desc_rings() 1025 cp_ring->cp_skb = devm_kcalloc(dev, tx_ring->slots, in xgene_enet_create_desc_rings() 1033 cp_ring->frag_dma_addr = devm_kcalloc(dev, tx_ring->slots, in xgene_enet_create_desc_rings()
|
/linux-4.4.14/drivers/dma/hsu/ |
D | hsu.c | 391 hsu->chan = devm_kcalloc(chip->dev, hsu->nr_channels, in hsu_dma_probe()
|
/linux-4.4.14/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 899 pctl->irq_array = devm_kcalloc(&pdev->dev, in sunxi_pinctrl_init() 990 pctl->irq = devm_kcalloc(&pdev->dev, in sunxi_pinctrl_init()
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | dma.c | 485 dev->tx_q = devm_kcalloc(dev->dev, __MT_EP_OUT_MAX, in mt7601u_alloc_tx()
|
/linux-4.4.14/Documentation/driver-model/ |
D | devres.txt | 306 devm_kcalloc()
|
/linux-4.4.14/drivers/crypto/caam/ |
D | ctrl.c | 585 ctrlpriv->jrpdev = devm_kcalloc(&pdev->dev, rspec, in caam_probe()
|
/linux-4.4.14/drivers/staging/fsl-mc/bus/ |
D | mc-bus.c | 641 *ranges = devm_kcalloc(dev, *num_ranges, in get_mc_addr_translation_ranges()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | mvpp2.c | 2509 priv->prs_double_vlans = devm_kcalloc(&pdev->dev, sizeof(bool), in mvpp2_prs_vlan_init() 2931 priv->prs_shadow = devm_kcalloc(&pdev->dev, MVPP2_PRS_TCAM_SRAM_SIZE, in mvpp2_prs_default_init() 3502 priv->bm_pools = devm_kcalloc(&pdev->dev, MVPP2_BM_POOLS_NUM, in mvpp2_bm_init() 6016 port->txqs = devm_kcalloc(dev, txq_number, sizeof(*port->txqs), in mvpp2_port_init() 6049 port->rxqs = devm_kcalloc(dev, rxq_number, sizeof(*port->rxqs), in mvpp2_port_init() 6360 priv->aggr_txqs = devm_kcalloc(&pdev->dev, num_present_cpus(), in mvpp2_init() 6460 priv->port_list = devm_kcalloc(&pdev->dev, port_count, in mvpp2_probe()
|
D | mvneta.c | 3138 pp->txqs = devm_kcalloc(dev, txq_number, sizeof(struct mvneta_tx_queue), in mvneta_init() 3151 pp->rxqs = devm_kcalloc(dev, rxq_number, sizeof(struct mvneta_rx_queue), in mvneta_init()
|
/linux-4.4.14/drivers/firmware/ |
D | arm_scpi.c | 673 scpi_chan = devm_kcalloc(dev, count, sizeof(*scpi_chan), GFP_KERNEL); in scpi_probe()
|
/linux-4.4.14/drivers/dma/sh/ |
D | usb-dmac.c | 789 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in usb_dmac_probe()
|
D | rcar-dmac.c | 1634 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in rcar_dmac_probe()
|
/linux-4.4.14/drivers/media/i2c/ |
D | mt9v032.c | 909 link_freqs = devm_kcalloc(&client->dev, size, in mt9v032_get_pdata()
|
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 411 tx_ring->tx_skbuff_dma = devm_kcalloc(dev, tx_rsize, in init_tx_ring() 416 tx_ring->tx_skbuff = devm_kcalloc(dev, tx_rsize, in init_tx_ring()
|
/linux-4.4.14/arch/arm/plat-omap/ |
D | dma.c | 1318 dma_chan = devm_kcalloc(&pdev->dev, dma_lch_count, in omap_system_dma_probe()
|
/linux-4.4.14/drivers/pinctrl/samsung/ |
D | pinctrl-samsung.c | 977 d->pin_banks = devm_kcalloc(&pdev->dev, d->nr_banks, in samsung_pinctrl_get_soc_data()
|
/linux-4.4.14/include/linux/ |
D | device.h | 664 static inline void *devm_kcalloc(struct device *dev, in devm_kcalloc() function
|
/linux-4.4.14/drivers/spi/ |
D | spi-omap2-mcspi.c | 1427 mcspi->dma_channels = devm_kcalloc(&pdev->dev, master->num_chipselect, in omap2_mcspi_probe()
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
D | isp.c | 2241 notifier->subdevs = devm_kcalloc( in isp_of_parse_nodes()
|
/linux-4.4.14/drivers/dma/dw/ |
D | core.c | 1552 dw->chan = devm_kcalloc(chip->dev, pdata->nr_channels, sizeof(*dw->chan), in dw_dma_probe()
|
/linux-4.4.14/drivers/media/i2c/smiapp/ |
D | smiapp-core.c | 3032 pdata->op_sys_clock = devm_kcalloc( in smiapp_get_pdata()
|
/linux-4.4.14/sound/soc/ |
D | soc-core.c | 3241 widgets = devm_kcalloc(card->dev, num_widgets, sizeof(*widgets), in snd_soc_of_parse_audio_simple_widgets()
|
D | soc-dapm.c | 3625 w_param_text = devm_kcalloc(card->dev, num_params, in snd_soc_dapm_new_pcm()
|