Home
last modified time | relevance | path

Searched refs:tmpbyte (Results 1 – 2 of 2) sorted by relevance

/drivers/ide/
Dalim15x3.c172 u8 tmpbyte = 0x00; in ali_set_dma_mode() local
195 pci_read_config_byte(dev, 0x4b, &tmpbyte); in ali_set_dma_mode()
196 tmpbyte |= 1; in ali_set_dma_mode()
197 pci_write_config_byte(dev, 0x4b, tmpbyte); in ali_set_dma_mode()
230 u8 tmpbyte; in init_chipset_ali15x3() local
245 pci_read_config_byte(dev, 0x4b, &tmpbyte); in init_chipset_ali15x3()
249 pci_write_config_byte(dev, 0x4b, tmpbyte & 0x7F); in init_chipset_ali15x3()
254 pci_read_config_byte(isa_dev, 0x5e, &tmpbyte); in init_chipset_ali15x3()
255 chip_is_1543c_e = ((tmpbyte & 0x1e) == 0x12) ? 1: 0; in init_chipset_ali15x3()
271 pci_read_config_byte(dev, 0x4b, &tmpbyte); in init_chipset_ali15x3()
[all …]
/drivers/ata/
Dpata_sil680.c255 u8 tmpbyte = 0; in sil680_init_chip() local
264 pci_read_config_byte(pdev, 0x8A, &tmpbyte); in sil680_init_chip()
267 tmpbyte & 1, tmpbyte & 0x30); in sil680_init_chip()
272 *try_mmio = (tmpbyte & 1) || pci_resource_start(pdev, 5); in sil680_init_chip()
275 switch (tmpbyte & 0x30) { in sil680_init_chip()
278 pci_write_config_byte(pdev, 0x8A, tmpbyte|0x10); in sil680_init_chip()
283 pci_write_config_byte(pdev, 0x8A, tmpbyte & ~0x20); in sil680_init_chip()
293 pci_read_config_byte(pdev, 0x8A, &tmpbyte); in sil680_init_chip()
295 tmpbyte & 1, tmpbyte & 0x30); in sil680_init_chip()
308 switch (tmpbyte & 0x30) { in sil680_init_chip()
[all …]