Searched refs:regsize (Results 1 – 14 of 14) sorted by relevance
/drivers/char/ipmi/ |
D | ipmi_si_platform.c | 137 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", ®size); 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 …]
|
D | ipmi_plat_data.c | 30 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()
|
D | ipmi_si_port_io.c | 59 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()
|
D | ipmi_si_mem_io.c | 65 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()
|
D | ipmi_si_pci.c | 30 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()
|
D | ipmi_si_hardcode.c | 82 p.regsize = regsizes[i]; in ipmi_hardcode_init_one() 86 p.regsize = regsizes[i]; in ipmi_hardcode_init_one()
|
D | ipmi_plat_data.h | 17 unsigned int regsize; member
|
D | ipmi_si_parisc.c | 20 io.regsize = 1; in ipmi_parisc_probe()
|
D | ipmi_si.h | 50 unsigned int regsize; member
|
D | ipmi_si_hotmod.c | 154 rv = check_hotmod_int_op(curr, o, "rsi", &h->regsize); in parse_hotmod_str()
|
D | ipmi_si_intf.c | 1655 smi_info->io.regsize, in params_show()
|
/drivers/platform/mellanox/ |
D | mlxreg-io.c | 43 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, ®val); in mlxreg_io_attr_show() 149 priv->regsize, ®val); 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/ |
D | mdio-octeon.c | 22 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/ |
D | rtc-sh.c | 98 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()
|