Home
last modified time | relevance | path

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

12345678910>>...26

/kernel/linux/linux-5.10/drivers/soundwire/
Dmipi_disco.c66 prop->clk_freq = devm_kcalloc(bus->dev, prop->num_clk_freq, in sdw_master_read_prop()
92 prop->clk_gears = devm_kcalloc(bus->dev, prop->num_clk_gears, in sdw_master_read_prop()
139 dp0->words = devm_kcalloc(&slave->dev, in sdw_slave_read_dp0()
196 dpn[i].words = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn()
235 dpn[i].channels = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn()
250 dpn[i].ch_combinations = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn()
364 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_slave_read_prop()
375 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_slave_read_prop()
/kernel/linux/linux-5.10/drivers/staging/mt7621-pinctrl/
Dpinctrl-rt2880.c207 p->group_names = devm_kcalloc(p->dev, p->group_count, in rt2880_pinmux_index()
221 f = p->func = devm_kcalloc(p->dev, in rt2880_pinmux_index()
225 gpio_func.groups = devm_kcalloc(p->dev, p->group_count, sizeof(int), in rt2880_pinmux_index()
266 p->func[i]->pins = devm_kcalloc(p->dev, in rt2880_pinmux_pins()
281 p->gpio = devm_kcalloc(p->dev, p->max_pins, sizeof(u8), GFP_KERNEL); in rt2880_pinmux_pins()
283 p->pads = devm_kcalloc(p->dev, p->max_pins, in rt2880_pinmux_pins()
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/
Dpinctrl-qdf2xxx.c78 pins = devm_kcalloc(&pdev->dev, num_gpios, in qdf2xxx_pinctrl_probe()
80 groups = devm_kcalloc(&pdev->dev, num_gpios, in qdf2xxx_pinctrl_probe()
82 names = devm_kcalloc(&pdev->dev, avail_gpios, NAME_SIZE, GFP_KERNEL); in qdf2xxx_pinctrl_probe()
/kernel/linux/linux-5.10/drivers/hwmon/
Dscmi-hwmon.c129 u32 *cfg = devm_kcalloc(dev, num + 1, sizeof(*cfg), GFP_KERNEL); in scmi_hwmon_add_chan_info()
210 scmi_hwmon_chan = devm_kcalloc(dev, nr_types, sizeof(*scmi_hwmon_chan), in scmi_hwmon_probe()
215 ptr_scmi_ci = devm_kcalloc(dev, nr_types + 1, sizeof(*ptr_scmi_ci), in scmi_hwmon_probe()
232 devm_kcalloc(dev, nr_count[type], in scmi_hwmon_probe()
Damd_energy.c225 s_config = devm_kcalloc(dev, cpus + sockets + 1, in amd_create_sensor()
230 accums = devm_kcalloc(dev, cpus + sockets, in amd_create_sensor()
236 label_l = devm_kcalloc(dev, cpus + sockets, in amd_create_sensor()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-max3191x.c375 max3191x->crc_error = devm_kcalloc(dev, n, sizeof(long), GFP_KERNEL); in max3191x_probe()
376 max3191x->undervolt1 = devm_kcalloc(dev, n, sizeof(long), GFP_KERNEL); in max3191x_probe()
377 max3191x->undervolt2 = devm_kcalloc(dev, n, sizeof(long), GFP_KERNEL); in max3191x_probe()
378 max3191x->overtemp = devm_kcalloc(dev, n, sizeof(long), GFP_KERNEL); in max3191x_probe()
379 max3191x->fault = devm_kcalloc(dev, n, sizeof(long), GFP_KERNEL); in max3191x_probe()
380 max3191x->xfer.rx_buf = devm_kcalloc(dev, max3191x->nchips, in max3191x_probe()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-netxbig.c363 addr = devm_kcalloc(dev, num_addr, sizeof(*addr), GFP_KERNEL); in netxbig_gpio_ext_get()
392 data = devm_kcalloc(dev, num_data, sizeof(*data), GFP_KERNEL); in netxbig_gpio_ext_get()
469 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
503 leds = devm_kcalloc(dev, num_leds, sizeof(*leds), GFP_KERNEL); in netxbig_leds_get_of_pdata()
531 devm_kcalloc(dev, in netxbig_leds_get_of_pdata()
613 leds_data = devm_kcalloc(&pdev->dev, in netxbig_led_probe()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-equilibrium.c191 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), GFP_KERNEL); in gpiochip_setup()
650 funcs = devm_kcalloc(dev, nr_funcs, sizeof(*funcs), GFP_KERNEL); in eqbr_build_functions()
665 funcs[i].groups = devm_kcalloc(dev, funcs[i].nr_groups, in eqbr_build_functions()
718 group.pins = devm_kcalloc(dev, group.num_pins, in eqbr_build_groups()
723 pinmux = devm_kcalloc(dev, group.num_pins, sizeof(*pinmux), in eqbr_build_groups()
783 pdesc = devm_kcalloc(dev, nr_pins, sizeof(*pdesc), GFP_KERNEL); in pinctrl_reg()
786 pin_names = devm_kcalloc(dev, nr_pins, PIN_NAME_LEN, GFP_KERNEL); in pinctrl_reg()
870 banks = devm_kcalloc(dev, nr_gpio, sizeof(*banks), GFP_KERNEL); in pinbank_probe()
874 gctrls = devm_kcalloc(dev, nr_gpio, sizeof(*gctrls), GFP_KERNEL); in pinbank_probe()
Dpinctrl-at91-pio4.c1039 atmel_pioctrl->pins = devm_kcalloc(dev, in atmel_pinctrl_probe()
1046 pin_desc = devm_kcalloc(dev, atmel_pioctrl->npins, sizeof(*pin_desc), in atmel_pinctrl_probe()
1056 group_names = devm_kcalloc(dev, in atmel_pinctrl_probe()
1063 atmel_pioctrl->groups = devm_kcalloc(&pdev->dev, in atmel_pinctrl_probe()
1100 atmel_pioctrl->pm_wakeup_sources = devm_kcalloc(dev, in atmel_pinctrl_probe()
1107 atmel_pioctrl->pm_suspend_backup = devm_kcalloc(dev, in atmel_pinctrl_probe()
1114 atmel_pioctrl->irqs = devm_kcalloc(dev, in atmel_pinctrl_probe()
/kernel/linux/linux-5.10/drivers/firmware/
Dscpi_pm_domain.c95 scpi_pd = devm_kcalloc(dev, num_domains, sizeof(*scpi_pd), GFP_KERNEL); in scpi_pm_domain_probe()
103 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scpi_pm_domain_probe()
/kernel/linux/linux-5.10/sound/soc/generic/
Dsimple-card-utils.c503 strings = devm_kcalloc(dev, nb_controls_max, in asoc_simple_parse_pin_switches()
515 controls = devm_kcalloc(dev, nb_controls, in asoc_simple_parse_pin_switches()
608 dai_props = devm_kcalloc(dev, li->link, sizeof(*dai_props), GFP_KERNEL); in asoc_simple_init_priv()
609 dai_link = devm_kcalloc(dev, li->link, sizeof(*dai_link), GFP_KERNEL); in asoc_simple_init_priv()
610 dais = devm_kcalloc(dev, li->dais, sizeof(*dais), GFP_KERNEL); in asoc_simple_init_priv()
615 cconf = devm_kcalloc(dev, li->conf, sizeof(*cconf), GFP_KERNEL); in asoc_simple_init_priv()
/kernel/linux/linux-5.10/drivers/pinctrl/pxa/
Dpinctrl-pxa2xx.c277 functions = devm_kcalloc(pctl->dev, pctl->npins * 6, in pxa2xx_build_functions()
344 pins = devm_kcalloc(pctl->dev, npins, sizeof(*pins), GFP_KERNEL); in pxa2xx_build_state()
388 pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16), in pxa2xx_pinctrl_init()
390 pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init()
392 pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init()
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
Dscmi_pm_domain.c73 scmi_pd = devm_kcalloc(dev, num_domains, sizeof(*scmi_pd), GFP_KERNEL); in scmi_pm_domain_probe()
81 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scmi_pm_domain_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
Dvbox_main.c36 vbox->vbva_info = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_accel_init()
154 vbox->last_mode_hints = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_hw_init()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-audmix.c188 priv->dai = devm_kcalloc(&pdev->dev, priv->num_dai, in imx_audmix_probe()
194 priv->dai_conf = devm_kcalloc(&pdev->dev, priv->num_dai_conf, in imx_audmix_probe()
201 priv->dapm_routes = devm_kcalloc(&pdev->dev, priv->num_dapm_routes, in imx_audmix_probe()
211 dlc = devm_kcalloc(&pdev->dev, 6, sizeof(*dlc), GFP_KERNEL); in imx_audmix_probe()
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/
Dpinctrl-mxs.c373 g->pins = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->pins), in mxs_pinctrl_parse_group()
378 g->muxsel = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->muxsel), in mxs_pinctrl_parse_group()
429 soc->functions = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt()
436 soc->groups = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt()
500 f->groups = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt()
Dpinctrl-imx1-core.c485 grp->pins = devm_kcalloc(info->dev, in imx1_pinctrl_parse_groups()
487 grp->pin_ids = devm_kcalloc(info->dev, in imx1_pinctrl_parse_groups()
525 func->groups = devm_kcalloc(info->dev, in imx1_pinctrl_parse_functions()
568 info->functions = devm_kcalloc(&pdev->dev, in imx1_pinctrl_parse_dt()
572 info->groups = devm_kcalloc(&pdev->dev, in imx1_pinctrl_parse_dt()
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/
Dpinctrl-ns.c302 pctldesc->pins = devm_kcalloc(dev, ARRAY_SIZE(ns_pinctrl_pins), in ns_pinctrl_probe()
318 ns_pinctrl->groups = devm_kcalloc(dev, ARRAY_SIZE(ns_pinctrl_groups), in ns_pinctrl_probe()
333 ns_pinctrl->functions = devm_kcalloc(dev, in ns_pinctrl_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy.c16 phy->regs = devm_kcalloc(dev, cfg->num_regs, sizeof(phy->regs[0]), in msm_hdmi_phy_resource_init()
21 phy->clks = devm_kcalloc(dev, cfg->num_clks, sizeof(phy->clks[0]), in msm_hdmi_phy_resource_init()
/kernel/linux/linux-5.10/drivers/soc/amlogic/
Dmeson-secure-pwrc.c151 pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe()
157 pwrc->domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe()
/kernel/linux/linux-5.10/sound/soc/meson/
Daxg-card.c166 be->tx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots()
168 be->rx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots()
228 codec_mask = devm_kcalloc(card->dev, link->num_codecs, in axg_card_parse_codecs_masks()
/kernel/linux/linux-5.10/drivers/soc/xilinx/
Dzynqmp_pm_domains.c255 pd = devm_kcalloc(dev, ZYNQMP_NUM_DOMAINS, sizeof(*pd), GFP_KERNEL); in zynqmp_gpd_probe()
265 domains = devm_kcalloc(dev, ZYNQMP_NUM_DOMAINS, sizeof(*domains), in zynqmp_gpd_probe()
/kernel/linux/linux-5.10/drivers/dma/idxd/
Dinit.c84 idxd->irq_entries = devm_kcalloc(dev, msixcnt, in idxd_setup_interrupts()
150 idxd->groups = devm_kcalloc(dev, idxd->max_groups, in idxd_setup_internals()
162 idxd->wqs = devm_kcalloc(dev, idxd->max_wqs, sizeof(struct idxd_wq), in idxd_setup_internals()
167 idxd->engines = devm_kcalloc(dev, idxd->max_engines, in idxd_setup_internals()
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_pcm512x.c229 links = devm_kcalloc(dev, sof_audio_card_pcm512x.num_links, in sof_card_dai_links_create()
231 cpus = devm_kcalloc(dev, sof_audio_card_pcm512x.num_links, in sof_card_dai_links_create()
305 idisp_components = devm_kcalloc(dev, hdmi_num, in sof_card_dai_links_create()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-mvebu-gicp.c194 devm_kcalloc(&pdev->dev, in mvebu_gicp_probe()
213 gicp->spi_bitmap = devm_kcalloc(&pdev->dev, in mvebu_gicp_probe()

12345678910>>...26