/linux/arch/m68k/include/asm/ |
H A D | mcfuart.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * mcfuart.h -- ColdFire internal UART support defines. 7 * (C) Copyright 1999-2003, Greg Ungerer (gerg@snapgear.com) 23 unsigned int uartclk; /* UART clock rate */ 27 * Define the ColdFire UART register set addresses. 29 #define MCFUART_UMR 0x00 /* Mode register (r/w) */ 31 #define MCFUART_UCSR 0x04 /* Clock Select (w) */ 32 #define MCFUART_UCR 0x08 /* Command register (w) */ 34 #define MCFUART_UTB 0x0c /* Transmit Buffer (w) */ 36 #define MCFUART_UACR 0x10 /* Auxiliary Control (w) */ [all …]
|
H A D | MC68328.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* include/asm-m68knommu/MC68328.h: '328 control registers 8 * Based on include/asm-m68knommu/MC68332.h 26 * 0xFFFFF0xx -- System Control 36 #define SCR_WDTH8 0x01 /* 8-Bit Width Select */ 39 #define SCR_BETEN 0x10 /* Bus-Error Time-Out Enable */ 42 #define SCR_BETO 0x80 /* Bus-Error TimeOut */ 52 * 0xFFFFF1xx -- Chip-Select logic 58 * 0xFFFFF2xx -- Phase Locked Loop (PLL) & Power Control 76 #define GRPBASE_GBA_MASK 0xfff0 /* Group Base Address (bits 31-20) */ [all …]
|
/linux/drivers/extcon/ |
H A D | extcon-max8997.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max8997.c - MAX8997 extcon driver to support MAX8997 MUIC 8 #include <linux/devm-helpers.h> 18 #include <linux/mfd/max8997-private.h> 19 #include <linux/extcon-provider.h> 22 #define DEV_NAME "max8997-muic" 39 { MAX8997_MUICIRQ_ADCError, "muic-ADCERROR" }, 40 { MAX8997_MUICIRQ_ADCLow, "muic-ADCLOW" }, 41 { MAX8997_MUICIRQ_ADC, "muic-ADC" }, 42 { MAX8997_MUICIRQ_VBVolt, "muic-VBVOLT" }, [all …]
|
H A D | extcon-max14577.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max14577.c - MAX14577/77836 extcon driver to support MUIC 9 #include <linux/devm-helpers.h> 16 #include <linux/mfd/max14577-private.h> 17 #include <linux/extcon-provider.h> 47 { MAX14577_IRQ_INT1_ADC, "muic-ADC" }, 48 { MAX14577_IRQ_INT1_ADCLOW, "muic-ADCLOW" }, 49 { MAX14577_IRQ_INT1_ADCERR, "muic-ADCError" }, 50 { MAX14577_IRQ_INT2_CHGTYP, "muic-CHGTYP" }, 51 { MAX14577_IRQ_INT2_CHGDETRUN, "muic-CHGDETRUN" }, [all …]
|
H A D | extcon-max77693.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // extcon-max77693.c - MAX77693 extcon driver to support MAX77693 MUIC 8 #include <linux/devm-helpers.h> 18 #include <linux/mfd/max77693-common.h> 19 #include <linux/mfd/max77693-private.h> 20 #include <linux/extcon-provider.h> 24 #define DEV_NAME "max77693-muic" 30 * extcon-max77693 driver use 'default_init_data' to bring up base operation 35 /* STATUS2 - [3]ChgDetRun */ 39 /* INTMASK1 - Unmask [3]ADC1KM,[0]ADCM */ [all …]
|
/linux/drivers/tty/serial/ |
H A D | sunsab.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * rates to be programmed into the UART. Also eliminated a lot of 13 * Theodore Ts'o <tytso@mit.edu>, 2001-Oct-12 15 * Ported to new 2.5.x UART layer. 50 struct uart_port port; /* Generic UART port */ 52 unsigned long irqflags; /* IRQ state flags */ 53 int dsr; /* Current DSR state */ 75 * This assumes you have a 29.4912 MHz clock for your UART. 94 int timeout = up->tec_timeout; in sunsab_tec_wait() 96 while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout) in sunsab_tec_wait() [all …]
|
/linux/include/linux/ |
H A D | serial_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 ((port)->cons && (port)->cons->index == (port)->line) 37 * struct uart_ops -- interface between serial_core and the driver 55 * This function sets the modem control lines for @port to the state 58 * - %TIOCM_RTS RTS signal. 59 * - %TIOCM_DTR DTR signal. 60 * - %TIOCM_OUT1 OUT1 signal. 61 * - %TIOCM_OUT2 OUT2 signal. 62 * - %TIOCM_LOOP Set the port into loopback mode. 68 * Locking: @port->lock taken. [all …]
|
/linux/drivers/tty/serial/jsm/ |
H A D | jsm.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 49 dev_dbg(pdev->dev, fmt, ##__VA_ARGS__); \ 76 /* Board State Definitions */ 94 #define JSM_VERSION "jsm: 1.2-1-INKERNEL" 95 #define JSM_PARTNUM "40002438_A-INKERNEL" 122 * Per-board information 126 int boardnum; /* Board number: 0-32 */ 148 u32 bd_uart_offset; /* Space between each UART */ 168 #define CH_OPENING 0x0080 /* Port in fragile open state */ 169 #define CH_CLOSING 0x0100 /* Port in fragile close state */ [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | qcom,ipq5018-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,ipq5018-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 18 const: qcom,ipq5018-tlmm 26 gpio-reserved-ranges: 30 gpio-line-names: 34 "-state$": [all …]
|
H A D | qcom,sdx75-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sdx75-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rohit Agarwal <quic_rohiagar@quicinc.com> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sdx75-tlmm 28 gpio-reserved-ranges: 32 gpio-line-names: 36 "-state$": [all …]
|
H A D | qcom,msm8909-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,msm8909-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephan Gerhold <stephan@gerhold.net> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,msm8909-tlmm 28 gpio-reserved-ranges: true 31 "-state$": 33 - $ref: "#/$defs/qcom-msm8909-tlmm-state" [all …]
|
H A D | qcom,sm7150-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm7150-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Danila Tikhonov <danila@jiaxyga.com> 17 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 21 const: qcom,sm7150-tlmm 26 reg-names: 28 - const: west [all …]
|
H A D | qcom,sc8180x-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sc8180x-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sc8180x-tlmm 25 reg-names: 27 - const: west 28 - const: east [all …]
|
H A D | qcom,sm8350-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm8350-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sm8350-tlmm 28 gpio-reserved-ranges: 32 gpio-line-names: 36 "-state$": [all …]
|
H A D | qcom,sm8750-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm8750-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Melody Olvera <quic_molvera@quicinc.com> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sm8750-tlmm 28 gpio-reserved-ranges: 32 gpio-line-names: 36 "-state$": [all …]
|
H A D | qcom,sm8650-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm8650-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sm8650-tlmm 28 gpio-reserved-ranges: 32 gpio-line-names: 36 "-state$": [all …]
|
H A D | qcom,sm8450-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm8450-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sm8450-tlmm 28 gpio-reserved-ranges: 32 gpio-line-names: 36 "-state$": [all …]
|
H A D | qcom,sm8550-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm8550-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Abel Vesa <abel.vesa@linaro.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sm8550-tlmm 28 gpio-reserved-ranges: 32 gpio-line-names: 36 "-state$": [all …]
|
H A D | qcom,sar2130p-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sar2130p-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sar2130p-tlmm 28 gpio-reserved-ranges: 32 gpio-line-names: 36 "-state$": [all …]
|
H A D | qcom,sc8280xp-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sc8280xp-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sc8280xp-tlmm 28 gpio-reserved-ranges: true 31 "-state$": 33 - $ref: "#/$defs/qcom-sc8280xp-tlmm-state" [all …]
|
H A D | qcom,x1e80100-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,x1e80100-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rajendra Nayak <quic_rjendra@quicinc.com> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,x1e80100-tlmm 28 gpio-reserved-ranges: 32 gpio-line-names: 36 "-state$": [all …]
|
H A D | qcom,sm6375-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm6375-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Konrad Dybcio <konradybcio@kernel.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sm6375-tlmm 28 gpio-reserved-ranges: true 31 "-state$": 33 - $ref: "#/$defs/qcom-sm6375-tlmm-state" [all …]
|
H A D | qcom,sm6350-tlmm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm6350-tlmm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Konrad Dybcio <konradybcio@kernel.org> 16 - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# 20 const: qcom,sm6350-tlmm 29 gpio-reserved-ranges: 33 gpio-line-names: 37 "-state$": [all …]
|
/linux/sound/pci/ |
H A D | ens1370.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /* Power-Management-Code ( CONFIG_PM ) 11 * using https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-als [all...] |
/linux/include/linux/mfd/ |
H A D | max8997.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8997.h - Driver for the Maxim 8997/8966 5 * Copyright (C) 2009-2010 Samsung Electrnoics 83 /* Check cable state after certain delay */ 87 * Default usb/uart path whether UART/USB or AUX_UART/AUX_USB 88 * h/w path of COMP2/COMN1 on CONTROL1 register. 121 * [0 - 3]: valid pattern number 124 * [0 - 15]: available cycles 126 * [0 - 255]: available period 154 * [0 - 31]: MAX8997_FLASH_MODE and MAX8997_FLASH_PIN_CONTROL_MODE [all …]
|