/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 …]
|
H A D | ipa_main.c | 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. 42 * controlled by) other "execution environments" (EEs), such as a modem. 44 * The IPA is the conduit between the AP and the modem that carries network 46 * connection of the modem to external (e.g. LTE) networks. 51 * currently supported. Despite that, some resources--including routing 52 * tables and filter tables--are defined in this driver because they must 58 * well-defined communication layer between the AP subsystem and the IPA 65 * modem network interface is implemented by two pairs of endpoints: a TX [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 …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 comment "Host-side USB support is needed for USB Network Adapter support" 16 tristate "USB CATC NetMate-based Ethernet device support" 35 tristate "USB KLSI KL5USB101-based ethernet device support" 40 ADS USB-10BT 45 D-Link DSB-650C and DU-E10 47 I-O DATA USB-ET/T 51 Mobility USB-Ethernet Adapter 52 NetGear EA-101 61 SmartBridges smartNIC or on Belkin F5U111 devices - you should use [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 …]
|
/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_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_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_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 …]
|
/linux/drivers/phy/motorola/ |
H A D | phy-mapphone-mdm6600.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Motorola Mapphone MDM6600 modem GPIO controlled USB PHY driver 24 #define MDM6600_MODEM_IDLE_DELAY_MS 1000 /* modem after USB suspend */ 25 #define MDM6600_MODEM_WAKE_DELAY_MS 200 /* modem response after idle */ 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() 124 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_on() 126 if (!ddata->enabled) in phy_mdm6600_power_on() 127 return -ENODEV; in phy_mdm6600_power_on() [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/sound/soc/samsung/ |
H A D | aries_wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <linux/input-event-codes.h> 98 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread() 101 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread() 105 time_left_ms -= 20; in headset_det_irq_thread() 109 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread() 113 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread() 115 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread() 127 ret = regulator_disable(priv->reg_headset_micbias); in headset_det_irq_thread() 133 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread() [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 | ueagle-atm.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 6 * Copyright (c) 2005-2007 Matthieu Castet <castet.matthieu@free.fr> 7 * Copyright (c) 2005-2007 Stanislaw Gruszka <stf_xl@wp.pl> 41 dev_dbg(&(usb_dev)->dev, \ 42 "[ueagle-atm dbg] %s: " format, \ 49 dev_dbg(&(usb_dev)->dev, \ 50 "[ueagle-atm vdbg] " format, ##args); \ 60 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args) 63 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args) 66 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##args) [all …]
|
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 …]
|