/openbmc/linux/drivers/thermal/ |
H A D | gov_user_space.c | 39 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", tz->type); in notify_user_space() 40 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", tz->temperature); in notify_user_space() 41 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP=%d", trip); in notify_user_space() 42 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", tz->notify_event); in notify_user_space()
|
/openbmc/linux/drivers/soc/ux500/ |
H A D | ux500-soc-id.c | 128 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() 180 retstr = kasprintf(GFP_KERNEL, "%08x%08x%08x%08x%08x", in db8500_read_soc_id()
|
/openbmc/linux/drivers/power/supply/ |
H A D | power_supply_leds.c | 58 psy->charging_full_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers() 63 psy->charging_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers() 68 psy->full_trig_name = kasprintf(GFP_KERNEL, "%s-full", psy->desc->name); in power_supply_create_bat_triggers() 72 psy->charging_blink_full_solid_trig_name = kasprintf(GFP_KERNEL, in power_supply_create_bat_triggers() 129 psy->online_trig_name = kasprintf(GFP_KERNEL, "%s-online", in power_supply_create_gen_triggers()
|
/openbmc/linux/drivers/soc/fsl/ |
H A D | guts.c | 230 soc_dev_attr->family = kasprintf(GFP_KERNEL, "QorIQ %s", in fsl_guts_init() 233 soc_dev_attr->family = kasprintf(GFP_KERNEL, "QorIQ"); in fsl_guts_init() 238 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "svr:0x%08x", svr); in fsl_guts_init() 242 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%d.%d", in fsl_guts_init() 251 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", in fsl_guts_init()
|
/openbmc/linux/drivers/soc/bcm/brcmstb/ |
H A D | common.c | 91 soc_dev_attr->family = kasprintf(GFP_KERNEL, "%x", in brcmstb_soc_device_init() 94 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%x", in brcmstb_soc_device_init() 97 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%c%d", in brcmstb_soc_device_init()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | id.c | 753 return kasprintf(GFP_KERNEL, "OMAP2"); in omap_get_family() 755 return kasprintf(GFP_KERNEL, "OMAP3"); in omap_get_family() 757 return kasprintf(GFP_KERNEL, "OMAP4"); in omap_get_family() 759 return kasprintf(GFP_KERNEL, "OMAP5"); in omap_get_family() 761 return kasprintf(GFP_KERNEL, "AM33xx"); in omap_get_family() 763 return kasprintf(GFP_KERNEL, "AM43xx"); in omap_get_family() 765 return kasprintf(GFP_KERNEL, "DRA7"); in omap_get_family() 767 return kasprintf(GFP_KERNEL, "Unknown"); in omap_get_family()
|
/openbmc/linux/arch/arm/mach-mvebu/ |
H A D | mvebu-soc-id.c | 161 soc_dev_attr->family = kasprintf(GFP_KERNEL, "Marvell"); in mvebu_soc_device() 162 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%X", soc_rev); in mvebu_soc_device() 163 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%X", soc_dev_id); in mvebu_soc_device()
|
/openbmc/linux/arch/arm/mach-zynq/ |
H A D | common.c | 117 soc_dev_attr->family = kasprintf(GFP_KERNEL, "Xilinx Zynq"); in zynq_init_machine() 118 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "0x%x", system_rev); in zynq_init_machine() 119 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "0x%x", in zynq_init_machine()
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | krait-cc.c | 106 init.name = kasprintf(GFP_KERNEL, "hfpll%s_div", s); in krait_add_div() 111 parent_name = kasprintf(GFP_KERNEL, "hfpll%s", s); in krait_add_div() 182 init.name = kasprintf(GFP_KERNEL, "krait%s_sec_mux", s); in krait_add_sec_mux() 187 parent_name = kasprintf(GFP_KERNEL, "acpu%s_aux", s); in krait_add_sec_mux() 255 init.name = kasprintf(GFP_KERNEL, "krait%s_pri_mux", s); in krait_add_pri_mux() 259 hfpll_name = kasprintf(GFP_KERNEL, "hfpll%s", s); in krait_add_pri_mux() 300 s = p = kasprintf(GFP_KERNEL, "%d", id); in krait_add_clks()
|
/openbmc/linux/lib/ |
H A D | kasprintf.c | 53 char *kasprintf(gfp_t gfp, const char *fmt, ...) in kasprintf() function 64 EXPORT_SYMBOL(kasprintf);
|
/openbmc/linux/arch/x86/xen/ |
H A D | smp.c | 67 resched_name = kasprintf(GFP_KERNEL, "resched%d", cpu); in xen_smp_intr_init() 81 callfunc_name = kasprintf(GFP_KERNEL, "callfunc%d", cpu); in xen_smp_intr_init() 96 debug_name = kasprintf(GFP_KERNEL, "debug%d", cpu); in xen_smp_intr_init() 110 callfunc_name = kasprintf(GFP_KERNEL, "callfuncsingle%d", cpu); in xen_smp_intr_init()
|
/openbmc/linux/drivers/xen/xenfs/ |
H A D | xenstored.c | 27 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()
|
/openbmc/linux/drivers/clk/ti/ |
H A D | clkctrl.c | 260 clock_name = kasprintf(GFP_KERNEL, "%s-clkctrl:%04x:%d", in clkctrl_get_clock_name() 272 return kasprintf(GFP_KERNEL, "%s_cm:clk:%04x:%d", in clkctrl_get_clock_name() 277 return kasprintf(GFP_KERNEL, "%pOFn:clk:%04x:%d", in clkctrl_get_clock_name() 281 return kasprintf(GFP_KERNEL, "%pOFn:%04x:%d", np, offset, index); in clkctrl_get_clock_name() 591 provider->clkdm_name = kasprintf(GFP_KERNEL, in _ti_omap4_clkctrl_setup() 605 provider->clkdm_name = kasprintf(GFP_KERNEL, "%pOFnxxx", node->parent); in _ti_omap4_clkctrl_setup() 617 provider->clkdm_name = kasprintf(GFP_KERNEL, "%pOFn", node); in _ti_omap4_clkctrl_setup()
|
/openbmc/linux/drivers/soc/aspeed/ |
H A D | aspeed-socinfo.c | 132 attrs->soc_id = kasprintf(GFP_KERNEL, "%08x", siliconid); in aspeed_socinfo_init() 135 attrs->serial_number = kasprintf(GFP_KERNEL, "%08x%08x", in aspeed_socinfo_init()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | think-lmi.c | 343 opcode_str = kasprintf(GFP_KERNEL, "%s:%s;", setting, value); in tlmi_opcode_setting() 490 auth_str = kasprintf(GFP_KERNEL, "%s,%s,%s,%s,%s;", in new_password_store() 756 auth_str = kasprintf(GFP_KERNEL, "%s,%s", in certificate_store() 782 auth_str = kasprintf(GFP_KERNEL, "%s,%s", in certificate_store() 792 auth_str = kasprintf(GFP_KERNEL, "%s,%s", in certificate_store() 1034 set_str = kasprintf(GFP_KERNEL, "%s,%s;", setting->display_name, in current_value_store() 1048 auth_str = kasprintf(GFP_KERNEL, "%s,%s,%s;", in current_value_store() 1062 set_str = kasprintf(GFP_KERNEL, "%s,%s;", setting->display_name, in current_value_store() 1176 auth_str = kasprintf(GFP_KERNEL, "%s,%s,%s;", in debug_cmd_store() 1187 set_str = kasprintf(GFP_KERNEL, "%s,%s", new_setting, auth_str); in debug_cmd_store() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | device.c | 17 return kasprintf(GFP_KERNEL, "%s", dev_name(dev)); in hfi1_devnode() 29 return kasprintf(GFP_KERNEL, "%s", dev_name(dev)); in hfi1_user_devnode()
|
/openbmc/linux/drivers/soc/amlogic/ |
H A D | meson-gx-socinfo.c | 177 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%x:%x - %x:%x", in meson_gx_socinfo_init() 182 soc_dev_attr->soc_id = kasprintf(GFP_KERNEL, "%s (%s)", in meson_gx_socinfo_init()
|
/openbmc/linux/net/mac80211/ |
H A D | led.c | 34 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()
|
/openbmc/linux/drivers/soc/imx/ |
H A D | soc-imx.c | 181 soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%d.%d", in imx_soc_device_init() 189 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", soc_uid); in imx_soc_device_init()
|
/openbmc/linux/arch/arm/mach-mxs/ |
H A D | mach-mxs.c | 346 return kasprintf(GFP_KERNEL, "%d.%d", (rev >> 4) & 0xf, in mxs_get_revision() 349 return kasprintf(GFP_KERNEL, "%s", "Unknown"); in mxs_get_revision() 413 soc_dev_attr->serial_number = kasprintf(GFP_KERNEL, "%016llX", soc_uid); in mxs_machine_init()
|
/openbmc/linux/drivers/firmware/imx/ |
H A D | imx-dsp.c | 98 chan_name = kasprintf(GFP_KERNEL, "txdb%d", i); in imx_dsp_setup_channels() 100 chan_name = kasprintf(GFP_KERNEL, "rxdb%d", i - 2); in imx_dsp_setup_channels()
|
/openbmc/linux/drivers/soc/tegra/fuse/ |
H A D | fuse-tegra.c | 382 attr->family = kasprintf(GFP_KERNEL, "Tegra"); in tegra_soc_device_register() 384 attr->revision = kasprintf(GFP_KERNEL, "%s %s", in tegra_soc_device_register() 388 attr->revision = kasprintf(GFP_KERNEL, "%s", in tegra_soc_device_register() 390 attr->soc_id = kasprintf(GFP_KERNEL, "%u", tegra_get_chip_id()); in tegra_soc_device_register()
|
/openbmc/linux/drivers/iio/ |
H A D | industrialio-core.c | 1029 full_postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in __iio_device_attr_init() 1034 full_postfix = kasprintf(GFP_KERNEL, "%s_%s", in __iio_device_attr_init() 1041 full_postfix = kasprintf(GFP_KERNEL, in __iio_device_attr_init() 1055 name = kasprintf(GFP_KERNEL, "%s_%s", in __iio_device_attr_init() 1060 name = kasprintf(GFP_KERNEL, "%s_%s-%s_%s", in __iio_device_attr_init() 1072 name = kasprintf(GFP_KERNEL, in __iio_device_attr_init() 1088 name = kasprintf(GFP_KERNEL, "%s_%s", in __iio_device_attr_init() 1093 name = kasprintf(GFP_KERNEL, "%s_%s_%s", in __iio_device_attr_init() 1101 name = kasprintf(GFP_KERNEL, "%s_%s%d_%s", in __iio_device_attr_init() 1107 name = kasprintf(GFP_KERNEL, "%s_%s_%s", in __iio_device_attr_init() [all …]
|
/openbmc/linux/arch/nios2/platform/ |
H A D | platform.c | 35 soc_dev_attr->machine = kasprintf(GFP_KERNEL, "%s", in nios2_soc_device_init()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | audio-iio-aux.c | 139 input_name = kasprintf(GFP_KERNEL, "%s IN", chan->name); in audio_iio_aux_add_dapms() 143 output_name = kasprintf(GFP_KERNEL, "%s OUT", chan->name); in audio_iio_aux_add_dapms() 149 pga_name = kasprintf(GFP_KERNEL, "%s PGA", chan->name); in audio_iio_aux_add_dapms()
|