Home
last modified time | relevance | path

Searched refs:err_mask (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/ata/
Dlibata-pmp.c43 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 …]
Dlibata-eh.c369 unsigned int err_mask) in ata_ering_record() argument
373 WARN_ON(!err_mask); in ata_ering_record()
380 ent->err_mask = err_mask; in ata_ering_record()
388 if (ent->err_mask) in ata_ering_top()
403 if (!ent->err_mask) in ata_ering_map()
617 qc->err_mask |= AC_ERR_TIMEOUT; in ata_scsi_cmd_error_handler()
846 qc->err_mask |= AC_ERR_TIMEOUT; in ata_eh_fastdrain_timerfn()
1201 if (!qc->err_mask) in ata_eh_qc_retry()
1337 static const char *ata_err_string(unsigned int err_mask) in ata_err_string() argument
1339 if (err_mask & AC_ERR_HOST_BUS) in ata_err_string()
[all …]
Dlibata-core.c1161 unsigned int err_mask; in ata_read_native_max_address() local
1179 err_mask = ata_exec_internal(dev, &tf, NULL, DMA_NONE, NULL, 0, 0); in ata_read_native_max_address()
1180 if (err_mask) { in ata_read_native_max_address()
1183 err_mask); in ata_read_native_max_address()
1184 if (err_mask == AC_ERR_DEV && (tf.feature & ATA_ABORTED)) in ata_read_native_max_address()
1212 unsigned int err_mask; in ata_set_max_sectors() local
1242 err_mask = ata_exec_internal(dev, &tf, NULL, DMA_NONE, NULL, 0, 0); in ata_set_max_sectors()
1243 if (err_mask) { in ata_set_max_sectors()
1246 err_mask); in ata_set_max_sectors()
1247 if (err_mask == AC_ERR_DEV && in ata_set_max_sectors()
[all …]
Dpata_netcell.c26 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()
Dpdc_adma.c431 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()
Dsata_sil24.c262 unsigned int err_mask, action; member
1005 ehi->err_mask |= AC_ERR_HSM; in sil24_error_intr()
1014 unsigned int err_mask = 0, action = 0; in sil24_error_intr() local
1026 ehi->err_mask |= AC_ERR_OTHER; in sil24_error_intr()
1047 err_mask |= AC_ERR_HSM; in sil24_error_intr()
1060 err_mask |= ci->err_mask; in sil24_error_intr()
1066 err_mask |= AC_ERR_OTHER; in sil24_error_intr()
1075 qc->err_mask |= err_mask; in sil24_error_intr()
1077 ehi->err_mask |= err_mask; in sil24_error_intr()
1126 ehi->err_mask |= AC_ERR_HSM; in sil24_host_intr()
Dahci_ceva.c95 u32 err_mask; in ceva_ahci_read_id() local
97 err_mask = ata_do_dev_read_id(dev, tf, id); in ceva_ahci_read_id()
98 if (err_mask) in ceva_ahci_read_id()
99 return err_mask; in ceva_ahci_read_id()
Dlibata-sff.c903 qc->err_mask |= AC_ERR_HSM; in atapi_pio_bytes()
956 if (likely(!(qc->err_mask & AC_ERR_HSM))) { in ata_hsm_qc_complete()
963 if (likely(!(qc->err_mask & AC_ERR_HSM))) in ata_hsm_qc_complete()
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()
[all …]
Dsata_promise.c838 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()
Dsata_fsl.c1070 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()
Dpata_it821x.c539 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()
Dlibata-sata.c1373 unsigned int err_mask; in ata_eh_read_log_10h() local
1377 err_mask = ata_read_log_page(dev, ATA_LOG_SATA_NCQ, 0, buf, 1); in ata_eh_read_log_10h()
1378 if (err_mask) in ata_eh_read_log_10h()
1436 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error()
1444 if (qc->err_mask) in ata_eh_analyze_ncq_error()
1467 qc->err_mask |= AC_ERR_DEV | AC_ERR_NCQ; in ata_eh_analyze_ncq_error()
1481 ehc->i.err_mask &= ~AC_ERR_DEV; in ata_eh_analyze_ncq_error()
Dahci_brcm.c255 unsigned int err_mask; in brcm_ahci_read_id() local
263 err_mask = ata_do_dev_read_id(dev, tf, id); in brcm_ahci_read_id()
264 if (likely(!err_mask)) in brcm_ahci_read_id()
265 return err_mask; in brcm_ahci_read_id()
Dsata_inic162x.c355 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()
Dlibahci.c1748 active_qc->err_mask |= AC_ERR_DEV; in ahci_error_intr()
1750 active_ehi->err_mask |= AC_ERR_DEV; in ahci_error_intr()
1759 active_ehi->err_mask |= AC_ERR_HSM; in ahci_error_intr()
1767 active_ehi->err_mask |= AC_ERR_HSM; in ahci_error_intr()
1773 host_ehi->err_mask |= AC_ERR_HOST_BUS; in ahci_error_intr()
1780 active_ehi->err_mask |= AC_ERR_DEV; in ahci_error_intr()
1782 host_ehi->err_mask |= AC_ERR_ATA_BUS; in ahci_error_intr()
1885 ehi->err_mask |= AC_ERR_HSM; in ahci_handle_port_interrupt()
2105 unsigned int err_mask; in ahci_set_aggressive_devslp() local
2118 err_mask = ata_dev_set_feature(dev, in ahci_set_aggressive_devslp()
[all …]
Dsata_mv.c2484 ehi->err_mask |= AC_ERR_DEV; in mv_pmp_eh_prep()
2620 ehi->err_mask |= AC_ERR_OTHER; in mv_unexpected_intr()
2643 unsigned int action = 0, err_mask = 0; in mv_err_intr() local
2692 err_mask |= AC_ERR_DEV; in mv_err_intr()
2699 err_mask |= AC_ERR_ATA_BUS; in mv_err_intr()
2728 err_mask |= AC_ERR_ATA_BUS; in mv_err_intr()
2733 if (!err_mask) { in mv_err_intr()
2734 err_mask = AC_ERR_OTHER; in mv_err_intr()
2742 qc->err_mask |= err_mask; in mv_err_intr()
2744 ehi->err_mask |= err_mask; in mv_err_intr()
[all …]
Dahci_xgene.c242 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()
/kernel/linux/linux-5.10/net/can/
Draw.c94 can_err_mask_t err_mask; member
210 struct sock *sk, can_err_mask_t err_mask) in raw_enable_errfilter() argument
214 if (err_mask) in raw_enable_errfilter()
215 err = can_rx_register(net, dev, 0, err_mask | CAN_ERR_FLAG, in raw_enable_errfilter()
235 can_err_mask_t err_mask) in raw_disable_errfilter() argument
238 if (err_mask) in raw_disable_errfilter()
239 can_rx_unregister(net, dev, 0, err_mask | CAN_ERR_FLAG, in raw_disable_errfilter()
250 raw_disable_errfilter(net, dev, sk, ro->err_mask); in raw_disable_allfilters()
261 err = raw_enable_errfilter(net, dev, sk, ro->err_mask); in raw_enable_allfilters()
522 can_err_mask_t err_mask = 0; in raw_setsockopt() local
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dpci_schizo.c851 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()
917 err_mask = (SCHIZO_PCIAFSR_PMA | SCHIZO_PCIAFSR_PTA | in tomatillo_register_error_handlers()
924 upa_writeq(err_mask, pbm->pbm_regs + SCHIZO_PCI_AFSR); 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()
[all …]
Dleon_pci_grpci1.c517 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()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_ata.c131 qc->err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done()
133 link->eh_info.err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done()
134 if (unlikely(link->eh_info.err_mask)) in sas_ata_task_done()
143 qc->err_mask = ac; in sas_ata_task_done()
145 link->eh_info.err_mask |= AC_ERR_DEV; in sas_ata_task_done()
456 qc->err_mask |= AC_ERR_OTHER; in sas_ata_post_internal()
458 if (qc->err_mask) { in sas_ata_post_internal()
611 qc->err_mask |= AC_ERR_TIMEOUT; in sas_ata_task_abort()
847 ehi->err_mask |= AC_ERR_TIMEOUT; in sas_ata_schedule_reset()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
Dpcan_usb_pro.c565 u8 err_mask = 0; in pcan_usb_pro_handle_error() local
592 err_mask |= CAN_ERR_CRTL_RX_PASSIVE; in pcan_usb_pro_handle_error()
594 err_mask |= CAN_ERR_CRTL_RX_WARNING; in pcan_usb_pro_handle_error()
597 err_mask |= CAN_ERR_CRTL_TX_PASSIVE; in pcan_usb_pro_handle_error()
599 err_mask |= CAN_ERR_CRTL_TX_WARNING; in pcan_usb_pro_handle_error()
601 if (err_mask & (CAN_ERR_CRTL_RX_WARNING | in pcan_usb_pro_handle_error()
604 else if (err_mask & (CAN_ERR_CRTL_RX_PASSIVE | in pcan_usb_pro_handle_error()
627 can_frame->data[1] |= err_mask; in pcan_usb_pro_handle_error()
633 can_frame->data[1] |= err_mask; in pcan_usb_pro_handle_error()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dmtk_ecc.c45 u32 err_mask; member
226 err &= ecc->caps->err_mask; in mtk_ecc_get_stats()
227 if (err == ecc->caps->err_mask) { in mtk_ecc_get_stats()
452 .err_mask = 0x3f,
463 .err_mask = 0x7f,
474 .err_mask = 0x1f,
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dmalidp_hw.c952 .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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c308 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()

123