Lines Matching refs:conf
131 u8 conf; in it821x_program() local
135 conf = timing >> 8; in it821x_program()
137 conf = timing & 0xFF; in it821x_program()
138 pci_write_config_byte(pdev, 0x54 + 4 * channel, conf); in it821x_program()
160 u8 conf; in it821x_program_udma() local
164 conf = timing >> 8; in it821x_program_udma()
166 conf = timing & 0xFF; in it821x_program_udma()
168 pci_write_config_byte(pdev, 0x56 + 4 * channel + unit, conf); in it821x_program_udma()
171 pci_write_config_byte(pdev, 0x56 + 4 * channel, conf); in it821x_program_udma()
172 pci_write_config_byte(pdev, 0x56 + 4 * channel + 1, conf); in it821x_program_udma()
296 u8 conf; in it821x_passthru_set_dmamode() local
309 pci_read_config_byte(pdev, 0x50, &conf); in it821x_passthru_set_dmamode()
311 conf &= channel ? 0x9F: 0xE7; in it821x_passthru_set_dmamode()
313 conf &= ~ (1 << (3 + 2 * channel + unit)); in it821x_passthru_set_dmamode()
314 pci_write_config_byte(pdev, 0x50, conf); in it821x_passthru_set_dmamode()
326 pci_read_config_byte(pdev, 0x50, &conf); in it821x_passthru_set_dmamode()
328 conf |= channel ? 0x60: 0x18; in it821x_passthru_set_dmamode()
330 conf |= 1 << (3 + 2 * channel + unit); in it821x_passthru_set_dmamode()
331 pci_write_config_byte(pdev, 0x50, conf); in it821x_passthru_set_dmamode()
739 u8 conf; in it821x_port_start() local
750 pci_read_config_byte(pdev, 0x50, &conf); in it821x_port_start()
752 if (conf & 1) { in it821x_port_start()
761 if (conf & (1 << (1 + ap->port_no))) in it821x_port_start()
874 u8 conf; in it821x_init_one() local
925 pci_read_config_byte(pdev, 0x50, &conf); in it821x_init_one()
926 conf &= 1; in it821x_init_one()
929 mode[conf]); in it821x_init_one()
930 if (conf == 0) in it821x_init_one()