Lines Matching +full:0 +full:x0bf8

37 #define REG_FBPR_FPC		0x0800
38 #define REG_ECSR 0x0a00
39 #define REG_ECIR 0x0a04
40 #define REG_EADR 0x0a08
41 #define REG_EDATA(n) (0x0a10 + ((n) * 0x04))
42 #define REG_SBEC(n) (0x0a80 + ((n) * 0x04))
43 #define REG_IP_REV_1 0x0bf8
44 #define REG_IP_REV_2 0x0bfc
45 #define REG_FBPR_BARE 0x0c00
46 #define REG_FBPR_BAR 0x0c04
47 #define REG_FBPR_AR 0x0c10
48 #define REG_SRCIDR 0x0d04
49 #define REG_LIODNR 0x0d08
50 #define REG_ERR_ISR 0x0e00
51 #define REG_ERR_IER 0x0e04
52 #define REG_ERR_ISDR 0x0e08
55 #define BM_EIRQ_IVCI 0x00000010 /* Invalid Command Verb */
56 #define BM_EIRQ_FLWI 0x00000008 /* FBPR Low Watermark */
57 #define BM_EIRQ_MBEI 0x00000004 /* Multi-bit ECC Error */
58 #define BM_EIRQ_SBEI 0x00000002 /* Single-bit ECC Error */
59 #define BM_EIRQ_BSCN 0x00000001 /* pool State Change Notification */
93 *major = (v >> 8) & 0xff; in bm_get_version()
94 *minor = v & 0xff; in bm_get_version()
121 pr_err("Attempted to reinitialize BMan with different BAR, got 0x%llx read BARE=0x%x BAR=0x%x\n", in bm_set_memory()
133 return 0; in bm_set_memory()
160 for (i = 0; i < ARRAY_SIZE(bman_hwerr_txts); i++) { in bman_isr()
169 dev_dbg(dev, "Disabling error 0x%x\n", in bman_isr()
194 __bman_requires_cleanup = 0; in bman_done_cleanup()
208 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in fsl_bman_probe()
219 if (major == 1 && minor == 0) { in fsl_bman_probe()
222 } else if (major == 2 && minor == 0) { in fsl_bman_probe()
234 ret = qbman_init_private_mem(dev, 0, "fsl,bman-fbpr", &fbpr_a, &fbpr_sz); in fsl_bman_probe()
236 dev_err(dev, "qbman_init_private_mem() failed 0x%x\n", in fsl_bman_probe()
241 dev_dbg(dev, "Allocated FBPR 0x%llx 0x%zx\n", fbpr_a, fbpr_sz); in fsl_bman_probe()
245 err_irq = platform_get_irq(pdev, 0); in fsl_bman_probe()
246 if (err_irq <= 0) { in fsl_bman_probe()
263 bm_ccsr_out(REG_ERR_ISR, 0xffffffff); in fsl_bman_probe()
265 bm_ccsr_out(REG_ERR_IER, 0xffffffff); in fsl_bman_probe()
267 bm_bpalloc = devm_gen_pool_create(dev, 0, -1, "bman-bpalloc"); in fsl_bman_probe()
278 0, bm_pool_cnt - 1, ret); in fsl_bman_probe()
284 return 0; in fsl_bman_probe()