• Home
  • Raw
  • Download

Lines Matching refs:regspacing

1350 	return inb(addr + (offset * io->regspacing));  in port_inb()
1358 outb(b, addr + (offset * io->regspacing)); in port_outb()
1365 return (inw(addr + (offset * io->regspacing)) >> io->regshift) & 0xff; in port_inw()
1373 outw(b << io->regshift, addr + (offset * io->regspacing)); in port_outw()
1380 return (inl(addr + (offset * io->regspacing)) >> io->regshift) & 0xff; in port_inl()
1388 outl(b << io->regshift, addr+(offset * io->regspacing)); in port_outl()
1398 release_region(addr + idx * info->io.regspacing, in port_cleanup()
1443 if (request_region(addr + idx * info->io.regspacing, in port_setup()
1447 release_region(addr + idx * info->io.regspacing, in port_setup()
1458 return readb((io->addr)+(offset * io->regspacing)); in intf_mem_inb()
1464 writeb(b, (io->addr)+(offset * io->regspacing)); in intf_mem_outb()
1469 return (readw((io->addr)+(offset * io->regspacing)) >> io->regshift) in intf_mem_inw()
1476 writeb(b << io->regshift, (io->addr)+(offset * io->regspacing)); in intf_mem_outw()
1481 return (readl((io->addr)+(offset * io->regspacing)) >> io->regshift) in intf_mem_inl()
1488 writel(b << io->regshift, (io->addr)+(offset * io->regspacing)); in intf_mem_outl()
1494 return (readq((io->addr)+(offset * io->regspacing)) >> io->regshift) in mem_inq()
1501 writeq(b << io->regshift, (io->addr)+(offset * io->regspacing)); in mem_outq()
1513 mapsize = ((info->io_size * info->io.regspacing) in mem_cleanup()
1514 - (info->io.regspacing - info->io.regsize)); in mem_cleanup()
1566 mapsize = ((info->io_size * info->io.regspacing) in mem_setup()
1567 - (info->io.regspacing - info->io.regsize)); in mem_setup()
1678 int regspacing; in hotmod_handler() local
1699 regspacing = 1; in hotmod_handler()
1749 rv = check_hotmod_int_op(curr, o, "rsp", &regspacing); in hotmod_handler()
1799 info->io.regspacing = regspacing; in hotmod_handler()
1800 if (!info->io.regspacing) in hotmod_handler()
1801 info->io.regspacing = DEFAULT_REGSPACING; in hotmod_handler()
1889 info->io.regspacing = regspacings[i]; in hardcode_find_bmc()
1890 if (!info->io.regspacing) in hardcode_find_bmc()
1891 info->io.regspacing = DEFAULT_REGSPACING; in hardcode_find_bmc()
2078 info->io.regspacing = spmi->addr.bit_width / 8; in try_init_spmi()
2080 info->io.regspacing = DEFAULT_REGSPACING; in try_init_spmi()
2082 info->io.regsize = info->io.regspacing; in try_init_spmi()
2100 info->io.addr_data, info->io.regsize, info->io.regspacing, in try_init_spmi()
2192 info->io.regspacing = DEFAULT_REGSPACING; in ipmi_pnp_probe()
2199 info->io.regspacing = res_second->start - info->io.addr_data; in ipmi_pnp_probe()
2218 res, info->io.regsize, info->io.regspacing, in ipmi_pnp_probe()
2370 info->io.regspacing = ipmi_data->offset; in try_init_dmi()
2371 if (!info->io.regspacing) in try_init_dmi()
2372 info->io.regspacing = DEFAULT_REGSPACING; in try_init_dmi()
2384 info->io.addr_data, info->io.regsize, info->io.regspacing, in try_init_dmi()
2479 info->io.regspacing = DEFAULT_REGSPACING; in ipmi_pci_probe()
2491 &pdev->resource[0], info->io.regsize, info->io.regspacing, in ipmi_pci_probe()
2544 const __be32 *regsize, *regspacing, *regshift; in ipmi_probe() local
2567 regspacing = of_get_property(np, "reg-spacing", &proplen); in ipmi_probe()
2568 if (regspacing && proplen != 4) { in ipmi_probe()
2602 info->io.regspacing = regspacing ? be32_to_cpup(regspacing) : DEFAULT_REGSPACING; in ipmi_probe()
2609 info->io.addr_data, info->io.regsize, info->io.regspacing, in ipmi_probe()
2859 smi->io.regspacing, in smi_params_proc_show()
3070 info->io.regspacing = DEFAULT_REGSPACING; in default_find_bmc()