Home
last modified time | relevance | path

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

12345678910

/linux/drivers/tty/serial/
H A 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 …]
/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
H A 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 …]
H A 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/drivers/extcon/
H A 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/include/net/
H A 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/sound/soc/fsl/
H A 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 …]
H A 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 …]
H A 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/Documentation/driver-api/tty/
H A 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/drivers/tty/
H A Dn_gsm.c1 // SPDX-License-Identifier: GPL-2.0
10 * tty -> DLCI fifo -> scheduler -> GSM MUX data queue ---
167 struct tty_port port; /* The tty bound to this DLCI if there is one */ global() member
1802 struct tty_port *port; gsm_control_rls() local
2402 struct tty_port *port = &dlci->port; gsm_dlci_data() local
2687 gsm_dlci_free(struct tty_port * port) gsm_dlci_free() argument
4209 gsm_carrier_raised(struct tty_port * port) gsm_carrier_raised() argument
4231 gsm_dtr_rts(struct tty_port * port,bool active) gsm_dtr_rts() argument
4256 unsigned int mux = mux_line_to_num(line); gsmtty_install() local
4310 struct tty_port *port = &dlci->port; gsmtty_open() local
[all...]
/linux/net/9p/
H A 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/drivers/net/usb/
H A 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/drivers/gpu/drm/imx/ipuv3/
H A 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>
33 #include "imx-drm.h"
35 #define DRIVER_NAME "imx-ldb"
67 int chno;
73 return container_of(e, struct imx_ldb_encoder, encoder)->channel; in enc_to_imx_ldb_ch()
77 int reg;
78 int shift;
[all …]
/linux/sound/soc/codecs/
H A 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 …]
H A Drt722-sdca.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt722-sdca.c -- rt722 SDCA ALSA SoC audio driver
23 #include <sound/soc-dapm.h>
26 #include "rt722-sdca.h"
28 int rt722_sdca_index_write(struct rt722_sdca_priv *rt722, in rt722_sdca_index_write()
29 unsigned int nid, unsigned int reg, unsigned int value) in rt722_sdca_index_write()
31 struct regmap *regmap = rt722->mbq_regmap; in rt722_sdca_index_write()
32 unsigned int addr = (nid << 20) | reg; in rt722_sdca_index_write()
33 int ret; in rt722_sdca_index_write()
37 dev_err(&rt722->slave->dev, in rt722_sdca_index_write()
[all …]
H A Dlpass-rx-macro.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
14 #include <sound/soc-dapm.h>
17 #include <linux/clk-provider.h>
19 #include "lpass-macro-common.h"
162 #define CDC_RX_RXn_RX_PATH_CTL(rx, n) (0x0400 + rx->rxn_reg_stride * n)
170 #define CDC_RX_RXn_RX_PATH_CFG0(rx, n) (0x0404 + rx->rxn_reg_stride * n)
177 #define CDC_RX_RXn_RX_PATH_CFG1(rx, n) (0x0408 + rx->rxn_reg_stride * n)
181 #define CDC_RX_RXn_RX_PATH_CFG2(rx, n) (0x040C + rx->rxn_reg_stride * n)
184 #define CDC_RX_RXn_RX_PATH_CFG3(rx, n) (0x0410 + rx->rxn_reg_stride * n)
[all …]
/linux/drivers/tty/serial/8250/
H A 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/drivers/pinctrl/renesas/
H A Dpinctrl-rza1.c1 // SPDX-License-Identifier: GPL-2.0
11 * This includes SoCs which are sub- or super- sets of this particular line,
23 #include <linux/pinctrl/pinconf-generic.h>
35 #define DRIVER_NAME "pinctrl-rza1"
48 #define RZA1_ADDR(mem, reg, port) ((mem) + (reg) + ((port) * 4)) argument
58 * Use 16 higher bits [31:16] for pin mux function
70 /* Pin mux flags */
75 /* ----------------------------------------------------------------------------
80 * rza1_bidir_pin - describe a single pin that needs bidir flag applied.
88 * rza1_bidir_entry - describe a list of pins that needs bidir flag applied.
[all …]
H A Dpinctrl-rza2.c1 // SPDX-License-Identifier: GPL-2.0
26 #define DRIVER_NAME "pinctrl-rza2"
34 * Use 16 higher bits [31:16] for pin mux function
51 int npins;
55 #define RZA2_PDR(port) (0x0000 + (port) * 2) /* Direction 16-bit */ argument
56 #define RZA2_PODR(port) (0x0040 + (port)) /* Output Data 8-bit */ argument
57 #define RZA2_PIDR(port) (0x0060 + (port)) /* Input Data 8-bit */ argument
58 #define RZA2_PMR(port) (0x0080 + (port)) /* Mode 8-bit */ argument
59 #define RZA2_DSCR(port) (0x0140 + (port) * 2) /* Drive 16-bit */ argument
60 #define RZA2_PFS(port, pin) (0x0200 + ((port) * 8) + (pin)) /* Fnct 8-bit */ argument
[all …]
/linux/include/linux/
H A 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 …]
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-imx1-core.c1 // SPDX-License-Identifier: GPL-2.0+
8 // Based on pinctrl-imx.c:
29 #include "pinctrl-imx1.h"
65 * IMX1 IOMUXC manages the pins based on ports. Each port has 32 pins. IOMUX
78 static void __iomem *imx1_mem(struct imx1_pinctrl *ipctl, unsigned int pin_id) in imx1_mem()
80 unsigned int port = pin_id / 32; in imx1_mem() local
81 return ipctl->base + port * MX1_PORT_STRIDE; in imx1_mem()
88 static void imx1_write_2bit(struct imx1_pinctrl *ipctl, unsigned int pin_id, in imx1_write_2bit()
92 int offset = (pin_id % 16) * 2; /* offset, regardless of register used */ in imx1_write_2bit()
93 int mask = ~(0x3 << offset); /* Mask for 2 bits at offset */ in imx1_write_2bit()
[all …]
/linux/drivers/usb/typec/
H A Dmux.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB Type-C Multiplexer/DeMultiplexer Switch support
18 #include "mux.h"
24 unsigned int num_sw_devs;
27 static int switch_fwnode_match(struct device *dev, const void *fwnode) in switch_fwnode_match()
42 * device type or the device class of the remote port parent that @fwnode in typec_switch_match()
45 * property is named "orientation-switch" (@id). The value of the device in typec_switch_match()
59 return dev ? to_typec_switch_dev(dev) : ERR_PTR(-EPROBE_DEFER); in typec_switch_match()
63 * fwnode_typec_switch_get - Find USB Type-C orientation switch
68 * ERR_PTR(-EPROBE_DEFER) when a connection was found but the switch
[all …]
/linux/drivers/media/i2c/
H A Dmax9286.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2017-2019 Jacopo Mondi
6 * Copyright (C) 2017-2019 Kieran Bingham
7 * Copyright (C) 2017-2019 Laurent Pinchart
8 * Copyright (C) 2017-2019 Niklas Söderlund
20 #include <linux/i2c-mux.h>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-ctrls.h>
28 #include <media/v4l2-device.h>
29 #include <media/v4l2-fwnode.h>
[all …]
/linux/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
24 static int rmnet_is_real_dev_registered(const struct net_device *real_dev) in rmnet_is_real_dev_registered()
26 return rcu_access_pointer(real_dev->rx_handler) == rmnet_rx_handler; in rmnet_is_real_dev_registered()
33 return rtnl_dereference(real_dev->rx_handler_data); in rmnet_get_port_rtnl()
36 static int rmnet_unregister_real_device(struct net_device *real_dev) in rmnet_unregister_real_device()
38 struct rmnet_port *port = rmnet_get_port_rtnl(real_dev); in rmnet_unregister_real_device() local
40 if (port->nr_rmnet_devs) in rmnet_unregister_real_device()
41 return -EINVAL; in rmnet_unregister_real_device()
43 rmnet_map_tx_aggregate_exit(port); in rmnet_unregister_real_device()
[all …]

12345678910