Lines Matching defs:mode
22 * the command fifo mode.
97 * sil680_set_piomode - set PIO mode data
101 * Program the SIL680 registers for PIO mode. Note that the task speed
103 * mode for command work.
123 u8 mode;
134 pci_read_config_byte(pdev, addr_mask, &mode);
137 mode &= ~(3 << port_shift); /* Clear IORDY and DMA bits */
141 mode |= 1 << port_shift;
144 pci_write_config_byte(pdev, addr_mask, mode);
148 * sil680_set_dmamode - set DMA mode data
154 * The MWDMA mode values are pulled from a lookup table
155 * while the chipset uses mode number for UDMA.
171 u8 scsc, mode;
175 pci_read_config_byte(pdev, addr_mask, &mode);
181 mode &= ~(0x03 << port_shift);
189 mode |= (0x03 << port_shift);
192 mode |= (0x02 << port_shift);
194 pci_write_config_byte(pdev, addr_mask, mode);