Lines Matching refs:pnp_string
94 char *pnp_string; /* We don't own memory! */ member
956 value = (dev->pnp_string[0] << 8) | dev->pnp_string[1]; in printer_func_setup()
957 memcpy(req->buf, dev->pnp_string, value); in printer_func_setup()
959 &dev->pnp_string[2]); in printer_func_setup()
1172 result = strlcpy(page, opts->pnp_string + 2, PNP_STRING_LEN - 2); in f_printer_opts_pnp_string_show()
1184 result = strlcpy(opts->pnp_string + 2, page, PNP_STRING_LEN - 2); in f_printer_opts_pnp_string_store()
1185 l = strlen(opts->pnp_string + 2) + 2; in f_printer_opts_pnp_string_store()
1186 opts->pnp_string[0] = (l >> 8) & 0xFF; in f_printer_opts_pnp_string_store()
1187 opts->pnp_string[1] = l & 0xFF; in f_printer_opts_pnp_string_store()
1194 __CONFIGFS_ATTR(pnp_string, S_IRUGO | S_IWUSR,
1397 dev->pnp_string = opts->pnp_string; in gprinter_alloc()