Home
last modified time | relevance | path

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

123

/linux-6.6.21/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.6.21/drivers/gpu/drm/msm/dp/
Ddp_parser.c261 core_power->clocks[core_clk_index].id = devm_kstrdup(dev, clk_name, GFP_KERNEL); in dp_parser_clock()
265 stream_power->clocks[stream_clk_index].id = devm_kstrdup(dev, clk_name, GFP_KERNEL); in dp_parser_clock()
269 ctrl_power->clocks[ctrl_clk_index].id = devm_kstrdup(dev, clk_name, GFP_KERNEL); in dp_parser_clock()
/linux-6.6.21/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.6.21/drivers/soc/fsl/qbman/
Ddpaa_sys.c80 prop->name = devm_kstrdup(dev, "reg", GFP_KERNEL); in qbman_init_private_mem()
/linux-6.6.21/sound/soc/intel/avs/boards/
Dhdaudio.c57 dl[i].codecs->name = devm_kstrdup(dev, cname, GFP_KERNEL); in avs_create_dai_links()
196 binder->codecs->name = devm_kstrdup(dev, dev_name(&codec->core.dev), GFP_KERNEL); in avs_hdaudio_probe()
/linux-6.6.21/drivers/regulator/
Dfixed.c201 drvdata->desc.name = devm_kstrdup(&pdev->dev, in reg_fixed_voltage_probe()
235 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.6.21/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.6.21/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.6.21/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.6.21/drivers/nvdimm/
Dof_pmem.c33 priv->bus_desc.provider_name = devm_kstrdup(&pdev->dev, pdev->name, in of_pmem_region_probe()
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dof.c105 board_type = devm_kstrdup(dev, tmp, GFP_KERNEL); in brcmf_of_probe()
/linux-6.6.21/drivers/gpio/
Dgpio-merrifield.c60 name = devm_kstrdup(dev, acpi_dev_name(adev), GFP_KERNEL); in mrfld_gpio_get_pinctrl_dev_name()
/linux-6.6.21/sound/soc/codecs/
Dhdac_hdmi.c690 w->name = devm_kstrdup(dev, wname, GFP_KERNEL); in hdac_hdmi_fill_widget_info()
987 kc->name = devm_kstrdup(&hdev->dev, kc_name, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
1005 items[i] = devm_kstrdup(&hdev->dev, mux_items, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
1012 items[i] = devm_kstrdup(&hdev->dev, mux_items, GFP_KERNEL); in hdac_hdmi_create_pin_port_muxs()
1214 cvt->name = devm_kstrdup(&hdev->dev, name, GFP_KERNEL); in hdac_hdmi_add_cvt()
1591 hdmi_dais[i].name = devm_kstrdup(&hdev->dev, in hdac_hdmi_create_dais()
1599 devm_kstrdup(&hdev->dev, name, GFP_KERNEL); in hdac_hdmi_create_dais()
1790 name = devm_kstrdup(component->dev, xname, GFP_KERNEL); in create_fill_jack_kcontrols()
1794 kc[i].name = devm_kstrdup(component->dev, kc_name, in create_fill_jack_kcontrols()
/linux-6.6.21/drivers/soc/loongson/
Dloongson2_guts.c118 soc_dev_attr.machine = devm_kstrdup(dev, machine, GFP_KERNEL); in loongson2_guts_probe()
/linux-6.6.21/sound/soc/
Dsoc-topology.c814 se->dobj.control.dtexts[i] = devm_kstrdup(tplg->dev, ec->texts[i], GFP_KERNEL); in soc_tplg_denum_create_texts()
1117 kc->name = devm_kstrdup(tplg->dev, mc->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_dmixer_create()
1186 kc->name = devm_kstrdup(tplg->dev, ec->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_denum_create()
1269 kc->name = devm_kstrdup(tplg->dev, be->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_dbytes_create()
1530 stream->stream_name = devm_kstrdup(tplg->dev, caps->name, GFP_KERNEL); in set_stream_info()
1583 dai_drv->name = devm_kstrdup(tplg->dev, pcm->dai_name, GFP_KERNEL); in soc_tplg_dai_create()
1689 link->name = devm_kstrdup(tplg->dev, pcm->pcm_name, GFP_KERNEL); in soc_tplg_fe_link_create()
1690 link->stream_name = devm_kstrdup(tplg->dev, pcm->pcm_name, GFP_KERNEL); in soc_tplg_fe_link_create()
1699 link->cpus->dai_name = devm_kstrdup(tplg->dev, pcm->dai_name, GFP_KERNEL); in soc_tplg_fe_link_create()
/linux-6.6.21/drivers/net/phy/
Daquantia_hwmon.c231 hwmon_name = devm_kstrdup(dev, dev_name(dev), GFP_KERNEL); in aqr_hwmon_probe()
/linux-6.6.21/drivers/char/hw_random/
Dexynos-trng.c118 trng->rng.name = devm_kstrdup(&pdev->dev, dev_name(&pdev->dev), in exynos_trng_probe()
/linux-6.6.21/scripts/coccinelle/free/
Ddevm_free.cocci45 x = devm_kstrdup(...)
/linux-6.6.21/drivers/base/
Ddevres.c950 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup() function
964 EXPORT_SYMBOL_GPL(devm_kstrdup);
984 return devm_kstrdup(dev, s, gfp); in devm_kstrdup_const()
/linux-6.6.21/drivers/uio/
Duio_pdrv_genirq.c131 uioinfo->name = devm_kstrdup(&pdev->dev, name, GFP_KERNEL); in uio_pdrv_genirq_probe()
/linux-6.6.21/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.6.21/drivers/nvmem/
Dbrcm_nvram.c151 name = devm_kstrdup(dev, var, GFP_KERNEL); in brcm_nvram_add_cells()
/linux-6.6.21/Documentation/driver-api/fpga/
Dfpga-programming.rst66 info->firmware_name = devm_kstrdup(dev, firmware_name,

123