/linux-6.1.9/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.1.9/drivers/pinctrl/ralink/ |
D | pinctrl-ralink.c | 206 p->group_names = devm_kcalloc(p->dev, p->group_count, in ralink_pinctrl_index() 220 p->func = devm_kcalloc(p->dev, p->func_count, in ralink_pinctrl_index() 222 gpio_func.groups = devm_kcalloc(p->dev, p->group_count, sizeof(int), in ralink_pinctrl_index() 265 p->func[i]->pins = devm_kcalloc(p->dev, in ralink_pinctrl_pins() 280 p->gpio = devm_kcalloc(p->dev, p->max_pins, sizeof(u8), GFP_KERNEL); in ralink_pinctrl_pins() 282 p->pads = devm_kcalloc(p->dev, p->max_pins, in ralink_pinctrl_pins()
|
/linux-6.1.9/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.1.9/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.1.9/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()
|
D | asus-ec-sensors.c | 861 u32 *cfg = devm_kcalloc(dev, num + 1, sizeof(*cfg), GFP_KERNEL); in asus_ec_hwmon_add_chan_info() 939 ec_data->sensors = devm_kcalloc(dev, ec_data->nr_sensors, in asus_ec_probe() 951 ec_data->registers = devm_kcalloc(dev, ec_data->nr_registers, in asus_ec_probe() 953 ec_data->read_buffer = devm_kcalloc(dev, ec_data->nr_registers, in asus_ec_probe() 971 asus_ec_hwmon_chan = devm_kcalloc( in asus_ec_probe() 976 ptr_asus_ec_ci = devm_kcalloc(dev, nr_types + 1, in asus_ec_probe()
|
D | pwm-fan.c | 440 ctx->pwm_fan_cooling_levels = devm_kcalloc(dev, num, sizeof(u32), in pwm_fan_of_get_cooling_data() 545 ctx->tachs = devm_kcalloc(dev, ctx->tach_count, in pwm_fan_probe() 552 fan_channel_config = devm_kcalloc(dev, ctx->tach_count + 1, in pwm_fan_probe() 559 channels = devm_kcalloc(dev, channel_count + 1, in pwm_fan_probe()
|
/linux-6.1.9/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.1.9/drivers/pinctrl/ |
D | pinctrl-equilibrium.c | 190 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() 719 group.pins = devm_kcalloc(dev, group.num_pins, in eqbr_build_groups() 726 pinmux = devm_kcalloc(dev, group.num_pins, sizeof(*pinmux), in eqbr_build_groups() 792 pdesc = devm_kcalloc(dev, nr_pins, sizeof(*pdesc), GFP_KERNEL); in pinctrl_reg() 795 pin_names = devm_kcalloc(dev, nr_pins, PIN_NAME_LEN, GFP_KERNEL); in pinctrl_reg() 879 banks = devm_kcalloc(dev, nr_gpio, sizeof(*banks), GFP_KERNEL); in pinbank_probe() 883 gctrls = devm_kcalloc(dev, nr_gpio, sizeof(*gctrls), GFP_KERNEL); in pinbank_probe()
|
/linux-6.1.9/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.1.9/drivers/firmware/ |
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-6.1.9/sound/soc/sof/ |
D | nocodec.c | 35 dlc = devm_kcalloc(dev, 3, sizeof(*dlc), GFP_KERNEL); in sof_nocodec_bes_setup() 81 links = devm_kcalloc(dev, num_dai_drivers, sizeof(struct snd_soc_dai_link), GFP_KERNEL); in sof_nocodec_setup()
|
/linux-6.1.9/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.1.9/drivers/gpu/drm/msm/dp/ |
D | dp_parser.c | 155 core_power->clocks = devm_kcalloc(dev, in dp_parser_init_clk_data() 168 ctrl_power->clocks = devm_kcalloc(dev, in dp_parser_init_clk_data() 183 stream_power->clocks = devm_kcalloc(dev, in dp_parser_init_clk_data()
|
/linux-6.1.9/drivers/gpu/drm/vboxvideo/ |
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-6.1.9/sound/soc/fsl/ |
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-6.1.9/drivers/pinctrl/freescale/ |
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()
|
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-6.1.9/sound/soc/intel/avs/boards/ |
D | i2s_test.c | 62 dr = devm_kcalloc(dev, num_dr, sizeof(*dr), GFP_KERNEL); in avs_create_dapm_routes() 88 dw = devm_kcalloc(dev, num_dw, sizeof(*dw), GFP_KERNEL); in avs_create_dapm_widgets()
|
/linux-6.1.9/drivers/gpu/drm/msm/hdmi/ |
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()
|
D | hdmi.c | 162 hdmi->hpd_regs = devm_kcalloc(&pdev->dev, in msm_hdmi_init() 179 hdmi->pwr_regs = devm_kcalloc(&pdev->dev, in msm_hdmi_init() 197 hdmi->hpd_clks = devm_kcalloc(&pdev->dev, in msm_hdmi_init() 219 hdmi->pwr_clks = devm_kcalloc(&pdev->dev, in msm_hdmi_init()
|
/linux-6.1.9/sound/soc/meson/ |
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-6.1.9/drivers/soc/amlogic/ |
D | meson-secure-pwrc.c | 165 pwrc->xlate.domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe() 171 pwrc->domains = devm_kcalloc(&pdev->dev, match->count, in meson_secure_pwrc_probe()
|
/linux-6.1.9/sound/virtio/ |
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()
|