Home
last modified time | relevance | path

Searched refs:kasprintf (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/Linux-v5.4/drivers/thermal/
Duser_space.c31 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", tz->type); in notify_user_space()
32 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", tz->temperature); in notify_user_space()
33 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP=%d", trip); in notify_user_space()
34 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", tz->notify_event); in notify_user_space()
/Linux-v5.4/drivers/soc/ux500/
Dux500-soc-id.c128 return kasprintf(GFP_KERNEL, "DB%4x", dbx500_id.partnumber); in ux500_get_machine()
133 return kasprintf(GFP_KERNEL, "ux500"); in ux500_get_family()
141 return kasprintf(GFP_KERNEL, "%s", "ED"); in ux500_get_revision()
143 return kasprintf(GFP_KERNEL, "%d.%d", in ux500_get_revision()
146 return kasprintf(GFP_KERNEL, "%s", "Unknown"); in ux500_get_revision()
172 retstr = kasprintf(GFP_KERNEL, "%08x%08x%08x%08x%08x", in db8500_read_soc_id()
/Linux-v5.4/drivers/clk/qcom/
Dkrait-cc.c94 init.name = kasprintf(GFP_KERNEL, "hfpll%s_div", s); in krait_add_div()
99 p_names[0] = kasprintf(GFP_KERNEL, "hfpll%s", s); in krait_add_div()
142 init.name = kasprintf(GFP_KERNEL, "krait%s_sec_mux", s); in krait_add_sec_mux()
147 sec_mux_list[0] = kasprintf(GFP_KERNEL, "acpu%s_aux", s); in krait_add_sec_mux()
195 init.name = kasprintf(GFP_KERNEL, "krait%s_pri_mux", s); in krait_add_pri_mux()
199 p_names[0] = kasprintf(GFP_KERNEL, "hfpll%s", s); in krait_add_pri_mux()
205 p_names[1] = kasprintf(GFP_KERNEL, "hfpll%s_div", s); in krait_add_pri_mux()
211 p_names[2] = kasprintf(GFP_KERNEL, "krait%s_sec_mux", s); in krait_add_pri_mux()
244 s = p = kasprintf(GFP_KERNEL, "%d", id); in krait_add_clks()
/Linux-v5.4/drivers/clk/versatile/
Dclk-impd1.c98 imc->pclkname = kasprintf(GFP_KERNEL, "lm%x-pclk", id); in integrator_impd1_clk_init()
102 imc->vco1name = kasprintf(GFP_KERNEL, "lm%x-vco1", id); in integrator_impd1_clk_init()
110 imc->vco2name = kasprintf(GFP_KERNEL, "lm%x-vco2", id); in integrator_impd1_clk_init()
120 imc->uartname = kasprintf(GFP_KERNEL, "lm%x-uartclk", id); in integrator_impd1_clk_init()
130 imc->spiname = kasprintf(GFP_KERNEL, "lm%x-spiclk", id); in integrator_impd1_clk_init()
142 imc->scname = kasprintf(GFP_KERNEL, "lm%x-scclk", id); in integrator_impd1_clk_init()
/Linux-v5.4/drivers/power/supply/
Dpower_supply_leds.c59 psy->charging_full_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers()
64 psy->charging_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers()
69 psy->full_trig_name = kasprintf(GFP_KERNEL, "%s-full", psy->desc->name); in power_supply_create_bat_triggers()
73 psy->charging_blink_full_solid_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers()
130 psy->online_trig_name = kasprintf(GFP_KERNEL, "%s-online", in power_supply_create_gen_triggers()
/Linux-v5.4/sound/soc/
Dsoc-component.c91 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_enable_pin()
113 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_enable_pin_unlocked()
135 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_disable_pin()
157 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_disable_pin_unlocked()
179 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_nc_pin()
201 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_nc_pin_unlocked()
223 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_get_pin_status()
245 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_force_enable_pin()
268 full_name = kasprintf(GFP_KERNEL, "%s %s", component->name_prefix, pin); in snd_soc_component_force_enable_pin_unlocked()
/Linux-v5.4/arch/arm/mach-omap2/
Did.c761 return kasprintf(GFP_KERNEL, "OMAP2"); in omap_get_family()
763 return kasprintf(GFP_KERNEL, "OMAP3"); in omap_get_family()
765 return kasprintf(GFP_KERNEL, "OMAP4"); in omap_get_family()
767 return kasprintf(GFP_KERNEL, "OMAP5"); in omap_get_family()
769 return kasprintf(GFP_KERNEL, "AM33xx"); in omap_get_family()
771 return kasprintf(GFP_KERNEL, "AM43xx"); in omap_get_family()
773 return kasprintf(GFP_KERNEL, "DRA7"); in omap_get_family()
775 return kasprintf(GFP_KERNEL, "Unknown"); in omap_get_family()
/Linux-v5.4/drivers/soc/bcm/brcmstb/
Dcommon.c113 soc_dev_attr->family = kasprintf(GFP_KERNEL, "%x", in brcmstb_soc_device_init()
116 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%x", in brcmstb_soc_device_init()
119 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%c%d", in brcmstb_soc_device_init()
/Linux-v5.4/arch/arm/mach-mvebu/
Dmvebu-soc-id.c164 soc_dev_attr->family = kasprintf(GFP_KERNEL, "Marvell"); in mvebu_soc_device()
165 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%X", soc_rev); in mvebu_soc_device()
166 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%X", soc_dev_id); in mvebu_soc_device()
/Linux-v5.4/arch/arm/mach-zynq/
Dcommon.c116 soc_dev_attr->family = kasprintf(GFP_KERNEL, "Xilinx Zynq"); in zynq_init_machine()
117 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "0x%x", system_rev); in zynq_init_machine()
118 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "0x%x", in zynq_init_machine()
/Linux-v5.4/lib/
Dkasprintf.c53 char *kasprintf(gfp_t gfp, const char *fmt, ...) in kasprintf() function
64 EXPORT_SYMBOL(kasprintf);
/Linux-v5.4/drivers/xen/xenfs/
Dxenstored.c27 file->private_data = (void *)kasprintf(GFP_KERNEL, "0x%p", in xsd_kva_open()
58 file->private_data = (void *)kasprintf(GFP_KERNEL, "%d", in xsd_port_open()
/Linux-v5.4/arch/x86/xen/
Dsmp.c67 resched_name = kasprintf(GFP_KERNEL, "resched%d", cpu); in xen_smp_intr_init()
79 callfunc_name = kasprintf(GFP_KERNEL, "callfunc%d", cpu); in xen_smp_intr_init()
91 debug_name = kasprintf(GFP_KERNEL, "debug%d", cpu); in xen_smp_intr_init()
100 callfunc_name = kasprintf(GFP_KERNEL, "callfuncsingle%d", cpu); in xen_smp_intr_init()
/Linux-v5.4/drivers/thermal/intel/int340x_thermal/
Dint3400_thermal.c209 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", in int3400_notify()
211 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", in int3400_notify()
213 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP="); in int3400_notify()
214 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", in int3400_notify()
/Linux-v5.4/drivers/clk/ti/
Dclkctrl.c267 init.name = kasprintf(GFP_KERNEL, "%pOFn:%pOFn:%04x:%d", in _ti_clkctrl_clk_register()
271 init.name = kasprintf(GFP_KERNEL, "%pOFn:%04x:%d", node, in _ti_clkctrl_clk_register()
538 provider->clkdm_name = kasprintf(GFP_KERNEL, "%pOFnxxx", node->parent); in _ti_omap4_clkctrl_setup()
550 provider->clkdm_name = kasprintf(GFP_KERNEL, "%pOFn", node); in _ti_omap4_clkctrl_setup()
613 init.name = kasprintf(GFP_KERNEL, "%pOFn:%pOFn:%04x:%d", in _ti_omap4_clkctrl_setup()
617 init.name = kasprintf(GFP_KERNEL, "%pOFn:%04x:%d", in _ti_omap4_clkctrl_setup()
/Linux-v5.4/drivers/iio/
Dindustrialio-core.c895 full_postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in __iio_device_attr_init()
901 full_postfix = kasprintf(GFP_KERNEL, "%s_%s", in __iio_device_attr_init()
909 full_postfix = kasprintf(GFP_KERNEL, in __iio_device_attr_init()
920 name = kasprintf(GFP_KERNEL, "%s", full_postfix); in __iio_device_attr_init()
923 name = kasprintf(GFP_KERNEL, "%s_%s", in __iio_device_attr_init()
928 name = kasprintf(GFP_KERNEL, "%s_%s-%s_%s", in __iio_device_attr_init()
940 name = kasprintf(GFP_KERNEL, in __iio_device_attr_init()
953 name = kasprintf(GFP_KERNEL, "%s", full_postfix); in __iio_device_attr_init()
956 name = kasprintf(GFP_KERNEL, "%s_%s", in __iio_device_attr_init()
961 name = kasprintf(GFP_KERNEL, "%s_%s_%s", in __iio_device_attr_init()
[all …]
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Ddevice.c122 return kasprintf(GFP_KERNEL, "%s", dev_name(dev)); in hfi1_devnode()
135 return kasprintf(GFP_KERNEL, "%s", dev_name(dev)); in hfi1_user_devnode()
/Linux-v5.4/drivers/soc/amlogic/
Dmeson-gx-socinfo.c176 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%x:%x - %x:%x", in meson_gx_socinfo_init()
181 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%s (%s)", in meson_gx_socinfo_init()
/Linux-v5.4/drivers/firmware/imx/
Dimx-dsp.c81 chan_name = kasprintf(GFP_KERNEL, "txdb%d", i); in imx_dsp_probe()
83 chan_name = kasprintf(GFP_KERNEL, "rxdb%d", i - 2); in imx_dsp_probe()
/Linux-v5.4/net/mac80211/
Dled.c34 local->rx_led.name = kasprintf(GFP_KERNEL, "%srx", in ieee80211_alloc_led_names()
36 local->tx_led.name = kasprintf(GFP_KERNEL, "%stx", in ieee80211_alloc_led_names()
38 local->assoc_led.name = kasprintf(GFP_KERNEL, "%sassoc", in ieee80211_alloc_led_names()
40 local->radio_led.name = kasprintf(GFP_KERNEL, "%sradio", in ieee80211_alloc_led_names()
/Linux-v5.4/drivers/soc/imx/
Dsoc-imx-scu.c117 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "0x%x", val); in imx_scu_soc_probe()
124 soc_dev_attr->revision = kasprintf(GFP_KERNEL, in imx_scu_soc_probe()
/Linux-v5.4/drivers/soc/tegra/fuse/
Dfuse-tegra.c224 attr->family = kasprintf(GFP_KERNEL, "Tegra"); in tegra_soc_device_register()
225 attr->revision = kasprintf(GFP_KERNEL, "%d", tegra_sku_info.revision); in tegra_soc_device_register()
226 attr->soc_id = kasprintf(GFP_KERNEL, "%u", tegra_get_chip_id()); in tegra_soc_device_register()
/Linux-v5.4/drivers/xen/xenbus/
Dxenbus_probe_backend.c141 nodename = kasprintf(GFP_KERNEL, "%s/%s", dir, name); in xenbus_probe_backend_unit()
163 nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, domid); in xenbus_probe_backend()
/Linux-v5.4/arch/nios2/platform/
Dplatform.c29 soc_dev_attr->machine = kasprintf(GFP_KERNEL, "%s", in nios2_soc_device_init()
/Linux-v5.4/arch/sh/oprofile/
Dcommon.c44 sh_pmu_op_name = kasprintf(GFP_KERNEL, "%s/%s", in oprofile_arch_init()

12345678910>>...12