/linux/drivers/ata/ |
A D | libata-pmp.c | 54 if (err_mask) in sata_pmp_read() 55 return err_mask; in sata_pmp_read() 149 if (err_mask) { in sata_pmp_scr_read() 180 if (err_mask) { in sata_pmp_scr_write() 233 if (err_mask) { in sata_pmp_read_gscr() 283 if (err_mask) { in sata_pmp_configure() 299 if (err_mask) { in sata_pmp_configure() 306 if (err_mask) { in sata_pmp_configure() 716 if (err_mask) { in sata_pmp_revalidate_quick() 979 err_mask); in sata_pmp_eh_recover() [all …]
|
A D | libata-eh.c | 380 ent->err_mask = err_mask; in ata_ering_record() 388 if (ent->err_mask) in ata_ering_top() 1390 return err_mask; in atapi_eh_tur() 1541 ehc->i.err_mask |= err_mask; in ata_eh_analyze_serror() 1653 if ((err_mask & in ata_eh_categorize_error() 1963 qc->err_mask |= ehc->i.err_mask; in ata_eh_link_autopsy() 2378 res->device, qc->err_mask, ata_err_string(qc->err_mask), in ata_eh_link_report() 3119 if (err_mask != 0 && err_mask != AC_ERR_DEV) { in atapi_eh_clear_ua() 3278 if (err_mask && err_mask != AC_ERR_DEV) { in ata_eh_set_lpm() 3322 if (err_mask && err_mask != AC_ERR_DEV) { in ata_eh_set_lpm() [all …]
|
A D | libata-core.c | 1184 if (err_mask) { in ata_read_native_max_address() 1247 if (err_mask) { in ata_set_max_sectors() 1635 err_mask = qc->err_mask; in ata_exec_internal_sg() 1837 if (err_mask) { in ata_dev_read_id() 2029 if (err_mask) { in ata_read_log_page() 2189 if (err_mask) in ata_dev_config_ncq_prio() 2299 if (err_mask) { in ata_dev_config_sense_reporting() 2468 if (err_mask) in ata_dev_config_devslp() 2503 if (err_mask) in ata_dev_config_cpr() 2740 if (err_mask) in ata_dev_configure() [all …]
|
A D | pata_netcell.c | 26 unsigned int err_mask = ata_do_dev_read_id(adev, tf, id); in netcell_read_id() local 28 if (err_mask == 0) in netcell_read_id() 30 return err_mask; in netcell_read_id()
|
A D | pdc_adma.c | 431 qc->err_mask |= AC_ERR_HOST_BUS; in adma_intr_pkt() 433 qc->err_mask |= AC_ERR_OTHER; in adma_intr_pkt() 436 qc->err_mask |= AC_ERR_DEV; in adma_intr_pkt() 438 qc->err_mask |= AC_ERR_OTHER; in adma_intr_pkt() 440 if (!qc->err_mask) in adma_intr_pkt() 450 if (qc->err_mask == AC_ERR_DEV) in adma_intr_pkt() 483 qc->err_mask |= ac_err_mask(status); in adma_intr_mmio() 484 if (!qc->err_mask) in adma_intr_mmio() 491 if (qc->err_mask == AC_ERR_DEV) in adma_intr_mmio()
|
A D | sata_sil24.c | 262 unsigned int err_mask, action; member 1008 ehi->err_mask |= AC_ERR_HSM; in sil24_error_intr() 1017 unsigned int err_mask = 0, action = 0; in sil24_error_intr() local 1029 ehi->err_mask |= AC_ERR_OTHER; in sil24_error_intr() 1050 err_mask |= AC_ERR_HSM; in sil24_error_intr() 1063 err_mask |= ci->err_mask; in sil24_error_intr() 1069 err_mask |= AC_ERR_OTHER; in sil24_error_intr() 1078 qc->err_mask |= err_mask; in sil24_error_intr() 1080 ehi->err_mask |= err_mask; in sil24_error_intr() 1129 ehi->err_mask |= AC_ERR_HSM; in sil24_host_intr()
|
A D | libata-sff.c | 903 qc->err_mask |= AC_ERR_HSM; in atapi_pio_bytes() 1023 qc->err_mask |= AC_ERR_DEV; in ata_sff_hsm_move() 1028 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 1051 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 1099 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 1116 qc->err_mask |= AC_ERR_DEV; in ata_sff_hsm_move() 1124 qc->err_mask |= in ata_sff_hsm_move() 1134 qc->err_mask |= AC_ERR_HSM | in ata_sff_hsm_move() 1154 qc->err_mask |= AC_ERR_DEV; in ata_sff_hsm_move() 1165 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() [all …]
|
A D | ahci_ceva.c | 98 u32 err_mask; in ceva_ahci_read_id() local 100 err_mask = ata_do_dev_read_id(dev, tf, id); in ceva_ahci_read_id() 101 if (err_mask) in ceva_ahci_read_id() 102 return err_mask; in ceva_ahci_read_id()
|
A D | sata_promise.c | 838 u32 port_status, u32 err_mask) in pdc_error_intr() argument 845 port_status &= err_mask; in pdc_error_intr() 864 qc->err_mask |= ac_err_mask; in pdc_error_intr() 876 u32 port_status, err_mask; in pdc_host_intr() local 878 err_mask = PDC_ERR_MASK; in pdc_host_intr() 880 err_mask &= ~PDC1_ERR_MASK; in pdc_host_intr() 882 err_mask &= ~PDC2_ERR_MASK; in pdc_host_intr() 884 if (unlikely(port_status & err_mask)) { in pdc_host_intr() 885 pdc_error_intr(ap, qc, port_status, err_mask); in pdc_host_intr() 894 qc->err_mask |= ac_err_mask(ata_wait_idle(ap)); in pdc_host_intr()
|
A D | sata_fsl.c | 1070 qc->err_mask |= AC_ERR_OTHER; in sata_fsl_post_internal_cmd() 1072 if (qc->err_mask) { in sata_fsl_post_internal_cmd() 1083 unsigned int err_mask = 0, action = 0; in sata_fsl_error_intr() local 1110 ehi->err_mask |= AC_ERR_ATA_BUS; in sata_fsl_error_intr() 1164 err_mask |= AC_ERR_DEV; in sata_fsl_error_intr() 1167 err_mask |= AC_ERR_HSM; in sata_fsl_error_intr() 1181 err_mask |= AC_ERR_DEV; in sata_fsl_error_intr() 1187 qc->err_mask |= err_mask; in sata_fsl_error_intr() 1189 ehi->err_mask |= err_mask; in sata_fsl_error_intr()
|
A D | pata_it821x.c | 539 unsigned int err_mask; in it821x_read_id() local 542 err_mask = ata_do_dev_read_id(adev, tf, id); in it821x_read_id() 543 if (err_mask) in it821x_read_id() 544 return err_mask; in it821x_read_id() 564 return err_mask; in it821x_read_id()
|
A D | libata-sata.c | 1394 unsigned int err_mask; in ata_eh_read_log_10h() local 1398 err_mask = ata_read_log_page(dev, ATA_LOG_SATA_NCQ, 0, buf, 1); in ata_eh_read_log_10h() 1399 if (err_mask) in ata_eh_read_log_10h() 1457 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error() 1465 if (qc->err_mask) in ata_eh_analyze_ncq_error() 1488 qc->err_mask |= AC_ERR_DEV | AC_ERR_NCQ; in ata_eh_analyze_ncq_error() 1502 ehc->i.err_mask &= ~AC_ERR_DEV; in ata_eh_analyze_ncq_error()
|
A D | ahci_brcm.c | 256 unsigned int err_mask; in brcm_ahci_read_id() local 264 err_mask = ata_do_dev_read_id(dev, tf, id); in brcm_ahci_read_id() 265 if (likely(!err_mask)) in brcm_ahci_read_id() 266 return err_mask; in brcm_ahci_read_id()
|
A D | sata_inic162x.c | 355 ehi->err_mask |= AC_ERR_INVALID; in inic_host_err_intr() 360 ehi->err_mask |= AC_ERR_DEV; in inic_host_err_intr() 364 ehi->err_mask |= AC_ERR_HSM; in inic_host_err_intr() 371 ehi->err_mask |= AC_ERR_HSM; in inic_host_err_intr() 408 qc->err_mask |= AC_ERR_DEV; in inic_host_intr()
|
A D | libahci.c | 1767 active_qc->err_mask |= AC_ERR_DEV; in ahci_error_intr() 1769 active_ehi->err_mask |= AC_ERR_DEV; in ahci_error_intr() 1778 active_ehi->err_mask |= AC_ERR_HSM; in ahci_error_intr() 1786 active_ehi->err_mask |= AC_ERR_HSM; in ahci_error_intr() 1799 active_ehi->err_mask |= AC_ERR_DEV; in ahci_error_intr() 1904 ehi->err_mask |= AC_ERR_HSM; in ahci_handle_port_interrupt() 2124 unsigned int err_mask; in ahci_set_aggressive_devslp() local 2137 err_mask = ata_dev_set_feature(dev, in ahci_set_aggressive_devslp() 2140 if (err_mask && err_mask != AC_ERR_DEV) in ahci_set_aggressive_devslp() 2190 err_mask = ata_dev_set_feature(dev, in ahci_set_aggressive_devslp() [all …]
|
A D | sata_mv.c | 2696 err_mask |= AC_ERR_DEV; in mv_err_intr() 2703 err_mask |= AC_ERR_ATA_BUS; in mv_err_intr() 2732 err_mask |= AC_ERR_ATA_BUS; in mv_err_intr() 2737 if (!err_mask) { in mv_err_intr() 2738 err_mask = AC_ERR_OTHER; in mv_err_intr() 2746 qc->err_mask |= err_mask; in mv_err_intr() 2748 ehi->err_mask |= err_mask; in mv_err_intr() 2750 if (err_mask == AC_ERR_DEV) { in mv_err_intr() 2978 err_mask = AC_ERR_HOST_BUS; in mv_pci_error() 2982 qc->err_mask |= err_mask; in mv_pci_error() [all …]
|
A D | ahci_xgene.c | 242 u32 err_mask; in xgene_ahci_read_id() local 244 err_mask = ata_do_dev_read_id(dev, tf, id); in xgene_ahci_read_id() 245 if (err_mask) in xgene_ahci_read_id() 246 return err_mask; in xgene_ahci_read_id()
|
/linux/net/can/ |
A D | raw.c | 94 can_err_mask_t err_mask; member 214 if (err_mask) in raw_enable_errfilter() 235 can_err_mask_t err_mask) in raw_disable_errfilter() argument 238 if (err_mask) in raw_disable_errfilter() 522 can_err_mask_t err_mask = 0; in raw_setsockopt() local 602 if (optlen != sizeof(err_mask)) in raw_setsockopt() 608 err_mask &= CAN_ERR_MASK; in raw_setsockopt() 625 err_mask); in raw_setsockopt() 632 ro->err_mask); in raw_setsockopt() 636 ro->err_mask = err_mask; in raw_setsockopt() [all …]
|
/linux/arch/sparc/kernel/ |
A D | pci_schizo.c | 851 u64 tmp, err_mask, err_no_mask; in tomatillo_register_error_handlers() local 904 err_mask = (SCHIZO_PCICTRL_BUS_UNUS | in tomatillo_register_error_handlers() 913 tmp |= err_mask; in tomatillo_register_error_handlers() 926 err_mask = (BUS_ERROR_BADCMD | BUS_ERROR_SNOOP_GR | in tomatillo_register_error_handlers() 936 upa_writeq((SCHIZO_SAFERRCTRL_EN | err_mask), in tomatillo_register_error_handlers() 946 u64 tmp, err_mask, err_no_mask; in schizo_register_error_handlers() local 996 err_mask = (SCHIZO_PCICTRL_BUS_UNUS | in schizo_register_error_handlers() 1011 tmp |= err_mask; in schizo_register_error_handlers() 1026 err_mask = (BUS_ERROR_BADCMD | BUS_ERROR_SSMDIS | in schizo_register_error_handlers() 1044 err_mask &= ~(BUS_ERROR_CPU1PS | BUS_ERROR_CPU1PB | in schizo_register_error_handlers() [all …]
|
A D | leon_pci_grpci1.c | 517 u32 cfg, size, err_mask; in grpci1_of_probe() local 670 err_mask = IRQ_ALL_ERRORS << IRQ_MASK_BIT; in grpci1_of_probe() 673 err_mask = IRQ_DEF_ERRORS << IRQ_MASK_BIT; in grpci1_of_probe() 680 REGSTORE(regs->irq, err_mask); in grpci1_of_probe()
|
/linux/drivers/scsi/libsas/ |
A D | sas_ata.c | 126 qc->err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done() 128 link->eh_info.err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done() 129 if (unlikely(link->eh_info.err_mask)) in sas_ata_task_done() 138 qc->err_mask = ac; in sas_ata_task_done() 140 link->eh_info.err_mask |= AC_ERR_DEV; in sas_ata_task_done() 451 qc->err_mask |= AC_ERR_OTHER; in sas_ata_post_internal() 453 if (qc->err_mask) { in sas_ata_post_internal() 606 qc->err_mask |= AC_ERR_TIMEOUT; in sas_ata_task_abort() 842 ehi->err_mask |= AC_ERR_TIMEOUT; in sas_ata_schedule_reset()
|
/linux/drivers/mtd/nand/raw/ |
A D | mtk_ecc.c | 45 u32 err_mask; member 225 err &= ecc->caps->err_mask; in mtk_ecc_get_stats() 226 if (err == ecc->caps->err_mask) { in mtk_ecc_get_stats() 451 .err_mask = 0x3f, 461 .err_mask = 0x7f, 471 .err_mask = 0x3f,
|
/linux/drivers/net/can/usb/peak_usb/ |
A D | pcan_usb_pro.c | 564 u8 err_mask = 0; in pcan_usb_pro_handle_error() local 591 err_mask |= CAN_ERR_CRTL_RX_PASSIVE; in pcan_usb_pro_handle_error() 593 err_mask |= CAN_ERR_CRTL_RX_WARNING; in pcan_usb_pro_handle_error() 596 err_mask |= CAN_ERR_CRTL_TX_PASSIVE; in pcan_usb_pro_handle_error() 598 err_mask |= CAN_ERR_CRTL_TX_WARNING; in pcan_usb_pro_handle_error() 600 if (err_mask & (CAN_ERR_CRTL_RX_WARNING | in pcan_usb_pro_handle_error() 603 else if (err_mask & (CAN_ERR_CRTL_RX_PASSIVE | in pcan_usb_pro_handle_error() 626 can_frame->data[1] |= err_mask; in pcan_usb_pro_handle_error() 632 can_frame->data[1] |= err_mask; in pcan_usb_pro_handle_error()
|
/linux/drivers/gpu/drm/arm/ |
A D | malidp_hw.c | 952 .err_mask = MALIDP_DE_IRQ_UNDERRUN | 961 .err_mask = MALIDP500_SE_IRQ_INIT_BUSY | 1002 .err_mask = MALIDP_DE_IRQ_UNDERRUN | 1009 .err_mask = MALIDP550_SE_IRQ_AXI_ERR | 1051 .err_mask = MALIDP_DE_IRQ_UNDERRUN | 1063 .err_mask = MALIDP550_SE_IRQ_AXI_ERR | 1211 status &= (mask | de->err_mask); in malidp_de_irq() 1216 if (status & de->err_mask) { in malidp_de_irq() 1304 if (!(status & (se->irq_mask | se->err_mask))) in malidp_se_irq() 1308 if (status & se->err_mask) in malidp_se_irq()
|
/linux/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_iov.c | 308 u32 err_mask; in fm10k_mask_aer_comp_abort() local 321 pci_read_config_dword(pdev, pos + PCI_ERR_UNCOR_MASK, &err_mask); in fm10k_mask_aer_comp_abort() 322 err_mask |= PCI_ERR_UNC_COMP_ABORT; in fm10k_mask_aer_comp_abort() 323 pci_write_config_dword(pdev, pos + PCI_ERR_UNCOR_MASK, err_mask); in fm10k_mask_aer_comp_abort()
|