Home
last modified time | relevance | path

Searched refs:regshift (Results 1 – 25 of 108) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dserial.c34 offset <<= up->regshift; in omap_serial_in()
41 offset <<= p->regshift; in omap_serial_outp()
70 .regshift = 2,
78 .regshift = 2,
86 .regshift = 2,
110 serial_platform_data[0].regshift = 0; in omap_serial_init()
111 serial_platform_data[1].regshift = 0; in omap_serial_init()
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_si_mem_io.c21 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()
Dipmi_si_platform.c139 u8 type, slave_addr, addr_source, regsize, regshift; in platform_ipmi_probe() local
183 io.regshift = 0; in platform_ipmi_probe()
184 rv = device_property_read_u8(&pdev->dev, "reg-shift", &regshift); in platform_ipmi_probe()
186 io.regshift = regshift; in platform_ipmi_probe()
232 const __be32 *regsize, *regspacing, *regshift; in of_ipmi_probe() local
267 regshift = of_get_property(np, "reg-shift", &proplen); in of_ipmi_probe()
268 if (regshift && proplen != 4) { in of_ipmi_probe()
287 io.regshift = regshift ? be32_to_cpup(regshift) : 0; in of_ipmi_probe()
367 io.regshift = 0; in acpi_ipmi_probe()
Dipmi_si_port_io.c25 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()
Dipmi_plat_data.c43 if (p->regshift) in ipmi_platform_add()
44 pr[pidx++] = PROPERTY_ENTRY_U8("reg-shift", p->regshift); in ipmi_platform_add()
Dipmi_si_pci.c38 io->regshift = 0; in ipmi_pci_probe_regspacing()
122 io.regshift = 0; in ipmi_pci_probe()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dcapc7117.c85 .regshift = 1,
94 .regshift = 1,
103 .regshift = 1,
112 .regshift = 1,
Dzeus.c243 .regshift = 1,
252 .regshift = 1,
261 .regshift = 1,
270 .regshift = 1,
280 .regshift = 2,
289 .regshift = 2,
298 .regshift = 2,
Dviper.c536 .regshift = 2,
545 .regshift = 2,
554 .regshift = 2,
564 .regshift = 1,
574 .regshift = 1,
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_dw.c94 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr()
132 lsr = readb (p->membase + (UART_LSR << p->regshift)); in dw8250_tx_wait_empty()
153 writeb(value, p->membase + (offset << p->regshift)); in dw8250_serial_out38x()
164 writeb(value, p->membase + (offset << p->regshift)); in dw8250_serial_out()
172 unsigned int value = readb(p->membase + (offset << p->regshift)); in dw8250_serial_in()
182 value = (u8)__raw_readq(p->membase + (offset << p->regshift)); in dw8250_serial_inq()
192 __raw_writeq(value, p->membase + (offset << p->regshift)); in dw8250_serial_outq()
194 __raw_readq(p->membase + (UART_LCR << p->regshift)); in dw8250_serial_outq()
205 writel(value, p->membase + (offset << p->regshift)); in dw8250_serial_out32()
213 unsigned int value = readl(p->membase + (offset << p->regshift)); in dw8250_serial_in32()
[all …]
D8250_hp300.c119 port.regshift = 2; in hp300_setup_serial_console()
136 port.regshift = 1; in hp300_setup_serial_console()
178 uart.port.regshift = 1; in hpdca_init_one()
260 uart.port.regshift = 2; in hp300_8250_init()
D8250_early.c40 offset <<= port->regshift; in serial8250_early_in()
63 offset <<= port->regshift; in serial8250_early_out()
194 port->regshift = 2; in early_omap8250_setup()
D8250_core.c355 unsigned long start = UART_RSA_BASE << up->port.regshift; in serial8250_request_rsa_resource()
356 unsigned int size = 8 << up->port.regshift; in serial8250_request_rsa_resource()
376 unsigned long offset = UART_RSA_BASE << up->port.regshift; in serial8250_release_rsa_resource()
377 unsigned int size = 8 << up->port.regshift; in serial8250_release_rsa_resource()
550 port->regshift = old_serial_port[i].iomem_reg_shift; in serial8250_isa_init_ports()
730 p->regshift = port->regshift; in early_serial_setup()
822 uart.port.regshift = p->regshift; in serial8250_probe()
1006 uart->port.regshift = up->port.regshift; in serial8250_register_8250_port()
/kernel/linux/linux-5.10/arch/x86/platform/ce4100/
Dce4100.c38 offset = offset << p->regshift; in mem_serial_in()
57 offset = offset << p->regshift; in ce4100_mem_serial_in()
78 offset = offset << p->regshift; in ce4100_mem_serial_out()
102 up->regshift = 2; in ce4100_serial_fixup()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dcomedi_8254.c126 unsigned int reg_offset = (reg * i8254->iosize) << i8254->regshift; in __i8254_read()
156 unsigned int reg_offset = (reg * i8254->iosize) << i8254->regshift; in __i8254_write()
579 unsigned int regshift) in __i8254_init() argument
596 i8254->regshift = regshift; in __i8254_init()
619 unsigned int regshift) in comedi_8254_init() argument
621 return __i8254_init(iobase, NULL, osc_base, iosize, regshift); in comedi_8254_init()
636 unsigned int regshift) in comedi_8254_mm_init() argument
638 return __i8254_init(0, mmio, osc_base, iosize, regshift); in comedi_8254_mm_init()
Dcomedi_8254.h82 unsigned int regshift; member
128 unsigned int regshift);
132 unsigned int regshift);
/kernel/linux/linux-5.10/arch/mips/mti-malta/
Dmalta-platform.c37 .regshift = 0, \
53 .regshift = 3,
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dmach-vr1000.c142 .regshift = 0,
150 .regshift = 0,
158 .regshift = 0,
166 .regshift = 0,
/kernel/linux/linux-5.10/arch/arm/mach-footbridge/
Disa.c53 .regshift = 0,
61 .regshift = 0,
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/
Dserial.c28 .regshift = 0, \
38 .regshift = 0, \
/kernel/linux/linux-5.10/arch/mips/bcm47xx/
Dserial.c45 p->regshift = ssb_port->reg_shift; in uart8250_init_ssb()
71 p->regshift = bcma_port->reg_shift; in uart8250_init_bcma()
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/7343/
Dsetup.c76 .regshift = 1,
83 .regshift = 1,
/kernel/linux/linux-5.10/arch/arm/mach-ixp4xx/
Davila-setup.c93 .regshift = 2,
102 .regshift = 2,
Ddsmg600-setup.c141 .regshift = 2,
150 .regshift = 2,
/kernel/linux/linux-5.10/drivers/tty/serial/
Dearlycon.c107 port->regshift = 1; in parse_options()
112 port->regshift = 2; in parse_options()
274 port->regshift = be32_to_cpu(*val); in of_setup_earlycon()

12345