Home
last modified time | relevance | path

Searched refs:pnp_string (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/gadget/legacy/
H A Dprinter.c86 static char *pnp_string = variable
151 opts->pnp_string = kstrdup(iPNPstring, GFP_KERNEL); in printer_bind()
152 if (!opts->pnp_string) { in printer_bind()
162 opts->pnp_string = pnp_string; in printer_bind()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_printer.c92 char **pnp_string; /* We don't own memory! */ member
1004 if (!*dev->pnp_string) { in printer_func_setup()
1008 value = strlen(*dev->pnp_string); in printer_func_setup()
1011 memcpy(buf + 2, *dev->pnp_string, value); in printer_func_setup()
1013 *dev->pnp_string); in printer_func_setup()
1219 if (!opts->pnp_string) in f_printer_opts_pnp_string_show()
1222 result = strlcpy(page, opts->pnp_string, PAGE_SIZE); in f_printer_opts_pnp_string_show()
1252 kfree(opts->pnp_string); in f_printer_opts_pnp_string_store()
1255 opts->pnp_string = new_pnp; in f_printer_opts_pnp_string_store()
1263 CONFIGFS_ATTR(f_printer_opts_, pnp_string);
[all …]
H A Du_printer.h21 char *pnp_string; member
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-printer8 pnp_string Data to be passed to the host in pnp string
/OK3568_Linux_fs/kernel/Documentation/usb/
H A Dgadget-testing.rst865 pnp_string Data to be passed to the host in pnp string