Home
last modified time | relevance | path

Searched +full:enable +full:- +full:modem +full:- +full:interrupt (Results 1 – 25 of 219) sorted by relevance

123456789

/openbmc/linux/sound/arm/
H A Dpxa2xx-ac97-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define POCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
11 #define POCR_FSRIE (1 << 1) /* FIFO Service Request Interrupt Enable */
14 #define PICR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
15 #define PICR_FSRIE (1 << 1) /* FIFO Service Request Interrupt Enable */
18 #define MCCR_FEIE (1 << 3) /* FIFO Error Interrupt Enable */
19 #define MCCR_FSRIE (1 << 1) /* FIFO Service Request Interrupt Enable */
23 #define GCR_CLKBPB (1 << 31) /* Internal clock enable */
25 #define GCR_nDMAEN (1 << 24) /* non DMA Enable */
26 #define GCR_CDONE_IE (1 << 19) /* Command Done Interrupt Enable */
[all …]
/openbmc/linux/arch/sh/include/asm/
H A Dsmc37c93x.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * linux/include/asm-sh/smc37c93x.h
59 #define UART_IER 0x2 /* Interrupt Enable Register */
60 #define UART_IIR 0x4 /* Interrupt Ident Register (Read Only) */
63 #define UART_MCR 0x8 /* MODEM Control Register */
65 #define UART_MSR 0xc /* MODEM Status Register */
94 /* Interrupt Enable Register */
96 #define IER_ERDAI 0x0100 /* Enable Received Data Available Interrupt */
97 #define IER_ETHREI 0x0200 /* Enable Transmitter Holding Register Empty Interrupt */
98 #define IER_ELSI 0x0400 /* Enable Receiver Line Status Interrupt */
[all …]
/openbmc/linux/drivers/tty/serial/
H A Ddz.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 #define DZ_TIE 0x4000 /* Transmitter Interrupt Enbl */
22 #define DZ_RIE 0x0040 /* Receive Interrupt Enable */
23 #define DZ_MSE 0x0020 /* Master Scan Enable */
51 #define DZ_MODEM_RTS 0x0800 /* RTS for the modem line (2) */
52 #define DZ_MODEM_DTR 0x0400 /* DTR for the modem line (2) */
55 #define DZ_LNENB 0x000f /* Transmitter Line Enable */
58 * Definitions for the Modem Status Register.
60 #define DZ_MODEM_RI 0x0800 /* RI for the modem line (2) */
61 #define DZ_MODEM_CD 0x0400 /* CD for the modem line (2) */
[all …]
H A Dxilinx_uartps.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2011 - 2014 Xilinx, Inc.
7 * This driver has originally been pushed by Xilinx using a Zynq-branding. This
39 MODULE_PARM_DESC(rx_trigger_level, "Rx trigger level, 1-63 bytes");
44 MODULE_PARM_DESC(rx_timeout, "Rx timeout, 1-255");
49 #define CDNS_UART_IER 0x08 /* Interrupt Enable */
50 #define CDNS_UART_IDR 0x0C /* Interrupt Disable */
51 #define CDNS_UART_IMR 0x10 /* Interrupt Mask */
52 #define CDNS_UART_ISR 0x14 /* Interrupt Status */
56 #define CDNS_UART_MODEMCR 0x24 /* Modem Control */
[all …]
H A Dsc16is7xx.c1 // SPDX-License-Identifier: GPL-2.0+
3 * SC16IS7xx tty serial driver - Copyright (C) 2014 GridPoint
36 #define SC16IS7XX_IER_REG (0x01) /* Interrupt enable */
37 #define SC16IS7XX_IIR_REG (0x02) /* Interrupt Identification */
40 #define SC16IS7XX_MCR_REG (0x04) /* Modem Control */
42 #define SC16IS7XX_MSR_REG (0x06) /* Modem Status */
47 * - only on 75x/76x
50 * - only on 75x/76x
52 #define SC16IS7XX_IOINTENA_REG (0x0c) /* I/O Interrupt Enable
53 * - only on 75x/76x
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dio_16654.h1 /* SPDX-License-Identifier: GPL-2.0+ */
21 // Numbers 0-7 are passed to the Edgeport directly. Numbers 8 and
22 // above are used internally to indicate that we must enable access
27 // the EdgePort firmware -- that includes THR, RHR, IER, FCR.
32 #define IER 1 // ! Interrupt Enable Register
34 #define ISR 2 // Interrupt Status Register (Read)
36 #define MCR 4 // Modem Control Register
38 #define MSR 6 // Modem Status Register
44 #define XON1 12 // Bank2[ 4 ] Xon-1
45 #define XON2 13 // Bank2[ 5 ] Xon-2
[all …]
H A Dmct_u232.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Definitions for MCT (Magic Control Technology) USB-RS232 Converter Driver
7 * This driver is for the device MCT USB-RS232 Converter (25 pin, Model No.
8 * U232-P25) from Magic Control Technology Corp. (there is also a 9 pin
9 * Model No. U232-P9). See http://www.mct.com.tw/products/product_us232.html
11 * of this file. This device was used in the Dlink DSB-S25.
24 /* U232-P25, Sitecom */
27 /* DU-H3SP USB BAY hub */
28 #define MCT_U232_DU_H3SP_PID 0x0200 /* D-Link DU-H3SP USB BAY */
30 /* Belkin badge the MCT U232-P9 as the F5U109 */
[all …]
/openbmc/linux/drivers/net/ipa/
H A Dipa_smp2p.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2022 Linaro Ltd.
9 #include <linux/interrupt.h>
21 * DOC: IPA SMP2P communication with the modem
24 * the modem. The IPA driver uses this for two purposes: to enable the modem
29 * This initialization is done either by Trust Zone or by the modem. In the
30 * latter case, the modem uses an SMP2P interrupt to tell the AP IPA driver
33 * The modem is also able to inquire about the current state of IPA
34 * power by trigging another SMP2P interrupt to the AP. We communicate
[all …]
H A Dipa_power.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2022 Linaro Ltd.
19 * ipa_core_clock_rate() - Return the current IPA core clock rate
27 * ipa_power_modem_queue_stop() - Possibly stop the modem netdev TX queue
33 * ipa_power_modem_queue_wake() - Possibly wake the modem netdev TX queue
39 * ipa_power_modem_queue_active() - Report modem netdev TX queue active
45 * ipa_power_retention() - Control register retention on power collapse
47 * @enable: Whether retention should be enabled or disabled
49 void ipa_power_retention(struct ipa *ipa, bool enable);
[all …]
H A Dipa_main.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2023 Linaro Ltd.
44 * controlled by) other "execution environments" (EEs), such as a modem.
46 * The IPA is the conduit between the AP and the modem that carries network
48 * connection of the modem to external (e.g. LTE) networks.
53 * currently supported. Despite that, some resources--including routing
54 * tables and filter tables--are defined in this driver because they must
60 * well-defined communication layer between the AP subsystem and the IPA
67 * modem network interface is implemented by two pairs of endpoints: a TX
[all …]
H A Dipa_power.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2022 Linaro Ltd.
38 * enum ipa_power_flag - IPA power flags
41 * @IPA_POWER_FLAG_STOPPED: Modem TX is disabled by ipa_start_xmit()
42 * @IPA_POWER_FLAG_STARTED: Modem TX was enabled by ipa_runtime_resume()
54 * struct ipa_power - IPA power management information
58 * @spinlock: Protects modem TX queue enable/disable
82 interconnect = &power->interconnect[0]; in ipa_interconnect_init()
83 for (i = 0; i < power->interconnect_count; i++) { in ipa_interconnect_init()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/serial/
H A Dnvidia,tegra20-hsuart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serial/nvidia,tegra20-hsuart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
16 - enum:
17 - nvidia,tegra20-hsuart
18 - nvidia,tegra30-hsuart
19 - nvidia,tegra186-hsuart
[all …]
/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm.h1 /* SPDX-License-Identifier: GPL-2.0+ */
49 dev_dbg(pdev->dev, fmt, ##__VA_ARGS__); \
94 #define JSM_VERSION "jsm: 1.2-1-INKERNEL"
95 #define JSM_PARTNUM "40002438_A-INKERNEL"
124 * Per-board information
128 int boardnum; /* Board number: 0-32 */
136 * the interrupt routine from each other.
141 u32 irq; /* Interrupt request number */
183 #define RQUEUEMASK 0x1FFF /* 8 K - 1 */
184 #define EQUEUEMASK 0x1FFF /* 8 K - 1 */
[all …]
/openbmc/linux/include/sound/ac97/
H A Dregs.h1 /* SPDX-License-Identifier: GPL-2.0+
31 #define AC97_INT_PAGING 0x24 /* Audio Interrupt & Paging (AC'97 2.3) */
33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */
44 /* range 0x3c-0x58 - MODEM */
45 #define AC97_EXTENDED_MID 0x3c /* Extended Modem ID */
46 #define AC97_EXTENDED_MSTATUS 0x3e /* Extended Modem Status and Control */
58 #define AC97_MISC_AFE 0x56 /* Miscellaneous Modem AFE Status and Control */
59 /* range 0x5a-0x7b - Vendor Specific */
62 /* range 0x60-0x6f (page 1) - extended codec registers */
98 #define AC97_SLOT_MODEM_GPIO 12 /* modem GPIO */
[all …]
/openbmc/linux/drivers/hsi/clients/
H A Dnokia-modem.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * nokia-modem.c
5 * HSI client driver for Nokia N900 modem.
13 #include <linux/interrupt.h>
21 "Enable power management (0=disabled, 1=userland based [default])");
40 struct nokia_modem_device *modem = (struct nokia_modem_device *)data; in do_nokia_modem_rst_ind_tasklet() local
42 if (!modem) in do_nokia_modem_rst_ind_tasklet()
45 dev_info(modem->device, "CMT rst line change detected\n"); in do_nokia_modem_rst_ind_tasklet()
47 if (modem->ssi_protocol) in do_nokia_modem_rst_ind_tasklet()
48 ssip_reset_event(modem->ssi_protocol); in do_nokia_modem_rst_ind_tasklet()
[all …]
/openbmc/u-boot/include/
H A Dns16550.h15 * added support for port on 64-bit bus
31 #define CONFIG_SYS_NS16550_REG_SIZE (-1)
40 unsigned char prepad_##x[CONFIG_SYS_NS16550_REG_SIZE - 1]; \
45 unsigned char postpad_##x[-CONFIG_SYS_NS16550_REG_SIZE - 1];
49 * struct ns16550_platdata - information about a NS16550 port
110 #define UART_FCR_FIFO_EN 0x01 /* Fifo enable */
123 /* Ingenic JZ47xx specific UART-enable bit. */
126 /* Clear & enable FIFOs */
132 * These are the definitions for the Modem Control Register
138 #define UART_MCR_LOOP 0x10 /* Enable loopback test mode */
[all …]
/openbmc/linux/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * baycom_ser_fdx.c -- baycom ser12 fullduplex radio modem driver.
7 * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
15 * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only
18 * for handling the HDLC protocol. The modem connects to a serial port,
23 * This modem usually draws its supply current out of the otherwise unused
24 * TXD pin of the serial port. Thus a contiguous stream of 0x00-bytes
27 * hsk: This is a 4800 baud FSK modem, designed for TNC use. It works fine
28 * in 'baycom-mode' :-) In contrast to the TCM3105 modem, power is
29 * externally supplied. So there's no need to provide the 0x00-byte-stream
[all …]
H A Dbaycom_ser_hdx.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * baycom_ser_hdx.c -- baycom ser12 halfduplex radio modem driver.
7 * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch)
15 * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only
18 * for handling the HDLC protocol. The modem connects to a serial port,
28 * mutes audio input to the modem
31 * irq interrupt line of the port; common values are 4,3
53 #include <linux/interrupt.h>
60 /* --------------------------------------------------------------------- */
64 /* --------------------------------------------------------------------- */
[all …]
H A Dscc.c6 * Please use z8530drv-utils-3.0 with this version.
7 * ------------------
15 * SCC.C - Linux driver for Z8530 based HDLC cards for AX.25 *
28 The code is likely to fail, and so your kernel could --- even
40 For non-Amateur-Radio use please note that you might need a special
42 MODEM.
60 -------------------------------
62 1994-09-13 started to write the driver, rescued most of my own
71 1995-01-31 changed copyright notice to GPL without limitations.
77 1996-10-05 New semester, new driver...
[all …]
/openbmc/linux/sound/pci/
H A Datiixp_modem.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ALSA driver for ATI IXP 150/200/250 AC97 modem controllers
10 #include <linux/interrupt.h>
27 static int index = -2; /* Exclude the first card */
39 static bool enable; variable
40 module_param(enable, bool, 0444);
46 #define ATI_REG_ISR 0x00 /* interrupt source */
63 #define ATI_REG_IER 0x04 /* interrupt enable */
75 #define ATI_REG_IER_MODEM_GPIO_DATA_EN (1U<<14) /* (WO) modem is running */
80 #define ATI_REG_CMD_MODEM_RECEIVE_EN (1U<<1) /* modem only */
[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
96 /// Interrupt FIFO Level Select Register
99 /// Interrupt Mask Set/Clear Register
102 /// Raw Interrupt Status Register
105 /// Masked Interrupt Status Register
108 /// Interrupt Clear 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
[all …]
/openbmc/linux/include/uapi/linux/
H A Dserial_reg.h1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
24 #define UART_IER 1 /* Out: Interrupt Enable Register */
25 #define UART_IER_MSI 0x08 /* Enable Modem status interrupt */
26 #define UART_IER_RLSI 0x04 /* Enable receiver line status interrupt */
27 #define UART_IER_THRI 0x02 /* Enable Transmitter holding register int. */
28 #define UART_IER_RDI 0x01 /* Enable receiver data interrupt */
32 #define UART_IERX_SLEEP 0x10 /* Enable sleep mode */
34 #define UART_IIR 2 /* In: Interrupt ID Register */
36 #define UART_IIR_ID 0x0e /* Mask for the interrupt ID */
37 #define UART_IIR_MSI 0x00 /* Modem status interrupt */
[all …]
/openbmc/u-boot/include/linux/
H A Dserial_reg.h1 /* SPDX-License-Identifier: GPL-2.0+ */
21 #define UART_IER 1 /* Out: Interrupt Enable Register */
22 #define UART_IER_MSI 0x08 /* Enable Modem status interrupt */
23 #define UART_IER_RLSI 0x04 /* Enable receiver line status interrupt */
24 #define UART_IER_THRI 0x02 /* Enable Transmitter holding register int. */
25 #define UART_IER_RDI 0x01 /* Enable receiver data interrupt */
29 #define UART_IERX_SLEEP 0x10 /* Enable sleep mode */
31 #define UART_IIR 2 /* In: Interrupt ID Register */
33 #define UART_IIR_ID 0x0e /* Mask for the interrupt ID */
34 #define UART_IIR_MSI 0x00 /* Modem status interrupt */
[all …]
/openbmc/linux/drivers/phy/motorola/
H A Dphy-mapphone-mdm6600.c1 // SPDX-License-Identifier: GPL-2.0
3 * Motorola Mapphone MDM6600 modem GPIO controlled USB PHY driver
10 #include <linux/interrupt.h>
21 #define PHY_MDM6600_PHY_DELAY_MS 4000 /* PHY enable 2.2s to 3.5s */
24 #define MDM6600_MODEM_IDLE_DELAY_MS 1000 /* modem after USB suspend */
25 #define MDM6600_MODEM_WAKE_DELAY_MS 200 /* modem response after idle */
28 PHY_MDM6600_ENABLE, /* USB PHY enable */
111 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_init()
113 if (!ddata->enabled) in phy_mdm6600_init()
114 return -EPROBE_DEFER; in phy_mdm6600_init()
[all …]
/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_dpmaif.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2021-2022, Intel Corporation.
36 struct dpmaif_isr_en_mask *isr_en_msk = &hw_info->isr_en_mask; in t7xx_dpmaif_init_intr()
41 isr_en_msk->ap_ul_l2intr_en_msk = ul_intr_enable; in t7xx_dpmaif_init_intr()
42 iowrite32(DPMAIF_AP_ALL_L2TISAR0_MASK, hw_info->pcie_base + DPMAIF_AP_L2TISAR0); in t7xx_dpmaif_init_intr()
44 /* Set interrupt enable mask */ in t7xx_dpmaif_init_intr()
45 iowrite32(ul_intr_enable, hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMCR0); in t7xx_dpmaif_init_intr()
46 iowrite32(~ul_intr_enable, hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMSR0); in t7xx_dpmaif_init_intr()
49 ret = ioread32_poll_timeout_atomic(hw_info->pcie_base + DPMAIF_AO_UL_AP_L2TIMR0, in t7xx_dpmaif_init_intr()
56 isr_en_msk->ap_dl_l2intr_err_en_msk = dl_intr_enable; in t7xx_dpmaif_init_intr()
[all …]

123456789