Home
last modified time | relevance | path

Searched +full:serial +full:- +full:dir (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/kernel/linux/linux-6.6/drivers/hsi/controllers/
Domap_ssi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
23 #define SSI_BYTES_TO_FRAMES(x) ((((x) - 1) >> 2) + 1)
28 * struct omap_ssm_ctx - OMAP synchronous serial module (TX/RX) context
50 * struct omap_ssi_port - OMAP SSI port data
66 * @wake_irq: IRQ number for incoming wake line (-1 if none)
67 * @wake_gpio: GPIO number for incoming wake line (-1 if none)
72 * @sst: Context for the synchronous serial transmitter
73 * @ssr: Context for the synchronous serial receiver
104 struct dentry *dir; member
109 * struct gdd_trn - GDD transaction data
[all …]
/kernel/linux/linux-5.10/drivers/hsi/controllers/
Domap_ssi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
23 #define SSI_BYTES_TO_FRAMES(x) ((((x) - 1) >> 2) + 1)
28 * struct omap_ssm_ctx - OMAP synchronous serial module (TX/RX) context
50 * struct omap_ssi_port - OMAP SSI port data
66 * @wake_irq: IRQ number for incoming wake line (-1 if none)
67 * @wake_gpio: GPIO number for incoming wake line (-1 if none)
72 * @sst: Context for the synchronous serial transmitter
73 * @ssr: Context for the synchronous serial receiver
104 struct dentry *dir; member
109 * struct gdd_trn - GDD transaction data
[all …]
/kernel/linux/linux-6.6/sound/soc/fsl/
Dmpc5200_psc_i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
45 dev_dbg(psc_dma->dev, "%s(substream=%p) p_size=%i p_bytes=%i" in psc_i2s_hw_params()
65 dev_dbg(psc_dma->dev, "invalid format\n"); in psc_i2s_hw_params()
66 return -EINVAL; in psc_i2s_hw_params()
68 out_be32(&psc_dma->psc_regs->sicr, psc_dma->sicr | mode); in psc_i2s_hw_params()
85 * @dir: SND_SOC_CLOCK_IN (clock slave) or SND_SOC_CLOCK_OUT (clock master)
88 int clk_id, unsigned int freq, int dir) in psc_i2s_set_sysclk() argument
91 dev_dbg(psc_dma->dev, "psc_i2s_set_sysclk(cpu_dai=%p, dir=%i)\n", in psc_i2s_set_sysclk()
92 cpu_dai, dir); in psc_i2s_set_sysclk()
93 return (dir == SND_SOC_CLOCK_IN) ? 0 : -EINVAL; in psc_i2s_set_sysclk()
[all …]
/kernel/linux/linux-5.10/sound/soc/fsl/
Dmpc5200_psc_i2s.c1 // SPDX-License-Identifier: GPL-2.0-only
45 dev_dbg(psc_dma->dev, "%s(substream=%p) p_size=%i p_bytes=%i" in psc_i2s_hw_params()
65 dev_dbg(psc_dma->dev, "invalid format\n"); in psc_i2s_hw_params()
66 return -EINVAL; in psc_i2s_hw_params()
68 out_be32(&psc_dma->psc_regs->sicr, psc_dma->sicr | mode); in psc_i2s_hw_params()
85 * @dir: SND_SOC_CLOCK_IN (clock slave) or SND_SOC_CLOCK_OUT (clock master)
88 int clk_id, unsigned int freq, int dir) in psc_i2s_set_sysclk() argument
91 dev_dbg(psc_dma->dev, "psc_i2s_set_sysclk(cpu_dai=%p, dir=%i)\n", in psc_i2s_set_sysclk()
92 cpu_dai, dir); in psc_i2s_set_sysclk()
93 return (dir == SND_SOC_CLOCK_IN) ? 0 : -EINVAL; in psc_i2s_set_sysclk()
[all …]
/kernel/linux/linux-6.6/drivers/usb/serial/
Dusb_wwan.c1 // SPDX-License-Identifier: GPL-2.0
13 This driver exists because the "normal" serial driver doesn't work too well
15 - data loss -- one single Receive URB is not nearly enough
16 - controlling the baud rate doesn't make sense
33 #include <linux/usb/serial.h>
34 #include <linux/serial.h>
35 #include "usb-wwan.h"
43 struct usb_serial *serial = port->serial; in usb_wwan_send_setup() local
51 if (portdata->dtr_state) in usb_wwan_send_setup()
53 if (portdata->rts_state) in usb_wwan_send_setup()
[all …]
Dsierra.c1 // SPDX-License-Identifier: GPL-2.0
30 #include <linux/usb/serial.h>
41 #define MAX_TRANSFER (PAGE_SIZE - 512)
84 static int sierra_calc_num_ports(struct usb_serial *serial, in sierra_calc_num_ports() argument
90 ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber; in sierra_calc_num_ports()
91 numendpoints = serial->interface->cur_altsetting->desc.bNumEndpoints; in sierra_calc_num_ports()
99 num_ports = (numendpoints-1)/2; in sierra_calc_num_ports()
110 for (i = 0; i < list->count; i++) { in is_listed()
111 if (list->nums[i] == ifnum) in is_listed()
118 static u8 sierra_interface_num(struct usb_serial *serial) in sierra_interface_num() argument
[all …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dusb_wwan.c1 // SPDX-License-Identifier: GPL-2.0
13 This driver exists because the "normal" serial driver doesn't work too well
15 - data loss -- one single Receive URB is not nearly enough
16 - controlling the baud rate doesn't make sense
32 #include <linux/usb/serial.h>
33 #include <linux/serial.h>
34 #include "usb-wwan.h"
42 struct usb_serial *serial = port->serial; in usb_wwan_send_setup() local
50 if (portdata->dtr_state) in usb_wwan_send_setup()
52 if (portdata->rts_state) in usb_wwan_send_setup()
[all …]
Dsierra.c1 // SPDX-License-Identifier: GPL-2.0
30 #include <linux/usb/serial.h>
41 #define MAX_TRANSFER (PAGE_SIZE - 512)
84 static int sierra_calc_num_ports(struct usb_serial *serial, in sierra_calc_num_ports() argument
90 ifnum = serial->interface->cur_altsetting->desc.bInterfaceNumber; in sierra_calc_num_ports()
91 numendpoints = serial->interface->cur_altsetting->desc.bNumEndpoints; in sierra_calc_num_ports()
99 num_ports = (numendpoints-1)/2; in sierra_calc_num_ports()
110 for (i = 0; i < list->count; i++) { in is_listed()
111 if (list->nums[i] == ifnum) in is_listed()
118 static u8 sierra_interface_num(struct usb_serial *serial) in sierra_interface_num() argument
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Ddavinci-mcasp-audio.txt4 - compatible :
5 "ti,dm646x-mcasp-audio" : for DM646x platforms
6 "ti,da830-mcasp-audio" : for both DA830 & DA850 platforms
7 "ti,am33xx-mcasp-audio" : for AM33xx platforms (AM33xx, AM43xx, TI81xx)
8 "ti,dra7-mcasp-audio" : for DRA7xx platforms
10 - reg : Should contain reg specifiers for the entries in the reg-names property.
11 - reg-names : Should contain:
15 - op-mode : I2S/DIT ops mode. 0 for I2S mode. 1 for DIT mode used for S/PDIF,
16 IEC60958-1, and AES-3 formats.
17 - tdm-slots : Slots for TDM operation. Indicates number of channels transmitted
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dcirrus,cs35l45.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
11 - Richard Fitzgerald <rf@opensource.cirrus.com>
18 - $ref: dai-common.yaml#
23 - cirrus,cs35l45
28 '#sound-dai-cells':
31 reset-gpios:
34 vdd-a-supply:
[all …]
Ddavinci-mcasp-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/davinci-mcasp-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jayesh Choudhary <j-choudhary@ti.com>
15 - ti,dm646x-mcasp-audio
16 - ti,da830-mcasp-audio
17 - ti,am33xx-mcasp-audio
18 - ti,dra7-mcasp-audio
19 - ti,omap4-mcasp-audio
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dste-href.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/leds/common.h>
8 #include "ste-href-family-pinctrl.dtsi"
17 compatible = "simple-battery";
18 battery-type = "lithium-ion-polymer";
21 thermal-zones {
22 battery-thermal {
24 polling-delay = <0>;
[all …]
Dspear310.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #address-cells = <1>;
13 #size-cells = <1>;
14 compatible = "simple-bus";
20 compatible = "st,spear310-pinmux";
22 #gpio-range-cells = <3>;
26 compatible = "st,spear600-fsmc-nand";
27 #address-cells = <1>;
28 #size-cells = <1>;
33 reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dspear310.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #address-cells = <1>;
13 #size-cells = <1>;
14 compatible = "simple-bus";
20 compatible = "st,spear310-pinmux";
22 #gpio-range-cells = <3>;
26 compatible = "st,spear600-fsmc-nand";
27 #address-cells = <1>;
28 #size-cells = <1>;
33 reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/
Dmpc832x_mds.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * To enable external serial I/O on a Freescale MPC 8323 SYS/MDS board, do
12 * 2) Solder a wire from U61-21 to P19A-23. P19 is a grid of pins on the board
13 * next to the serial ports.
14 * 3) Solder a wire from U61-22 to P19K-22.
18 * you're going by the schematic, the pin is called "P19J-K22".
21 /dts-v1/;
26 #address-cells = <1>;
27 #size-cells = <1>;
38 #address-cells = <1>;
[all …]
/kernel/linux/linux-6.6/arch/powerpc/boot/dts/fsl/
Dp1025twr.dtsi2 * P1025 TWR Device Tree Source stub (no addresses or top-level ranges)
44 #address-cells = <1>;
45 #size-cells = <1>;
46 compatible = "cfi-flash";
48 bank-width = <2>;
49 device-width = <1>;
55 label = "NOR Vitesse-7385 Firmware";
56 read-only;
82 read-only;
87 /* 512KB for u-boot Bootloader Image */
[all …]
Dp1025rdb.dtsi2 * P1025 RDB Device Tree Source stub (no addresses or top-level ranges)
37 #address-cells = <1>;
38 #size-cells = <1>;
39 compatible = "cfi-flash";
41 bank-width = <2>;
42 device-width = <1>;
48 label = "NOR Vitesse-7385 Firmware";
49 read-only;
72 /* 512KB for u-boot Bootloader Image */
73 /* 512KB for u-boot Environment Variables */
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
Dp1025twr.dtsi2 * P1025 TWR Device Tree Source stub (no addresses or top-level ranges)
44 #address-cells = <1>;
45 #size-cells = <1>;
46 compatible = "cfi-flash";
48 bank-width = <2>;
49 device-width = <1>;
55 label = "NOR Vitesse-7385 Firmware";
56 read-only;
82 read-only;
87 /* 512KB for u-boot Bootloader Image */
[all …]
Dp1025rdb.dtsi2 * P1025 RDB Device Tree Source stub (no addresses or top-level ranges)
37 #address-cells = <1>;
38 #size-cells = <1>;
39 compatible = "cfi-flash";
41 bank-width = <2>;
42 device-width = <1>;
48 label = "NOR Vitesse-7385 Firmware";
49 read-only;
72 /* 512KB for u-boot Bootloader Image */
73 /* 512KB for u-boot Environment Variables */
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_exar.c1 // SPDX-License-Identifier: GPL-2.0
3 * Probe module for 8250/16550-type Exar chips PCI serial ports.
5 * Based on drivers/tty/serial/8250/8250_pci.c,
63 #define UART_FCTR_EXAR_485 0x20 /* Auto 485 half duplex dir ctl */
69 #define UART_EXAR_TXTRG 0x0a /* Tx FIFO trigger level write-only */
70 #define UART_EXAR_RXTRG 0x0b /* Rx FIFO trigger level write-only */
91 * ---- ---- --------
95 * 3 - <reserved>
99 * 7 - <reserved>
102 * 10 - Red LED
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/wireguard/qemu/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
13 CBUILD := $(shell gcc -dumpmachine)
14 HOST_ARCH := $(firstword $(subst -, ,$(CBUILD)))
19 MIRROR := https://download.wireguard.com/qemu-test/distfiles/
21 KERNEL_BUILD_PATH := $(BUILD_PATH)/kernel$(if $(findstring yes,$(DEBUG_KERNEL)),-debug)
28 $(1)_NAME := $(2)-$$($(1)_VERSION)
36 mkdir -p $(DISTFILES_PATH)
37-x $$@.lock -c '[ -f $$@ ] && exit 0; wget -O $$@.tmp $(MIRROR)$(1) || wget -O $$@.tmp $(2)$(1) ||…
46 … $(call tar_download,WIREGUARD_TOOLS,wireguard-tools,1.0.20210914,.tar.xz,https://git.zx2c4.com/wi…
[all …]
/kernel/linux/linux-6.6/fs/proc/
Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * proc/fs/generic.c --- generic routines for the proc-fs
5 * This file contains generic proc-fs routines for handling
39 if (S_ISLNK(pde->mode)) in pde_free()
40 kfree(pde->data); in pde_free()
41 if (pde->name != pde->inline_name) in pde_free()
42 kfree(pde->name); in pde_free()
48 if (len < de->namelen) in proc_match()
49 return -1; in proc_match()
50 if (len > de->namelen) in proc_match()
[all …]
/kernel/linux/linux-5.10/fs/proc/
Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * proc/fs/generic.c --- generic routines for the proc-fs
5 * This file contains generic proc-fs routines for handling
39 if (S_ISLNK(pde->mode)) in pde_free()
40 kfree(pde->data); in pde_free()
41 if (pde->name != pde->inline_name) in pde_free()
42 kfree(pde->name); in pde_free()
48 if (len < de->namelen) in proc_match()
49 return -1; in proc_match()
50 if (len > de->namelen) in proc_match()
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Ddt9812.c1 // SPDX-License-Identifier: GPL-2.0+
8 * COMEDI - Linux Control and Measurement Device Interface
79 DT9812_DEVID_DT9812_10, /* 8 2 8 8 1 +/- 10V */
80 DT9812_DEVID_DT9812_2PT5, /* 8 2 8 8 1 0-2.44V */
181 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / sizeof(u8))
194 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \
209 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \
240 struct dt9812_private *devpriv = dev->private; in dt9812_read_info()
250 return -ENOMEM; in dt9812_read_info()
254 cmd->cmd = cpu_to_le32(DT9812_R_FLASH_DATA); in dt9812_read_info()
[all …]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
Ddt9812.c1 // SPDX-License-Identifier: GPL-2.0+
8 * COMEDI - Linux Control and Measurement Device Interface
78 DT9812_DEVID_DT9812_10, /* 8 2 8 8 1 +/- 10V */
79 DT9812_DEVID_DT9812_2PT5, /* 8 2 8 8 1 0-2.44V */
180 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / sizeof(u8))
193 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \
208 ((DT9812_MAX_WRITE_CMD_PIPE_SIZE - 4 - 1) / \
239 struct dt9812_private *devpriv = dev->private; in dt9812_read_info()
249 return -ENOMEM; in dt9812_read_info()
253 cmd->cmd = cpu_to_le32(DT9812_R_FLASH_DATA); in dt9812_read_info()
[all …]

12345678910>>...15