Home
last modified time | relevance | path

Searched +full:dsr +full:- +full:override (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/doc/device-tree-bindings/serial/
H A Dsnps-dw-apb-uart.txt4 - compatible : "snps,dw-apb-uart"
5 - reg : offset and length of the register set for the device.
6 - interrupts : should contain uart interrupt.
10 - clock-frequency : the input clock frequency for the UART.
11 - clocks : phandle to the input clock
14 - clock-names: tuple listing input clock names.
18 - snps,uart-16550-compatible : reflects the value of UART_16550_COMPATIBLE
21 - resets : phandle to the parent reset controller.
22 - reg-shift : quantity to shift the register offsets by. If this property is
24 - reg-io-width : the size (in bytes) of the IO accesses that should be
[all …]
/openbmc/linux/Documentation/devicetree/bindings/serial/
H A Dsnps-dw-apb-uart.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
13 - $ref: serial.yaml#
18 - items:
19 - enum:
20 - renesas,r9a06g032-uart
21 - renesas,r9a06g033-uart
[all …]
/openbmc/linux/arch/riscv/boot/dts/canaan/
H A Dk210.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
6 #include <dt-bindings/clock/k210-clk.h>
7 #include <dt-bindings/pinctrl/k210-fpioa.h>
8 #include <dt-bindings/reset/k210-rst.h>
12 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits
15 #address-cells = <1>;
16 #size-cells = <1>;
17 compatible = "canaan,kendryte-k210";
28 * Since this is a non-ratified draft specification, the kernel does not
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_dw.c1 // SPDX-License-Identifier: GPL-2.0+
99 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr()
101 /* Override any modem control signals if needed */ in dw8250_modify_msr()
103 value |= d->msr_mask_on; in dw8250_modify_msr()
104 value &= ~d->msr_mask_off; in dw8250_modify_msr()
122 if (up->fcr & UART_FCR_ENABLE_FIFO) { in dw8250_force_idle()
123 lsr = p->serial_in(p, UART_LSR); in dw8250_force_idle()
128 (void)p->serial_in(p, UART_RX); in dw8250_force_idle()
133 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr()
137 while (tries--) { in dw8250_check_lcr()
[all …]
/openbmc/linux/drivers/misc/sgi-gru/
H A Dgrumain.c1 // SPDX-License-Identifier: GPL-2.0-or-later
56 /*--------- ASID Management -------------------------------------------
71 * the search for in-use asids only checks contexts with GRUs currently
76 * 0---------------x------------x---------------------x----|
77 * ^-next ^-limit ^-MAX_ASID
86 gru_dbg(grudev, "gid %d\n", gru->gs_gid); in gru_wrap_asid()
88 gru->gs_asid_gen++; in gru_wrap_asid()
97 gru_dbg(grudev, "gid %d, asid 0x%x\n", gru->gs_gid, asid); in gru_reset_asid_limit()
103 gid = gru->gs_gid; in gru_reset_asid_limit()
106 if (!gru->gs_gts[i] || is_kernel_context(gru->gs_gts[i])) in gru_reset_asid_limit()
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dmux.c1 // SPDX-License-Identifier: GPL-2.0+
4 ** serial driver for the Mux console found in some PA-RISC servers.
7 ** (c) Copyright 2002 Hewlett-Packard Company
26 #include <asm/parisc-device.h>
63 #define UART_PUT_CHAR(p, c) __raw_writel((c), (p)->membase + IO_DATA_REG_OFFSET)
64 #define UART_GET_FIFO_CNT(p) __raw_readl((p)->membase + IO_DCOUNT_REG_OFFSET)
67 * get_mux_port_count - Get the number of available ports on the Mux.
73 * are connected. This function can override the IODC and
82 /* If this is the built-in Mux for the K-Class (Eole CAP/MUX), in get_mux_port_count()
86 if(dev->id.hversion == 0x15) in get_mux_port_count()
[all …]
H A Datmel_serial.c1 // SPDX-License-Identifier: GPL-2.0+
18 #include <linux/clk-provider.h>
24 #include <linux/dma-mapping.h>
62 /* Use device name ttyAT, major 204 and minor 154-169. This is necessary if we
71 /* Use device name ttyS, major 4, minor 64-68. This is the usual serial port
165 bool hd_start_rx; /* can start RX during half-duplex operation */
195 { .compatible = "atmel,at91rm9200-usart-serial" },
208 return __raw_readl(port->membase + reg); in atmel_uart_readl()
213 __raw_writel(value, port->membase + reg); in atmel_uart_writel()
218 return __raw_readb(port->membase + ATMEL_US_RHR); in atmel_uart_read_char()
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dark3116.c1 // SPDX-License-Identifier: GPL-2.0+
9 * - implements a driver for the arkmicro ark3116 chipset (vendor=0x6547,
10 * productid=0x0232) (used in a datacable called KQ-U8A)
52 struct usb_device *dev = serial->dev; in is_irda()
53 if (le16_to_cpu(dev->descriptor.idVendor) == 0x18ec && in is_irda()
54 le16_to_cpu(dev->descriptor.idProduct) == 0x3118) in is_irda()
82 result = usb_control_msg(serial->dev, in ark3116_write_reg()
83 usb_sndctrlpipe(serial->dev, 0), in ark3116_write_reg()
97 result = usb_control_msg(serial->dev, in ark3116_read_reg()
98 usb_rcvctrlpipe(serial->dev, 0), in ark3116_read_reg()
[all …]
H A Dftdi_sio.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2009 - 2013
7 * Copyright (C) 1999 - 2001
8 * Greg Kroah-Hartman (greg@kroah.com)
13 * See Documentation/usb/usb-serial.rst for more information on using this
16 * See http://ftdi-usb-sio.sourceforge.net for up to date testing info
24 /* Bill Ryder - bryder@sgi.com - wrote the FTDI_SIO implementation */
28 assimilated :-) */
47 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober …
75 u16 last_set_data_value; /* the last data state set - needed for doing
[all …]
/openbmc/qemu/rust/hw/char/pl011/src/
H A Dlib.rs3 // SPDX-License-Identifier: GPL-2.0-or-later
57 /// ARM DDI 0183G, Table 3-1 p.3-3
82 /// `IrDA` Low-Power Counter Register
121 fn try_from(value: u64) -> Result<Self, Self::Error> { in try_from()
148 //! All PL011 registers are essentially 32-bit wide, but are typed here as
151 //! as a 32-bit register where the unmentioned higher bits are always
162 /// - if the FIFOs are enabled, data written to this location is pushed onto
165 /// - if the FIFOs are not enabled, data is stored in the transmitter
176 /// - if the FIFOs are enabled, the data byte and the 4-bit status (break,
178 /// and overrun) is pushed onto the 12-bit wide receive FIFO
[all …]
/openbmc/linux/drivers/mmc/core/
H A Dmmc_ops.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2006-2007 Pierre Ossman
75 if (!mmc_host_is_spi(card->host)) in __mmc_send_status()
76 cmd.arg = card->rca << 16; in __mmc_send_status()
79 err = mmc_wait_for_cmd(card->host, &cmd, retries); in __mmc_send_status()
106 cmd.arg = card->rca << 16; in _mmc_select_card()
119 return _mmc_select_card(card->host, card); in mmc_select_card()
132 * The presence of the DSR register can be determined from the CSD register,
141 cmd.arg = (host->dsr << 16) | 0xffff; in mmc_set_dsr()
153 * Non-SPI hosts need to prevent chipselect going active during in mmc_go_idle()
[all …]
/openbmc/linux/drivers/tty/
H A Dsynclink_gt.c1 // SPDX-License-Identifier: GPL-1.0+
28 * DBGINFO information - most verbose output
129 MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned");
145 #define dev_to_port(D) (dev_to_hdlc(D)->priv)
495 printk("%s %s data:\n",info->device_name, label); in trace_block()
510 count -= linecount; in trace_block()
521 printk("tbuf_current=%d\n", info->tbuf_current); in dump_tbufs()
522 for (i=0 ; i < info->tbuf_count ; i++) { in dump_tbufs()
524 i, le16_to_cpu(info->tbufs[i].count), le16_to_cpu(info->tbufs[i].status)); in dump_tbufs()
535 printk("rbuf_current=%d\n", info->rbuf_current); in dump_rbufs()
[all …]
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dimmap_85xx.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright 2007-2012 Freescale Semiconductor, Inc.
47 /* Local-Access Registers & ECM Registers */
123 u8 res[4096 - 1 * sizeof(struct fsl_i2c_base)];
298 u32 l2srbar0; /* L2 memory-mapped SRAM base addr 0 */
300 u32 l2srbar1; /* L2 memory-mapped SRAM base addr 1 */
365 u32 ostbd; /* Out-of-Sequence(OOS) TX Buffer Desc */
419 u32 tr64; /* TX & RX 64-byte Frame Counter */
420 u32 tr127; /* TX & RX 65-127 byte Frame Counter */
421 u32 tr255; /* TX & RX 128-255 byte Frame Counter */
[all …]
/openbmc/linux/drivers/dma/ppc4xx/
H A Dadma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2006-2009 DENX Software Engineering.
22 #include <linux/dma-mapping.h>
33 #include <asm/dcr-regs.h>
91 /* This array is used in data-check operations for storing a pattern */
98 /* Since RXOR operations use the common register (MQ0_CF2H) for setting-up
135 switch (chan->device->id) { in print_cb()
145 cdb, chan->device->id, in print_cb()
146 cdb->attr, cdb->opc, le32_to_cpu(cdb->cnt), in print_cb()
147 le32_to_cpu(cdb->sg1u), le32_to_cpu(cdb->sg1l), in print_cb()
[all …]