Searched refs:regspacing (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/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 | 28 int regspacing; in ipmi_pci_probe_regspacing() local 34 for (regspacing = DEFAULT_REGSPACING; regspacing <= 16;) { in ipmi_pci_probe_regspacing() 35 io->regspacing = regspacing; in ipmi_pci_probe_regspacing() 46 return regspacing; in ipmi_pci_probe_regspacing() 47 regspacing *= 4; in ipmi_pci_probe_regspacing() 110 io.regspacing = ipmi_pci_probe_regspacing(&io); in ipmi_pci_probe() 119 &pdev->resource[0], io.regsize, io.regspacing, io.irq); in ipmi_pci_probe()
|
D | ipmi_si_platform.c | 124 io->regspacing = DEFAULT_REGSPACING; in ipmi_get_info_from_resources() 128 io->regspacing = res_second->start - io->addr_data; in ipmi_get_info_from_resources() 206 io.addr_data, io.regsize, io.regspacing, io.irq); in platform_ipmi_probe() 230 const __be32 *regsize, *regspacing, *regshift; in of_ipmi_probe() local 259 regspacing = of_get_property(np, "reg-spacing", &proplen); in of_ipmi_probe() 260 if (regspacing && proplen != 4) { in of_ipmi_probe() 279 io.regspacing = regspacing ? be32_to_cpup(regspacing) : DEFAULT_REGSPACING; in of_ipmi_probe() 286 io.addr_data, io.regsize, io.regspacing, io.irq); in of_ipmi_probe() 382 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 | 49 unsigned int regspacing; member
|
D | ipmi_dmi.c | 72 p.regspacing = offset; in dmi_add_platform_ipmi()
|
D | ipmi_si_hotmod.c | 149 rv = check_hotmod_int_op(curr, o, "rsp", &h->regspacing); in parse_hotmod_str()
|
D | ipmi_si_intf.c | 1655 smi_info->io.regspacing, in params_show()
|
/linux-6.6.21/Documentation/driver-api/ |
D | ipmi.rst | 437 register start addresses. For instance, if the regspacing is set to 4 513 rsp=<regspacing>
|