Home
last modified time | relevance | path

Searched refs:devm_kcalloc (Results 1 – 50 of 50) sorted by relevance

/linux-4.1.27/drivers/mfd/
Dintel_quark_i2c_gpio.c121 i2c_clk_lookup = devm_kcalloc(&pdev->dev, INTEL_QUARK_I2C_NCLK, in intel_quark_register_i2c_clk()
209 pdata->properties = devm_kcalloc(dev, pdata->nports, in intel_quark_gpio_setup()
Dlpc_sch.c130 res = devm_kcalloc(&pdev->dev, 2, sizeof(*res), GFP_KERNEL); in lpc_sch_populate_cell()
/linux-4.1.27/drivers/clk/sunxi/
Dclk-sun6i-apb0-gates.c76 clk_data->clks = devm_kcalloc(&pdev->dev, (ngates + 1), in sun6i_a31_apb0_gates_clk_probe()
Dclk-sun9i-mmc.c115 clk_data->clks = devm_kcalloc(&pdev->dev, count, sizeof(struct clk *), in sun9i_a80_mmc_config_clk_probe()
/linux-4.1.27/drivers/clk/
Dclk-rk808.c105 clk_table = devm_kcalloc(&client->dev, RK808_NR_OUTPUT, in rk808_clkout_probe()
/linux-4.1.27/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c345 _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.1.27/drivers/pinctrl/intel/
Dpinctrl-intel.c930 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); in intel_pinctrl_pm_init()
934 communities = devm_kcalloc(pctrl->dev, pctrl->ncommunities, in intel_pinctrl_pm_init()
944 intmask = devm_kcalloc(pctrl->dev, community->ngpps, in intel_pinctrl_pm_init()
981 pctrl->communities = devm_kcalloc(&pdev->dev, pctrl->ncommunities, in intel_pinctrl_probe()
Dpinctrl-baytrail.c609 vg->saved_context = devm_kcalloc(&pdev->dev, gc->ngpio, in byt_gpio_probe()
Dpinctrl-cherryview.c1512 pctrl->saved_pin_context = devm_kcalloc(pctrl->dev, in chv_pinctrl_probe()
/linux-4.1.27/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c1083 pctl->groups = devm_kcalloc(&pdev->dev, pctl->ngroups, in mtk_pctrl_build_state()
1089 pctl->grp_names = devm_kcalloc(&pdev->dev, pctl->ngroups, in mtk_pctrl_build_state()
1157 pins = devm_kcalloc(&pdev->dev, pctl->devdata->npins, sizeof(*pins), in mtk_pctrl_init()
1215 pctl->eint_dual_edges = devm_kcalloc(&pdev->dev, pctl->devdata->ap_num, in mtk_pctrl_init()
/linux-4.1.27/drivers/pci/host/
Dpci-host-generic.c175 pci->cfg.win = devm_kcalloc(dev, resource_size(pci->cfg.bus_range), in gen_pci_parse_map_cfg_windows()
Dpci-tegra.c1477 pcie->supplies = devm_kcalloc(pcie->dev, pcie->num_supplies, in tegra_pcie_get_legacy_regulators()
1510 pcie->supplies = devm_kcalloc(pcie->dev, pcie->num_supplies, in tegra_pcie_get_regulators()
1537 pcie->supplies = devm_kcalloc(pcie->dev, pcie->num_supplies, in tegra_pcie_get_regulators()
1560 pcie->supplies = devm_kcalloc(pcie->dev, pcie->num_supplies, in tegra_pcie_get_regulators()
/linux-4.1.27/drivers/thunderbolt/
Dnhi.c572 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.1.27/drivers/phy/
Dphy-berlin-sata.c221 priv->phys = devm_kcalloc(dev, priv->nphys, sizeof(*priv->phys), in phy_berlin_sata_probe()
Dphy-rcar-gen2.c277 drv->channels = devm_kcalloc(dev, drv->num_channels, in rcar_gen2_phy_probe()
Dphy-miphy365x.c552 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy365x_probe()
Dphy-miphy28lp.c1212 miphy_dev->phys = devm_kcalloc(&pdev->dev, miphy_dev->nphys, in miphy28lp_probe()
/linux-4.1.27/drivers/pinctrl/bcm/
Dpinctrl-cygnus-mux.c916 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()
Dpinctrl-cygnus-gpio.c734 pins = devm_kcalloc(chip->dev, gc->ngpio, sizeof(*pins), GFP_KERNEL); in cygnus_gpio_register_pinconf()
/linux-4.1.27/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c730 pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); in pmic_gpio_probe()
734 pads = devm_kcalloc(dev, npins, sizeof(*pads), GFP_KERNEL); in pmic_gpio_probe()
Dpinctrl-spmi-mpp.c849 pindesc = devm_kcalloc(dev, npins, sizeof(*pindesc), GFP_KERNEL); in pmic_mpp_probe()
853 pads = devm_kcalloc(dev, npins, sizeof(*pads), GFP_KERNEL); in pmic_mpp_probe()
/linux-4.1.27/drivers/gpio/
Dgpio-dwapb.c476 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.1.27/drivers/char/xillybus/
Dxillybus_core.c332 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.1.27/drivers/iio/adc/
Dcc10001_adc.c274 chan_array = devm_kcalloc(&indio_dev->dev, indio_dev->num_channels, in cc10001_adc_channel_init()
Dqcom-spmi-vadc.c828 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.1.27/drivers/usb/host/
Dohci-platform.c179 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys, in ohci_platform_probe()
Dehci-platform.c209 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys, in ehci_platform_probe()
/linux-4.1.27/sound/pci/hda/
Dhda_tegra.c377 chip->azx_dev = devm_kcalloc(card->dev, chip->num_streams, in hda_tegra_first_init()
/linux-4.1.27/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c876 pctl->irq_array = devm_kcalloc(&pdev->dev, in sunxi_pinctrl_init()
967 pctl->irq = devm_kcalloc(&pdev->dev, in sunxi_pinctrl_init()
/linux-4.1.27/drivers/dma/
Dsun6i-dma.c976 sdc->pchans = devm_kcalloc(&pdev->dev, sdc->cfg->nr_max_channels, in sun6i_dma_probe()
981 sdc->vchans = devm_kcalloc(&pdev->dev, sdc->cfg->nr_max_vchans, in sun6i_dma_probe()
Dqcom_bam_dma.c1141 bdev->channels = devm_kcalloc(bdev->dev, bdev->num_channels, in bam_dma_probe()
Dmmp_pdma.c1037 pdev->phy = devm_kcalloc(pdev->dev, dma_channels, sizeof(*pdev->phy), in mmp_pdma_probe()
/linux-4.1.27/drivers/dma/hsu/
Dhsu.c430 hsu->chan = devm_kcalloc(chip->dev, pdata->nr_channels, in hsu_dma_probe()
/linux-4.1.27/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c725 buf_pool->rx_skb = devm_kcalloc(dev, buf_pool->slots, in xgene_enet_create_desc_rings()
762 cp_ring->cp_skb = devm_kcalloc(dev, tx_ring->slots, in xgene_enet_create_desc_rings()
/linux-4.1.27/drivers/staging/fsl-mc/bus/
Dmc-bus.c567 *ranges = devm_kcalloc(dev, *num_ranges, in get_mc_addr_translation_ranges()
/linux-4.1.27/Documentation/driver-model/
Ddevres.txt306 devm_kcalloc()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvpp2.c2490 priv->prs_double_vlans = devm_kcalloc(&pdev->dev, sizeof(bool), in mvpp2_prs_vlan_init()
2912 priv->prs_shadow = devm_kcalloc(&pdev->dev, MVPP2_PRS_TCAM_SRAM_SIZE, in mvpp2_prs_default_init()
3477 priv->bm_pools = devm_kcalloc(&pdev->dev, MVPP2_BM_POOLS_NUM, in mvpp2_bm_init()
5934 port->txqs = devm_kcalloc(dev, txq_number, sizeof(*port->txqs), in mvpp2_port_init()
5967 port->rxqs = devm_kcalloc(dev, rxq_number, sizeof(*port->rxqs), in mvpp2_port_init()
6256 priv->aggr_txqs = devm_kcalloc(&pdev->dev, num_present_cpus(), in mvpp2_init()
6356 priv->port_list = devm_kcalloc(&pdev->dev, port_count, in mvpp2_probe()
Dmvneta.c2912 pp->txqs = devm_kcalloc(dev, txq_number, sizeof(struct mvneta_tx_queue), in mvneta_init()
2925 pp->rxqs = devm_kcalloc(dev, rxq_number, sizeof(struct mvneta_rx_queue), in mvneta_init()
/linux-4.1.27/drivers/dma/sh/
Dusb-dmac.c786 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in usb_dmac_probe()
Drcar-dmac.c1629 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in rcar_dmac_probe()
/linux-4.1.27/drivers/media/i2c/
Dmt9v032.c909 link_freqs = devm_kcalloc(&client->dev, size, in mt9v032_get_pdata()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c411 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.1.27/include/linux/
Ddevice.h625 static inline void *devm_kcalloc(struct device *dev, in devm_kcalloc() function
/linux-4.1.27/arch/arm/plat-omap/
Ddma.c1314 dma_chan = devm_kcalloc(&pdev->dev, dma_lch_count, in omap_system_dma_probe()
/linux-4.1.27/drivers/pinctrl/samsung/
Dpinctrl-samsung.c992 d->pin_banks = devm_kcalloc(&pdev->dev, d->nr_banks, in samsung_pinctrl_get_soc_data()
/linux-4.1.27/drivers/spi/
Dspi-omap2-mcspi.c1400 mcspi->dma_channels = devm_kcalloc(&pdev->dev, master->num_chipselect, in omap2_mcspi_probe()
/linux-4.1.27/drivers/dma/dw/
Dcore.c1544 dw->chan = devm_kcalloc(chip->dev, nr_channels, sizeof(*dw->chan), in dw_dma_probe()
/linux-4.1.27/drivers/media/platform/omap3isp/
Disp.c2319 notifier->subdevs = devm_kcalloc( in isp_of_parse_nodes()
/linux-4.1.27/sound/soc/
Dsoc-core.c3236 widgets = devm_kcalloc(card->dev, num_widgets, sizeof(*widgets), in snd_soc_of_parse_audio_simple_widgets()
Dsoc-dapm.c3374 w_param_text = devm_kcalloc(card->dev, num_params, in snd_soc_dapm_new_pcm()