Home
last modified time | relevance | path

Searched refs:errs (Results 1 – 16 of 16) sorted by relevance

/drivers/xen/
Darm-device.c49 int *errs; in xen_map_device_mmio() local
64 errs = kcalloc(nr, sizeof(int), GFP_KERNEL); in xen_map_device_mmio()
65 if (!gpfns || !idxs || !errs) { in xen_map_device_mmio()
68 kfree(errs); in xen_map_device_mmio()
87 set_xen_guest_handle(xatp.errs, errs); in xen_map_device_mmio()
92 kfree(errs); in xen_map_device_mmio()
Dprivcmd.c402 int *errs = data; in mmap_return_errors() local
407 ret = mmap_return_error(errs[i], st); in mmap_return_errors()
807 int num, *errs = (int *)pfns; in privcmd_ioctl_mmap_resource() local
809 BUILD_BUG_ON(sizeof(*errs) > sizeof(*pfns)); in privcmd_ioctl_mmap_resource()
812 pfns, kdata.num, errs, in privcmd_ioctl_mmap_resource()
821 rc = errs[i]; in privcmd_ioctl_mmap_resource()
Dxlate_mmu.c118 set_xen_guest_handle(xatp.errs, info->h_errs); in remap_pte_fn()
/drivers/infiniband/hw/qib/
Dqib_iba7220.c817 } errs[] = { in qib_decode_7220_sdma_errs() local
846 for (i = 0; i < ARRAY_SIZE(errs); i++) { in qib_decode_7220_sdma_errs()
847 if (err & errs[i].err) in qib_decode_7220_sdma_errs()
849 "%s ", errs[i].msg); in qib_decode_7220_sdma_errs()
897 static void sdma_7220_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7220_errors() argument
903 errs &= QLOGIC_IB_E_SDMAERRS; in sdma_7220_errors()
906 qib_decode_7220_sdma_errs(ppd, errs, msg, in sdma_7220_errors()
910 if (errs & ERR_MASK(SendBufMisuseErr)) { in sdma_7220_errors()
923 if (errs & ERR_MASK(SDmaUnexpDataErr)) in sdma_7220_errors()
945 if (errs & ERR_MASK(SDmaDisabledErr)) in sdma_7220_errors()
[all …]
Dqib_iba7322.c1346 static void err_decode(char *msg, size_t len, u64 errs, in err_decode() argument
1352 while (errs && msp && msp->mask) { in err_decode()
1354 while (errs & msp->mask) { in err_decode()
1355 these = (errs & msp->mask); in err_decode()
1371 errs &= ~lmask; in err_decode()
1388 if (len && errs) in err_decode()
1390 (unsigned long long) errs); in err_decode()
1564 static void sdma_7322_p_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7322_p_errors() argument
1569 errs &= QIB_E_P_SDMAERRS; in sdma_7322_p_errors()
1571 errs, qib_7322p_error_msgs); in sdma_7322_p_errors()
[all …]
Dqib_iba6120.c997 static void handle_6120_errors(struct qib_devdata *dd, u64 errs) in handle_6120_errors() argument
1006 errs &= dd->cspec->errormask; in handle_6120_errors()
1010 if (errs & ERR_MASK(HardwareErr)) in handle_6120_errors()
1013 if (errs & ~IB_E_BITSEXTANT) in handle_6120_errors()
1016 (unsigned long long) (errs & ~IB_E_BITSEXTANT)); in handle_6120_errors()
1018 if (errs & E_SUM_ERRS) { in handle_6120_errors()
1020 if ((errs & E_SUM_LINK_PKTERRS) && in handle_6120_errors()
1029 ignore_this_time = errs & E_SUM_LINK_PKTERRS; in handle_6120_errors()
1031 } else if ((errs & E_SUM_LINK_PKTERRS) && in handle_6120_errors()
1040 ignore_this_time = errs & E_SUM_LINK_PKTERRS; in handle_6120_errors()
[all …]
/drivers/mtd/tests/
Dnandbiterrs.c156 unsigned i, errs = 0; in verify_page() local
165 errs++; in verify_page()
169 if (errs) in verify_page()
/drivers/crypto/hisilicon/sec2/
Dsec_main.c785 const struct sec_hw_error *errs = sec_hw_errors; in sec_log_hw_error() local
789 while (errs->msg) { in sec_log_hw_error()
790 if (errs->int_msk & err_sts) { in sec_log_hw_error()
792 errs->msg, errs->int_msk); in sec_log_hw_error()
794 if (SEC_CORE_INT_STATUS_M_ECC & errs->int_msk) { in sec_log_hw_error()
802 errs++; in sec_log_hw_error()
/drivers/acpi/
Dtables.c302 int errs = 0; in acpi_parse_entries_array() local
322 (!errs && proc[i].handler(entry.hdr, table_end))) { in acpi_parse_entries_array()
323 errs++; in acpi_parse_entries_array()
352 return errs ? -EINVAL : count; in acpi_parse_entries_array()
/drivers/net/ethernet/3com/
D3c589_cs.c691 u16 media, errs; in media_check() local
733 errs = inb(ioaddr + 0); in media_check()
735 dev->stats.tx_carrier_errors += errs; in media_check()
736 if (errs || (lp->media_status & 0x0010)) in media_check()
/drivers/media/dvb-frontends/
Dstv0900_core.c216 if (intp->errs != STV0900_NO_ERROR) in stv0900_initialize()
217 return intp->errs; in stv0900_initialize()
292 if (intp->errs) in stv0900_set_mclk()
317 if ((intp->errs)) in stv0900_set_mclk()
1365 state->internal->errs = STV0900_NO_ERROR; in stv0900_init_internal()
1494 if (intp->errs) in stv0900_init_internal()
1605 (intp->errs == STV0900_NO_ERROR)) { in stv0900_search()
Dstv0900_priv.h321 enum fe_stv0900_error errs; member
Dstv0367.c1325 u32 errs = 0; in stv0367ter_read_ucblocks() local
1329 errs = in stv0367ter_read_ucblocks()
1335 ter_state->ucblocks = errs; in stv0367ter_read_ucblocks()
/drivers/ufs/host/
Dufs-exynos.c935 static void exynos_ufs_config_intr(struct exynos_ufs *ufs, u32 errs, u8 index) in exynos_ufs_config_intr() argument
939 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_PA_LAYER); in exynos_ufs_config_intr()
942 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_DL_LAYER); in exynos_ufs_config_intr()
945 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_N_LAYER); in exynos_ufs_config_intr()
948 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_T_LAYER); in exynos_ufs_config_intr()
951 hci_writel(ufs, DFES_ERR_EN | errs, HCI_ERR_EN_DME_LAYER); in exynos_ufs_config_intr()
/drivers/iommu/
Domap-iommu.c806 u32 da, errs; in iommu_fault_handler() local
815 errs = iommu_report_fault(obj, &da); in iommu_fault_handler()
816 if (errs == 0) in iommu_fault_handler()
829 obj->name, errs, da, iopgd, *iopgd); in iommu_fault_handler()
836 obj->name, errs, da, iopgd, *iopgd, iopte, *iopte); in iommu_fault_handler()
/drivers/net/ethernet/cortina/
Dgemini.c616 unsigned int errs = 0; in gmac_clean_txq() local
644 errs++; in gmac_clean_txq()
666 port->stats.tx_errors += errs; in gmac_clean_txq()