Lines Matching refs:ptr

74 xf86freeVideoPortList(XF86ConfVideoPortPtr ptr)  in xf86freeVideoPortList()  argument
78 while (ptr) { in xf86freeVideoPortList()
79 TestFree(ptr->vp_identifier); in xf86freeVideoPortList()
80 TestFree(ptr->vp_comment); in xf86freeVideoPortList()
81 xf86optionListFree(ptr->vp_option_lst); in xf86freeVideoPortList()
82 prev = ptr; in xf86freeVideoPortList()
83 ptr = ptr->list.next; in xf86freeVideoPortList()
99 ptr->vp_comment = xf86addComment(ptr->vp_comment, xf86_lex_val.str); in xf86parseVideoPortSubSection()
102 if (xf86getSubToken(&(ptr->vp_comment)) != STRING) in xf86parseVideoPortSubSection()
106 ptr->vp_identifier = xf86_lex_val.str; in xf86parseVideoPortSubSection()
110 ptr->vp_option_lst = xf86parseOption(ptr->vp_option_lst); in xf86parseVideoPortSubSection()
126 return ptr; in xf86parseVideoPortSubSection()
156 ptr->va_comment = xf86addComment(ptr->va_comment, xf86_lex_val.str); in xf86parseVideoAdaptorSection()
159 if (xf86getSubToken(&(ptr->va_comment)) != STRING) in xf86parseVideoAdaptorSection()
161 ptr->va_identifier = xf86_lex_val.str; in xf86parseVideoAdaptorSection()
167 if (xf86getSubToken(&(ptr->va_comment)) != STRING) in xf86parseVideoAdaptorSection()
169 ptr->va_vendor = xf86_lex_val.str; in xf86parseVideoAdaptorSection()
172 if (xf86getSubToken(&(ptr->va_comment)) != STRING) in xf86parseVideoAdaptorSection()
174 ptr->va_board = xf86_lex_val.str; in xf86parseVideoAdaptorSection()
177 if (xf86getSubToken(&(ptr->va_comment)) != STRING) in xf86parseVideoAdaptorSection()
179 ptr->va_busid = xf86_lex_val.str; in xf86parseVideoAdaptorSection()
182 if (xf86getSubToken(&(ptr->va_comment)) != STRING) in xf86parseVideoAdaptorSection()
184 ptr->va_driver = xf86_lex_val.str; in xf86parseVideoAdaptorSection()
187 ptr->va_option_lst = xf86parseOption(ptr->va_option_lst); in xf86parseVideoAdaptorSection()
190 if (xf86getSubToken(&(ptr->va_comment)) != STRING) in xf86parseVideoAdaptorSection()
214 return ptr; in xf86parseVideoAdaptorSection()
218 xf86printVideoAdaptorSection(FILE * cf, XF86ConfVideoAdaptorPtr ptr) in xf86printVideoAdaptorSection() argument
222 while (ptr) { in xf86printVideoAdaptorSection()
224 if (ptr->va_comment) in xf86printVideoAdaptorSection()
225 fprintf(cf, "%s", ptr->va_comment); in xf86printVideoAdaptorSection()
226 if (ptr->va_identifier) in xf86printVideoAdaptorSection()
227 fprintf(cf, "\tIdentifier \"%s\"\n", ptr->va_identifier); in xf86printVideoAdaptorSection()
228 if (ptr->va_vendor) in xf86printVideoAdaptorSection()
229 fprintf(cf, "\tVendorName \"%s\"\n", ptr->va_vendor); in xf86printVideoAdaptorSection()
230 if (ptr->va_board) in xf86printVideoAdaptorSection()
231 fprintf(cf, "\tBoardName \"%s\"\n", ptr->va_board); in xf86printVideoAdaptorSection()
232 if (ptr->va_busid) in xf86printVideoAdaptorSection()
233 fprintf(cf, "\tBusID \"%s\"\n", ptr->va_busid); in xf86printVideoAdaptorSection()
234 if (ptr->va_driver) in xf86printVideoAdaptorSection()
235 fprintf(cf, "\tDriver \"%s\"\n", ptr->va_driver); in xf86printVideoAdaptorSection()
236 xf86printOptionList(cf, ptr->va_option_lst, 1); in xf86printVideoAdaptorSection()
237 for (pptr = ptr->va_port_lst; pptr; pptr = pptr->list.next) { in xf86printVideoAdaptorSection()
247 ptr = ptr->list.next; in xf86printVideoAdaptorSection()
253 xf86freeVideoAdaptorList(XF86ConfVideoAdaptorPtr ptr) in xf86freeVideoAdaptorList() argument
257 while (ptr) { in xf86freeVideoAdaptorList()
258 TestFree(ptr->va_identifier); in xf86freeVideoAdaptorList()
259 TestFree(ptr->va_vendor); in xf86freeVideoAdaptorList()
260 TestFree(ptr->va_board); in xf86freeVideoAdaptorList()
261 TestFree(ptr->va_busid); in xf86freeVideoAdaptorList()
262 TestFree(ptr->va_driver); in xf86freeVideoAdaptorList()
263 TestFree(ptr->va_fwdref); in xf86freeVideoAdaptorList()
264 TestFree(ptr->va_comment); in xf86freeVideoAdaptorList()
265 xf86freeVideoPortList(ptr->va_port_lst); in xf86freeVideoAdaptorList()
266 xf86optionListFree(ptr->va_option_lst); in xf86freeVideoAdaptorList()
267 prev = ptr; in xf86freeVideoAdaptorList()
268 ptr = ptr->list.next; in xf86freeVideoAdaptorList()