Lines Matching refs:outb

124 	outb(new, ECONTROL(pb));
218 outb(r | 0x01, STATUS(pb)); /* Some reset by writing 1 */
219 outb(r & 0xfe, STATUS(pb)); /* Others by writing 0 */
259 outb(c, CONTROL(p));
361 outb(*((char *)buf), EPPDATA(port));
412 outb(*((char *)buf), EPPADDR(port));
573 outb(byte, fifo);
774 outb(0, FIFO(port));
869 outb(0, FIFO(port));
978 outb(key, io);
979 outb(key, io);
980 outb(1, io);
982 outb(4, io);
984 outb(0x0a, io);
986 outb(0x23, io);
988 outb(0x26, io);
990 outb(0x27, io);
992 outb(0xaa, io);
1068 outb(key, io);
1069 outb(key, io);
1070 outb(0x07, io); /* Register 7: Select Logical Device */
1071 outb(0x01, io + 1); /* LD1 is Parallel Port */
1072 outb(0x30, io);
1074 outb(0x60, io);
1076 outb(0x61, io);
1078 outb(0x70, io);
1080 outb(0x74, io);
1082 outb(0xf0, io);
1084 outb(0xaa, io);
1208 outb(0x20, io);
1210 outb(0x21, io);
1212 outb(0x09, io);
1215 outb(key, io);
1216 outb(key, io); /* Write Magic Sequence to EFER, extended
1218 outb(0x20, io); /* Write EFIR, extended function index register */
1220 outb(0x21, io);
1222 outb(0x09, io);
1224 outb(0xaa, io); /* Magic Seal */
1226 outb(origval, io); /* in case we poked some entirely different hardware */
1248 outb(0x20, io + 2);
1250 outb(0x21, io + 1);
1252 outb(0x09, io + 1);
1255 outb(key, io); /* Write Magic Byte to EFER, extended
1257 outb(0x20, io + 2); /* Write EFIR, extended function index register */
1259 outb(0x21, io + 1);
1261 outb(0x09, io + 1);
1263 outb(0xaa, io); /* Magic Seal */
1265 outb(origval[0], io); /* in case we poked some entirely different hardware */
1266 outb(origval[1], io + 1);
1267 outb(origval[2], io + 2);
1287 outb(0x0d, io);
1289 outb(0x0e, io);
1291 outb(0x20, io);
1293 outb(0x21, io);
1296 outb(key, io);
1297 outb(key, io); /* Write Magic Sequence to EFER, extended
1299 outb(0x0d, io); /* Write EFIR, extended function index register */
1301 outb(0x0e, io);
1303 outb(0x20, io);
1305 outb(0x21, io);
1307 outb(0xaa, io); /* Magic Seal */
1309 outb(origval, io); /* in case we poked some entirely different hardware */
1353 outb(0x87, 0x2e);
1354 outb(0x01, 0x2e);
1355 outb(0x55, 0x2e);
1356 outb(0x55, 0x2e);
1357 outb(0x20, 0x2e);
1359 outb(0x21, 0x2e);
1364 outb(0x07, 0x2E); /* Parallel Port */
1365 outb(0x03, 0x2F);
1366 outb(0xF0, 0x2E); /* BOOT 0x80 off */
1368 outb(0xF0, 0x2E);
1369 outb(r | 8, 0x2F);
1370 outb(0x02, 0x2E); /* Lock */
1371 outb(0x02, 0x2F);
1373 outb(origval, 0x2e); /* Oops, sorry to disturb */
1430 outb(w, CONTROL(pb));
1440 outb(w, CONTROL(pb));
1442 outb(0xc, CONTROL(pb));
1502 outb(r, CONTROL(pb));
1504 outb(r ^ 0x2, CONTROL(pb)); /* Toggle bit 1 */
1521 outb(0xc, CONTROL(pb));
1529 outb(0xc, CONTROL(pb));
1599 outb(0xaa, FIFO(pb));
1642 outb(0xaa, FIFO(pb));
1811 outb(0x04, CONTROL(pb));
1887 outb(0xaa, FIFO(pb));
2498 outb(via->viacfg_function, VIA_CONFIG_INDEX);
2501 outb(via->viacfg_parport_control, VIA_CONFIG_INDEX);
2509 outb(via->viacfg_function, VIA_CONFIG_INDEX);
2510 outb(tmp, VIA_CONFIG_DATA);
2513 outb(via->viacfg_parport_control, VIA_CONFIG_INDEX);
2514 outb(tmp2, VIA_CONFIG_DATA);
2518 outb(via->viacfg_parport_base, VIA_CONFIG_INDEX);
2524 outb(via->viacfg_parport_base, VIA_CONFIG_INDEX);
2525 outb((0x378 >> 2), VIA_CONFIG_DATA);