Home
last modified time | relevance | path

Searched +full:mux +full:- +full:int +full:- +full:port (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/linux-6.12.1/drivers/tty/serial/
Dmux.c1 // SPDX-License-Identifier: GPL-2.0+
3 ** mux.c:
4 ** serial driver for the Mux console found in some PA-RISC servers.
7 ** (c) Copyright 2002 Hewlett-Packard Company
9 ** This Driver currently only supports the console (port 0) on the MUX.
11 ** functionality of the MUX.
26 #include <asm/parisc-device.h>
45 static unsigned int port_cnt __read_mostly;
47 struct uart_port port; member
48 int enabled;
[all …]
Ddz.c1 // SPDX-License-Identifier: GPL-2.0
3 * dz.c: Serial port driver for DECstations equipped
12 * [31-AUG-98] triemer
14 * removed base_addr code - moving address assignment to setup.c
16 * [13-NOV-98] triemer fixed code to receive characters
18 * [09-JAN-99] triemer minor fix for schedule - due to removal of timeout
19 * field from "current" - somewhere between 2.1.121 and 2.1.131
21 * [27-JUN-2001] Arnaldo Carvalho de Melo <acme@conectiva.com.br> - cleanups
24 * [07-SEP-99] Bugfixes
26 * [06-Jan-2002] Russell King <rmk@arm.linux.org.uk>
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Deukrea-tlv320.txt5 - compatible : "eukrea,asoc-tlv320"
7 - eukrea,model : The user-visible name of this sound complex.
9 - ssi-controller : The phandle of the SSI controller.
11 - fsl,mux-int-port : The internal port of the i.MX audio muxer (AUDMUX).
13 - fsl,mux-ext-port : The external port of the i.MX audio muxer.
15 Note: The AUDMUX port numbering should start at 1, which is consistent with
21 compatible = "eukrea,asoc-tlv320";
22 eukrea,model = "imx51-eukrea-tlv320aic23";
23 ssi-controller = <&ssi2>;
24 fsl,mux-int-port = <2>;
[all …]
Dfsl,imx-audio-es8328.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl,imx-audio-es8328.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
11 - Sascha Hauer <s.hauer@pengutronix.de>
14 - $ref: sound-card-common.yaml#
18 const: fsl,imx-audio-es8328
22 description: The user-visible name of this sound complex
24 ssi-controller:
[all …]
Dimx-audio-sgtl5000.txt5 - compatible : "fsl,imx-audio-sgtl5000"
7 - model : The user-visible name of this sound complex
9 - ssi-controller : The phandle of the i.MX SSI controller
11 - audio-codec : The phandle of the SGTL5000 audio codec
13 - audio-routing : A list of the connections between audio components.
35 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
37 - mux-ext-port : The external port of the i.MX audio muxer
39 Note: The AUDMUX port numbering should start at 1, which is consistent with
45 compatible = "fsl,imx51-babbage-sgtl5000",
46 "fsl,imx-audio-sgtl5000";
[all …]
/linux-6.12.1/drivers/extcon/
Dextcon-usbc-cros-ec.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/extcon-provider.h>
22 int port_id;
28 unsigned int dr; /* data role */
31 bool mux; /* SuperSpeed (usb3) enabled */ member
32 unsigned int power_type;
35 static const unsigned int usb_type_c_cable[] = {
49 * cros_ec_pd_command() - Send a command to the EC.
60 static int cros_ec_pd_command(struct cros_ec_extcon_info *info, in cros_ec_pd_command()
61 unsigned int command, in cros_ec_pd_command()
[all …]
/linux-6.12.1/include/net/
Dbond_3ad.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved.
51 /* mux machine states(43.4.13 in the 802.3ad standard) */
54 AD_MUX_DETACHED, /* mux machine */
55 AD_MUX_WAITING, /* mux machine */
56 AD_MUX_ATTACHED, /* mux machine */
57 AD_MUX_COLLECTING, /* mux machine */
58 AD_MUX_DISTRIBUTING, /* mux machine */
59 AD_MUX_COLLECTING_DISTRIBUTING /* mux machine */
141 u16 requester_port; /* The number assigned to the port by the requester */
[all …]
/linux-6.12.1/drivers/platform/chrome/
Dcros_ec_typec.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #define DRV_NAME "cros-ec-typec"
33 switch_fwnode = fwnode_find_reference(fwnode, "usb-role-switch", 0); in cros_typec_role_switch_quirk()
37 if (adev && !adev->pld_crc) in cros_typec_role_switch_quirk()
38 adev->pld_crc = to_acpi_device_node(fwnode)->pld_crc; in cros_typec_role_switch_quirk()
44 static int cros_typec_parse_port_props(struct typec_capability *cap, in cros_typec_parse_port_props()
49 int ret; in cros_typec_parse_port_props()
52 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in cros_typec_parse_port_props()
54 dev_err(dev, "power-role not found: %d\n", ret); in cros_typec_parse_port_props()
61 cap->type = ret; in cros_typec_parse_port_props()
[all …]
Dcros_typec_switch.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * This driver provides the ability to configure Type-C muxes and retimers which are controlled by
21 /* Handles and other relevant data required for each port's switches. */
23 int port_num;
29 /* Driver-specific data. */
36 static int cros_typec_cmd_mux_set(struct cros_typec_switch_data *sdata, int port_num, u8 index, in cros_typec_cmd_mux_set()
40 .port = port_num, in cros_typec_cmd_mux_set()
48 return cros_ec_cmd(sdata->ec, 0, EC_CMD_TYPEC_CONTROL, &req, sizeof(req), NULL, 0); in cros_typec_cmd_mux_set()
51 static int cros_typec_get_mux_state(unsigned long mode, struct typec_altmode *alt) in cros_typec_get_mux_state()
53 int ret = -EOPNOTSUPP; in cros_typec_get_mux_state()
[all …]
/linux-6.12.1/sound/soc/fsl/
Dimx-es8328.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include "imx-audmux.h"
30 .name = "headset-gpio",
49 static int imx_es8328_dai_init(struct snd_soc_pcm_runtime *rtd) in imx_es8328_dai_init()
51 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init()
53 int ret = 0; in imx_es8328_dai_init()
55 if (data->jack_gpiod) { in imx_es8328_dai_init()
57 ret = snd_soc_card_jack_new_pins(rtd->card, "Headphone", in imx_es8328_dai_init()
65 headset_jack_gpios[0].desc = data->jack_gpiod; in imx_es8328_dai_init()
78 SND_SOC_DAPM_REGULATOR_SUPPLY("audio-amp", 1, 0),
[all …]
Dimx-sgtl5000.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include "imx-audmux.h"
24 unsigned int clk_frequency;
27 static int imx_sgtl5000_dai_init(struct snd_soc_pcm_runtime *rtd) in imx_sgtl5000_dai_init()
29 struct imx_sgtl5000_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_sgtl5000_dai_init()
30 struct device *dev = rtd->card->dev; in imx_sgtl5000_dai_init()
31 int ret; in imx_sgtl5000_dai_init()
34 data->clk_frequency, SND_SOC_CLOCK_IN); in imx_sgtl5000_dai_init()
51 static int imx_sgtl5000_probe(struct platform_device *pdev) in imx_sgtl5000_probe()
53 struct device_node *np = pdev->dev.of_node; in imx_sgtl5000_probe()
[all …]
Deukrea-tlv320.c1 // SPDX-License-Identifier: GPL-2.0+
3 // eukrea-tlv320.c -- SoC audio for eukrea_cpuimxXX in I2S mode
9 // and on sound/soc/imx/phycore-ac97.c which is
22 #include <asm/mach-types.h>
25 #include "imx-ssi.h"
26 #include "imx-audmux.h"
30 static int eukrea_tlv320_hw_params(struct snd_pcm_substream *substream, in eukrea_tlv320_hw_params()
36 int ret; in eukrea_tlv320_hw_params()
41 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params()
51 if (ret && ret != -EINVAL) { in eukrea_tlv320_hw_params()
[all …]
/linux-6.12.1/Documentation/driver-api/tty/
Dn_gsm.rst10 https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip
13 modems connected to a physical serial port.
19 ----------------
21 #. Initialize the modem in 0710 mux mode (usually ``AT+CMUX=`` command) through
22 its serial port. Depending on the modem used, you can pass more or less
28 #. Configure the mux using ``GSMIOC_GETCONF_EXT``/``GSMIOC_SETCONF_EXT`` ioctl if needed.
30 #. Configure the mux using ``GSMIOC_GETCONF``/``GSMIOC_SETCONF`` ioctl.
32 #. Configure DLCs using ``GSMIOC_GETCONF_DLCI``/``GSMIOC_SETCONF_DLCI`` ioctl for non-defaults.
34 #. Obtain base gsmtty number for the used serial port.
37 (a good starting point is util-linux-ng/sys-utils/ldattach.c)::
[all …]
/linux-6.12.1/drivers/soc/qcom/
Dpmic_glink_altmode.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
14 #include <drm/bridge/aux-bridge.h>
68 unsigned int index;
94 unsigned int owner_id;
107 static int pmic_glink_altmode_request(struct pmic_glink_altmode *altmode, u32 cmd, u32 arg) in pmic_glink_altmode_request()
111 int ret; in pmic_glink_altmode_request()
117 mutex_lock(&altmode->lock); in pmic_glink_altmode_request()
119 req.hdr.owner = cpu_to_le32(altmode->owner_id); in pmic_glink_altmode_request()
125 ret = pmic_glink_send(altmode->client, &req, sizeof(req)); in pmic_glink_altmode_request()
[all …]
/linux-6.12.1/drivers/tty/
Dn_gsm.c1 // SPDX-License-Identifier: GPL-2.0
10 * tty -> DLCI fifo -> scheduler -> GSM MUX data queue ---o-> ldisc
11 * control message -> GSM MUX control queue --´
14 * ldisc -> gsm_queue() -o--> tty
15 * `-> gsm_control_response()
25 * Review the locking/move to refcounts more (mux now moved to an
27 * Use newest tty open/close port helpers and install hooks
30 * Do we need a 'which mux are you' ioctl to correlate mux and tty sets
67 static int debug;
68 module_param(debug, int, 0600);
[all …]
/linux-6.12.1/net/9p/
Dtrans_fd.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2004-2005 by Latchesar Ionkov <lucho@ionkov.net>
7 * Copyright (C) 2004-2008 by Eric Van Hensbergen <ericvh@gmail.com>
8 * Copyright (C) 1997-2002 by Ron Minnich <rminnich@sarnoff.com>
41 * struct p9_fd_opts - per-transport options
44 * @port: port to connect to (trans=tcp)
45 * @privport: port is privileged
49 int rfd;
50 int wfd;
51 u16 port; member
[all …]
/linux-6.12.1/drivers/net/usb/
Dhso.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * Copyright (C) 2008 Greg Kroah-Hartman <gregkh@suse.de>
27 * Interface 1: Diagnostics port, uses bulk only, do not submit urbs until the
28 * port is opened, as this have a huge impact on the network port
31 * Interface 2: Standard modem interface - circuit switched interface, this
83 /* - use *_bit operations on it. (bit indices not values.) */
123 int use_count;
124 int ref_count;
186 int intr_completed;
197 int magic;
[all …]
/linux-6.12.1/drivers/pinctrl/renesas/
Dpinctrl-rza1.c1 // SPDX-License-Identifier: GPL-2.0
11 * This includes SoCs which are sub- or super- sets of this particular line,
22 #include <linux/pinctrl/pinconf-generic.h>
34 #define DRIVER_NAME "pinctrl-rza1"
47 #define RZA1_ADDR(mem, reg, port) ((mem) + (reg) + ((port) * 4)) argument
57 * Use 16 higher bits [31:16] for pin mux function
69 /* Pin mux flags */
74 /* ----------------------------------------------------------------------------
79 * rza1_bidir_pin - describe a single pin that needs bidir flag applied.
87 * rza1_bidir_entry - describe a list of pins that needs bidir flag applied.
[all …]
/linux-6.12.1/drivers/gpu/drm/imx/ipuv3/
Dimx-ldb.c1 // SPDX-License-Identifier: GPL-2.0+
3 * i.MX drm driver - LVDS display bridge
11 #include <linux/media-bus-format.h>
13 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
36 #include "imx-drm.h"
38 #define DRIVER_NAME "imx-ldb"
74 int chno;
77 int mode_valid;
84 return container_of(c, struct imx_ldb_encoder, connector)->channel; in con_to_imx_ldb_ch()
89 return container_of(e, struct imx_ldb_encoder, encoder)->channel; in enc_to_imx_ldb_ch()
[all …]
/linux-6.12.1/drivers/i2c/
Di2c-mux.c4 * Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it>
5 * Copyright (c) 2008-2009 Eurotech S.p.A. <info@eurotech.it>
6 * Copyright (c) 2009-2010 NSN GmbH & Co KG <michael.lawnick.ext@nsn.com>
10 * Supports multi-level mux'ing (mux behind a mux).
13 * i2c-virt.c from Kumar Gala <galak@kernel.crashing.org>
14 * i2c-virtual.c from Ken Harrenstien, Copyright (c) 2004 Google, Inc.
15 * i2c-virtual.c from Brian Kuschak <bkuschak@yahoo.com>
24 #include <linux/i2c-mux.h>
39 static int __i2c_mux_master_xfer(struct i2c_adapter *adap, in __i2c_mux_master_xfer()
40 struct i2c_msg msgs[], int num) in __i2c_mux_master_xfer()
[all …]
/linux-6.12.1/sound/soc/codecs/
Dwcd934x.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
21 #include <sound/soc-dapm.h>
23 #include "wcd-clsh-v2.h"
24 #include "wcd-mbhc-v2.h"
35 /* slave port water mark level
85 {.port = p + WCD934X_RX_START, .shift = p,}
88 {.port = p, .shift = p,}
154 {"RX INT" #id "_1 MIX1 INP0", "RX0", "SLIM RX0"}, \
155 {"RX INT" #id "_1 MIX1 INP0", "RX1", "SLIM RX1"}, \
[all …]
Dwcd9335.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
3 // Copyright (c) 2017-2018, Linaro Limited
19 #include <sound/soc-dapm.h>
26 #include "wcd-clsh-v2.h"
28 #include <dt-bindings/sound/qcom,wcd9335.h>
38 /* slave port water mark level
93 {.port = p + WCD9335_RX_START, .shift = p,}
96 {.port = p, .shift = p,}
99 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25)
[all …]
/linux-6.12.1/drivers/tty/serial/8250/
D8250_bcm7271.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * 8250-core based driver for Broadcom ns16550a UARTs
8 * mux for more accurate high speed baud rate selection and also
20 #include <linux/dma-mapping.h>
158 #define UDMA_RX_BUFS_REG_OFFSET (UDMA_RX_BUF1_PTR_LO - UDMA_RX_BUF0_PTR_LO)
170 #define UDMA_TX_BUFS_REG_OFFSET (UDMA_TX_BUF1_PTR_LO - UDMA_TX_BUF0_PTR_LO)
207 int line;
222 int rx_next_buf;
248 int reg_type, int offset) in udma_readl()
250 return readl(priv->regs[reg_type] + offset); in udma_readl()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dinput_system.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2010-015, Intel Corporation.
95 const unsigned int cfg_ID, in receiver_set_compression()
99 const unsigned int field_id = cfg_ID % N_MIPI_FORMAT_CUSTOM; in receiver_set_compression()
100 const unsigned int ch_id = cfg_ID / N_MIPI_FORMAT_CUSTOM; in receiver_set_compression()
138 field_id - 6) * 5))); in receiver_set_compression()
279 int addr; in input_switch_rst()
299 int addr_offset; in input_switch_cfg()
310 cfg->hsync_data_reg[addr_offset]); in input_switch_cfg()
316 cfg->vsync_data_reg); in input_switch_cfg()
[all …]
/linux-6.12.1/include/linux/
Dparport.h25 unsigned int ctr;
26 unsigned int ecr;
30 unsigned int ctr;
31 unsigned int ecr;
32 unsigned int dcsr;
44 unsigned int dcr;
45 unsigned int ecr;
61 /* IBM PC-style virtual registers. */
86 size_t (*epp_write_data) (struct parport *port, const void *buf,
87 size_t len, int flags);
[all …]

12345678910>>...14