Home
last modified time | relevance | path

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

/linux-5.19.10/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 …]
/linux-5.19.10/drivers/firmware/arm_ffa/
Ddriver.c152 int err_idx = -errno; in ffa_to_linux_errno() local
154 if (err_idx >= 0 && err_idx < ARRAY_SIZE(ffa_linux_errmap)) in ffa_to_linux_errno()
155 return ffa_linux_errmap[err_idx]; in ffa_to_linux_errno()
/linux-5.19.10/drivers/virtio/
Dvirtio_ring.c482 unsigned int i, n, avail, descs_used, prev, err_idx; in virtqueue_add_split() local
629 err_idx = i; in virtqueue_add_split()
637 if (i == err_idx) in virtqueue_add_split()
1055 unsigned int i, n, err_idx; in virtqueue_add_indirect_packed() local
1148 err_idx = i; in virtqueue_add_indirect_packed()
1150 for (i = 0; i < err_idx; i++) in virtqueue_add_indirect_packed()
1171 unsigned int i, n, c, descs_used, err_idx; in virtqueue_add_packed() local
1290 err_idx = i; in virtqueue_add_packed()
1297 if (i == err_idx) in virtqueue_add_packed()
/linux-5.19.10/drivers/infiniband/hw/hns/
Dhns_roce_srq.c365 goto err_idx; in alloc_srq_buf()
377 err_idx: in alloc_srq_buf()
/linux-5.19.10/drivers/firmware/arm_scmi/
Ddriver.c184 int err_idx = -errno; in scmi_to_linux_errno() local
186 if (err_idx >= SCMI_SUCCESS && err_idx < ARRAY_SIZE(scmi_linux_errmap)) in scmi_to_linux_errno()
187 return scmi_linux_errmap[err_idx]; in scmi_to_linux_errno()
/linux-5.19.10/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()
/linux-5.19.10/tools/perf/util/
Dparse-events.c2441 static void __parse_events_error__print(int err_idx, const char *err_str, in __parse_events_error__print() argument
2471 if (err_idx > max_err_idx) in __parse_events_error__print()
2472 cut = err_idx - max_err_idx; in __parse_events_error__print()
2485 idx = len_str + err_idx - cut; in __parse_events_error__print()
/linux-5.19.10/drivers/scsi/qedi/
Dqedi_main.c1833 goto err_idx; in qedi_get_task_idx()
1839 err_idx: in qedi_get_task_idx()
/linux-5.19.10/drivers/s390/net/
Dqeth_core_main.c928 goto err_idx; in qeth_issue_next_read_cb()
977 err_idx: in qeth_issue_next_read_cb()
/linux-5.19.10/net/core/
Ddev.c11172 goto err_idx; in netdev_init()
11178 err_idx: in netdev_init()