/openbmc/linux/drivers/ata/ |
H A 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 …]
|
H A 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() 640 qc->err_mask |= AC_ERR_TIMEOUT; in ata_scsi_cmd_error_handler() 869 qc->err_mask |= AC_ERR_TIMEOUT; in ata_eh_fastdrain_timerfn() 1205 if (!qc->err_mask) in ata_eh_qc_retry() 1351 static const char *ata_err_string(unsigned int err_mask) in ata_err_string() argument 1353 if (err_mask & AC_ERR_HOST_BUS) in ata_err_string() [all …]
|
H A D | libata-core.c | 1192 unsigned int err_mask; in ata_read_native_max_address() local 1210 err_mask = ata_exec_internal(dev, &tf, NULL, DMA_NONE, NULL, 0, 0); in ata_read_native_max_address() 1211 if (err_mask) { in ata_read_native_max_address() 1214 err_mask); in ata_read_native_max_address() 1215 if (err_mask == AC_ERR_DEV && (tf.error & ATA_ABORTED)) in ata_read_native_max_address() 1243 unsigned int err_mask; in ata_set_max_sectors() local 1273 err_mask = ata_exec_internal(dev, &tf, NULL, DMA_NONE, NULL, 0, 0); in ata_set_max_sectors() 1274 if (err_mask) { in ata_set_max_sectors() 1277 err_mask); in ata_set_max_sectors() 1278 if (err_mask == AC_ERR_DEV && in ata_set_max_sectors() [all …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | libata-sata.c | 1307 unsigned int err_mask; in ata_eh_read_log_10h() local 1311 err_mask = ata_read_log_page(dev, ATA_LOG_SATA_NCQ, 0, buf, 1); in ata_eh_read_log_10h() 1312 if (err_mask) in ata_eh_read_log_10h() 1365 unsigned int err_mask, tag; in ata_eh_read_sense_success_ncq_log() local 1370 err_mask = ata_read_log_page(dev, ATA_LOG_SENSE_NCQ, 0, buf, 2); in ata_eh_read_sense_success_ncq_log() 1371 if (err_mask) { in ata_eh_read_sense_success_ncq_log() 1391 qc->err_mask || in ata_eh_read_sense_success_ncq_log() 1459 if (!link->sactive || !(ehc->i.err_mask & AC_ERR_DEV)) in ata_eh_analyze_ncq_error() 1467 if (qc->err_mask) in ata_eh_analyze_ncq_error() 1490 qc->err_mask |= AC_ERR_DEV | AC_ERR_NCQ; in ata_eh_analyze_ncq_error() [all …]
|
H A D | libata-sff.c | 840 qc->err_mask |= AC_ERR_HSM; in atapi_pio_bytes() 890 if (likely(!(qc->err_mask & AC_ERR_HSM))) { in ata_hsm_qc_complete() 897 if (likely(!(qc->err_mask & AC_ERR_HSM))) in ata_hsm_qc_complete() 949 qc->err_mask |= AC_ERR_DEV; in ata_sff_hsm_move() 954 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 977 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 1025 qc->err_mask |= AC_ERR_HSM; in ata_sff_hsm_move() 1042 qc->err_mask |= AC_ERR_DEV; in ata_sff_hsm_move() 1050 qc->err_mask |= in ata_sff_hsm_move() 1060 qc->err_mask |= AC_ERR_HSM | in ata_sff_hsm_move() [all …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H 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()
|
H 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()
|
/openbmc/linux/net/can/ |
H A D | raw.c | 98 can_err_mask_t err_mask; member 214 struct sock *sk, can_err_mask_t err_mask) in raw_enable_errfilter() argument 218 if (err_mask) in raw_enable_errfilter() 219 err = can_rx_register(net, dev, 0, err_mask | CAN_ERR_FLAG, in raw_enable_errfilter() 239 can_err_mask_t err_mask) in raw_disable_errfilter() argument 242 if (err_mask) in raw_disable_errfilter() 243 can_rx_unregister(net, dev, 0, err_mask | CAN_ERR_FLAG, in raw_disable_errfilter() 254 raw_disable_errfilter(net, dev, sk, ro->err_mask); in raw_disable_allfilters() 265 err = raw_enable_errfilter(net, dev, sk, ro->err_mask); in raw_enable_allfilters() 536 can_err_mask_t err_mask = 0; in raw_setsockopt() local [all …]
|
/openbmc/qemu/hw/dma/ |
H A D | pl080.c | 60 VMSTATE_UINT8(err_mask, PL080State), 84 bool errlevel = (s->err_int & s->err_mask); in pl080_update() 111 s->err_mask |= 1 << c; in pl080_run() 252 return (s->tc_int & s->tc_mask) | (s->err_int & s->err_mask); in pl080_read() 256 return (s->err_int & s->err_mask); in pl080_read() 363 s->err_mask = 0; in pl080_reset()
|
/openbmc/linux/arch/sparc/kernel/ |
H 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() 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 …]
|
/openbmc/linux/drivers/mtd/nand/ |
H A 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,
|
/openbmc/qemu/net/can/ |
H A D | can_socketcan.c | 59 can_err_mask_t err_mask; member 242 c->err_mask = 0xffffffff; /* Receive error frame. */ in can_host_socketcan_connect() 244 &c->err_mask, sizeof(c->err_mask)); in can_host_socketcan_connect()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/socketcan/canutils/ |
H A D | 0001-canutils-candump-Add-error-frame-s-handling.patch | 51 + can_err_mask_t err_mask = (CAN_ERR_TX_TIMEOUT | CAN_ERR_LOSTARB | 82 + if (setsockopt(s, SOL_CAN_RAW, CAN_RAW_ERR_FILTER, &err_mask, 83 + sizeof(err_mask)) != 0) {
|
/openbmc/linux/drivers/scsi/libsas/ |
H A 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() 641 qc->err_mask |= AC_ERR_TIMEOUT; in sas_ata_task_abort() 924 ehi->err_mask |= AC_ERR_TIMEOUT; in sas_ata_schedule_reset() 952 link->eh_info.err_mask |= AC_ERR_DEV; in sas_ata_device_link_abort()
|
/openbmc/linux/drivers/net/can/usb/peak_usb/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/arm/ |
H 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()
|
/openbmc/qemu/include/hw/dma/ |
H A D | pl080.h | 56 uint8_t err_mask; member
|
/openbmc/u-boot/drivers/dma/ |
H A D | bcm6348-iudma.c | 118 uint16_t err_mask; member 340 (dma_desc->status & hw->err_mask)) { in bcm6348_iudma_receive() 518 .err_mask = (DMAD6348_ST_OV_ERR_MASK | 526 .err_mask = 0,
|