/Linux-v6.1/drivers/hsi/controllers/ |
D | omap_ssi.h | 1 /* 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 …]
|
/Linux-v6.1/sound/soc/fsl/ |
D | mpc5200_psc_i2s.c | 1 // 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 …]
|
/Linux-v6.1/drivers/usb/serial/ |
D | usb_wwan.c | 1 // 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 …]
|
D | sierra.c | 1 // 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 …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | spear310.dtsi | 1 // 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 …]
|
D | spear1340-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 compatible = "st,spear1340-evb", "st,spear1340"; 14 #address-cells = <1>; 15 #size-cells = <1>; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&state_default>; 47 spdif-in { 51 spdif-out { 59 smi-pmx { [all …]
|
D | spear320.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #address-cells = <1>; 13 #size-cells = <1>; 14 compatible = "simple-bus"; 19 compatible = "st,spear320-pinmux"; 21 #gpio-range-cells = <3>; 28 interrupt-parent = <&shirq>; 33 compatible = "st,spear600-fsmc-nand"; 34 #address-cells = <1>; 35 #size-cells = <1>; [all …]
|
D | spear1310.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 compatible = "st,spear-spics-gpio"; 17 st-spics,peripcfg-reg = <0x3b0>; 18 st-spics,sw-enable-bit = <12>; 19 st-spics,cs-value-bit = <11>; 20 st-spics,cs-enable-mask = <3>; 21 st-spics,cs-enable-shift = <8>; 22 gpio-controller; 23 #gpio-cells = <2>; 27 compatible = "st,spear1310-miphy"; [all …]
|
D | kirkwood-dir665.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 /dts-v1/; 10 #include "kirkwood-6281.dtsi" 13 model = "D-Link DIR-665"; 14 compatible = "dlink,dir-665", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 23 stdout-path = &uart0; 27 pinctrl: pin-controller@10000 { 28 pinctrl-0 =< &pmx_led_usb 35 pinctrl-names = "default"; 37 pmx_led_usb: pmx-led-usb { [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | davinci-mcasp-audio.yaml | 1 # 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 …]
|
/Linux-v6.1/arch/powerpc/boot/dts/ |
D | mpc832x_mds.dts | 1 // 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 …]
|
D | mpc832x_rdb.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 13 #address-cells = <1>; 14 #size-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <0>; 31 d-cache-line-size = <0x20>; // 32 bytes 32 i-cache-line-size = <0x20>; // 32 bytes 33 d-cache-size = <16384>; // L1, 16K 34 i-cache-size = <16384>; // L1, 16K [all …]
|
D | kmeter1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * 2008-2011 DENX Software Engineering GmbH 8 /dts-v1/; 13 #address-cells = <1>; 14 #size-cells = <1>; 28 #address-cells = <1>; 29 #size-cells = <0>; 34 d-cache-line-size = <32>; // 32 bytes 35 i-cache-line-size = <32>; // 32 bytes 36 d-cache-size = <32768>; // L1, 32K [all …]
|
D | mpc836x_mds.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 /dts-v1/; 18 #address-cells = <1>; 19 #size-cells = <1>; 30 #address-cells = <1>; 31 #size-cells = <0>; 36 d-cache-line-size = <32>; // 32 bytes 37 i-cache-line-size = <32>; // 32 bytes 38 d-cache-size = <32768>; // L1, 32K 39 i-cache-size = <32768>; // L1, 32K [all …]
|
/Linux-v6.1/arch/powerpc/boot/dts/fsl/ |
D | p1025twr.dtsi | 2 * 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 …]
|
D | p1025rdb.dtsi | 2 * 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 …]
|
/Linux-v6.1/drivers/tty/serial/8250/ |
D | 8250_exar.c | 1 // 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, 53 #define UART_FCTR_EXAR_485 0x20 /* Auto 485 half duplex dir ctl */ 59 #define UART_EXAR_TXTRG 0x0a /* Tx FIFO trigger level write-only */ 60 #define UART_EXAR_RXTRG 0x0b /* Rx FIFO trigger level write-only */ 81 * ---- ---- -------- 85 * 3 - <reserved> 89 * 7 - <reserved> 92 * 10 - Red LED [all …]
|
/Linux-v6.1/tools/testing/selftests/wireguard/qemu/ |
D | Makefile | 1 # 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 …]
|
/Linux-v6.1/drivers/comedi/drivers/ |
D | dt9812.c | 1 // 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 …]
|
/Linux-v6.1/fs/proc/ |
D | generic.c | 1 // 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 …]
|
/Linux-v6.1/drivers/usb/core/ |
D | devices.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 * reason -- maybe it's just too deep of a directory structure. 24 * this in any plug-and-play environment.) 26 * 1999-12-16: Thomas Sailer <sailer@ife.ee.ethz.ch> 32 * 2000-01-04: Thomas Sailer <sailer@ife.ee.ethz.ch> 34 * 2000-07-05: Ashley Montanaro <ashley@compsoc.man.ac.uk> 50 /* Define ALLOW_SERIAL_NUMBER if you want to see the serial number of devices */ 55 "\nT: Bus=%2.2d Lev=%2.2d Prnt=%2.2d Port=%2.2d Cnt=%2.2d Dev#=%3d Spd=%-4s MxCh=%2d\n"; 77 "D: Ver=%2x.%02x Cls=%02x(%-5s) Sub=%02x Prot=%02x MxPS=%2d #Cfgs=%3d\n"; 89 "A: FirstIf#=%2d IfCount=%2d Cls=%02x(%-5s) Sub=%02x Prot=%02x\n"; [all …]
|
/Linux-v6.1/drivers/infiniband/hw/qib/ |
D | qib_twsi.c | 3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 42 * QLogic_IB "Two Wire Serial Interface" driver. 43 * Originally written for a not-quite-i2c serial eeprom, which is 45 * variety of other uses, most board-specific, so the bit-boffing 47 * have been moved to chip-specific files. 59 * i2c_wait_for_writes - wait for a write 74 dd->f_gpio_mod(dd, 0, 0, 0); in i2c_wait_for_writes() 95 mask = 1UL << dd->gpio_scl_num; in scl_out() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | synclink.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 3 * SyncLink Multiprotocol Serial Adapter Driver 7 * Copyright (C) 1998-2000 by Microgate Corporation 159 unsigned short crc_type; /* None, CRC16-CCITT, or CRC32-CCITT */ 234 __u32 dir; member 275 * MGSL_IOCSIF set the serial interface type 276 * MGSL_IOCGIF get the serial interface type
|
/Linux-v6.1/drivers/spi/ |
D | spi-rockchip-sfc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip Serial Flash Controller Driver 5 * Copyright (c) 2017-2021, Rockchip Inc. 6 * Author: Shawn Lin <shawn.lin@rock-chips.com> 8 * Jon Lin <Jon.lin@rock-chips.com> 14 #include <linux/dma-mapping.h> 22 #include <linux/spi/spi-mem.h> 154 * devices (0-3), however I have only been able to test a single CS (CS 0) 159 /* The SFC can transfer max 16KB - 1 at one time 192 writel_relaxed(SFC_RCVR_RESET, sfc->regbase + SFC_RCVR); in rockchip_sfc_reset() [all …]
|
/Linux-v6.1/tools/testing/ktest/examples/ |
D | vmware.conf | 5 # ------------- 6 # - Edit the Virtual Machine ("Edit virtual machine settings") 7 # - Add a Serial Port 8 # - You almost certainly want it set "Connect at power on" 9 # - Select "Use socket (named pipe)" 10 # - Select a name that you'll recognize, like 'ktestserialpipe' 11 # - From: Server 12 # - To: A Virtual Machine 13 # - Save 14 # - Make sure you note the name, it will be in the base directory of the [all …]
|