Lines Matching refs:tmpbyte
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()
272 pci_write_config_byte(dev, 0x4b, tmpbyte | 0x08); in init_chipset_ali15x3()
289 pci_read_config_byte(isa_dev, 0x79, &tmpbyte); in init_chipset_ali15x3()
294 pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x04); in init_chipset_ali15x3()
299 pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x02); in init_chipset_ali15x3()
315 pci_read_config_byte(dev, 0x53, &tmpbyte); in init_chipset_ali15x3()
318 tmpbyte = (tmpbyte & (~0x02)) | 0x01; in init_chipset_ali15x3()
320 tmpbyte |= 0x03; in init_chipset_ali15x3()
322 tmpbyte |= 0x01; in init_chipset_ali15x3()
324 pci_write_config_byte(dev, 0x53, tmpbyte); in init_chipset_ali15x3()
384 u8 cbl = ATA_CBL_PATA40, tmpbyte; in ali_cable_detect() local
399 pci_read_config_byte(dev, 0x4a, &tmpbyte); in ali_cable_detect()
400 if ((tmpbyte & (1 << hwif->channel)) == 0) in ali_cable_detect()