Searched refs:tmpbyte (Results 1 – 3 of 3) sorted by relevance
/drivers/ide/ |
D | alim15x3.c | 172 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/ |
D | pata_sil680.c | 255 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 …]
|
/drivers/staging/irda/drivers/ |
D | smsc-ircc2.c | 2532 unsigned char tmpbyte; in preconfigure_smsc_chip() local 2536 tmpbyte = inb(iobase +1); // Read device ID in preconfigure_smsc_chip() 2538 tmpbyte); in preconfigure_smsc_chip() 2545 tmpbyte = inb(iobase + 1); in preconfigure_smsc_chip() 2546 if (tmpbyte != (conf->sir_io >> 2) ) { in preconfigure_smsc_chip() 2554 tmpbyte = inb(iobase + 1); in preconfigure_smsc_chip() 2555 tmpbyte &= SMSCSIOFLAT_UART1IRQSELECT_MASK; // Do not touch the UART1 portion in preconfigure_smsc_chip() 2556 tmpbyte |= (conf->fir_irq & SMSCSIOFLAT_UART2IRQSELECT_MASK); in preconfigure_smsc_chip() 2557 outb(tmpbyte, iobase + 1); in preconfigure_smsc_chip() 2558 tmpbyte = inb(iobase + 1) & SMSCSIOFLAT_UART2IRQSELECT_MASK; in preconfigure_smsc_chip() [all …]
|