Lines Matching refs:byte
85 u8 byte; in ck804xrom_cleanup() local
89 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup()
90 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); in ck804xrom_cleanup()
120 u8 byte; in ck804xrom_init_one() local
138 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
139 pci_write_config_byte(pdev, 0x88, byte | win_size_bits ); in ck804xrom_init_one()
142 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
144 if ((byte & ((1<<7)|(1<<6))) == ((1<<7)|(1<<6))) in ck804xrom_init_one()
146 else if ((byte & (1<<7)) == (1<<7)) in ck804xrom_init_one()
153 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
154 pci_write_config_byte(pdev, 0x88, byte | (win_size_bits & 0xff)); in ck804xrom_init_one()
156 pci_read_config_byte(pdev, 0x8c, &byte); in ck804xrom_init_one()
157 pci_write_config_byte(pdev, 0x8c, byte | ((win_size_bits & 0xff00) >> 8)); in ck804xrom_init_one()
188 pci_read_config_byte(pdev, 0x6d, &byte); in ck804xrom_init_one()
189 pci_write_config_byte(pdev, 0x6d, byte | 1); in ck804xrom_init_one()