| /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() 94 prop->clk_gears = devm_kcalloc(bus->dev, prop->num_clk_gears, in sdw_master_read_prop() 145 dp0->words = devm_kcalloc(&slave->dev, in sdw_slave_read_dp0() 202 dpn[i].words = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn() 243 dpn[i].channels = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn() 260 dpn[i].ch_combinations = devm_kcalloc(&slave->dev, in sdw_slave_read_dpn() 382 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_slave_read_prop() 393 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_slave_read_prop()
|
| /linux/drivers/pinctrl/mediatek/ |
| A D | pinctrl-mtmips.c | 206 p->group_names = devm_kcalloc(p->dev, p->group_count, in mtmips_pinctrl_index() 220 p->func = devm_kcalloc(p->dev, p->func_count, in mtmips_pinctrl_index() 222 gpio_func.groups = devm_kcalloc(p->dev, p->group_count, sizeof(int), in mtmips_pinctrl_index() 265 p->func[i]->pins = devm_kcalloc(p->dev, in mtmips_pinctrl_pins() 280 p->gpio = devm_kcalloc(p->dev, p->max_pins, sizeof(u8), GFP_KERNEL); in mtmips_pinctrl_pins() 282 p->pads = devm_kcalloc(p->dev, p->max_pins, in mtmips_pinctrl_pins()
|
| /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/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 | 163 u32 *cfg = devm_kcalloc(dev, num + 1, sizeof(*cfg), GFP_KERNEL); in scmi_hwmon_add_chan_info() 283 scmi_hwmon_chan = devm_kcalloc(dev, nr_types, sizeof(*scmi_hwmon_chan), in scmi_hwmon_probe() 288 ptr_scmi_ci = devm_kcalloc(dev, nr_types + 1, sizeof(*ptr_scmi_ci), in scmi_hwmon_probe() 305 devm_kcalloc(dev, nr_count[type], in scmi_hwmon_probe()
|
| A D | asus_wmi_sensors.c | 255 cfg = devm_kcalloc(dev, num + 1, sizeof(*cfg), GFP_KERNEL); in asus_wmi_hwmon_add_chan_info() 541 asus_wmi_hwmon_chan = devm_kcalloc(dev, nr_types, in asus_wmi_configure_sensor_setup() 547 ptr_asus_wmi_ci = devm_kcalloc(dev, nr_types + 1, in asus_wmi_configure_sensor_setup() 555 sensor_data->wmi.info_by_id = devm_kcalloc(dev, sensor_data->wmi.sensor_count, in asus_wmi_configure_sensor_setup() 574 sensor_data->wmi.info[type] = devm_kcalloc(dev, in asus_wmi_configure_sensor_setup()
|
| /linux/sound/soc/amd/acp/ |
| A D | acp-sdw-sof-mach.c | 198 cpus = devm_kcalloc(dev, num_cpus, sizeof(*cpus), GFP_KERNEL); in create_sdw_dailink() 202 codecs = devm_kcalloc(dev, num_codecs, sizeof(*codecs), GFP_KERNEL); in create_sdw_dailink() 206 codec_maps = devm_kcalloc(dev, num_codecs, sizeof(*codec_maps), GFP_KERNEL); in create_sdw_dailink() 354 codec_conf = devm_kcalloc(dev, num_devs, sizeof(*codec_conf), GFP_KERNEL); in sof_card_dai_links_create() 362 dai_links = devm_kcalloc(dev, num_links, sizeof(*dai_links), GFP_KERNEL); in sof_card_dai_links_create()
|
| /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() 468 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata() 502 leds = devm_kcalloc(dev, num_leds, sizeof(*leds), GFP_KERNEL); in netxbig_leds_get_of_pdata() 530 devm_kcalloc(dev, in netxbig_leds_get_of_pdata() 610 leds_data = devm_kcalloc(&pdev->dev, in netxbig_led_probe()
|
| /linux/drivers/pinctrl/ |
| A D | pinctrl-equilibrium.c | 196 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), GFP_KERNEL); in gpiochip_setup() 656 funcs = devm_kcalloc(dev, nr_funcs, sizeof(*funcs), GFP_KERNEL); in eqbr_build_functions() 671 funcs[i].groups = devm_kcalloc(dev, funcs[i].ngroups, in eqbr_build_functions() 724 pins = devm_kcalloc(dev, grp->npins, sizeof(*pins), GFP_KERNEL); in eqbr_build_groups() 730 pinmux = devm_kcalloc(dev, grp->npins, sizeof(*pinmux), GFP_KERNEL); in eqbr_build_groups() 789 pdesc = devm_kcalloc(dev, nr_pins, sizeof(*pdesc), GFP_KERNEL); in pinctrl_reg() 792 pin_names = devm_kcalloc(dev, nr_pins, PIN_NAME_LEN, GFP_KERNEL); in pinctrl_reg() 876 banks = devm_kcalloc(dev, nr_gpio, sizeof(*banks), GFP_KERNEL); in pinbank_probe() 880 gctrls = devm_kcalloc(dev, nr_gpio, sizeof(*gctrls), GFP_KERNEL); in pinbank_probe()
|
| /linux/drivers/pinctrl/pxa/ |
| A D | pinctrl-pxa2xx.c | 275 functions = devm_kcalloc(pctl->dev, pctl->npins * 6, in pxa2xx_build_functions() 338 pins = devm_kcalloc(pctl->dev, npins, sizeof(*pins), GFP_KERNEL); in pxa2xx_build_state() 383 pctl->base_gafr = devm_kcalloc(&pdev->dev, roundup(maxpin, 16), in pxa2xx_pinctrl_init() 385 pctl->base_gpdr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init() 387 pctl->base_pgsr = devm_kcalloc(&pdev->dev, roundup(maxpin, 32), in pxa2xx_pinctrl_init()
|
| /linux/sound/soc/sof/ |
| A D | nocodec.c | 35 dlc = devm_kcalloc(dev, 2, sizeof(*dlc), GFP_KERNEL); in sof_nocodec_bes_setup() 79 links = devm_kcalloc(dev, num_dai_drivers, sizeof(struct snd_soc_dai_link), GFP_KERNEL); in sof_nocodec_setup()
|
| /linux/drivers/pmdomain/arm/ |
| A D | scpi_pm_domain.c | 96 scpi_pd = devm_kcalloc(dev, num_domains, sizeof(*scpi_pd), GFP_KERNEL); in scpi_pm_domain_probe() 104 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scpi_pm_domain_probe()
|
| A D | scmi_pm_domain.c | 79 scmi_pd = devm_kcalloc(dev, num_domains, sizeof(*scmi_pd), GFP_KERNEL); in scmi_pm_domain_probe() 87 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scmi_pm_domain_probe()
|
| A D | scmi_perf_domain.c | 108 scmi_pd = devm_kcalloc(dev, num_domains, sizeof(*scmi_pd), GFP_KERNEL); in scmi_perf_domain_probe() 116 domains = devm_kcalloc(dev, num_domains, sizeof(*domains), GFP_KERNEL); in scmi_perf_domain_probe()
|
| /linux/sound/soc/fsl/ |
| A D | imx-audmix.c | 195 priv->dai = devm_kcalloc(&pdev->dev, priv->num_dai, in imx_audmix_probe() 201 priv->dai_conf = devm_kcalloc(&pdev->dev, priv->num_dai_conf, in imx_audmix_probe() 208 priv->dapm_routes = devm_kcalloc(&pdev->dev, priv->num_dapm_routes, in imx_audmix_probe() 218 dlc = devm_kcalloc(&pdev->dev, 2, sizeof(*dlc), GFP_KERNEL); in imx_audmix_probe()
|
| /linux/drivers/pinctrl/freescale/ |
| A D | pinctrl-mxs.c | 376 g->pins = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->pins), in mxs_pinctrl_parse_group() 381 g->muxsel = devm_kcalloc(&pdev->dev, g->npins, sizeof(*g->muxsel), in mxs_pinctrl_parse_group() 437 soc->functions = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt() 444 soc->groups = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt() 506 f->groups = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt()
|
| A D | pinctrl-imx1-core.c | 488 grp->pins = devm_kcalloc(info->dev, in imx1_pinctrl_parse_groups() 490 grp->pin_ids = devm_kcalloc(info->dev, in imx1_pinctrl_parse_groups() 527 func->groups = devm_kcalloc(info->dev, in imx1_pinctrl_parse_functions() 567 info->functions = devm_kcalloc(&pdev->dev, in imx1_pinctrl_parse_dt() 571 info->groups = devm_kcalloc(&pdev->dev, in imx1_pinctrl_parse_dt()
|
| /linux/drivers/gpu/drm/vboxvideo/ |
| A D | vbox_main.c | 37 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/pmdomain/sunxi/ |
| A D | sun20i-ppu.c | 117 pds = devm_kcalloc(dev, desc->num_domains, sizeof(*pds), GFP_KERNEL); in sun20i_ppu_probe() 125 ppu->domains = devm_kcalloc(dev, desc->num_domains, in sun20i_ppu_probe()
|
| /linux/drivers/pinctrl/nxp/ |
| A D | pinctrl-s32cc.c | 777 pins = devm_kcalloc(info->dev, npins, sizeof(*pins), GFP_KERNEL); in s32_pinctrl_parse_groups() 778 sss = devm_kcalloc(info->dev, npins, sizeof(*sss), GFP_KERNEL); in s32_pinctrl_parse_groups() 819 groups = devm_kcalloc(info->dev, func->ngroups, in s32_pinctrl_parse_functions() 859 ipctl->regions = devm_kcalloc(&pdev->dev, mem_regions, in s32_pinctrl_probe_dt() 894 info->functions = devm_kcalloc(&pdev->dev, nfuncs, in s32_pinctrl_probe_dt() 903 info->groups = devm_kcalloc(&pdev->dev, info->ngroups, in s32_pinctrl_probe_dt() 981 devm_kcalloc(&pdev->dev, info->soc_data->npins, in s32_pinctrl_probe()
|
| /linux/drivers/pinctrl/intel/ |
| A D | pinctrl-intel-platform.c | 128 gpps = devm_kcalloc(dev, ngpps, sizeof(*gpps), GFP_KERNEL); in intel_platform_pinctrl_prepare_community() 162 communities = devm_kcalloc(dev, ncommunities, sizeof(*communities), GFP_KERNEL); in intel_platform_pinctrl_prepare_soc_data()
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| A D | hdmi_phy.c | 17 phy->regs = devm_kcalloc(dev, cfg->num_regs, sizeof(phy->regs[0]), in msm_hdmi_phy_resource_init() 22 phy->clks = devm_kcalloc(dev, cfg->num_clks, sizeof(phy->clks[0]), in msm_hdmi_phy_resource_init()
|
| A D | hdmi.c | 441 hdmi->hpd_regs = devm_kcalloc(&pdev->dev, in msm_hdmi_dev_probe() 455 hdmi->pwr_regs = devm_kcalloc(&pdev->dev, in msm_hdmi_dev_probe() 469 hdmi->hpd_clks = devm_kcalloc(&pdev->dev, in msm_hdmi_dev_probe() 488 hdmi->pwr_clks = devm_kcalloc(&pdev->dev, in msm_hdmi_dev_probe()
|
| /linux/sound/soc/codecs/ |
| A D | sdw-mockup.c | 155 prop->src_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_mockup_read_prop() 173 prop->sink_dpn_prop = devm_kcalloc(&slave->dev, nval, in sdw_mockup_read_prop()
|
| /linux/sound/soc/meson/ |
| A D | axg-card.c | 165 be->tx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 167 be->rx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 227 codec_mask = devm_kcalloc(card->dev, link->num_codecs, in axg_card_parse_codecs_masks()
|