Home
last modified time | relevance | path

Searched +full:dcd +full:- +full:override (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/serial/
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 …]
/Linux-v6.1/arch/riscv/boot/dts/canaan/
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 …]
/Linux-v6.1/drivers/media/rc/
Dserial_ir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * serial_ir - Device driver that records pulse- and pause-lengths
6 * (space-lengths) between DDCD event on a serial port.
8 * Copyright (C) 1996,97 Ralph Metzler <rjkm@thp.uni-koeln.de>
13 * Copyright (C) 2016 Sean Young <sean@mess.org> (port to rc-core)
27 #include <media/rc-core.h>
55 static int sense = -1; /* -1 = auto, 0 = active high, 1 = active low */
144 /* the register is memory-mapped */ in sinp()
154 /* the register is memory-mapped */ in soutp()
189 for (i = 0, output = 0x7f; rawbits > 0; rawbits -= 3) { in send_pulse_irdeo()
[all …]
/Linux-v6.1/drivers/tty/serial/8250/
D8250_dw.c1 // SPDX-License-Identifier: GPL-2.0+
72 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr()
74 /* Override any modem control signals if needed */ in dw8250_modify_msr()
76 value |= d->msr_mask_on; in dw8250_modify_msr()
77 value &= ~d->msr_mask_off; in dw8250_modify_msr()
95 if (up->fcr & UART_FCR_ENABLE_FIFO) { in dw8250_force_idle()
96 lsr = p->serial_in(p, UART_LSR); in dw8250_force_idle()
101 (void)p->serial_in(p, UART_RX); in dw8250_force_idle()
106 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr()
110 while (tries--) { in dw8250_check_lcr()
[all …]
/Linux-v6.1/drivers/tty/serial/
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 …]
/Linux-v6.1/drivers/usb/serial/
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 …]
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 …]
/Linux-v6.1/drivers/usb/chipidea/
Dusbmisc_imx.c1 // SPDX-License-Identifier: GPL-2.0+
86 /* For imx6dql, it is host-only controller, for later imx6, it is otg's */
104 /* The default DM/DP value is pull-down */
165 struct imx_usbmisc *usbmisc = dev_get_drvdata(data->dev); in usbmisc_imx25_init()
169 if (data->index > 1) in usbmisc_imx25_init()
170 return -EINVAL; in usbmisc_imx25_init()
172 spin_lock_irqsave(&usbmisc->lock, flags); in usbmisc_imx25_init()
173 switch (data->index) { in usbmisc_imx25_init()
175 val = readl(usbmisc->base); in usbmisc_imx25_init()
184 if (data->oc_pol_configured && data->oc_pol_active_low) in usbmisc_imx25_init()
[all …]
/Linux-v6.1/drivers/tty/
Dsynclink_gt.c1 // SPDX-License-Identifier: GPL-1.0+
28 * DBGINFO information - most verbose output
130 MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned");
146 #define dev_to_port(D) (dev_to_hdlc(D)->priv)
497 printk("%s %s data:\n",info->device_name, label); in trace_block()
512 count -= linecount; in trace_block()
523 printk("tbuf_current=%d\n", info->tbuf_current); in dump_tbufs()
524 for (i=0 ; i < info->tbuf_count ; i++) { in dump_tbufs()
526 i, le16_to_cpu(info->tbufs[i].count), le16_to_cpu(info->tbufs[i].status)); in dump_tbufs()
537 printk("rbuf_current=%d\n", info->rbuf_current); in dump_rbufs()
[all …]
/Linux-v6.1/drivers/char/pcmcia/
Dsynclink_cs.c83 #define COPY_FROM_USER(error,dest,src,size) error = copy_from_user(dest,src,size) ? -EFAULT : 0
85 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0
197 int if_mode; /* serial interface selection (RS-232, v.35 etc) */
321 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg))
322 #define read_reg(info, reg) inb((info)->io_base + (reg))
324 #define read_reg16(info, reg) inw((info)->io_base + (reg))
325 #define write_reg16(info, reg, val) outw((val), (info)->io_base + (reg))
339 info->imra_value |= mask; in irq_disable()
340 write_reg16(info, CHA + IMR, info->imra_value); in irq_disable()
342 info->imrb_value |= mask; in irq_disable()
[all …]
/Linux-v6.1/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/clk-provider.h>
11 #include <linux/extcon-provider.h>
49 * enum usb_chg_state - Different states involved in USB charger detection.
88 * struct rockchip_chg_det_reg - usb charger detect registers
114 * struct rockchip_usb2phy_port_cfg - usb-phy port configuration.
150 * struct rockchip_usb2phy_cfg - usb-phy configuration.
151 * @reg: the address offset of grf for usb-phy config.
154 * @port_cfgs: usb-phy port configurations.
166 * struct rockchip_usb2phy_port - usb-phy port data.
[all …]