| /linux/arch/m68k/atari/ | 
| H A D | debug.c | 6  * Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek31 	.index	= -1,
 37 	while (!(st_mfp.trn_stat & 0x80))	/* wait for tx buf empty */  in ata_mfp_out()
 45 	while (count--) {  in atari_mfp_console_write()
 56 	} while (!(atari_scc.cha_b_ctrl & 0x04)); /* wait for tx buf empty */  in ata_scc_out()
 64 	while (count--) {  in atari_scc_console_write()
 81 	while (count--) {  in atari_midi_console_write()
 91 	/* This a some-seconds timeout in case no printer is connected */  in ata_par_out()
 94 	while ((st_mfp.par_dt_reg & 1) && --i) /* wait for BUSY == L */  in ata_par_out()
 97 		return 0;  in ata_par_out()
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/w1/ | 
| H A D | w1-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 4 $id: http://devicetree.org/schemas/w1/w1-uart.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: UART 1-Wire Bus
 10   - Christoph Winklhofer <cj.winklhofer@gmail.com>
 13   UART 1-wire bus. Utilizes the UART interface via the Serial Device Bus
 14   to create the 1-Wire timing patterns.
 16   The UART peripheral must support full-duplex and operate in open-drain
 18   baud-rate and transmitted byte, which corresponds to a 1-Wire read bit,
 [all …]
 
 | 
| /linux/drivers/tty/serial/ | 
| H A D | ip22zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)  argument
 36 #define	FLAG	0x7e
 38 /* Write Register 0 */
 39 #define	R0	0		/* Register selects */
 56 #define	NULLCODE	0	/* Null Code */
 57 #define	POINT_HIGH	0x8	/* Select upper half of registers */
 58 #define	RES_EXT_INT	0x10	/* Reset Ext. Status Interrupts */
 59 #define	SEND_ABORT	0x18	/* HDLC Abort */
 60 #define	RES_RxINT_FC	0x20	/* Reset RxINT on First Character */
 [all …]
 
 | 
| H A D | zs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */34 	u8		regs[ZS_NUM_REGS];	/* Channel write registers.  */
 38  * Per-SCC state for locking and the interrupt handler.
 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)  argument
 59 /* Write Register 0 (Command) */
 60 #define R0		0	/* Register selects */
 77 #define NULLCODE	0	/* Null Code */
 78 #define POINT_HIGH	0x8	/* Select upper half of registers */
 79 #define RES_EXT_INT	0x10	/* Reset Ext. Status Interrupts */
 80 #define SEND_ABORT	0x18	/* HDLC Abort */
 [all …]
 
 | 
| H A D | sunzilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */18 #define	R7p		16 /* Written as R7 with P15 bit 0 set */
 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)  argument
 28 #define	FLAG	0x7e
 30 /* Write Register 0 */
 31 #define	R0	0		/* Register selects */
 48 #define	NULLCODE	0	/* Null Code */
 49 #define	POINT_HIGH	0x8	/* Select upper half of registers */
 50 #define	RES_EXT_INT	0x10	/* Reset Ext. Status Interrupts */
 51 #define	SEND_ABORT	0x18	/* HDLC Abort */
 [all …]
 
 | 
| H A D | pmac_zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */25 	 * of "escc" node (ie. ch-a or ch-b)
 37 #define PMACZILOG_FLAG_IS_CONS		0x00000001
 38 #define PMACZILOG_FLAG_IS_KGDB		0x00000002
 39 #define PMACZILOG_FLAG_MODEM_STATUS	0x00000004
 40 #define PMACZILOG_FLAG_IS_CHANNEL_A	0x00000008
 41 #define PMACZILOG_FLAG_REGS_HELD	0x00000010
 42 #define PMACZILOG_FLAG_TX_STOPPED	0x00000020
 43 #define PMACZILOG_FLAG_TX_ACTIVE	0x00000040
 44 #define PMACZILOG_FLAG_IS_IRDA		0x00000100
 [all …]
 
 | 
| H A D | sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.03  * SuperH on-chip serial module support.  (SCI with no FIFO / with FIFO)
 5  *  Copyright (C) 2002 - 2011  Paul Mundt
 9  * based off of the old drivers/char/sh-sci.c by:
 26 #include <linux/dma-mapping.h>
 59 #include "sh-sci.h"
 60 #include "sh-sci-common.h"
 63 	((port)->irqs[SCIx_ERI_IRQ] ==	\
 64 	 (port)->irqs[SCIx_RXI_IRQ]) ||	\
 65 	((port)->irqs[SCIx_ERI_IRQ] &&	\
 [all …]
 
 | 
| /linux/drivers/usb/serial/ | 
| H A D | ark3116.c | 1 // 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)
 44 	{ USB_DEVICE(0x6547, 0x0232) },
 45 	{ USB_DEVICE(0x18ec, 0x3118) },		/* USB to IrDA adapter */
 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()
 56 	return 0;  in is_irda()
 67 	__u32			hcr;	/* handshake control register (0x8)
 [all …]
 
 | 
| H A D | generic.c | 1 // SPDX-License-Identifier: GPL-2.05  * Copyright (C) 2010 - 2013 Johan Hovold (jhovold@gmail.com)
 6  * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com)
 26 static __u16 vendor  = 0x05f9;
 27 static __u16 product = 0xffff;
 29 module_param(vendor, ushort, 0);
 32 module_param(product, ushort, 0);
 40 	struct device *dev = &serial->interface->dev;  in usb_serial_generic_probe()
 42 	dev_info(dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n");  in usb_serial_generic_probe()
 43 	dev_info(dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n");  in usb_serial_generic_probe()
 [all …]
 
 | 
| H A D | cypress_m8.c | 1 // SPDX-License-Identifier: GPL-2.0+10  * See Documentation/usb/usb-serial.rst for more information on using this
 51 /* write buffer size defines */
 88 	packet_format_2   /* b0[7:3]:status, b0[2:0]:payload count */
 98 	struct kfifo write_fifo;	   /* write fifo */
 99 	int write_urb_in_use;		   /* write urb in use indicator */
 100 	int write_urb_interval;            /* interval to use for write urb */
 104 	__u8 current_status;	   	   /* received from last read - info on dsr,cts,cd,ri,etc */
 106 	__u8 rx_flags;			   /* throttling - used from whiteheat/ftdi_sio */
 152 	.write =			cypress_write,
 [all …]
 
 | 
| /linux/drivers/soundwire/ | 
| H A D | stream.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)2 // Copyright(c) 2015-18 Intel Corporation.
 5  *  stream.c - SoundWire Bus stream operations.
 25  * in register. The index 15 has dummy value 0 in order to fill hole.
 28 			96, 100, 120, 128, 150, 160, 250, 0,
 39 	for (i = 0; i < SDW_FRAME_COLS; i++) {  in sdw_find_col_index()
 45 	return 0;  in sdw_find_col_index()
 53 	for (i = 0; i < SDW_FRAME_ROWS; i++) {  in sdw_find_row_index()
 59 	return 0;  in sdw_find_row_index()
 72 	if (bus->params.next_bank) {  in _sdw_program_slave_port_params()
 [all …]
 
 | 
| H A D | intel_ace2x.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)16 #include <sound/hda-mlink.h>
 17 #include <sound/hda-sdw-bpt.h>
 26 	struct sdw_stream_config sconfig = {0};  in sdw_slave_bpt_stream_add()
 27 	struct sdw_port_config pconfig = {0};  in sdw_slave_bpt_stream_add()
 33 	sconfig.bps = 32; /* this is required for BPT/BRA */  in sdw_slave_bpt_stream_add()
 37 	pconfig.num = 0;  in sdw_slave_bpt_stream_add()
 38 	pconfig.ch_mask = BIT(0);  in sdw_slave_bpt_stream_add()
 42 		dev_err(&slave->dev, "%s: failed: %d\n", __func__, ret);  in sdw_slave_bpt_stream_add()
 50 	struct sdw_cdns *cdns = &sdw->cdns;  in intel_ace2x_bpt_open_stream()
 [all …]
 
 | 
| H A D | qcom.c | 1 // SPDX-License-Identifier: GPL-2.025 #define SWRM_COMP_SW_RESET					0x008
 26 #define SWRM_COMP_STATUS					0x014
 27 #define SWRM_LINK_MANAGER_EE					0x018
 29 #define SWRM_FRM_GEN_ENABLED					BIT(0)
 30 #define SWRM_VERSION_1_3_0					0x01030000
 31 #define SWRM_VERSION_1_5_1					0x01050001
 32 #define SWRM_VERSION_1_7_0					0x01070000
 33 #define SWRM_VERSION_2_0_0					0x02000000
 34 #define SWRM_COMP_HW_VERSION					0x00
 [all …]
 
 | 
| /linux/include/linux/ | 
| H A D | slimbus.h | 1 // SPDX-License-Identifier: GPL-2.03  * Copyright (c) 2011-2017, The Linux Foundation
 16  * struct slim_eaddr - Enumeration address for a SLIMbus device
 30  * enum slim_device_status - slim device status
 36 	SLIM_DEVICE_STATUS_DOWN = 0,
 44  * struct slim_device - Slim device handle.
 49  * @laddr: 1-byte Logical address of this device.
 56  * Pointer to this structure is used by client-driver as a handle.
 72  * struct slim_driver - SLIMbus 'generic device' (slave) device driver
 78  *	- The device reports present and gets a laddr assigned
 [all …]
 
 | 
| /linux/sound/soc/atmel/ | 
| H A D | mchp-spdiftx.c | 1 // SPDX-License-Identifier: GPL-2.022  * ---- S/PDIF Transmitter Controller Register map ----
 24 #define SPDIFTX_CR			0x00	/* Control Register */
 25 #define SPDIFTX_MR			0x04	/* Mode Register */
 26 #define SPDIFTX_CDR			0x0C	/* Common Data Register */
 28 #define SPDIFTX_IER			0x14	/* Interrupt Enable Register */
 29 #define SPDIFTX_IDR			0x18	/* Interrupt Disable Register */
 30 #define SPDIFTX_IMR			0x1C	/* Interrupt Mask Register */
 31 #define SPDIFTX_ISR			0x20	/* Interrupt Status Register */
 33 #define SPDIFTX_CH1UD(reg)	(0x50 + (reg) * 4)	/* User Data 1 Register x */
 [all …]
 
 | 
| /linux/Documentation/arch/m68k/ | 
| H A D | kernel-options.rst | 9 Author: Roman.Hodek@informatik.uni-erlangen.de (Roman Hodek)11 Update: jds@kom.auc.dk (Jes Sorensen) and faq@linux-m68k.org (Chris Lawrence)
 13 0) Introduction
 58 ----------
 76   /dev/ram: -> 0x0100 (initial ramdisk)
 77   /dev/hda: -> 0x0300 (first IDE disk)
 78   /dev/hdb: -> 0x0340 (second IDE disk)
 79   /dev/sda: -> 0x0800 (first SCSI disk)
 80   /dev/sdb: -> 0x0810 (second SCSI disk)
 81   /dev/sdc: -> 0x0820 (third SCSI disk)
 [all …]
 
 | 
| /linux/Documentation/networking/ | 
| H A D | eql.rst | 1 .. SPDX-License-Identifier: GPL-2.07   Simon "Guru Aleph-Null" Janes, simon@ncm.com
 12   that lets you load-balance IP serial links (SLIP or uncompressed PPP)
 27   together to work as one point-to-point link to increase your
 32   The eql driver has only been tested with the Livingston PortMaster-2e
 33   terminal server. I do not know if other terminal servers support load-
 35   almost as well as the eql driver seems to do it (-- Unfortunately, in
 36   my testing so far, the Livingston PortMaster 2e's load-balancing is a
 40   TCP implementation is pretty fast though.--)
 44   a load-balancing client 75% of the cost of the second line and 50% of
 [all …]
 
 | 
| /linux/drivers/slimbus/ | 
| H A D | slimbus.h | 1 /* SPDX-License-Identifier: GPL-2.0 */3  * Copyright (c) 2011-2017, The Linux Foundation
 19 #define SLIM_MSG_MT_CORE			0x0
 20 #define SLIM_MSG_MT_DEST_REFERRED_USER		0x2
 21 #define SLIM_MSG_MT_SRC_REFERRED_USER		0x6
 25  * BYTE 0: MT[7:5] RL[4:0]
 26  * BYTE 1: RSVD[7] MC[6:0]
 27  * BYTE 2: RSVD[7:6] DT[5:4] PI[3:0]
 29 #define SLIM_MSG_MT_MASK	GENMASK(2, 0)
 31 #define SLIM_MSG_RL_MASK	GENMASK(4, 0)
 [all …]
 
 | 
| /linux/include/linux/soundwire/ | 
| H A D | sdw.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */2 /* Copyright(c) 2015-17 Intel Corporation. */
 33 #define SDW_ENUM_DEV_NUM		0
 47  * fill hole with 0, one more dummy entry is added
 63 	SDW_PORT_DIRN_SINK = 0,
 78 #define SDW_PORT_FLOW_MODE_ISOCH	0
 744 unsigned int bps; global()  member
 909 unsigned int bps; global()  member
 945 unsigned int bps; global()  member
 [all...]
 | 
| /linux/drivers/media/platform/mediatek/vcodec/encoder/venc/ | 
| H A D | venc_vp8_if.c | 1 // SPDX-License-Identifier: GPL-2.020 #define VENC_BITSTREAM_FRAME_SIZE 0x0098
 21 #define VENC_BITSTREAM_HEADER_LEN 0x00e8
 27  * enum venc_vp8_vpu_work_buf - vp8 encoder buffer index
 47  * struct venc_vp8_vpu_config - Structure for vp8 encoder configuration
 48  *                              AP-W/R : AP is writer/reader on this item
 49  *                              VPU-W/R: VPU is write/reader on this item
 51  * @bitrate: target bitrate (in bps)
 61  * @ts_mode: temporal scalability mode (0: disable, 1: enable)
 62  *	     support three temporal layers - 0: 7.5fps 1: 7.5fps 2: 15fps.
 [all …]
 
 | 
| /linux/sound/soc/codecs/ | 
| H A D | rt1017-sdca-sdw.c | 1 // SPDX-License-Identifier: GPL-2.0-only3 // rt1017-sdca-sdw.c -- rt1017 SDCA ALSA SoC amplifier audio driver
 18 #include <sound/soc-dapm.h>
 22 #include "rt1017-sdca-sdw.h"
 27 	case 0x2f55:  in rt1017_sdca_readable_register()
 28 	case 0x3206:  in rt1017_sdca_readable_register()
 29 	case 0xc000:  in rt1017_sdca_readable_register()
 30 	case 0xc001:  in rt1017_sdca_readable_register()
 31 	case 0xc022:  in rt1017_sdca_readable_register()
 32 	case 0xc030:  in rt1017_sdca_readable_register()
 [all …]
 
 | 
| /linux/Documentation/admin-guide/ | 
| H A D | cgroup-v2.rst | 1 .. _cgroup-v2:11 conventions of cgroup v2.  It describes all userland-visible aspects
 14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`.
 22      1-1. Terminology
 23      1-2. What is cgroup?
 25      2-1. Mounting
 26      2-2. Organizing Processes and Threads
 27        2-2-1. Processes
 28        2-2-2. Threads
 29      2-3. [Un]populated Notification
 [all …]
 
 | 
| /linux/drivers/net/wan/ | 
| H A D | farsync.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */5  *      Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards
 23  *      used with the FarSite T-Series cards (T2P & T4P) running in the high
 30  *      purpose (FarSite T-series).
 63  *      Used to write a block of data (firmware etc) before the card is running
 104         unsigned char  internalClock;   /* 1 => internal clock, 0 => external */
 105         unsigned int   lineSpeed;       /* Speed in bps */
 108         unsigned short clockStatus;     /* lsb: 0=> present, 1=> absent */
 109         unsigned short cableStatus;     /* lsb: 0=> present, 1=> absent */
 112         unsigned char  transparentMode; /* Not used always 0 */
 [all …]
 
 | 
| /linux/include/uapi/linux/ | 
| H A D | wireless.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */7  * Authors :	Jean Tourrilhes - HPL - <jt@hpl.hp.com>
 8  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
 16  * Initial APIs (1996 -> onward) :
 17  * -----------------------------
 44  * New driver API (2002 -> onward) :
 45  * -------------------------------
 53  * Wireless Events (2002 -> onward) :
 54  * --------------------------------
 59  * --------------
 [all …]
 
 | 
| /linux/include/sound/ | 
| H A D | hda_codec.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */75 #define HDA_CODEC_ID_SKIP_PROBE		0x00000001
 76 #define HDA_CODEC_ID_GENERIC_HDMI	0x00000101
 77 #define HDA_CODEC_ID_GENERIC		0x00000201
 83 	HDA_CODEC_ID_REV_MODEL(_vid, 0, _name, _model)
 85 	HDA_CODEC_ID_REV_MODEL(_vid, _rev, _name, 0)
 [all...]
 |