Lines Matching refs:status
484 u16 status;
487 pci_read_config_word(dev, where, &status);
494 if (status == 0xFFFF) {
503 status &= PCI_STATUS_DETECTED_PARITY | PCI_STATUS_SIG_SYSTEM_ERROR |
506 if (status)
508 pci_write_config_word(dev, where, status);
510 return status;
531 * Function to retrieve the current parity status
538 u16 status;
541 /* stop any interrupts until we can acquire the status */
545 status = get_pci_parity_status(dev, 0);
552 edac_dbg(4, "PCI STATUS= 0x%04x %s\n", status, dev_name(&dev->dev));
554 /* check the status reg for errors on boards NOT marked as broken
555 * if broken, we cannot trust any of the status bits
557 if (status && !dev->broken_parity_status) {
558 if (status & (PCI_STATUS_SIG_SYSTEM_ERROR)) {
565 if (status & (PCI_STATUS_PARITY)) {
573 if (status & (PCI_STATUS_DETECTED_PARITY)) {
587 /* On bridges, need to examine secondary status register */
588 status = get_pci_parity_status(dev, 1);
591 status, dev_name(&dev->dev));
593 /* check the secondary status reg for errors,
596 if (status && !dev->broken_parity_status) {
597 if (status & (PCI_STATUS_SIG_SYSTEM_ERROR)) {
604 if (status & (PCI_STATUS_PARITY)) {
612 if (status & (PCI_STATUS_DETECTED_PARITY)) {
676 * and clearn their current status