| /linux/arch/arm/boot/dts/intel/pxa/ |
| H A D | pxa2xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pxa2xx.dtsi - Device Tree Include file for Marvell PXA2xx family SoC 5 * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com> 8 #include "dt-bindings/clock/pxa-clock.h" 11 #define PMMUX(func, pin, af) \ argument 12 mux- ## func { \ 16 #define PMMUX_LPM_LOW(func, pin, af) \ argument 17 mux- ## func { \ 20 low-power-disable; \ 22 #define PMMUX_LPM_HIGH(func, pin, af) \ argument [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | early_printk.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <xen/hvc-console.h> 18 #include <asm/pci-direct.h> 21 #include <linux/usb/xhci-dbgp.h> 33 char c; in early_vga_write() local 36 while ((c = *str++) != '\0' && n-- > 0) { in early_vga_write() 47 current_ypos = max_ypos-1; in early_vga_write() 50 if (c == '\b') { in early_vga_write() 52 current_xpos--; in early_vga_write() 53 } else if (c == '\r') { in early_vga_write() [all …]
|
| /linux/arch/arm64/boot/dts/exynos/ |
| H A D | exynosautov920-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's ExynosAutov920 SoC pin-mux and pin-config device tree source 5 * Copyright (c) 2023 Samsung Electronics Co., Ltd. 7 * Samsung's ExynosAutov920 SoC pin-mux and pin-config options are listed as 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include "exynos-pinctrl.h" 16 gpa0: gpa0-gpio-bank { 17 gpio-controller; 18 #gpio-cells = <2>; 19 interrupt-controller; [all …]
|
| /linux/include/linux/ |
| H A D | ti_wilink_st.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * and also serves the sub-modules of the shared transport driver. 8 * Copyright (C) 2009-2010 Texas Instruments 18 * enum proto-type - The protocol on WiLink chips which share a 19 * common physical interface like UART. 29 * struct st_proto_s - Per Protocol structure from BT/FM/GPS to ST 46 * id is nothing but the 1st byte of the packet in UART frame. 51 * how much to receive, if the data is split across UART frames. 78 * header information used by st_core.c 94 * struct st_data_s - ST core internal structure [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | amlogic,pinctrl-a4.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/amlogic,pinctrl-a4.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Xianwei Zhao <xianwei.zhao@amlogic.com> 13 - $ref: pinctrl.yaml# 18 - enum: 19 - amlogic,pinctrl-a4 20 - amlogic,pinctrl-s6 21 - amlogic,pinctrl-s7 [all …]
|
| /linux/Documentation/sound/kernel-api/ |
| H A D | writing-an-alsa-driver.rst | 11 Architecture) <http://www.alsa-project.org/>`__ driver. The document 16 This document targets people who already have enough C language skills 19 low-level driver implementation details. It only describes the standard 26 ------- 56 -------------- 60 sub-directories contain different modules and are dependent upon the 74 This directory and its sub-directories are for the ALSA sequencer. This 76 as snd-seq-midi, snd-seq-virmidi, etc. They are compiled only when 85 ----------------- 88 to be exported to user-space, or included by several files in different [all …]
|
| /linux/arch/powerpc/platforms/ps3/ |
| H A D | interrupt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2006 Sony Computer Entertainment Inc. 30 * struct ps3_bmp - a per cpu irq status and mask bitmap structure 68 * struct ps3_private - a per cpu data structure 89 * ps3_chip_mask - Set an interrupt mask bit in ps3_bmp. 101 pd->thread_id, d->irq); in ps3_chip_mask() 104 clear_bit(63 - d->irq, &pd->bmp.mask); in ps3_chip_mask() 105 lv1_did_update_interrupt_mask(pd->ppe_id, pd->thread_id); in ps3_chip_mask() 110 * ps3_chip_unmask - Clear an interrupt mask bit in ps3_bmp. 122 pd->thread_id, d->irq); in ps3_chip_unmask() [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btsdio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2007 Cambridge Silicon Radio Ltd. 7 * Copyright (C) 2007 Marcel Holtmann <marcel@holtmann.org> 29 /* Generic Bluetooth Type-A SDIO device */ 32 /* Generic Bluetooth Type-B SDIO device */ 42 struct sdio_func *func; member 65 BT_DBG("%s", data->hdev->name); in btsdio_tx_packet() 67 /* Prepend Type-A header */ in btsdio_tx_packet() 69 skb->data[0] = (skb->len & 0x0000ff); in btsdio_tx_packet() 70 skb->data[1] = (skb->len & 0x00ff00) >> 8; in btsdio_tx_packet() [all …]
|
| H A D | btmtkuart.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2018 MediaTek Inc. 86 ((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 88 !((bdev)->data->flags & BTMTKUART_FLAG_STANDALONE_HW) 102 hlen = sizeof(*hdr) + wmt_params->dlen; in mtk_hci_wmt_sync() 104 err = -EINVAL; in mtk_hci_wmt_sync() 110 err = -ENOMEM; in mtk_hci_wmt_sync() 114 hdr = &wc->hdr; in mtk_hci_wmt_sync() 115 hdr->dir = 1; in mtk_hci_wmt_sync() 116 hdr->op = wmt_params->op; in mtk_hci_wmt_sync() [all …]
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-th1520.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Pinctrl driver for the T-Head TH1520 SoC 5 * Copyright (C) 2023 Emil Renner Berthing <emil.renner.berthing@canonical.com> 26 #include <linux/pinctrl/pinconf-generic.h> 67 return thp->base + 4 * (pin / 2); in th1520_padcfg() 78 return thp->base + 0x400 + 4 * (pin / 8); in th1520_muxcfg() 116 [TH1520_MUX_UART] = "uart", 183 TH1520_PAD(17, AOGPIO_8, UART, AUD, IR, GPIO, ____, ____, 0), 184 TH1520_PAD(18, AOGPIO_9, UART, AUD, IR, GPIO, ____, ____, 0), 220 TH1520_PAD(4, QSPI1_D2_WP, QSPI, ISO, UART, GPIO, FUSE, ____, 0), [all …]
|
| /linux/arch/mips/include/asm/mach-rc32434/ |
| H A D | gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * Copyright (C) 2001, 2002 Ryan Holm <ryan.holmQVist@idt.com> 11 * Copyright (C) 2008 Florian Fainelli <florian@openwrt.org> 20 * func[x]==1 bit = altfunc 36 u32 gpionmien; /* GPIO Non-maskable Interrupt Enable Register */ 39 /* UART GPIO signals */
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp135f-dk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 15 #include "stm32mp13-pinctrl.dtsi" 18 model = "STMicroelectronics STM32MP135F-DK Discovery Board"; 19 compatible = "st,stm32mp135f-dk", "st,stm32mp135"; [all …]
|
| /linux/drivers/pinctrl/aspeed/ |
| H A D | pinmux-aspeed.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* Copyright (C) 2019 IBM Corp. */ 21 * read-only). 23 * SoC Multi-function Pin Expression Examples 24 * ------------------------------------------ 34 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 36 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 38 * C5 is a multi-signal pin (high and low priority signals). Here we touch 41 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- 43 * -----+---------+-----------+-----------------------------+-----------+---------------+---------- [all …]
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hi3670-hikey970.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, HiSilicon Ltd. 6 * Copyright (C) 2018, Linaro Ltd. 10 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 14 #include "hikey970-pinctrl.dtsi" 15 #include "hikey970-pmic.dtsi" 19 compatible = "hisilicon,hi3670-hikey970", "hisilicon,hi3670"; 30 serial6 = &uart6; /* console UART */ 34 stdout-path = "serial6:115200n8"; [all …]
|
| H A D | hi6220-hikey.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015, HiSilicon Ltd. 9 /dts-v1/; 11 #include "hikey-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "hisilicon,hi6220-hikey", "hisilicon,hi6220"; 20 serial1 = &uart1; /* BT UART */ 26 stdout-path = "serial3:115200n8"; 32 * 0x05e0,0000 - 0x05ef,ffff: MCU firmware runtime using 33 * 0x05f0,1000 - 0x05f0,1fff: Reboot reason [all …]
|
| H A D | hi3660-hikey960.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, HiSilicon Ltd. 9 /dts-v1/; 12 #include "hikey960-pinctrl.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/interrupt-controller/irq.h> 16 #include <dt-bindings/usb/pd.h> 20 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660"; 35 stdout-path = "serial6:115200n8"; [all …]
|
| /linux/include/dt-bindings/pinctrl/ |
| H A D | k210-fpioa.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com> 4 * Copyright (c) 2020 Western Digital Corporation or its affiliates. 11 * kendryte-standalone-sdk/lib/drivers/include/fpioa.h 32 #define K210_PCF_UARTHS_RX 18 /* UART High speed Receiver */ 33 #define K210_PCF_UARTHS_TX 19 /* UART High speed Transmitter */ 169 #define K210_PCF_UART1_OUT2 155 /* UART1 User-designated Output 2 */ 170 #define K210_PCF_UART1_OUT1 156 /* UART1 User-designated Output 1 */ 183 #define K210_PCF_UART2_OUT2 169 /* UART2 User-designated Output 2 */ 184 #define K210_PCF_UART2_OUT1 170 /* UART2 User-designated Output 1 */ [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-ft260.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hid-ft260.c - FTDI FT260 USB HID to I2C host bridge 5 * Copyright (c) 2021, Michael Zaidman <michaelz@xsightlabs.com> 11 #include "hid-ids.h" 32 #define FT260_I2C_DATA_REPORT_ID(len) (FT260_I2C_REPORT_MIN + (len - 1) / 4) 39 * reports. To achieve better performance with the multi-report read data 54 * second - USB HID to UART bridge function. 147 u8 chip_mode; /* DCNF0 and DCNF1 status, bits 0-1 */ 148 u8 clock_ctl; /* 0 - 12MHz, 1 - 24MHz, 2 - 48MHz */ 149 u8 suspend_status; /* 0 - not suspended, 1 - suspended */ [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | smc37c669.c | 30 * Copyright (C) 1997 by 60 * er 28-Jan-1997 Initial Entry 69 ** The mask acts as a flag used in mapping actual ISA IRQs (0 - 15) 70 ** to device IRQs (A - H). 84 ** channels to device DMA channels (A - C). 218 ** CR00 - default value 0x28 221 ** 0x - 30ua pull-ups on nIDEEN, nHDCS0, NHDCS1 222 ** 11 - IRQ_H available as IRQ output, 224 ** 10 - nIDEEN, nHDCS0, nHDCS1 used to control IDE 247 ** CR01 - default value 0x9C [all …]
|
| /linux/include/pcmcia/ |
| H A D | cistpl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. 9 * (C) 1999 David A. Hinds 158 u_char func; member 185 /* UART identification */ 193 /* UART capabilities */
|
| /linux/arch/powerpc/include/asm/ |
| H A D | cpm2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 /* Device sub-block and page codes. 72 /* CPM2-specific opcodes (see cpm.h for common opcodes) 153 * get some microcode patches :-). 154 * The parameter ram space for the SMCs is fifty-some bytes, and 161 /* Define enough so I can at least use the serial port as a UART. 188 /* SMC uart mode register (Internal memory map). 203 #define smcr_mk_clen(C) (((C) << 11) & SMCR_CLEN_MASK) argument 207 #define SMCM_BRKE ((unsigned char)0x40) /* When in UART Mode */ 208 #define SMCM_BRK ((unsigned char)0x10) /* When in UART Mode */ [all …]
|
| /linux/drivers/pinctrl/cirrus/ |
| H A D | pinctrl-lochnagar.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and 21 #include <linux/pinctrl/pinconf-generic.h> 30 #include <dt-bindings/pinctrl/lochnagar.h> 32 #include "../pinctrl-utils.h" 36 #define LN_CDC_AIF1_STR "codec-aif1" 37 #define LN_CDC_AIF2_STR "codec-aif2" 38 #define LN_CDC_AIF3_STR "codec-aif3" 39 #define LN_DSP_AIF1_STR "dsp-aif1" 40 #define LN_DSP_AIF2_STR "dsp-aif2" [all …]
|
| /linux/include/uapi/linux/ |
| H A D | acrn.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Userspace interface for /dev/acrn_hsm - ACRN Hypervisor Service Module 8 * Copyright (C) 2021 Intel Corporation. All rights reserved. 31 * struct acrn_mmio_request - Info of a MMIO I/O request 47 * struct acrn_pio_request - Info of a PIO I/O request 63 * struct acrn_pci_request - Info of a PCI I/O request 70 * @func: PCI function value of this PCI I/O request 82 __u32 func; member 87 * struct acrn_io_request - 256-byte ACRN I/O request 103 * FREE -> PENDING -> PROCESSING -> COMPLETE -> FREE -> ... [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6qdl-var-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Support for Variscite VAR-SOM-MX6 Module 7 * Copyright (C) 2014-2016 Variscite, Ltd. 12 /dts-v1/; 15 #include <dt-bindings/clock/imx6qdl-clock.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/sound/fsl-imx-audmux.h> 20 model = "Variscite VAR-SOM-MX6 module"; 21 compatible = "variscite,var-som-imx6q", "fsl,imx6q"; 24 stdout-path = &uart1; [all …]
|
| /linux/drivers/pmdomain/imx/ |
| H A D | scu-pd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2016 Freescale Semiconductor, Inc. 4 * Copyright 2017-2018 NXP 10 * single global power domain and implement the ->attach|detach_dev() 12 * From within the ->attach_dev(), we could get the OF node for 13 * the device that is being attached and then parse the power-domain 18 * Additionally, we need to implement the ->stop() and ->start() 20 * rather than using the above ->power_on|off() callbacks. 23 * 1. The ->attach_dev() of power domain infrastructure still does 32 * Update: Genpd assigns the ->of_node for the virtual device before it [all …]
|