Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A 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/drivers/firmware/arm_scmi/
H A Dcommon.h67 int err_idx = -errno; in scmi_to_linux_errno() local
69 if (err_idx >= SCMI_SUCCESS && err_idx < ARRAY_SIZE(scmi_linux_errmap)) in scmi_to_linux_errno()
70 return scmi_linux_errmap[err_idx]; in scmi_to_linux_errno()
/linux/drivers/virtio/
H A Dvirtio_ring.c543 unsigned int i, n, avail, descs_used, prev, err_idx; in virtqueue_add_split() local
695 err_idx = i; in virtqueue_add_split()
703 if (i == err_idx) in virtqueue_add_split()
1335 unsigned int i, n, err_idx, len; in virtqueue_add_indirect_packed() local
1437 err_idx = i; in virtqueue_add_indirect_packed()
1439 for (i = 0; i < err_idx; i++) in virtqueue_add_indirect_packed()
1461 unsigned int i, n, c, descs_used, err_idx, len; in virtqueue_add_packed() local
1583 err_idx = i; in virtqueue_add_packed()
1590 if (i == err_idx) in virtqueue_add_packed()
/linux/drivers/firmware/arm_ffa/
H A Ddriver.c81 int err_idx = -errno; in ffa_to_linux_errno() local
83 if (err_idx >= 0 && err_idx < ARRAY_SIZE(ffa_linux_errmap)) in ffa_to_linux_errno()
84 return ffa_linux_errmap[err_idx]; in ffa_to_linux_errno()
/linux/drivers/misc/bcm-vk/
H A 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/tools/perf/util/
H A Dparse-events.c2247 static void __parse_events_error__print(int err_idx, const char *err_str, in parse_events_error__handle()
2277 if (err_idx > max_err_idx) in __parse_events_error__print()
2278 cut = err_idx - max_err_idx; in __parse_events_error__print()
2291 idx = len_str + err_idx - cut; in __parse_events_error__print()
2273 __parse_events_error__print(int err_idx,const char * err_str,const char * err_help,const char * event) __parse_events_error__print() argument
/linux/drivers/s390/net/
H A Dqeth_core_main.c975 goto err_idx; in qeth_issue_next_read_cb()
1024 err_idx: in qeth_issue_next_read_cb()
/linux/net/core/
H A Ddev.c11898 goto err_idx; in netdev_init()
11906 err_idx: in netdev_init()