Home
last modified time | relevance | path

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

/linux/drivers/char/ipmi/
H A Dipmi_si_platform.c138 u8 type, slave_addr, addr_source, regsize, regshift; in platform_ipmi_probe() local
177 io.regsize = DEFAULT_REGSIZE; in platform_ipmi_probe()
180 io.regsize = regsize; in platform_ipmi_probe()
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
249 regsize = of_get_property(np, "reg-size", &proplen); in of_ipmi_probe()
250 if (regsize && proplen != 4) { in of_ipmi_probe()
274 io.regsize = regsize ? be32_to_cpup(regsize) : DEFAULT_REGSIZE; in of_ipmi_probe()
282 io.addr_data, io.regsize, io.regspacing, io.irq); in of_ipmi_probe()
354 io.regsize = DEFAULT_REGSIZE; in acpi_ipmi_probe()
[all …]
H A 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()
H A 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()
H A 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()
H A Dipmi_si_pci.c30 io->regsize = DEFAULT_REGSIZE; in ipmi_pci_probe_regspacing()
114 io.regsize = DEFAULT_REGSIZE; in ipmi_pci_probe()
122 &pdev->resource[0], io.regsize, io.regspacing, io.irq); in ipmi_pci_probe()
H A Dipmi_plat_data.h17 unsigned int regsize; member
H A Dipmi_si_parisc.c20 io.regsize = 1; in ipmi_parisc_probe()
H A Dipmi_si.h50 unsigned int regsize; member
H A Dipmi_si_hardcode.c82 p.regsize = regsizes[i]; in ipmi_hardcode_init_one()
H A Dipmi_si_hotmod.c154 rv = check_hotmod_int_op(curr, o, "rsi", &h->regsize); in parse_hotmod_str()
H A Dipmi_si_intf.c1656 smi_info->io.regsize, in params_show()
/linux/drivers/platform/mellanox/
H A Dmlxreg-io.c43 int regsize; member
49 bool rw_flag, int regsize, u32 *regval) in mlxreg_io_get_reg() argument
102 *regval |= rol32(val, regsize * i * 8); in mlxreg_io_get_reg()
123 priv->regsize, &regval); in mlxreg_io_attr_show()
157 priv->regsize, &regval); in mlxreg_io_attr_store()
239 priv->regsize = regmap_get_val_bytes(priv->pdata->regmap); in mlxreg_io_probe()
240 if (priv->regsize < 0) in mlxreg_io_probe()
241 return priv->regsize; in mlxreg_io_probe()
/linux/arch/sh/drivers/
H A Dheartbeat.c43 switch (hd->regsize) { in heartbeat_toggle_bit()
118 if (!hd->regsize) { in heartbeat_drv_probe()
121 hd->regsize = 32; in heartbeat_drv_probe()
124 hd->regsize = 16; in heartbeat_drv_probe()
128 hd->regsize = 8; in heartbeat_drv_probe()
/linux/drivers/net/mdio/
H A 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()
/linux/arch/arm64/kernel/
H A Dentry.S38 .macro kernel_ventry, el:req, ht:req, regsize:req, label:req
47 .if \regsize == 64
68 b el\el\ht\()_\regsize\()_\label
100 b el\el\ht\()_\regsize\()_\label
198 .macro kernel_entry, el, regsize = 64
202 .if \regsize == 32
573 SYM_CODE_START_LOCAL(el\el\ht\()_\regsize\()_\label)
574 kernel_entry \el, \regsize
576 bl el\el\ht\()_\regsize\()_\label\()_handler
582 SYM_CODE_END(el\el\ht\()_\regsize\()_\label)
[all …]
H A Dentry-common.c335 #define UNHANDLED(el, regsize, vector) \ argument
336 asmlinkage void noinstr el##_##regsize##_##vector##_handler(struct pt_regs *regs) \
338 const char *desc = #regsize "-bit " #el " " #vector; \
/linux/arch/sh/include/asm/
H A Dheartbeat.h14 unsigned int regsize; member
/linux/drivers/rtc/
H A 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()
/linux/Documentation/driver-api/
H A Dipmi.rst514 rsi=<regsize>