/linux-6.12.1/drivers/ata/ |
D | libata-pmp.c | 43 unsigned int err_mask; in sata_pmp_read() local 52 err_mask = ata_exec_internal(pmp_dev, &tf, NULL, DMA_NONE, NULL, 0, in sata_pmp_read() 54 if (err_mask) in sata_pmp_read() 55 return err_mask; in sata_pmp_read() 143 unsigned int err_mask; in sata_pmp_scr_read() local 148 err_mask = sata_pmp_read(link, reg, r_val); in sata_pmp_scr_read() 149 if (err_mask) { in sata_pmp_scr_read() 151 reg, err_mask); in sata_pmp_scr_read() 174 unsigned int err_mask; in sata_pmp_scr_write() local 179 err_mask = sata_pmp_write(link, reg, val); in sata_pmp_scr_write() [all …]
|
D | libata-eh.c | 373 unsigned int err_mask) in ata_ering_record() argument 377 WARN_ON(!err_mask); in ata_ering_record() 384 ent->err_mask = err_mask; in ata_ering_record() 392 if (ent->err_mask) in ata_ering_top() 407 if (!ent->err_mask) in ata_ering_map() 655 qc->err_mask |= AC_ERR_TIMEOUT; in ata_scsi_cmd_error_handler() 884 qc->err_mask |= AC_ERR_TIMEOUT; in ata_eh_fastdrain_timerfn() 1220 if (!qc->err_mask) in ata_eh_qc_retry() 1360 static const char *ata_err_string(unsigned int err_mask) in ata_err_string() argument 1362 if (err_mask & AC_ERR_HOST_BUS) in ata_err_string() [all …]
|
D | libata-core.c | 1179 unsigned int err_mask; in ata_read_native_max_address() local 1197 err_mask = ata_exec_internal(dev, &tf, NULL, DMA_NONE, NULL, 0, 0); in ata_read_native_max_address() 1198 if (err_mask) { in ata_read_native_max_address() 1201 err_mask); in ata_read_native_max_address() 1202 if (err_mask == AC_ERR_DEV && (tf.error & ATA_ABORTED)) in ata_read_native_max_address() 1230 unsigned int err_mask; in ata_set_max_sectors() local 1260 err_mask = ata_exec_internal(dev, &tf, NULL, DMA_NONE, NULL, 0, 0); in ata_set_max_sectors() 1261 if (err_mask) { in ata_set_max_sectors() 1264 err_mask); in ata_set_max_sectors() 1265 if (err_mask == AC_ERR_DEV && in ata_set_max_sectors() [all …]
|
D | pata_netcell.c | 26 unsigned int err_mask = ata_do_dev_read_id(adev, tf, id); in netcell_read_id() local 29 if (err_mask == 0) in netcell_read_id() 31 return err_mask; in netcell_read_id()
|
D | pdc_adma.c | 408 qc->err_mask |= AC_ERR_HOST_BUS; in adma_intr_pkt() 410 qc->err_mask |= AC_ERR_OTHER; in adma_intr_pkt() 413 qc->err_mask |= AC_ERR_DEV; in adma_intr_pkt() 415 qc->err_mask |= AC_ERR_OTHER; in adma_intr_pkt() 417 if (!qc->err_mask) in adma_intr_pkt() 427 if (qc->err_mask == AC_ERR_DEV) in adma_intr_pkt() 458 qc->err_mask |= ac_err_mask(status); in adma_intr_mmio() 459 if (!qc->err_mask) in adma_intr_mmio() 466 if (qc->err_mask == AC_ERR_DEV) in adma_intr_mmio()
|
D | sata_sil24.c | 262 unsigned int err_mask, action; member 1004 ehi->err_mask |= AC_ERR_HSM; in sil24_error_intr() 1013 unsigned int err_mask = 0, action = 0; in sil24_error_intr() local 1025 ehi->err_mask |= AC_ERR_OTHER; in sil24_error_intr() 1046 err_mask |= AC_ERR_HSM; in sil24_error_intr() 1059 err_mask |= ci->err_mask; in sil24_error_intr() 1065 err_mask |= AC_ERR_OTHER; in sil24_error_intr() 1074 qc->err_mask |= err_mask; in sil24_error_intr() 1076 ehi->err_mask |= err_mask; in sil24_error_intr() 1125 ehi->err_mask |= AC_ERR_HSM; in sil24_host_intr()
|
D | libata-sata.c | 1452 unsigned int err_mask; in ata_eh_read_log_10h() local 1456 err_mask = ata_read_log_page(dev, ATA_LOG_SATA_NCQ, 0, buf, 1); in ata_eh_read_log_10h() 1457 if (err_mask) in ata_eh_read_log_10h() 1510 unsigned int err_mask, tag; in ata_eh_get_ncq_success_sense() local 1515 err_mask = ata_read_log_page(dev, ATA_LOG_SENSE_NCQ, 0, buf, 2); in ata_eh_get_ncq_success_sense() 1516 if (err_mask) { in ata_eh_get_ncq_success_sense() 1536 qc->err_mask || in ata_eh_get_ncq_success_sense() 1601 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error() 1609 if (qc->err_mask) in ata_eh_analyze_ncq_error() 1632 qc->err_mask |= AC_ERR_DEV | AC_ERR_NCQ; in ata_eh_analyze_ncq_error() [all …]
|
D | libata-sff.c | 839 qc->err_mask |= AC_ERR_HSM; in atapi_pio_bytes() 889 if (likely(!(qc->err_mask & AC_ERR_HSM))) { in ata_hsm_qc_complete() 896 if (likely(!(qc->err_mask & AC_ERR_HSM))) in ata_hsm_qc_complete() 948 qc->err_mask |= AC_ERR_DEV; in ata_sff_hsm_move() 953 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 976 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 1024 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 1041 qc->err_mask |= AC_ERR_DEV; in ata_sff_hsm_move() 1049 qc->err_mask |= in ata_sff_hsm_move() 1059 qc->err_mask |= AC_ERR_HSM | in ata_sff_hsm_move() [all …]
|
D | ahci_ceva.c | 96 u32 err_mask; in ceva_ahci_read_id() local 98 err_mask = ata_do_dev_read_id(dev, tf, id); in ceva_ahci_read_id() 99 if (err_mask) in ceva_ahci_read_id() 100 return err_mask; in ceva_ahci_read_id()
|
D | sata_promise.c | 836 u32 port_status, u32 err_mask) in pdc_error_intr() argument 843 port_status &= err_mask; in pdc_error_intr() 862 qc->err_mask |= ac_err_mask; in pdc_error_intr() 874 u32 port_status, err_mask; in pdc_host_intr() local 876 err_mask = PDC_ERR_MASK; in pdc_host_intr() 878 err_mask &= ~PDC1_ERR_MASK; in pdc_host_intr() 880 err_mask &= ~PDC2_ERR_MASK; in pdc_host_intr() 882 if (unlikely(port_status & err_mask)) { in pdc_host_intr() 883 pdc_error_intr(ap, qc, port_status, err_mask); in pdc_host_intr() 892 qc->err_mask |= ac_err_mask(ata_wait_idle(ap)); in pdc_host_intr()
|
D | sata_fsl.c | 1045 qc->err_mask |= AC_ERR_OTHER; in sata_fsl_post_internal_cmd() 1047 if (qc->err_mask) { in sata_fsl_post_internal_cmd() 1058 unsigned int err_mask = 0, action = 0; in sata_fsl_error_intr() local 1085 ehi->err_mask |= AC_ERR_ATA_BUS; in sata_fsl_error_intr() 1139 err_mask |= AC_ERR_DEV; in sata_fsl_error_intr() 1142 err_mask |= AC_ERR_HSM; in sata_fsl_error_intr() 1156 err_mask |= AC_ERR_DEV; in sata_fsl_error_intr() 1162 qc->err_mask |= err_mask; in sata_fsl_error_intr() 1164 ehi->err_mask |= err_mask; in sata_fsl_error_intr()
|
D | pata_it821x.c | 542 unsigned int err_mask; in it821x_read_id() local 545 err_mask = ata_do_dev_read_id(adev, tf, id); in it821x_read_id() 546 if (err_mask) in it821x_read_id() 547 return err_mask; in it821x_read_id() 566 return err_mask; in it821x_read_id()
|
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()
|
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()
|
D | libahci.c | 1797 active_qc->err_mask |= AC_ERR_DEV; in ahci_error_intr() 1799 active_ehi->err_mask |= AC_ERR_DEV; in ahci_error_intr() 1808 active_ehi->err_mask |= AC_ERR_HSM; in ahci_error_intr() 1816 active_ehi->err_mask |= AC_ERR_HSM; in ahci_error_intr() 1822 host_ehi->err_mask |= AC_ERR_HOST_BUS; in ahci_error_intr() 1829 active_ehi->err_mask |= AC_ERR_DEV; in ahci_error_intr() 1831 host_ehi->err_mask |= AC_ERR_ATA_BUS; in ahci_error_intr() 1883 ehi->err_mask |= AC_ERR_HSM; in ahci_qc_complete() 2241 unsigned int err_mask; in ahci_set_aggressive_devslp() local 2254 err_mask = ata_dev_set_feature(dev, in ahci_set_aggressive_devslp() [all …]
|
D | sata_mv.c | 2450 ehi->err_mask |= AC_ERR_DEV; in mv_pmp_eh_prep() 2586 ehi->err_mask |= AC_ERR_OTHER; in mv_unexpected_intr() 2609 unsigned int action = 0, err_mask = 0; in mv_err_intr() local 2658 err_mask |= AC_ERR_DEV; in mv_err_intr() 2665 err_mask |= AC_ERR_ATA_BUS; in mv_err_intr() 2694 err_mask |= AC_ERR_ATA_BUS; in mv_err_intr() 2699 if (!err_mask) { in mv_err_intr() 2700 err_mask = AC_ERR_OTHER; in mv_err_intr() 2708 qc->err_mask |= err_mask; in mv_err_intr() 2710 ehi->err_mask |= err_mask; in mv_err_intr() [all …]
|
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/ |
D | adf_gen4_ras.c | 78 struct adf_dev_err_mask *err_mask = GET_ERR_MASK(accel_dev); in enable_cpp_error_reporting() local 82 err_mask->cppagentcmdpar_mask); in enable_cpp_error_reporting() 170 struct adf_dev_err_mask *err_mask = GET_ERR_MASK(accel_dev); in enable_rf_error_reporting() local 179 if (err_mask->parerr_wat_wcp_mask) in enable_rf_error_reporting() 186 struct adf_dev_err_mask *err_mask = GET_ERR_MASK(accel_dev); in disable_rf_error_reporting() local 193 err_mask->parerr_ath_cph_mask); in disable_rf_error_reporting() 196 err_mask->parerr_cpr_xlt_mask); in disable_rf_error_reporting() 199 err_mask->parerr_dcpr_ucs_mask); in disable_rf_error_reporting() 202 err_mask->parerr_pke_mask); in disable_rf_error_reporting() 204 if (err_mask->parerr_wat_wcp_mask) in disable_rf_error_reporting() [all …]
|
/linux-6.12.1/net/can/ |
D | raw.c | 102 can_err_mask_t err_mask; member 237 struct sock *sk, can_err_mask_t err_mask) in raw_enable_errfilter() argument 241 if (err_mask) in raw_enable_errfilter() 242 err = can_rx_register(net, dev, 0, err_mask | CAN_ERR_FLAG, in raw_enable_errfilter() 262 can_err_mask_t err_mask) in raw_disable_errfilter() argument 265 if (err_mask) in raw_disable_errfilter() 266 can_rx_unregister(net, dev, 0, err_mask | CAN_ERR_FLAG, in raw_disable_errfilter() 277 raw_disable_errfilter(net, dev, sk, ro->err_mask); in raw_disable_allfilters() 288 err = raw_enable_errfilter(net, dev, sk, ro->err_mask); in raw_enable_allfilters() 558 can_err_mask_t err_mask = 0; in raw_setsockopt() local [all …]
|
/linux-6.12.1/arch/sparc/kernel/ |
D | pci_schizo.c | 854 u64 tmp, err_mask, err_no_mask; in tomatillo_register_error_handlers() local 907 err_mask = (SCHIZO_PCICTRL_BUS_UNUS | in tomatillo_register_error_handlers() 916 tmp |= err_mask; in tomatillo_register_error_handlers() 920 err_mask = (SCHIZO_PCIAFSR_PMA | SCHIZO_PCIAFSR_PTA | in tomatillo_register_error_handlers() 927 upa_writeq(err_mask, pbm->pbm_regs + SCHIZO_PCI_AFSR); in tomatillo_register_error_handlers() 929 err_mask = (BUS_ERROR_BADCMD | BUS_ERROR_SNOOP_GR | in tomatillo_register_error_handlers() 939 upa_writeq((SCHIZO_SAFERRCTRL_EN | err_mask), in tomatillo_register_error_handlers() 949 u64 tmp, err_mask, err_no_mask; in schizo_register_error_handlers() local 999 err_mask = (SCHIZO_PCICTRL_BUS_UNUS | in schizo_register_error_handlers() 1014 tmp |= err_mask; in schizo_register_error_handlers() [all …]
|
D | leon_pci_grpci1.c | 518 u32 cfg, size, err_mask; in grpci1_of_probe() local 671 err_mask = IRQ_ALL_ERRORS << IRQ_MASK_BIT; in grpci1_of_probe() 674 err_mask = IRQ_DEF_ERRORS << IRQ_MASK_BIT; in grpci1_of_probe() 681 REGSTORE(regs->irq, err_mask); in grpci1_of_probe()
|
/linux-6.12.1/drivers/mtd/nand/ |
D | ecc-mtk.c | 48 u32 err_mask; member 233 err &= ecc->caps->err_mask; in mtk_ecc_get_stats() 234 if (err == ecc->caps->err_mask) { in mtk_ecc_get_stats() 462 .err_mask = ECC_ERRMASK_MT2701, 473 .err_mask = ECC_ERRMASK_MT2712, 484 .err_mask = ECC_ERRMASK_MT7622, 495 .err_mask = ECC_ERRMASK_MT7622,
|
/linux-6.12.1/drivers/scsi/libsas/ |
D | sas_ata.c | 124 qc->err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done() 126 link->eh_info.err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done() 127 if (unlikely(link->eh_info.err_mask)) in sas_ata_task_done() 136 qc->err_mask = ac; in sas_ata_task_done() 138 link->eh_info.err_mask |= AC_ERR_DEV; in sas_ata_task_done() 491 qc->err_mask |= AC_ERR_OTHER; in sas_ata_post_internal() 493 if (qc->err_mask) { in sas_ata_post_internal() 638 qc->err_mask |= AC_ERR_TIMEOUT; in sas_ata_task_abort() 921 ehi->err_mask |= AC_ERR_TIMEOUT; in sas_ata_schedule_reset() 949 link->eh_info.err_mask |= AC_ERR_DEV; in sas_ata_device_link_abort()
|
/linux-6.12.1/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 580 u8 err_mask = 0; in pcan_usb_pro_handle_error() local 607 err_mask |= CAN_ERR_CRTL_RX_PASSIVE; in pcan_usb_pro_handle_error() 609 err_mask |= CAN_ERR_CRTL_RX_WARNING; in pcan_usb_pro_handle_error() 612 err_mask |= CAN_ERR_CRTL_TX_PASSIVE; in pcan_usb_pro_handle_error() 614 err_mask |= CAN_ERR_CRTL_TX_WARNING; in pcan_usb_pro_handle_error() 616 if (err_mask & (CAN_ERR_CRTL_RX_WARNING | in pcan_usb_pro_handle_error() 619 else if (err_mask & (CAN_ERR_CRTL_RX_PASSIVE | in pcan_usb_pro_handle_error() 642 can_frame->data[1] |= err_mask; in pcan_usb_pro_handle_error() 648 can_frame->data[1] |= err_mask; in pcan_usb_pro_handle_error()
|
/linux-6.12.1/drivers/gpu/drm/arm/ |
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-6.12.1/drivers/net/ethernet/intel/fm10k/ |
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()
|