/linux/Documentation/devicetree/bindings/net/ |
H A D | qcom,ipa.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alex Elder <elder@kernel.org> 18 including the Application Processor (AP) and the modem. The IPA presents 21 and has a distinct interrupt and a separately-defined address space. 28 - | 29 -------- --------- 31 | AP +<---. .----+ Modem | 32 | +--. | | .->+ | [all …]
|
/linux/drivers/net/ipa/ |
H A D | ipa_qmi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 17 * DOC: AP/Modem QMI Handshake 19 * The AP and modem perform a "handshake" at initialization time to ensure 22 * using a service on the modem, and server to service modem requests (and 24 * complete, the AP and modem may begin IPA operation. This occurs 25 * only when the AP IPA driver, modem IPA driver, and IPA microcontroller 28 * The QMI service on the modem expects to receive an INIT_DRIVER request from 29 * the AP, which contains parameters used by the modem during initialization. [all …]
|
H A D | ipa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 25 * struct ipa - IPA information 37 * @modem_route_count: Number of modem entries in a routing table 44 * @mem_addr: DMA address of IPA-local memory space 45 * @mem_virt: Virtual address of IPA-local memory space 49 * @mem: Array of IPA-local memory region descriptors 54 * @zero_addr: DMA address of preallocated zero-filled memory 55 * @zero_virt: Virtual address of preallocated zero-filled memory [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7180-trogdor-lte-sku.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 label = "proximity-wifi-lte"; 17 firmware-name = "qcom/sc7180-trogdor/modem/mba.mbn", 18 "qcom/sc7180-trogdor/modem/qdsp6sw.mbn"; 24 * modem needs to cover certain init steps (GSI init), and 27 qcom,gsi-loader = "modem";
|
/linux/drivers/net/usb/ |
H A D | kalmia.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * USB network interface driver for Samsung Kalmia based LTE USB modem like the 4 * Samsung GT-B3730 and GT-B3710. 27 * The Samsung Kalmia based LTE USB modems have a CDC ACM port for modem control 31 * The stick must first be switched into modem mode by usb_modeswitch 32 * or similar tool. Then the modem gets sent two initialization packets by 34 * connect the modem using AT commands through the ACM port and then use 36 * sent to and from the modem in a proprietary format discovered after watching 37 * the behavior of the windows driver for the modem. 39 * More information about the use of the modem is available in usb_modeswitch [all …]
|
/linux/drivers/hsi/clients/ |
H A D | nokia-modem.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * nokia-modem.c 5 * HSI client driver for Nokia N900 modem. 12 #include <linux/init.h> 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() 53 struct nokia_modem_device *modem = (struct nokia_modem_device *)data; in nokia_modem_rst_ind_isr() local [all …]
|
/linux/drivers/usb/serial/ |
H A D | ipw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * IPWireless 3G UMTS TDD Modem driver (USB connected) 6 * Copyright (C) 2004 Greg Kroah-Hartman <greg@kroah.com> 12 * It was written out of frustration with the IPWireless USB modem 19 * The modem adheres to the "3GPP TS 27.007 AT command set for 3G 21 * http://www.3gpp.org/ftp/Specs/html-info/27007.htm 23 * The code was only tested the IPWireless handheld modem distributed 45 #include "usb-wwan.h" 115 /* Interpretation of modem status lines */ 134 struct usb_device *udev = port->serial->dev; in ipw_open() [all …]
|
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) 12 * Supports full modem status lines, break, hardware flow control. Does not 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() 69 __u32 mcr; /* modem control register value */ 73 __u32 msr; /* modem status register value */ 82 result = usb_control_msg(serial->dev, in ark3116_write_reg() [all …]
|
/linux/sound/pci/hda/ |
H A D | patch_si3054.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * HD audio interface patch for Silicon Labs 3054/5 modem codec 7 * Copyright (c) 2005 Sasha Khapyorsky <sashak@alsa-project.org> 11 #include <linux/init.h> 76 * Modem mixer 89 u16 reg = PRIVATE_REG(kcontrol->private_value); in si3054_switch_get() 90 u16 mask = PRIVATE_MASK(kcontrol->private_value); in si3054_switch_get() 91 uvalue->value.integer.value[0] = (GET_REG(codec, reg)) & mask ? 1 : 0 ; in si3054_switch_get() 99 u16 reg = PRIVATE_REG(kcontrol->private_value); in si3054_switch_put() 100 u16 mask = PRIVATE_MASK(kcontrol->private_value); in si3054_switch_put() [all …]
|
/linux/drivers/net/hamradio/ |
H A D | baycom_par.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * baycom_par.c -- baycom par96 and picpar radio modem driver. 7 * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) 15 * par96: This is a modem for 9600 baud FSK compatible to the G3RUH standard. 16 * The modem does all the filtering and regenerates the receiver clock. 20 * modem connects to the parallel port, hence the name. The modem 22 * polynomial to the PC. This modem is no longer available (at least 23 * from Baycom) and has been replaced by the PICPAR modem (see below). 25 * cq-DL :-). 27 * picpar: This is a redesign of the par96 modem by Henning Rech, DF9IC. The [all …]
|
H A D | baycom_ser_hdx.c | 1 // 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 36 * 0.3 26.04.1997 init code/data tagged 52 #include <linux/init.h> 60 /* --------------------------------------------------------------------- */ 64 /* --------------------------------------------------------------------- */ [all …]
|
H A D | baycom_ser_fdx.c | 1 // 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 D | scc.c | 6 * 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 …]
|
/linux/sound/soc/ti/ |
H A D | ams-delta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ams-delta.c -- SoC audio for Amstrad E3 (Delta) videophone 19 #include <linux/platform_data/asoc-ti-mcbsp.h> 21 #include "omap-mcbsp.h" 61 * Controls, functional after the modem line discipline is activated. 68 /* Selection <-> pin translation */ 102 struct snd_soc_dapm_context *dapm = &card->dapm; in ams_delta_set_audio_mode() 103 struct soc_enum *control = (struct soc_enum *)kcontrol->private_value; in ams_delta_set_audio_mode() 108 if (!cx20442_codec->card->pop_time) in ams_delta_set_audio_mode() 109 return -EUNATCH; in ams_delta_set_audio_mode() [all …]
|
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_port_ctrl_msg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2021-2022, Intel Corporation. 47 return -ENOMEM; in port_ctl_send_msg_to_md() 59 struct ctrl_msg_header *ctrl_msg_h = (struct ctrl_msg_header *)skb->data; in fsm_ee_message_handler() 60 struct device *dev = &ctl->md->t7xx_dev->pdev->dev; in fsm_ee_message_handler() 62 int ret = -EINVAL; in fsm_ee_message_handler() 67 ctrl_msg_h->ex_msg, md_state); in fsm_ee_message_handler() 68 return -EINVAL; in fsm_ee_message_handler() 71 switch (le32_to_cpu(ctrl_msg_h->ctrl_msg_id)) { in fsm_ee_message_handler() 73 if (le32_to_cpu(ctrl_msg_h->ex_msg) != MD_EX_CHK_ID) { in fsm_ee_message_handler() [all …]
|
H A D | t7xx_modem_ops.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2021-2022, Intel Corporation. 48 /* Modem feature query identification code - "ICCC" */ 72 * t7xx_pci_mhccif_isr() - Process MHCCIF interrupts. 78 ** 0 - Success. 79 ** -EINVAL - Failure to get FSM control. 83 struct t7xx_modem *md = t7xx_dev->md; in t7xx_pci_mhccif_isr() 89 ctl = md->fsm_ctl; in t7xx_pci_mhccif_isr() 91 dev_err_ratelimited(&t7xx_dev->pdev->dev, in t7xx_pci_mhccif_isr() 93 return -EINVAL; in t7xx_pci_mhccif_isr() [all …]
|
H A D | t7xx_dpmaif.c | 1 // 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() 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() 59 isr_en_msk->ap_ul_l2intr_en_msk = ul_intr_enable; in t7xx_dpmaif_init_intr() [all …]
|
/linux/sound/soc/codecs/ |
H A D | cx20442.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * cx20442.c -- CX20442 ALSA Soc Audio driver 94 return -EINVAL; in cx20442_read_reg_cache() 96 return cx20442->reg_cache; in cx20442_read_reg_cache() 139 return -EINVAL; in cx20442_pm_to_v253_vls() 149 return (value & (1 << CX20442_AGC)) ? -EINVAL : 0; in cx20442_pm_to_v253_vsp() 160 return -EINVAL; in cx20442_write() 162 /* tty and write pointers required for talking to the modem in cx20442_write() 164 if (!cx20442->tty || !cx20442->tty->ops->write) in cx20442_write() 165 return -EIO; in cx20442_write() [all …]
|
/linux/Documentation/networking/device_drivers/hamradio/ |
H A D | z8530drv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 SCC.C - Linux driver for Z8530 based HDLC cards for AX.25 14 1. ftp://ftp.ccac.rwth-aachen.de/pub/jr/z8530drv-utils_3.0-3.tar.gz 16 2. ftp://ftp.pspt.fi/pub/ham/linux/ax25/z8530drv-utils_3.0-3.tar.gz 35 2. Setup of hardware, MODEM and KISS parameters with sccinit 41 AX.25-HOWTO on how to emulate a KISS TNC on network device drivers. 54 please read 'man insmod' that comes with module-init-tools. 64 of your rc.*-files. This has to be done BEFORE you can 66 and sets the hardware, MODEM and KISS parameters. A sample file is 92 - this is just a delimiter to make sccinit a bit simpler to [all …]
|
/linux/include/linux/ |
H A D | scc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 unsigned char persist; /* Persistence (0-255) as a % */ 50 int init; /* channel exists? */ member 72 struct scc_modem modem; /* modem information */ member
|
/linux/drivers/usb/atm/ |
H A D | cxacru.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * cxacru.c - driver for USB ADSL modems based on 32 #define DRIVER_DESC "Conexant AccessRunner ADSL USB modem driver" 40 #define CMD_MAX_CONFIG ((CMD_PACKET_SIZE / 4 - 1) / 2) 57 /* commands for interaction with the modem through the control channel before 69 /* commands for interaction with the modem through the control channel once 215 return -ENODEV; \ 217 return cxacru_sysfs_showattr_##_type(instance->card_info[_value], buf); \ 247 value = -value; in cxacru_sysfs_showattr_dB() 248 return snprintf(buf, PAGE_SIZE, "-%u.%02u\n", in cxacru_sysfs_showattr_dB() [all …]
|
/linux/drivers/tty/serial/8250/ |
H A D | serial_cs.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) 69 /* Table of multi-port card ID's */ 94 * vers_1 5.0, "Brain Boxes", "2-Port RS232 card", "r6" 98 /* Generic Modem: MD55x (GPRS/EDGE) have 104 uart->port.uartclk = 14745600; in quirk_setup_brainboxes_0104() 122 return -ENODEV; in quirk_post_ibm() 131 struct serial_info *info = link->priv; in quirk_config_nokia() 133 if (info->multi > 1) in quirk_config_nokia() 134 info->multi = 1; in quirk_config_nokia() 139 struct serial_info *info = link->priv; in quirk_wakeup_oxsemi() [all …]
|
/linux/arch/arm/mach-versatile/ |
H A D | integrator_ap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2000-2003 Deep Blue Solutions Ltd 6 #include <linux/init.h> 22 #include "integrator-hardware.h" 23 #include "integrator-cm.h" 76 writel(-1, VA_IC_BASE + IRQ_ENABLE_CLEAR); in irq_resume() 77 writel(-1, VA_IC_BASE + FIQ_ENABLE_CLEAR); in irq_resume() 109 u32 phybase = dev->res.start; in integrator_uart_set_mctrl() 136 pr_err("MODEM: unable to write PL010 UART CTRLS\n"); in integrator_uart_set_mctrl() 142 pr_err("MODEM: unable to write PL010 UART CRTLC\n"); in integrator_uart_set_mctrl() [all …]
|
/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_imem.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-21 Intel Corporation. 30 /* Timeout in 20 msec to wait for the modem to boot up to 70 #define IMEM_IRQ_DONT_CARE (-1) 88 * Modem crash notification configuration. If this value is non-zero then 89 * FEATURE_SET message will be sent to the Modem as a result the Modem will 90 * signal Crash via Execution Stage register. If this value is zero then Modem 91 * will use out-of-band method to notify about it's Crash. 100 #define IPC_CB(skb) ((struct ipc_skb_cb *)((skb)->cb)) 144 * enum ipc_ctype - Enum defining supported channel type needed for control [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | board-ams-delta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-omap1/board-ams-delta.c 5 * Modified from board-generic.c 15 #include <linux/init.h> 19 #include <linux/mtd/nand-gpio.h> 29 #include <linux/platform_data/gpio-omap.h> 30 #include <linux/soc/ti/omap1-mux.h> 33 #include <asm/mach-types.h> 37 #include <linux/platform_data/keypad-omap.h> 41 #include "ams-delta-fiq.h" [all …]
|