Lines Matching defs:rp
37 static return_packet rp;
41 memset(&rp, 0, sizeof (return_packet));
43 if (gfx_vts_check_fd(fd, &rp)) {
44 return (&rp);
56 gfx_vts_set_message(&rp, 1, GRAPHICS_ERR_OPEN, NULL);
57 return (&rp);
62 gfx_vts_set_message(&rp, 1, GRAPHICS_ERR_OPEN, NULL);
63 return (&rp);
70 map_me(&rp, fd);
79 return (&rp);
86 register return_packet *const rp,
92 if (mga_map_mem(rp, GRAPHICS_ERR_OPEN) != 0) {
97 if (mga_init_info(rp, GRAPHICS_ERR_OPEN) != 0) {
103 if (mga_test_status(rp, GRAPHICS_ERR_OPEN) != 0) {
109 if (!mga_test_cursor(rp, GRAPHICS_ERR_OPEN)) {
115 if (!mga_test_dac(rp, GRAPHICS_ERR_OPEN)) {
121 if (mga_unmap_mem(rp, GRAPHICS_ERR_OPEN) != 0) {
127 gfx_vts_set_message(rp, 1, GRAPHICS_ERR_OPEN,
140 register return_packet *const rp,
177 gfx_vts_set_message(rp, 1, test, "status test failed");
189 register return_packet *const rp,
251 gfx_vts_set_message(rp, 1, test, "cursor test failed");
265 register return_packet *const rp,
343 gfx_vts_set_message(rp, 1, test, "dac test failed");