Lines Matching refs:sprintf
89 sprintf(str + strlen(str), \
95 sprintf(str + strlen(str), "*"); \
111 sprintf(str + len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", in add_uuid()
183 sprintf(alias + strlen(alias), "%0*X", in do_usb_entry()
186 sprintf(alias + strlen(alias), "%X", range_lo); in do_usb_entry()
189 sprintf(alias + strlen(alias), in do_usb_entry()
194 sprintf(alias + strlen(alias), in do_usb_entry()
197 sprintf(alias + strlen(alias), in do_usb_entry()
354 len = sprintf(alias, "of:N%sT%s", (*name)[0] ? *name : "*", in do_of_entry_multi()
358 sprintf(&alias[len], "%sC%s", (*type)[0] ? "*" : "", in do_of_entry_multi()
396 sprintf(alias, "hid:"); in do_hid_entry()
501 sprintf(alias, "ap:t%02X*", dev_type); in do_ap_entry()
511 sprintf(alias, "css:t%01X", type); in do_css_entry()
549 sprintf(alias, "acpi*:%s:*", *id); in do_acpi_entry()
554 sprintf(&alias[cnt], "acpi*:"); in do_acpi_entry()
560 sprintf(&alias[cnt], "%02x", in do_acpi_entry()
563 sprintf(&alias[cnt], "??"); in do_acpi_entry()
566 sprintf(&alias[cnt], ":*"); in do_acpi_entry()
701 sprintf(alias, "vio:T%sS%s", (*type)[0] ? *type : "*", in do_vio_entry()
724 sprintf(alias + strlen(alias), "%X,*", i); in do_input()
746 sprintf(alias, "input:"); in do_input_entry()
753 sprintf(alias + strlen(alias), "-e*"); in do_input_entry()
756 sprintf(alias + strlen(alias), "k*"); in do_input_entry()
761 sprintf(alias + strlen(alias), "r*"); in do_input_entry()
764 sprintf(alias + strlen(alias), "a*"); in do_input_entry()
767 sprintf(alias + strlen(alias), "m*"); in do_input_entry()
770 sprintf(alias + strlen(alias), "l*"); in do_input_entry()
773 sprintf(alias + strlen(alias), "s*"); in do_input_entry()
776 sprintf(alias + strlen(alias), "f*"); in do_input_entry()
779 sprintf(alias + strlen(alias), "w*"); in do_input_entry()
790 sprintf(alias, EISA_DEVICE_MODALIAS_FMT "*", *sig); in do_eisa_entry()
894 sprintf(&guid_name[i], "%02x", TO_NATIVE((guid->b)[i/2])); in do_vmbus_entry()
907 sprintf(alias, RPMSG_DEVICE_MODALIAS_FMT, *name); in do_rpmsg_entry()
917 sprintf(alias, I2C_MODULE_PREFIX "%s", *name); in do_i2c_entry()
945 sprintf(alias, SPI_MODULE_PREFIX "%s", *name); in do_spi_entry()
987 sprintf(alias, "dmi*"); in do_dmi_entry()
993 sprintf(alias + strlen(alias), ":%s*", in do_dmi_entry()
1010 sprintf(alias, PLATFORM_MODULE_PREFIX "%s", *name); in do_platform_entry()
1021 alias += sprintf(alias, MDIO_MODULE_PREFIX); in do_mdio_entry()
1054 sprintf(alias, "pnp:d%c%c%c%x%x%x%x*", in do_isapnp_entry()
1096 p += sprintf(p, "%X", nibble); in append_nibble_mask()
1109 p += sprintf(p, "%X", i); in append_nibble_mask()
1139 p += sprintf(alias, "amba:d"); in do_amba_entry()
1159 sprintf(alias, "mipscdmm:t%02X*", type); in do_mips_cdmm_entry()
1183 sprintf(alias + strlen(alias), "%04X*", feature); in do_x86cpu_entry()
1192 sprintf(alias, "cpu:type:*:feature:*%04X*", feature); in do_cpu_entry()
1204 sprintf(alias, MEI_CL_MODULE_PREFIX); in do_mei_entry()
1205 sprintf(alias + strlen(alias), "%s:", (*name)[0] ? *name : "*"); in do_mei_entry()
1240 sprintf(alias, "ulpi:v%04xp%04x", vendor, product); in do_ulpi_entry()
1286 sprintf(alias, "fsl-mc:v%08Xd%s", vendor, *obj_type); in do_fsl_mc_entry()
1301 sprintf(alias + strlen(alias), "k%s", *protocol_key); in do_tbsvc_entry()
1320 sprintf(alias, "typec:id%04X", svid); in do_typec_entry()
1331 sprintf(alias, "tee:%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x", in do_tee_entry()
1366 sprintf(alias, MHI_DEVICE_MODALIAS_FMT, *chan); in do_mhi_entry()