Home | History | Annotate | Download | only in eeprom

Lines Matching defs:ofio1

212 	struct ofiocdesc ofio1, ofio2;
223 memset(&ofio1, 0, sizeof(ofio1));
229 ofio1.of_nodeid = ofio2.of_nodeid = optnode;
231 ofio1.of_name = buf1;
232 ofio1.of_buf = buf2;
238 * For reference: ofio1 is for obtaining the name. Pass the
249 ofio1.of_namelen = strlen(ofio1.of_name);
250 ofio1.of_buflen = sizeof(buf2);
252 if (ioctl(fd, OFIOCNEXTPROP, (char *)&ofio1) < 0) {
261 * of ofio1. If the length of the name is 0, there
264 strcpy(ofio2.of_name, ofio1.of_buf); /* XXX strcpy is safe */
289 * ofio1 so that we may obtain the next name.
291 memset(ofio1.of_name, 0, sizeof(buf1));
292 memset(ofio1.of_buf, 0, sizeof(buf2));
293 strcpy(ofio1.of_name, ofio2.of_name); /* XXX strcpy is safe */