Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/hwmon/pmbus/
H A 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()
/openbmc/linux/drivers/gpu/drm/msm/dp/
H A 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()
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A 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()
/openbmc/linux/drivers/soc/fsl/qbman/
H A Ddpaa_sys.c80 prop->name = devm_kstrdup(dev, "reg", GFP_KERNEL); in qbman_init_private_mem()
/openbmc/linux/sound/soc/intel/avs/boards/
H A 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()
/openbmc/linux/drivers/regulator/
H A 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()
H A 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()
H A Dcros-ec-regulator.c150 data->desc.name = devm_kstrdup(dev, resp.name, GFP_KERNEL); in cros_ec_regulator_init_info()
/openbmc/linux/drivers/ufs/host/
H A 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()
/openbmc/linux/sound/soc/
H A Dsoc-topology.c1057 route->source = devm_kstrdup(tplg->dev, elem->source, GFP_KERNEL); in soc_tplg_dapm_graph_elems_load()
1058 route->sink = devm_kstrdup(tplg->dev, elem->sink, GFP_KERNEL); in soc_tplg_dapm_graph_elems_load()
1065 route->control = devm_kstrdup(tplg->dev, elem->control, GFP_KERNEL); in soc_tplg_dapm_graph_elems_load()
1116 kc->name = devm_kstrdup(tplg->dev, mc->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_dmixer_create()
1185 kc->name = devm_kstrdup(tplg->dev, ec->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_denum_create()
1268 kc->name = devm_kstrdup(tplg->dev, be->hdr.name, GFP_KERNEL); in soc_tplg_dapm_widget_dbytes_create()
1529 stream->stream_name = devm_kstrdup(tplg->dev, caps->name, GFP_KERNEL); in set_stream_info()
1582 dai_drv->name = devm_kstrdup(tplg->dev, pcm->dai_name, GFP_KERNEL); in soc_tplg_dai_create()
1688 link->name = devm_kstrdup(tplg->dev, pcm->pcm_name, GFP_KERNEL); in soc_tplg_fe_link_create()
1689 link->stream_name = devm_kstrdup(tplg->dev, pcm->pcm_name, GFP_KERNEL); in soc_tplg_fe_link_create()
[all …]
/openbmc/linux/drivers/nvdimm/
H A Dof_pmem.c33 priv->bus_desc.provider_name = devm_kstrdup(&pdev->dev, pdev->name, in of_pmem_region_probe()
/openbmc/linux/drivers/dma/qcom/
H A 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()
/openbmc/linux/drivers/i2c/muxes/
H A 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()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dof.c105 board_type = devm_kstrdup(dev, tmp, GFP_KERNEL); in brcmf_of_probe()
/openbmc/linux/drivers/gpio/
H A Dgpio-merrifield.c60 name = devm_kstrdup(dev, acpi_dev_name(adev), GFP_KERNEL); in mrfld_gpio_get_pinctrl_dev_name()
/openbmc/linux/drivers/soc/loongson/
H A Dloongson2_guts.c118 soc_dev_attr.machine = devm_kstrdup(dev, machine, GFP_KERNEL); in loongson2_guts_probe()
/openbmc/linux/sound/soc/codecs/
H A 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()
/openbmc/linux/drivers/char/hw_random/
H A Dexynos-trng.c118 trng->rng.name = devm_kstrdup(&pdev->dev, dev_name(&pdev->dev), in exynos_trng_probe()
/openbmc/linux/drivers/net/phy/
H A Daquantia_hwmon.c231 hwmon_name = devm_kstrdup(dev, dev_name(dev), GFP_KERNEL); in aqr_hwmon_probe()
/openbmc/linux/scripts/coccinelle/free/
H A Ddevm_free.cocci45 x = devm_kstrdup(...)
/openbmc/linux/drivers/uio/
H A Duio_pdrv_genirq.c131 uioinfo->name = devm_kstrdup(&pdev->dev, name, GFP_KERNEL); in uio_pdrv_genirq_probe()
/openbmc/linux/drivers/base/
H A Ddevres.c954 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup() function
968 EXPORT_SYMBOL_GPL(devm_kstrdup);
988 return devm_kstrdup(dev, s, gfp); in devm_kstrdup_const()
/openbmc/linux/drivers/memory/
H A 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()
/openbmc/linux/Documentation/driver-api/fpga/
H A Dfpga-programming.rst66 info->firmware_name = devm_kstrdup(dev, firmware_name,
/openbmc/linux/drivers/nvmem/
H A Dbrcm_nvram.c151 name = devm_kstrdup(dev, var, GFP_KERNEL); in brcm_nvram_add_cells()

123