Lines Matching refs:port
511 /* We must restrict the size reads from the port, since to high or low of a
514 switch(piod->port) {
558 piod->port, 1);
563 piod->port, 2);
568 piod->port, 4);
608 switch(piod->port) {
628 retval = pci_read_config(tdfx_info->dev, piod->port & ~3, 4);
635 preval = ret_byte << (8 * (piod->port & 0x3));
636 mask = 0xff << (8 * (piod->port & 0x3));
640 preval = ret_word << (8 * (piod->port & 0x3));
641 mask = 0xffff << (8 * (piod->port & 0x3));
651 /* Finally, combine the values and write it to the port */
653 pci_write_config(tdfx_info->dev, piod->port & ~3, retval, 4);
660 * applications expect the port to be of type short, so I needed to change
672 if(((piod->port != VGA_INPUT_STATUS_1C) || (piod->port != SC_INDEX) ||
673 (piod->port != SC_DATA) || (piod->port != VGA_MISC_OUTPUT_READ)) &&
674 (piod->port < tdfx_info->pio0) && (piod->port > tdfx_info->pio0max))
682 /* Write the data to the intended port */
683 workport = piod->port;
699 if(((piod->port != SC_INDEX) && (piod->port != SC_DATA) &&
700 (piod->port != VGA_MISC_OUTPUT_READ)) /* Can't write VGA_ST_1C */ &&
701 (piod->port < tdfx_info->pio0) && (piod->port > tdfx_info->pio0max))
709 /* Write the data to the intended port */
711 workport = piod->port;