Searched refs:regspacing (Results 1 – 11 of 11) sorted by relevance
/drivers/char/ipmi/ |
D | ipmi_si_mem_io.c | 9 return readb((io->addr)+(offset * io->regspacing)); in intf_mem_inb() 15 writeb(b, (io->addr)+(offset * io->regspacing)); in intf_mem_outb() 21 return (readw((io->addr)+(offset * io->regspacing)) >> io->regshift) in intf_mem_inw() 28 writeb(b << io->regshift, (io->addr)+(offset * io->regspacing)); in intf_mem_outw() 34 return (readl((io->addr)+(offset * io->regspacing)) >> io->regshift) in intf_mem_inl() 41 writel(b << io->regshift, (io->addr)+(offset * io->regspacing)); in intf_mem_outl() 47 return (readq((io->addr)+(offset * io->regspacing)) >> io->regshift) in mem_inq() 54 writeq((u64)b << io->regshift, (io->addr)+(offset * io->regspacing)); in mem_outq() 64 release_mem_region(addr + idx * io->regspacing, in mem_region_cleanup() 120 if (request_mem_region(addr + idx * io->regspacing, in ipmi_si_mem_setup() [all …]
|
D | ipmi_si_port_io.c | 10 return inb(addr + (offset * io->regspacing)); in port_inb() 18 outb(b, addr + (offset * io->regspacing)); in port_outb() 25 return (inw(addr + (offset * io->regspacing)) >> io->regshift) & 0xff; in port_inw() 33 outw(b << io->regshift, addr + (offset * io->regspacing)); in port_outw() 40 return (inl(addr + (offset * io->regspacing)) >> io->regshift) & 0xff; in port_inl() 48 outl(b << io->regshift, addr+(offset * io->regspacing)); in port_outl() 58 release_region(addr + idx * io->regspacing, in port_cleanup() 101 if (request_region(addr + idx * io->regspacing, in ipmi_si_port_setup() 105 release_region(addr + idx * io->regspacing, in ipmi_si_port_setup()
|
D | ipmi_si_pci.c | 35 int regspacing; in ipmi_pci_probe_regspacing() local 41 for (regspacing = DEFAULT_REGSPACING; regspacing <= 16;) { in ipmi_pci_probe_regspacing() 42 io->regspacing = regspacing; in ipmi_pci_probe_regspacing() 53 return regspacing; in ipmi_pci_probe_regspacing() 54 regspacing *= 4; in ipmi_pci_probe_regspacing() 120 io.regspacing = ipmi_pci_probe_regspacing(&io); in ipmi_pci_probe() 129 &pdev->resource[0], io.regsize, io.regspacing, io.irq); in ipmi_pci_probe()
|
D | ipmi_si_platform.c | 123 io->regspacing = DEFAULT_REGSPACING; in ipmi_get_info_from_resources() 130 io->regspacing = res_second->start - io->addr_data; in ipmi_get_info_from_resources() 208 io.addr_data, io.regsize, io.regspacing, io.irq); in platform_ipmi_probe() 232 const __be32 *regsize, *regspacing, *regshift; in of_ipmi_probe() local 261 regspacing = of_get_property(np, "reg-spacing", &proplen); in of_ipmi_probe() 262 if (regspacing && proplen != 4) { in of_ipmi_probe() 286 io.regspacing = regspacing ? be32_to_cpup(regspacing) : DEFAULT_REGSPACING; in of_ipmi_probe() 293 io.addr_data, io.regsize, io.regspacing, io.irq); in of_ipmi_probe() 394 res, io.regsize, io.regspacing, io.irq); in acpi_ipmi_probe()
|
D | ipmi_plat_data.c | 32 if (p->regspacing == 0) in ipmi_platform_add() 33 p->regspacing = p->regsize; in ipmi_platform_add() 75 r[1].start = r[0].start + p->regspacing; in ipmi_platform_add() 83 r[2].start = r[1].start + p->regspacing; in ipmi_platform_add()
|
D | ipmi_plat_data.h | 16 unsigned int regspacing; member
|
D | ipmi_si_parisc.c | 21 io.regspacing = 1; in ipmi_parisc_probe()
|
D | ipmi_si.h | 45 unsigned int regspacing; member
|
D | ipmi_dmi.c | 72 p.regspacing = offset; in dmi_add_platform_ipmi()
|
D | ipmi_si_hotmod.c | 150 rv = check_hotmod_int_op(curr, o, "rsp", &h->regspacing); in parse_hotmod_str()
|
D | ipmi_si_intf.c | 1662 smi_info->io.regspacing, in params_show()
|