Home
last modified time | relevance | path

Searched refs:err_idx (Results 1 – 8 of 8) sorted by relevance

/drivers/firmware/arm_scmi/
Dcommon.h65 int err_idx = -errno; in scmi_to_linux_errno() local
67 if (err_idx >= SCMI_SUCCESS && err_idx < ARRAY_SIZE(scmi_linux_errmap)) in scmi_to_linux_errno()
68 return scmi_linux_errmap[err_idx]; in scmi_to_linux_errno()
/drivers/mtd/nand/raw/
Dfsmc_nand.c783 u32 err_idx[8]; in fsmc_bch8_correct_data() local
835 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data()
836 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data()
837 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
838 err_idx[3] = (ecc2 >> 7) & 0x1FFF; in fsmc_bch8_correct_data()
839 err_idx[4] = (((ecc3 >> 0) & 0x1) << 12) | ((ecc2 >> 20) & 0xFFF); in fsmc_bch8_correct_data()
840 err_idx[5] = (ecc3 >> 1) & 0x1FFF; in fsmc_bch8_correct_data()
841 err_idx[6] = (ecc3 >> 14) & 0x1FFF; in fsmc_bch8_correct_data()
842 err_idx[7] = (((ecc4 >> 16) & 0xFF) << 5) | ((ecc3 >> 27) & 0x1F); in fsmc_bch8_correct_data()
846 err_idx[i] ^= 3; in fsmc_bch8_correct_data()
[all …]
/drivers/infiniband/hw/hns/
Dhns_roce_srq.c365 goto err_idx; in alloc_srq_buf()
377 err_idx: in alloc_srq_buf()
/drivers/virtio/
Dvirtio_ring.c556 unsigned int i, n, avail, descs_used, prev, err_idx; in virtqueue_add_split() local
709 err_idx = i; in virtqueue_add_split()
717 if (i == err_idx) in virtqueue_add_split()
1293 unsigned int i, n, err_idx; in virtqueue_add_indirect_packed() local
1389 err_idx = i; in virtqueue_add_indirect_packed()
1391 for (i = 0; i < err_idx; i++) in virtqueue_add_indirect_packed()
1413 unsigned int i, n, c, descs_used, err_idx; in virtqueue_add_packed() local
1533 err_idx = i; in virtqueue_add_packed()
1540 if (i == err_idx) in virtqueue_add_packed()
/drivers/firmware/arm_ffa/
Ddriver.c82 int err_idx = -errno; in ffa_to_linux_errno() local
84 if (err_idx >= 0 && err_idx < ARRAY_SIZE(ffa_linux_errmap)) in ffa_to_linux_errno()
85 return ffa_linux_errmap[err_idx]; in ffa_to_linux_errno()
/drivers/misc/bcm-vk/
Dbcm_vk_dev.c987 goto err_idx; in bcm_vk_load_image()
996 goto err_idx; in bcm_vk_load_image()
1004 err_idx: in bcm_vk_load_image()
/drivers/scsi/qedi/
Dqedi_main.c1834 goto err_idx; in qedi_get_task_idx()
1840 err_idx: in qedi_get_task_idx()
/drivers/s390/net/
Dqeth_core_main.c975 goto err_idx; in qeth_issue_next_read_cb()
1024 err_idx: in qeth_issue_next_read_cb()