Lines Matching refs:pnp_string
94 char *pnp_string; /* We don't own memory! */ member
960 value = (dev->pnp_string[0] << 8) | dev->pnp_string[1]; in printer_func_setup()
961 memcpy(req->buf, dev->pnp_string, value); in printer_func_setup()
963 &dev->pnp_string[2]); in printer_func_setup()
1167 result = strlcpy(page, opts->pnp_string + 2, PNP_STRING_LEN - 2); in f_printer_opts_pnp_string_show()
1180 result = strlcpy(opts->pnp_string + 2, page, PNP_STRING_LEN - 2); in f_printer_opts_pnp_string_store()
1181 l = strlen(opts->pnp_string + 2) + 2; in f_printer_opts_pnp_string_store()
1182 opts->pnp_string[0] = (l >> 8) & 0xFF; in f_printer_opts_pnp_string_store()
1183 opts->pnp_string[1] = l & 0xFF; in f_printer_opts_pnp_string_store()
1189 CONFIGFS_ATTR(f_printer_opts_, pnp_string);
1398 dev->pnp_string = opts->pnp_string; in gprinter_alloc()