/linux/drivers/soundwire/ |
A D | mipi_disco.c | 66 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()
|
/linux/drivers/pinctrl/ralink/ |
A D | pinctrl-rt2880.c | 206 p->group_names = devm_kcalloc(p->dev, p->group_count, in rt2880_pinmux_index() 220 p->func = devm_kcalloc(p->dev, p->func_count, in rt2880_pinmux_index() 222 gpio_func.groups = devm_kcalloc(p->dev, p->group_count, sizeof(int), in rt2880_pinmux_index() 265 p->func[i]->pins = devm_kcalloc(p->dev, in rt2880_pinmux_pins() 278 p->gpio = devm_kcalloc(p->dev, p->max_pins, sizeof(u8), GFP_KERNEL); in rt2880_pinmux_pins() 280 p->pads = devm_kcalloc(p->dev, p->max_pins, in rt2880_pinmux_pins()
|
/linux/drivers/gpio/ |
A D | gpio-max3191x.c | 375 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()
|
/linux/drivers/hwmon/ |
A D | scmi-hwmon.c | 130 u32 *cfg = devm_kcalloc(dev, num + 1, sizeof(*cfg), GFP_KERNEL); in scmi_hwmon_add_chan_info() 216 scmi_hwmon_chan = devm_kcalloc(dev, nr_types, sizeof(*scmi_hwmon_chan), in scmi_hwmon_probe() 221 ptr_scmi_ci = devm_kcalloc(dev, nr_types + 1, sizeof(*ptr_scmi_ci), in scmi_hwmon_probe() 238 devm_kcalloc(dev, nr_count[type], in scmi_hwmon_probe()
|
A D | pwm-fan.c | 258 ctx->pwm_fan_cooling_levels = devm_kcalloc(dev, num, sizeof(u32), in pwm_fan_of_get_cooling_data() 371 ctx->tachs = devm_kcalloc(dev, ctx->tach_count, in pwm_fan_probe() 378 fan_channel_config = devm_kcalloc(dev, ctx->tach_count + 1, in pwm_fan_probe() 385 channels = devm_kcalloc(dev, channel_count + 1, in pwm_fan_probe()
|
A D | mr75203.c | 555 pvt_info = devm_kcalloc(dev, val + 2, sizeof(*pvt_info), GFP_KERNEL); in mr75203_probe() 566 temp_config = devm_kcalloc(dev, ts_num + 1, in mr75203_probe() 589 pvt->vm_idx = devm_kcalloc(dev, vm_num, sizeof(*pvt->vm_idx), in mr75203_probe() 614 in_config = devm_kcalloc(dev, num + 1, in mr75203_probe()
|
/linux/drivers/pinctrl/qcom/ |
A D | pinctrl-qdf2xxx.c | 78 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()
|
/linux/sound/soc/generic/ |
A D | simple-card-utils.c | 518 strings = devm_kcalloc(dev, nb_controls_max, in asoc_simple_parse_pin_switches() 530 controls = devm_kcalloc(dev, nb_controls, in asoc_simple_parse_pin_switches() 625 dai_props = devm_kcalloc(dev, li->link, sizeof(*dai_props), GFP_KERNEL); in asoc_simple_init_priv() 626 dai_link = devm_kcalloc(dev, li->link, sizeof(*dai_link), GFP_KERNEL); in asoc_simple_init_priv() 646 dais = devm_kcalloc(dev, dai_num, sizeof(*dais), GFP_KERNEL); in asoc_simple_init_priv() 647 dlcs = devm_kcalloc(dev, dlc_num, sizeof(*dlcs), GFP_KERNEL); in asoc_simple_init_priv() 652 cconf = devm_kcalloc(dev, cnf_num, sizeof(*cconf), GFP_KERNEL); in asoc_simple_init_priv() 658 c2c_conf = devm_kcalloc(dev, c2c_num, sizeof(*c2c_conf), GFP_KERNEL); in asoc_simple_init_priv()
|
/linux/drivers/leds/ |
A D | leds-netxbig.c | 363 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()
|
/linux/drivers/pinctrl/ |
A D | pinctrl-equilibrium.c | 191 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), GFP_KERNEL); in gpiochip_setup() 651 funcs = devm_kcalloc(dev, nr_funcs, sizeof(*funcs), GFP_KERNEL); in eqbr_build_functions() 666 funcs[i].groups = devm_kcalloc(dev, funcs[i].nr_groups, in eqbr_build_functions() 720 group.pins = devm_kcalloc(dev, group.num_pins, in eqbr_build_groups() 727 pinmux = devm_kcalloc(dev, group.num_pins, sizeof(*pinmux), in eqbr_build_groups() 793 pdesc = devm_kcalloc(dev, nr_pins, sizeof(*pdesc), GFP_KERNEL); in pinctrl_reg() 796 pin_names = devm_kcalloc(dev, nr_pins, PIN_NAME_LEN, GFP_KERNEL); in pinctrl_reg() 880 banks = devm_kcalloc(dev, nr_gpio, sizeof(*banks), GFP_KERNEL); in pinbank_probe() 884 gctrls = devm_kcalloc(dev, nr_gpio, sizeof(*gctrls), GFP_KERNEL); in pinbank_probe()
|
/linux/drivers/pinctrl/pxa/ |
A D | pinctrl-pxa2xx.c | 277 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()
|
/linux/drivers/firmware/ |
A D | scpi_pm_domain.c | 95 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()
|
/linux/sound/soc/fsl/ |
A D | imx-audmix.c | 188 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()
|
/linux/drivers/pinctrl/freescale/ |
A D | pinctrl-mxs.c | 373 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()
|
A D | pinctrl-imx1-core.c | 485 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()
|
/linux/drivers/firmware/arm_scmi/ |
A D | scmi_pm_domain.c | 101 scmi_pd = devm_kcalloc(dev, num_domains, sizeof(*scmi_pd), GFP_KERNEL); in scmi_pm_domain_probe() 109 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scmi_pm_domain_probe()
|
/linux/drivers/gpu/drm/vboxvideo/ |
A D | vbox_main.c | 39 vbox->vbva_info = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_accel_init() 158 vbox->last_mode_hints = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_hw_init()
|
/linux/drivers/pinctrl/bcm/ |
A D | pinctrl-ns.c | 302 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()
|
/linux/sound/soc/meson/ |
A D | axg-card.c | 166 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()
|
/linux/drivers/soc/amlogic/ |
A D | meson-secure-pwrc.c | 150 pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe() 156 pwrc->domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe()
|
/linux/drivers/gpu/drm/msm/hdmi/ |
A D | hdmi_phy.c | 16 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()
|
A D | hdmi.c | 147 hdmi->hpd_regs = devm_kcalloc(&pdev->dev, in msm_hdmi_init() 164 hdmi->pwr_regs = devm_kcalloc(&pdev->dev, in msm_hdmi_init() 179 hdmi->hpd_clks = devm_kcalloc(&pdev->dev, in msm_hdmi_init() 201 hdmi->pwr_clks = devm_kcalloc(&pdev->dev, in msm_hdmi_init()
|
/linux/drivers/soc/xilinx/ |
A D | zynqmp_pm_domains.c | 255 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()
|
/linux/sound/virtio/ |
A D | virtio_chmap.c | 70 snd->chmaps = devm_kcalloc(&vdev->dev, snd->nchmaps, in virtsnd_chmap_parse_cfg() 158 vs->chmaps = devm_kcalloc(&vdev->dev, vs->nchmaps + 1, in virtsnd_chmap_build_devs()
|
/linux/sound/soc/intel/boards/ |
A D | sof_pcm512x.c | 229 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() 304 idisp_components = devm_kcalloc(dev, hdmi_num, in sof_card_dai_links_create()
|