Lines Matching refs:byte
84 u8 byte; in ck804xrom_cleanup() local
88 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup()
89 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); in ck804xrom_cleanup()
119 u8 byte; in ck804xrom_init_one() local
137 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
138 pci_write_config_byte(pdev, 0x88, byte | win_size_bits ); in ck804xrom_init_one()
141 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
143 if ((byte & ((1<<7)|(1<<6))) == ((1<<7)|(1<<6))) in ck804xrom_init_one()
145 else if ((byte & (1<<7)) == (1<<7)) in ck804xrom_init_one()
152 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one()
153 pci_write_config_byte(pdev, 0x88, byte | (win_size_bits & 0xff)); in ck804xrom_init_one()
155 pci_read_config_byte(pdev, 0x8c, &byte); in ck804xrom_init_one()
156 pci_write_config_byte(pdev, 0x8c, byte | ((win_size_bits & 0xff00) >> 8)); in ck804xrom_init_one()
187 pci_read_config_byte(pdev, 0x6d, &byte); in ck804xrom_init_one()
188 pci_write_config_byte(pdev, 0x6d, byte | 1); in ck804xrom_init_one()