Lines Matching defs:value
84 * BAR write: write value to the n BAR
87 void pci_isa_write_bar(int n, u32 value)
89 u32 hi = 0, lo = value;
91 if (value == PCI_BAR_RANGE_MASK) {
95 } else if (value & 0x01) {
102 hi = ((value & 0x000ffffc) << 12) |
104 lo = ((value & 0x000ffffc) << 12) | 0x01;
137 void pci_isa_write_reg(int reg, u32 value)
139 u32 hi = 0, lo = value;
144 if (value & PCI_COMMAND_IO)
152 if ((value & PCI_STATUS_SIG_TARGET_ABORT) &&
156 if ((value & PCI_STATUS_REC_TARGET_ABORT) &&
160 if ((value & PCI_STATUS_REC_MASTER_ABORT)
164 if ((value & PCI_STATUS_DETECTED_PARITY)
172 value &= 0x0000ff00;
175 hi |= (value >> 8);
179 pci_isa_write_bar(0, value);
182 pci_isa_write_bar(1, value);
185 pci_isa_write_bar(2, value);
188 pci_isa_write_bar(3, value);
191 pci_isa_write_bar(4, value);
194 pci_isa_write_bar(5, value);
200 if (value) /* enable uart1 interrupt in PIC */
208 if (value) /* enable uart2 interrupt in PIC */
213 if (value) {