Home
last modified time | relevance | path

Searched +full:sirq +full:- +full:polarity +full:- +full:sense (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/
D8250.yaml3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - devicetree@vger.kernel.org
13 - $ref: /schemas/serial.yaml#
14 - if:
16 - aspeed,sirq-polarity-sense
20 const: aspeed,ast2500-vuart
21 - if:
24 const: mrvl,mmp-uart
27 reg-shift:
[all …]
/kernel/linux/linux-6.6/drivers/tty/serial/8250/
D8250_aspeed_vuart.c1 // SPDX-License-Identifier: GPL-2.0+
62 * to the host on the Host <-> BMC LPC bus. It could be different on a
68 return readb(vuart->port->port.membase + reg); in aspeed_vuart_readb()
73 writeb(val, vuart->port->port.membase + reg); in aspeed_vuart_writeb()
91 return -EINVAL; in aspeed_vuart_set_lpc_address()
130 static int aspeed_vuart_set_sirq(struct aspeed_vuart *vuart, u32 sirq) in aspeed_vuart_set_sirq() argument
134 if (sirq > (ASPEED_VUART_GCRB_HOST_SIRQ_MASK >> ASPEED_VUART_GCRB_HOST_SIRQ_SHIFT)) in aspeed_vuart_set_sirq()
135 return -EINVAL; in aspeed_vuart_set_sirq()
137 sirq <<= ASPEED_VUART_GCRB_HOST_SIRQ_SHIFT; in aspeed_vuart_set_sirq()
138 sirq &= ASPEED_VUART_GCRB_HOST_SIRQ_MASK; in aspeed_vuart_set_sirq()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/serial/
D8250.yaml3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - devicetree@vger.kernel.org
13 - $ref: serial.yaml#
14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
15 - if:
17 - required:
18 - aspeed,lpc-io-reg
19 - required:
20 - aspeed,lpc-interrupts
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_aspeed_vuart.c1 // SPDX-License-Identifier: GPL-2.0+
59 * to the host on the Host <-> BMC LPC bus. It could be different on a
69 addr = (readb(vuart->regs + ASPEED_VUART_ADDRH) << 8) | in lpc_address_show()
70 (readb(vuart->regs + ASPEED_VUART_ADDRL)); in lpc_address_show()
72 return snprintf(buf, PAGE_SIZE - 1, "0x%x\n", addr); in lpc_address_show()
87 writeb(val >> 8, vuart->regs + ASPEED_VUART_ADDRH); in lpc_address_store()
88 writeb(val >> 0, vuart->regs + ASPEED_VUART_ADDRL); in lpc_address_store()
101 reg = readb(vuart->regs + ASPEED_VUART_GCRB); in sirq_show()
105 return snprintf(buf, PAGE_SIZE - 1, "%u\n", reg); in sirq_show()
123 reg = readb(vuart->regs + ASPEED_VUART_GCRB); in sirq_store()
[all …]