Lines Matching defs:mode
22 * the command fifo mode.
94 * sil680_set_piomode - set PIO mode data
98 * Program the SIL680 registers for PIO mode. Note that the task speed
100 * mode for command work.
120 u8 mode;
131 pci_read_config_byte(pdev, addr_mask, &mode);
134 mode &= ~(3 << port_shift); /* Clear IORDY and DMA bits */
138 mode |= 1 << port_shift;
141 pci_write_config_byte(pdev, addr_mask, mode);
145 * sil680_set_dmamode - set DMA mode data
151 * The MWDMA mode values are pulled from a lookup table
152 * while the chipset uses mode number for UDMA.
168 u8 scsc, mode;
172 pci_read_config_byte(pdev, addr_mask, &mode);
178 mode &= ~(0x03 << port_shift);
186 mode |= (0x03 << port_shift);
189 mode |= (0x02 << port_shift);
191 pci_write_config_byte(pdev, addr_mask, mode);