Lines Matching refs:inb

112 		ectr = inb(ECONTROL(pb));  in frob_econtrol()
146 oecr = inb(ECONTROL(p)); in change_mode()
161 if (inb(ECONTROL(p)) & 0x01) in change_mode()
169 while (!(inb(ECONTROL(p)) & 0x01)) { in change_mode()
244 s->u.pc.ecr = inb(ECONTROL(p)); in parport_pc_save_state()
272 status = inb(STATUS(port)); in parport_pc_epp_read_data()
286 *((char *)buf) = inb(EPPDATA(port)); in parport_pc_epp_read_data()
291 status = inb(STATUS(port)); in parport_pc_epp_read_data()
306 if (inb(STATUS(port)) & 0x01) { in parport_pc_epp_read_data()
313 *((char *)buf) = inb(EPPDATA(port)); in parport_pc_epp_read_data()
315 if (inb(STATUS(port)) & 0x01) { in parport_pc_epp_read_data()
335 if (inb(STATUS(port)) & 0x01) { in parport_pc_epp_write_data()
344 if (inb(STATUS(port)) & 0x01) { in parport_pc_epp_write_data()
360 if (inb(STATUS(port)) & 0x01) { in parport_pc_epp_read_addr()
367 *((char *)buf) = inb(EPPADDR(port)); in parport_pc_epp_read_addr()
369 if (inb(STATUS(port)) & 0x01) { in parport_pc_epp_read_addr()
386 if (inb(STATUS(port)) & 0x01) { in parport_pc_epp_write_addr()
395 if (inb(STATUS(port)) & 0x01) { in parport_pc_epp_write_addr()
488 unsigned char ecrval = inb(ECONTROL(port)); in parport_pc_fifo_write_block_pio()
516 ecrval = inb(ECONTROL(port)); in parport_pc_fifo_write_block_pio()
548 ecrval = inb(ECONTROL(port)); in parport_pc_fifo_write_block_pio()
646 if (!(inb(ECONTROL(port)) & (1<<2))) { in parport_pc_fifo_write_block_dma()
751 if (inb(ECONTROL(port)) & 0x2) { in parport_pc_compat_write_block_pio()
846 if (inb(ECONTROL(port)) & 0x2) { in parport_pc_ecp_write_block_pio()
962 cr1 = inb(io + 1); in show_parconfig_smsc37c669()
964 cr4 = inb(io + 1); in show_parconfig_smsc37c669()
966 cra = inb(io + 1); in show_parconfig_smsc37c669()
968 cr23 = inb(io + 1); in show_parconfig_smsc37c669()
970 cr26 = inb(io + 1); in show_parconfig_smsc37c669()
972 cr27 = inb(io + 1); in show_parconfig_smsc37c669()
1054 cr30 = inb(io + 1); in show_parconfig_winbond()
1056 cr60 = inb(io + 1); in show_parconfig_winbond()
1058 cr61 = inb(io + 1); in show_parconfig_winbond()
1060 cr70 = inb(io + 1); in show_parconfig_winbond()
1062 cr74 = inb(io + 1); in show_parconfig_winbond()
1064 crf0 = inb(io + 1); in show_parconfig_winbond()
1186 origval = inb(io); /* Save original value */ in winbond_check()
1190 x_devid = inb(io + 1); in winbond_check()
1192 x_devrev = inb(io + 1); in winbond_check()
1194 x_oldid = inb(io + 1); in winbond_check()
1200 devid = inb(io + 1); /* Read EFDR, extended function data register */ in winbond_check()
1202 devrev = inb(io + 1); in winbond_check()
1204 oldid = inb(io + 1); in winbond_check()
1224 origval[0] = inb(io); /* Save original values */ in winbond_check2()
1225 origval[1] = inb(io + 1); in winbond_check2()
1226 origval[2] = inb(io + 2); in winbond_check2()
1230 x_devid = inb(io + 2); in winbond_check2()
1232 x_devrev = inb(io + 2); in winbond_check2()
1234 x_oldid = inb(io + 2); in winbond_check2()
1239 devid = inb(io + 2); /* Read EFDR, extended function data register */ in winbond_check2()
1241 devrev = inb(io + 2); in winbond_check2()
1243 oldid = inb(io + 2); in winbond_check2()
1265 origval = inb(io); /* Save original value */ in smsc_check()
1269 x_oldid = inb(io + 1); in smsc_check()
1271 x_oldrev = inb(io + 1); in smsc_check()
1273 x_id = inb(io + 1); in smsc_check()
1275 x_rev = inb(io + 1); in smsc_check()
1281 oldid = inb(io + 1); /* Read EFDR, extended function data register */ in smsc_check()
1283 oldrev = inb(io + 1); in smsc_check()
1285 id = inb(io + 1); in smsc_check()
1287 rev = inb(io + 1); in smsc_check()
1333 origval = inb(0x2e); /* Save original value */ in detect_and_report_it87()
1339 dev = inb(0x2f) << 8; in detect_and_report_it87()
1341 dev |= inb(0x2f); in detect_and_report_it87()
1348 r = inb(0x2f); in detect_and_report_it87()
1418 r = inb(CONTROL(pb)); in parport_SPP_supported()
1422 r = inb(CONTROL(pb)); in parport_SPP_supported()
1483 if ((inb(ECONTROL(pb)) & 0x3) == (r & 0x3)) { in parport_ECR_present()
1486 r = inb(CONTROL(pb)); in parport_ECR_present()
1487 if ((inb(ECONTROL(pb)) & 0x2) == (r & 0x2)) in parport_ECR_present()
1491 if ((inb(ECONTROL(pb)) & 0x3) != 0x1) in parport_ECR_present()
1495 if (inb(ECONTROL(pb)) != 0x35) in parport_ECR_present()
1576 for (i = 0; i < 1024 && !(inb(ECONTROL(pb)) & 0x02); i++) in parport_ECP_supported()
1596 inb(FIFO(pb)); in parport_ECP_supported()
1598 if (inb(ECONTROL(pb)) & (1<<2)) in parport_ECP_supported()
1621 if (inb(ECONTROL(pb)) & (1<<2)) in parport_ECP_supported()
1637 config = inb(CONFIGA(pb)); in parport_ECP_supported()
1663 configb = inb(CONFIGB(pb)); in parport_ECP_supported()
1693 unsigned char ecr = inb(ECONTROL(pb)); in intel_bug_present_check_epp()
1734 oecr = inb(ECONTROL(pb)); in parport_ECPPS2_supported()
1786 oecr = inb(ECONTROL(pb)); in parport_ECPEPP_supported()
1838 unsigned char oecr = inb(ECONTROL(pb)); in programmable_irq_support()
1845 intrLine = (inb(CONFIGB(pb)) >> 3) & 0x07; in programmable_irq_support()
1864 for (i = 0; i < 1024 && !(inb(ECONTROL(pb)) & 0x02) ; i++) in irq_probe_ECP()
1889 oecr = inb(ECONTROL(pb)); in irq_probe_EPP()
1968 unsigned char oecr = inb(ECONTROL(p)); in programmable_dma_support()
1973 dma = inb(CONFIGB(p)) & 0x07; in programmable_dma_support()
2299 test = inb(inta_addr[i]); in sio_ite_8872_probe()
2310 type = inb(inta_addr[i] + 0x18); in sio_ite_8872_probe()
2456 tmp = inb(VIA_CONFIG_DATA); in sio_via_probe()
2459 tmp2 = inb(VIA_CONFIG_DATA); in sio_via_probe()
2476 port1 = inb(VIA_CONFIG_DATA) << 2; in sio_via_probe()