Home
last modified time | relevance | path

Searched refs:devm_kstrdup (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/msm/dp/
Ddp_parser.c227 core_power->clocks[core_clk_index].id = devm_kstrdup(dev, clk_name, GFP_KERNEL); in dp_parser_clock()
231 stream_power->clocks[stream_clk_index].id = devm_kstrdup(dev, clk_name, GFP_KERNEL); in dp_parser_clock()
235 ctrl_power->clocks[ctrl_clk_index].id = devm_kstrdup(dev, clk_name, GFP_KERNEL); in dp_parser_clock()
/linux-6.1.9/drivers/hwmon/pmbus/
Ddps920ab.c158 data->mfr_id = devm_kstrdup(&client->dev, buf, GFP_KERNEL); in dps920ab_probe()
173 data->mfr_model = devm_kstrdup(&client->dev, buf, GFP_KERNEL); in dps920ab_probe()
/linux-6.1.9/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_magn.c295 str = devm_kstrdup(dev, orient + 1, GFP_KERNEL); in inv_mpu_magn_set_orient()
297 str = devm_kstrdup(dev, orient, GFP_KERNEL); in inv_mpu_magn_set_orient()
/linux-6.1.9/drivers/soc/fsl/qbman/
Ddpaa_sys.c80 prop->name = devm_kstrdup(dev, "reg", GFP_KERNEL); in qbman_init_private_mem()
/linux-6.1.9/drivers/regulator/
Dfixed.c202 drvdata->desc.name = devm_kstrdup(&pdev->dev, in reg_fixed_voltage_probe()
236 drvdata->desc.supply_name = devm_kstrdup(&pdev->dev, in reg_fixed_voltage_probe()
Dgpio-regulator.c257 drvdata->desc.name = devm_kstrdup(dev, config->supply_name, GFP_KERNEL); in gpio_regulator_probe()
267 drvdata->desc.supply_name = devm_kstrdup(&pdev->dev, in gpio_regulator_probe()
Dcros-ec-regulator.c150 data->desc.name = devm_kstrdup(dev, resp.name, GFP_KERNEL); in cros_ec_regulator_init_info()
/linux-6.1.9/drivers/ufs/host/
Dufshcd-pltfrm.c95 clki->name = devm_kstrdup(dev, name, GFP_KERNEL); in ufshcd_parse_clock_info()
146 vreg->name = devm_kstrdup(dev, name, GFP_KERNEL); in ufshcd_populate_vreg()
/linux-6.1.9/drivers/dma/qcom/
Dhidma_mgmt_sys.c195 name_copy = devm_kstrdup(&dev->pdev->dev, name, GFP_KERNEL); in create_sysfs_entry()
219 name_copy = devm_kstrdup(&mdev->pdev->dev, name, GFP_KERNEL); in create_sysfs_entry_channel()
/linux-6.1.9/drivers/i2c/muxes/
Di2c-demux-pinctrl.c244 props[i].name = devm_kstrdup(&pdev->dev, "status", GFP_KERNEL); in i2c_demux_pinctrl_probe()
245 props[i].value = devm_kstrdup(&pdev->dev, "ok", GFP_KERNEL); in i2c_demux_pinctrl_probe()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dof.c98 board_type = devm_kstrdup(dev, tmp, GFP_KERNEL); in brcmf_of_probe()
/linux-6.1.9/sound/soc/intel/avs/boards/
Dhdaudio.c56 dl[i].codecs->name = devm_kstrdup(dev, cname, GFP_KERNEL); in avs_create_dai_links()
257 binder->codecs->name = devm_kstrdup(dev, dev_name(&codec->core.dev), GFP_KERNEL); in avs_hdaudio_probe()
/linux-6.1.9/sound/soc/codecs/
Dhdac_hdmi.c685 w->name = devm_kstrdup(dev, wname, GFP_KERNEL); in hdac_hdmi_fill_widget_info()
982 kc->name = devm_kstrdup(&hdev->dev, kc_name, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
1000 items[i] = devm_kstrdup(&hdev->dev, mux_items, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
1007 items[i] = devm_kstrdup(&hdev->dev, mux_items, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
1209 cvt->name = devm_kstrdup(&hdev->dev, name, GFP_KERNEL); in hdac_hdmi_add_cvt()
1586 hdmi_dais[i].name = devm_kstrdup(&hdev->dev, in hdac_hdmi_create_dais()
1594 devm_kstrdup(&hdev->dev, name, GFP_KERNEL); in hdac_hdmi_create_dais()
1785 name = devm_kstrdup(component->dev, xname, GFP_KERNEL); in create_fill_jack_kcontrols()
1789 kc[i].name = devm_kstrdup(component->dev, kc_name, in create_fill_jack_kcontrols()
/linux-6.1.9/drivers/nvmem/
Dbrcm_nvram.c71 priv->cells[idx].name = devm_kstrdup(dev, var, GFP_KERNEL); in brcm_nvram_add_cells()
Du-boot-env.c90 priv->cells[idx].name = devm_kstrdup(dev, var, GFP_KERNEL); in u_boot_env_add_cells()
/linux-6.1.9/drivers/char/hw_random/
Dexynos-trng.c118 trng->rng.name = devm_kstrdup(&pdev->dev, dev_name(&pdev->dev), in exynos_trng_probe()
/linux-6.1.9/drivers/net/phy/
Daquantia_hwmon.c231 hwmon_name = devm_kstrdup(dev, dev_name(dev), GFP_KERNEL); in aqr_hwmon_probe()
/linux-6.1.9/drivers/base/
Ddevres.c946 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup() function
960 EXPORT_SYMBOL_GPL(devm_kstrdup);
980 return devm_kstrdup(dev, s, gfp); in devm_kstrdup_const()
/linux-6.1.9/scripts/coccinelle/free/
Ddevm_free.cocci45 x = devm_kstrdup(...)
/linux-6.1.9/sound/soc/
Dsoc-topology.c852 se->dobj.control.dtexts[i] = devm_kstrdup(tplg->dev, ec->texts[i], GFP_KERNEL); in soc_tplg_denum_create_texts()
1157 kc->name = devm_kstrdup(tplg->dev, mc->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_dmixer_create()
1229 kc->name = devm_kstrdup(tplg->dev, ec->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_denum_create()
1315 kc->name = devm_kstrdup(tplg->dev, be->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_dbytes_create()
1576 stream->stream_name = devm_kstrdup(tplg->dev, caps->name, GFP_KERNEL); in set_stream_info()
1625 dai_drv->name = devm_kstrdup(tplg->dev, pcm->dai_name, GFP_KERNEL); in soc_tplg_dai_create()
1734 link->name = devm_kstrdup(tplg->dev, pcm->pcm_name, GFP_KERNEL); in soc_tplg_fe_link_create()
1735 link->stream_name = devm_kstrdup(tplg->dev, pcm->pcm_name, GFP_KERNEL); in soc_tplg_fe_link_create()
1744 link->cpus->dai_name = devm_kstrdup(tplg->dev, pcm->dai_name, GFP_KERNEL); in soc_tplg_fe_link_create()
/linux-6.1.9/drivers/uio/
Duio_pdrv_genirq.c131 uioinfo->name = devm_kstrdup(&pdev->dev, name, GFP_KERNEL); in uio_pdrv_genirq_probe()
/linux-6.1.9/drivers/memory/
Datmel-ebi.c501 newprop->name = devm_kstrdup(dev, "status", GFP_KERNEL); in atmel_ebi_dev_disable()
505 newprop->value = devm_kstrdup(dev, "disabled", GFP_KERNEL); in atmel_ebi_dev_disable()
/linux-6.1.9/Documentation/driver-api/fpga/
Dfpga-programming.rst66 info->firmware_name = devm_kstrdup(dev, firmware_name,
/linux-6.1.9/drivers/fpga/
Dof-fpga-region.c233 info->firmware_name = devm_kstrdup(dev, firmware_name, in of_fpga_region_parse_ov()
/linux-6.1.9/drivers/power/supply/
Dpower_supply_hwmon.c385 new_name = devm_kstrdup(dev, name, GFP_KERNEL); in power_supply_add_hwmon_sysfs()

12