Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/legacy/
H A Dprinter.c87 static char *pnp_string = variable
152 opts->pnp_string = kstrdup(iPNPstring, GFP_KERNEL); in printer_bind()
153 if (!opts->pnp_string) { in printer_bind()
163 opts->pnp_string = pnp_string; in printer_bind()
/linux/drivers/usb/gadget/function/
H A Df_printer.c95 char **pnp_string; /* We don't own memory! */ member
1021 if (!*dev->pnp_string) { in printer_func_setup()
1025 value = strlen(*dev->pnp_string); in printer_func_setup()
1028 memcpy(buf + 2, *dev->pnp_string, value); in printer_func_setup()
1030 *dev->pnp_string); in printer_func_setup()
1234 if (!opts->pnp_string) in f_printer_opts_pnp_string_show()
1237 result = strscpy(page, opts->pnp_string, PAGE_SIZE); in f_printer_opts_pnp_string_show()
1267 kfree(opts->pnp_string); in f_printer_opts_pnp_string_store()
1270 opts->pnp_string = new_pnp; in f_printer_opts_pnp_string_store()
1278 CONFIGFS_ATTR(f_printer_opts_, pnp_string);
[all …]
H A Du_printer.h21 char *pnp_string; member
/linux/Documentation/ABI/testing/
H A Dconfigfs-usb-gadget-printer8 pnp_string Data to be passed to the host in pnp string
/linux/Documentation/usb/
H A Dgadget-testing.rst895 pnp_string Data to be passed to the host in pnp string