Home
last modified time | relevance | path

Searched refs:regsize (Results 1 – 14 of 14) sorted by relevance

/drivers/char/ipmi/
Dipmi_si_platform.c137 u8 type, slave_addr, addr_source, regsize, regshift; in platform_ipmi_probe() local
176 io.regsize = DEFAULT_REGSIZE; in platform_ipmi_probe()
177 rv = device_property_read_u8(&pdev->dev, "reg-size", &regsize); in platform_ipmi_probe()
179 io.regsize = regsize; in platform_ipmi_probe()
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
253 regsize = of_get_property(np, "reg-size", &proplen); in of_ipmi_probe()
254 if (regsize && proplen != 4) { in of_ipmi_probe()
278 io.regsize = regsize ? be32_to_cpup(regsize) : DEFAULT_REGSIZE; in of_ipmi_probe()
286 io.addr_data, io.regsize, io.regspacing, io.irq); in of_ipmi_probe()
[all …]
Dipmi_plat_data.c30 if (p->regsize == 0) in ipmi_platform_add()
31 p->regsize = DEFAULT_REGSIZE; in ipmi_platform_add()
33 p->regspacing = p->regsize; in ipmi_platform_add()
45 pr[pidx++] = PROPERTY_ENTRY_U8("reg-size", p->regsize); in ipmi_platform_add()
70 r[0].end = r[0].start + p->regsize - 1; in ipmi_platform_add()
76 r[1].end = r[1].start + p->regsize - 1; in ipmi_platform_add()
84 r[2].end = r[2].start + p->regsize - 1; in ipmi_platform_add()
Dipmi_si_port_io.c59 io->regsize); in port_cleanup()
75 switch (io->regsize) { in ipmi_si_port_setup()
90 io->regsize); in ipmi_si_port_setup()
102 io->regsize, SI_DEVICE_NAME) == NULL) { in ipmi_si_port_setup()
106 io->regsize); in ipmi_si_port_setup()
Dipmi_si_mem_io.c65 io->regsize); in mem_region_cleanup()
88 switch (io->regsize) { in ipmi_si_mem_setup()
109 io->regsize); in ipmi_si_mem_setup()
121 io->regsize, SI_DEVICE_NAME) == NULL) { in ipmi_si_mem_setup()
136 - (io->regspacing - io->regsize)); in ipmi_si_mem_setup()
Dipmi_si_pci.c30 io->regsize = DEFAULT_REGSIZE; in ipmi_pci_probe_regspacing()
111 io.regsize = DEFAULT_REGSIZE; in ipmi_pci_probe()
119 &pdev->resource[0], io.regsize, io.regspacing, io.irq); in ipmi_pci_probe()
Dipmi_si_hardcode.c82 p.regsize = regsizes[i]; in ipmi_hardcode_init_one()
86 p.regsize = regsizes[i]; in ipmi_hardcode_init_one()
Dipmi_plat_data.h17 unsigned int regsize; member
Dipmi_si_parisc.c20 io.regsize = 1; in ipmi_parisc_probe()
Dipmi_si.h50 unsigned int regsize; member
Dipmi_si_hotmod.c154 rv = check_hotmod_int_op(curr, o, "rsi", &h->regsize); in parse_hotmod_str()
Dipmi_si_intf.c1655 smi_info->io.regsize, in params_show()
/drivers/platform/mellanox/
Dmlxreg-io.c43 int regsize; member
48 bool rw_flag, int regsize, u32 *regval) in mlxreg_io_get_reg() argument
101 *regval |= rol32(val, regsize * i * 8); in mlxreg_io_get_reg()
120 priv->regsize, &regval); in mlxreg_io_attr_show()
149 priv->regsize, &regval); in mlxreg_io_attr_store()
228 priv->regsize = regmap_get_val_bytes(priv->pdata->regmap); in mlxreg_io_probe()
229 if (priv->regsize < 0) in mlxreg_io_probe()
230 return priv->regsize; in mlxreg_io_probe()
/drivers/net/mdio/
Dmdio-octeon.c22 resource_size_t regsize; in octeon_mdiobus_probe() local
39 regsize = resource_size(res_mem); in octeon_mdiobus_probe()
41 if (!devm_request_mem_region(&pdev->dev, mdio_phys, regsize, in octeon_mdiobus_probe()
47 bus->register_base = devm_ioremap(&pdev->dev, mdio_phys, regsize); in octeon_mdiobus_probe()
/drivers/rtc/
Drtc-sh.c98 unsigned long regsize; member
500 rtc->regsize = resource_size(res); in sh_rtc_probe()
503 rtc->regsize, pdev->name); in sh_rtc_probe()
507 rtc->regbase = devm_ioremap(&pdev->dev, rtc->res->start, rtc->regsize); in sh_rtc_probe()