Lines Matching +full:0 +full:xff810000
14 ranges = <0x2 0x0 0x0 0xff810000 0x10000>;
16 dpm@2,0 {
18 reg = <0x2 0x0 0x10000>;
19 elbc-gpcm-br = <0xff810800>;
20 elbc-gpcm-or = <0xffff09f7>;
25 netx5152,init-win0-offset = <0x0>;
89 return scnprintf(buf, PAGE_SIZE, "0x%08x\n", in reg_show()
93 return scnprintf(buf, PAGE_SIZE, "0x%08x\n", in reg_show()
97 return 0; in reg_show()
112 if (kstrtoul(buf, 0, &val) != 0) in reg_store()
150 #define DPM_HOST_WIN0_OFFSET 0xff00
151 #define DPM_HOST_INT_STAT0 0xe0
152 #define DPM_HOST_INT_EN0 0xf0
153 #define DPM_HOST_INT_MASK 0xe600ffff
154 #define DPM_HOST_INT_GLOBAL_EN 0x80000000
158 void __iomem *reg_int_en = info->mem[0].internal_addr + in netx5152_irq_handler()
161 void __iomem *reg_int_stat = info->mem[0].internal_addr + in netx5152_irq_handler()
167 DPM_HOST_INT_MASK) == 0) { in netx5152_irq_handler()
190 iowrite32(0, info->mem[0].internal_addr + win0_offset + in netx5152_init()
200 iowrite32(0, info->mem[0].internal_addr + DPM_HOST_WIN0_OFFSET + in netx5152_shutdown()
209 if (strcmp(type, "netx5152") == 0) { in setup_periph()
229 /* check specified mode (BR_MS_GPCM is 0) */ in check_of_data()
247 return 0; in check_of_data()
259 ret = of_address_to_resource(node, 0, res); in get_of_data()
288 if (of_property_read_string(node, "device_type", &type) == 0) in get_of_data()
292 *irq = irq_of_parse_and_map(node, 0); in get_of_data()
300 if (of_property_read_string(node, "uio_name", &dt_name) != 0) in get_of_data()
306 return 0; in get_of_data()
362 "modifying BR settings: 0x%08x -> 0x%08x", in uio_fsl_elbc_gpcm_probe()
367 "modifying OR settings: 0x%08x -> 0x%08x", in uio_fsl_elbc_gpcm_probe()
379 info->mem[0].internal_addr = ioremap(res.start, resource_size(&res)); in uio_fsl_elbc_gpcm_probe()
380 if (!info->mem[0].internal_addr) { in uio_fsl_elbc_gpcm_probe()
386 info->mem[0].name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%pOFn", node); in uio_fsl_elbc_gpcm_probe()
387 info->mem[0].addr = res.start; in uio_fsl_elbc_gpcm_probe()
388 info->mem[0].size = resource_size(&res); in uio_fsl_elbc_gpcm_probe()
389 info->mem[0].memtype = UIO_MEM_PHYS; in uio_fsl_elbc_gpcm_probe()
408 if (uio_register_device(priv->dev, info) != 0) { in uio_fsl_elbc_gpcm_probe()
418 "eLBC/GPCM device (%s) at 0x%llx, bank %d, irq=%d\n", in uio_fsl_elbc_gpcm_probe()
422 return 0; in uio_fsl_elbc_gpcm_probe()
426 iounmap(info->mem[0].internal_addr); in uio_fsl_elbc_gpcm_probe()
439 iounmap(info->mem[0].internal_addr); in uio_fsl_elbc_gpcm_remove()
441 return 0; in uio_fsl_elbc_gpcm_remove()