/linux-6.6.21/drivers/soundwire/ |
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-6.6.21/drivers/pinctrl/mediatek/ |
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-6.6.21/drivers/pinctrl/qcom/ |
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-6.6.21/drivers/gpio/ |
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-6.6.21/drivers/hwmon/ |
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()
|
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-6.6.21/drivers/leds/ |
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-6.6.21/drivers/pinctrl/ |
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].nr_groups, in eqbr_build_functions() 725 group.pins = devm_kcalloc(dev, group.num_pins, in eqbr_build_groups() 732 pinmux = devm_kcalloc(dev, group.num_pins, sizeof(*pinmux), in eqbr_build_groups() 798 pdesc = devm_kcalloc(dev, nr_pins, sizeof(*pdesc), GFP_KERNEL); in pinctrl_reg() 801 pin_names = devm_kcalloc(dev, nr_pins, PIN_NAME_LEN, GFP_KERNEL); in pinctrl_reg() 885 banks = devm_kcalloc(dev, nr_gpio, sizeof(*banks), GFP_KERNEL); in pinbank_probe() 889 gctrls = devm_kcalloc(dev, nr_gpio, sizeof(*gctrls), GFP_KERNEL); in pinbank_probe()
|
/linux-6.6.21/drivers/pinctrl/pxa/ |
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-6.6.21/sound/soc/sof/ |
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-6.6.21/drivers/firmware/ |
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()
|
/linux-6.6.21/sound/soc/fsl/ |
D | imx-audmix.c | 187 priv->dai = devm_kcalloc(&pdev->dev, priv->num_dai, in imx_audmix_probe() 193 priv->dai_conf = devm_kcalloc(&pdev->dev, priv->num_dai_conf, in imx_audmix_probe() 200 priv->dapm_routes = devm_kcalloc(&pdev->dev, priv->num_dapm_routes, in imx_audmix_probe() 210 dlc = devm_kcalloc(&pdev->dev, 2, sizeof(*dlc), GFP_KERNEL); in imx_audmix_probe()
|
/linux-6.6.21/drivers/firmware/arm_scmi/ |
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()
|
/linux-6.6.21/drivers/gpu/drm/vboxvideo/ |
D | vbox_main.c | 37 vbox->vbva_info = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_accel_init() 156 vbox->last_mode_hints = devm_kcalloc(vbox->ddev.dev, vbox->num_crtcs, in vbox_hw_init()
|
/linux-6.6.21/drivers/pinctrl/freescale/ |
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() 432 soc->functions = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt() 439 soc->groups = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt() 503 f->groups = devm_kcalloc(&pdev->dev, in mxs_pinctrl_probe_dt()
|
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() 528 func->groups = devm_kcalloc(info->dev, in imx1_pinctrl_parse_functions() 571 info->functions = devm_kcalloc(&pdev->dev, in imx1_pinctrl_parse_dt() 575 info->groups = devm_kcalloc(&pdev->dev, in imx1_pinctrl_parse_dt()
|
/linux-6.6.21/drivers/pmdomain/sunxi/ |
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-6.6.21/drivers/gpu/drm/msm/dp/ |
D | dp_parser.c | 189 core_power->clocks = devm_kcalloc(dev, in dp_parser_init_clk_data() 202 ctrl_power->clocks = devm_kcalloc(dev, in dp_parser_init_clk_data() 217 stream_power->clocks = devm_kcalloc(dev, in dp_parser_init_clk_data()
|
/linux-6.6.21/drivers/pinctrl/nxp/ |
D | pinctrl-s32cc.c | 765 pins = devm_kcalloc(info->dev, npins, sizeof(*pins), GFP_KERNEL); in s32_pinctrl_parse_groups() 766 sss = devm_kcalloc(info->dev, npins, sizeof(*sss), GFP_KERNEL); in s32_pinctrl_parse_groups() 808 groups = devm_kcalloc(info->dev, func->ngroups, in s32_pinctrl_parse_functions() 851 ipctl->regions = devm_kcalloc(&pdev->dev, mem_regions, in s32_pinctrl_probe_dt() 886 info->functions = devm_kcalloc(&pdev->dev, nfuncs, in s32_pinctrl_probe_dt() 895 info->groups = devm_kcalloc(&pdev->dev, info->ngroups, in s32_pinctrl_probe_dt() 975 devm_kcalloc(&pdev->dev, info->soc_data->npins, in s32_pinctrl_probe()
|
/linux-6.6.21/sound/soc/intel/avs/boards/ |
D | i2s_test.c | 60 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes() 86 dw = devm_kcalloc(dev, num_dw, sizeof(*dw), GFP_KERNEL); in avs_create_dapm_widgets()
|
/linux-6.6.21/sound/soc/codecs/ |
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-6.6.21/drivers/gpu/drm/msm/hdmi/ |
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()
|
D | hdmi.c | 453 hdmi->hpd_regs = devm_kcalloc(&pdev->dev, in msm_hdmi_dev_probe() 467 hdmi->pwr_regs = devm_kcalloc(&pdev->dev, in msm_hdmi_dev_probe() 481 hdmi->hpd_clks = devm_kcalloc(&pdev->dev, in msm_hdmi_dev_probe() 500 hdmi->pwr_clks = devm_kcalloc(&pdev->dev, in msm_hdmi_dev_probe()
|
/linux-6.6.21/sound/soc/generic/ |
D | simple-card-utils.c | 133 dai->tdm_width_map = devm_kcalloc(dev, n, sizeof(*dai->tdm_width_map), GFP_KERNEL); in asoc_simple_parse_tdm_width_map() 819 priv->aux_jacks = devm_kcalloc(card->dev, num, in asoc_simple_init_aux_jacks() 860 dai_props = devm_kcalloc(dev, li->link, sizeof(*dai_props), GFP_KERNEL); in asoc_simple_init_priv() 861 dai_link = devm_kcalloc(dev, li->link, sizeof(*dai_link), GFP_KERNEL); in asoc_simple_init_priv() 879 dais = devm_kcalloc(dev, dai_num, sizeof(*dais), GFP_KERNEL); in asoc_simple_init_priv() 880 dlcs = devm_kcalloc(dev, dlc_num, sizeof(*dlcs), GFP_KERNEL); in asoc_simple_init_priv() 885 cconf = devm_kcalloc(dev, cnf_num, sizeof(*cconf), GFP_KERNEL); in asoc_simple_init_priv()
|
/linux-6.6.21/sound/soc/meson/ |
D | axg-card.c | 164 be->tx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 166 be->rx_mask = devm_kcalloc(card->dev, AXG_TDM_NUM_LANES, in axg_card_parse_cpu_tdm_slots() 226 codec_mask = devm_kcalloc(card->dev, link->num_codecs, in axg_card_parse_codecs_masks()
|