Searched refs:regspacing (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/char/ipmi/ |
H A 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 …]
|
H A 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()
|
H A D | ipmi_si_platform.c | 125 io->regspacing = DEFAULT_REGSPACING; in ipmi_get_info_from_resources() 129 io->regspacing = res_second->start - io->addr_data; in ipmi_get_info_from_resources() 207 io.addr_data, io.regsize, io.regspacing, io.irq); in platform_ipmi_probe() 230 const __be32 *regsize, *regspacing, *regshift; in of_ipmi_probe() local 255 regspacing = of_get_property(np, "reg-spacing", &proplen); in of_ipmi_probe() 256 if (regspacing && proplen != 4) { in of_ipmi_probe() 275 io.regspacing = regspacing ? be32_to_cpup(regspacing) : DEFAULT_REGSPACING; in of_ipmi_probe() 282 io.addr_data, io.regsize, io.regspacing, io.irq); in of_ipmi_probe() 378 res, io.regsize, io.regspacing, io.irq); in acpi_ipmi_probe()
|
H A 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()
|
H A D | ipmi_plat_data.h | 16 unsigned int regspacing; member
|
H A D | ipmi_si_parisc.c | 21 io.regspacing = 1; in ipmi_parisc_probe()
|
H A D | ipmi_si.h | 49 unsigned int regspacing; member
|
H A D | ipmi_si_hardcode.c | 83 p.regspacing = regspacings[i]; in ipmi_hardcode_init_one()
|
H A D | ipmi_dmi.c | 72 p.regspacing = offset; in dmi_add_platform_ipmi()
|
H A D | ipmi_si_hotmod.c | 149 rv = check_hotmod_int_op(curr, o, "rsp", &h->regspacing); in parse_hotmod_str()
|
/linux/Documentation/driver-api/ |
H A D | ipmi.rst | 437 register start addresses. For instance, if the regspacing is set to 4 513 rsp=<regspacing>
|