Searched refs:PNP_STRING_LEN (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/usb/gadget/function/
H A Du_printer.h21 #define PNP_STRING_LEN 1024 macro
26 char pnp_string[PNP_STRING_LEN];
H A Df_printer.c52 #define PNP_STRING_LEN 1024 macro
914 if (w_length <= PNP_STRING_LEN && gprinter_req_match()
1167 result = strlcpy(page, opts->pnp_string + 2, PNP_STRING_LEN - 2); f_printer_opts_pnp_string_show()
1180 result = strlcpy(opts->pnp_string + 2, page, PNP_STRING_LEN - 2); f_printer_opts_pnp_string_store()
/linux-4.4.14/drivers/usb/gadget/legacy/
H A Dprinter.c91 static char pnp_string[PNP_STRING_LEN] =
153 strlcpy(&pnp_string[2], iPNPstring, PNP_STRING_LEN - 2); printer_bind()
161 memcpy(opts->pnp_string, pnp_string, PNP_STRING_LEN); printer_bind()

Completed in 90 milliseconds