Home
last modified time | relevance | path

Searched +full:modem +full:- +full:init (Results 1 – 25 of 98) sorted by relevance

1234

/linux/drivers/net/ipa/
H A Dipa_qmi.c1 // 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 Dipa.h1 /* 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 Dsc7180-trogdor-lte-sku.dtsi1 // 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 Dkalmia.c1 // 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 Dnokia-modem.c1 // 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 Dipw.c1 // 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 Dark3116.c1 // 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/hda/codecs/
H A Dsi3054.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * HD audio codec driver 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/sound/soc/ti/
H A Dams-delta.c1 // 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-mcbs
[all...]
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_port_ctrl_msg.c1 // 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 Dt7xx_modem_ops.c1 // 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 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()
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 …]
H A Dt7xx_port_proxy.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2021-2022, Intel Corporation.
48 for (i = 0, (p) = &(proxy)->ports[i]; \
49 i < (proxy)->port_count; \
50 i++, (p) = &(proxy)->ports[i])
149 port_conf = port->port_conf; in t7xx_proxy_get_port_by_ch()
150 if (port_conf->rx_ch == ch || port_conf->tx_ch == ch) in t7xx_proxy_get_port_by_ch()
159 u32 status = le32_to_cpu(ccci_h->status); in t7xx_port_next_rx_seq_num()
166 if (!assert_bit || port->seq_nums[MTK_RX] == INVALID_SEQ_NUM) in t7xx_port_next_rx_seq_num()
169 if (seq_num != port->seq_nums[MTK_RX]) in t7xx_port_next_rx_seq_num()
[all …]
/linux/sound/soc/codecs/
H A Dcx20442.c1 // 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/drivers/usb/atm/
H A Dueagle-atm.c1 // 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>
42 dev_dbg(&(usb_dev)->dev, \
43 "[ueagle-atm dbg] %s: " format, \
50 dev_dbg(&(usb_dev)->dev, \
51 "[ueagle-atm vdbg] " format, ##args); \
61 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args)
64 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args)
67 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##args)
[all …]
H A Dcxacru.c1 // 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 Dserial_cs.c1 // 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/drivers/net/wwan/iosm/
H A Diosm_ipc_imem.h1 /* 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 …]
H A Diosm_ipc_port.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-21 Intel Corporation.
16 ipc_port->channel = ipc_imem_sys_port_open(ipc_port->ipc_imem, in ipc_port_ctrl_start()
17 ipc_port->chl_id, in ipc_port_ctrl_start()
19 if (!ipc_port->channel) in ipc_port_ctrl_start()
20 ret = -EIO; in ipc_port_ctrl_start()
30 ipc_imem_sys_port_close(ipc_port->ipc_imem, ipc_port->channel); in ipc_port_ctrl_stop()
33 /* transfer control data to modem */
47 /* Port init func */
58 ipc_port->dev = ipc_imem->dev; in ipc_port_init()
[all …]
H A Diosm_ipc_imem.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-21 Intel Corporation.
20 return chnl->ctype == IPC_CTYPE_WWAN && in ipc_imem_check_wwan_ips()
21 chnl->if_id == IPC_MEM_MUX_IP_CH_IF_ID; in ipc_imem_check_wwan_ips()
32 ipc_imem->device_sleep = state; in ipc_imem_msg_send_device_sleep()
34 return ipc_protocol_tq_msg_send(ipc_imem->ipc_protocol, in ipc_imem_msg_send_device_sleep()
42 if (pipe->nr_of_queued_entries >= pipe->max_nr_of_queued_entries) in ipc_imem_dl_skb_alloc()
45 return ipc_protocol_dl_td_prepare(ipc_imem->ipc_protocol, pipe); in ipc_imem_dl_skb_alloc()
59 struct ipc_pipe *pipe = &ipc_imem->channels[i].dl_pipe; in ipc_imem_tq_td_alloc_timer()
61 if (!pipe->is_open || pipe->nr_of_queued_entries > 0) in ipc_imem_tq_td_alloc_timer()
[all …]
/linux/arch/arm/mach-versatile/
H A Dintegrator_ap.c1 // 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()
113 u32 phybase = dev->res.start; in integrator_uart_set_mctrl()
140 pr_err("MODEM: unable to write PL010 UART CTRLS\n"); in integrator_uart_set_mctrl()
146 pr_err("MODEM: unable to write PL010 UART CRTLC\n"); in integrator_uart_set_mctrl()
[all …]
/linux/drivers/usb/class/
H A Dcdc-acm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * cdc-acm.c
24 #include <linux/init.h>
42 #include "cdc-acm.h"
72 mutex_lock(&acm->mutex); in acm_get_by_minor()
73 if (acm->disconnected) { in acm_get_by_minor()
74 mutex_unlock(&acm->mutex); in acm_get_by_minor()
77 tty_port_get(&acm->por in acm_get_by_minor()
[all...]
/linux/drivers/tty/serial/
H A Dpmac_zilog.c1 // SPDX-License-Identifier: GPL-2.0+
17 * 2004-08-06 Harald Welte <laforge@gnumonks.org>
18 * - Enable BREAK interrupt
19 * - Add support for sysreq
21 * TODO: - Add DMA support
22 * - Defer port shutdown to a few seconds after close
23 * - maybe put something right into uap->clk_divisor
39 #include <linux/init.h>
80 #define pmz_debug(fmt, arg...) pr_debug("ttyPZ%d: " fmt, uap->port.line, ## arg)
81 #define pmz_error(fmt, arg...) pr_err("ttyPZ%d: " fmt, uap->port.line, ## arg)
[all …]
/linux/Documentation/driver-api/tty/
H A Dtty_port.rst1 .. SPDX-License-Identifier: GPL-2.0
21 Init & Destroy
22 --------------
24 .. kernel-doc:: drivers/tty/tty_port.c
29 -------------------------
31 .. kernel-doc:: drivers/tty/tty_port.c
37 ---------------
39 .. kernel-doc:: drivers/tty/tty_port.c
43 -----------
45 .. kernel-doc:: include/linux/tty_port.h
[all …]
/linux/include/sound/
H A Dac97_codec.h1 /* SPDX-License-Identifier: GPL-2.0+
24 /* specific - SigmaTel */
33 #define AC97_SIGMATEL_MULTICHN 0x74 /* Multi-Channel programming */
37 /* specific - Analog Devices */
47 /* specific - Cirrus Logic */
56 /* specific - Conexant */
64 /* specific - ALC */
106 /* specific - Yamaha YMF7x3 */
110 /* specific - C-Media */
116 /* specific - wolfson */
[all …]

1234