/linux-6.15/Documentation/devicetree/bindings/w1/ |
D | w1-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/w1/w1-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UART 1-Wire Bus 10 - Christoph Winklhofer <cj.winklhofer@gmail.com> 13 UART 1-wire bus. Utilizes the UART interface via the Serial Device Bus 14 to create the 1-Wire timing patterns. 16 The UART peripheral must support full-duplex and operate in open-drain 18 baud-rate and transmitted byte, which corresponds to a 1-Wire read bit, [all …]
|
/linux-6.15/arch/m68k/atari/ |
D | debug.c | 6 * Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek 31 .index = -1, 45 while (count--) { in atari_mfp_console_write() 64 while (count--) { in atari_scc_console_write() 81 while (count--) { in atari_midi_console_write() 91 /* This a some-seconds timeout in case no printer is connected */ in ata_par_out() 92 unsigned long i = loops_per_jiffy > 1 ? loops_per_jiffy : 10000000/HZ; in ata_par_out() 94 while ((st_mfp.par_dt_reg & 1) && --i) /* wait for BUSY == L */ in ata_par_out() 106 return 1; in ata_par_out() 112 static int printer_present = 1; in atari_par_console_write() [all …]
|
/linux-6.15/block/ |
D | blk-throttle.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include "blk-cgroup-rwstat.h" 15 #include "blk-stat.h" 16 #include "blk-throttle.h" 18 /* Max dispatch from a group in 1 round */ 41 /* Total Number of queued bios on READ and WRITE lists */ 56 return pd_to_blkg(&tg->pd); in tg_to_blkg() 60 * sq_to_tg - return the throl_grp the specified service queue belongs to 63 * Return the throtl_grp @sq belongs to. If @sq is the top-level one 68 if (sq && sq->parent_sq) in sq_to_tg() [all …]
|
/linux-6.15/drivers/soundwire/ |
D | bus.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 17 return -ENOTSUPP; in sdw_acpi_find_slaves() 52 * struct sdw_msg - Message structure 56 * @addr_page1: SCP address page 1 Slave register 58 * @flags: transfer flags, indicate if xfer is read or write 76 * struct sdw_btp_msg - Message structure 81 * @flags: transfer flags, indicate if xfer is read or write 82 * @buf: message data buffer (filled by host for write, filled 94 #define SDW_STRM_RATE_GROUPING 1 [all …]
|
D | stream.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 2 // Copyright(c) 2015-18 Intel Corporation. 5 * stream.c - SoundWire Bus stream operations. 72 if (bus->params.next_bank) { in _sdw_program_slave_port_params() 73 addr1 = SDW_DPN_OFFSETCTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params() 74 addr2 = SDW_DPN_BLOCKCTRL3_B1(t_params->port_num); in _sdw_program_slave_port_params() 75 addr3 = SDW_DPN_SAMPLECTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params() 76 addr4 = SDW_DPN_HCTRL_B1(t_params->port_num); in _sdw_program_slave_port_params() 78 addr1 = SDW_DPN_OFFSETCTRL2_B0(t_params->port_num); in _sdw_program_slave_port_params() 79 addr2 = SDW_DPN_BLOCKCTRL3_B0(t_params->port_num); in _sdw_program_slave_port_params() [all …]
|
/linux-6.15/drivers/tty/serial/ |
D | ip22zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument 38 /* Write Register 0 */ 40 #define R1 1 69 /* Write Register 1 */ 85 /* Write Register #2 (Interrupt Vector) */ 87 /* Write Register 3 */ 101 /* Write Register 4 */ 107 #define SB1 0x4 /* 1 stop bit/char */ 122 /* Write Register 5 */ [all …]
|
D | zs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 int clk_mode; /* May be 1, 16, 32, or 64. */ 34 u8 regs[ZS_NUM_REGS]; /* Channel write registers. */ 38 * Per-SCC state for locking and the interrupt handler. 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument 59 /* Write Register 0 (Command) */ 61 #define R1 1 90 /* Write Register 1 (Tx/Rx/Ext Int Enable and WAIT/DMA Commands) */ 105 /* Write Register 2 (Interrupt Vector) */ 107 /* Write Register 3 (Receive Parameters and Control) */ [all …]
|
D | sunzilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument 30 /* Write Register 0 */ 32 #define R1 1 61 /* Write Register 1 */ 77 /* Write Register #2 (Interrupt Vector) */ 79 /* Write Register 3 */ 93 /* Write Register 4 */ 99 #define SB1 0x4 /* 1 stop bit/char */ 114 /* Write Register 5 */ [all …]
|
D | pmac_zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * of "escc" node (ie. ch-a or ch-b) 64 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A() 66 return uap->mate; in pmz_get_port_A() 78 writeb(reg, port->control_reg); in read_zsreg() 79 return readb(port->control_reg); in read_zsreg() 85 writeb(reg, port->control_reg); in write_zsreg() 86 writeb(value, port->control_reg); in write_zsreg() 91 return readb(port->data_reg); in read_zsdata() 96 writeb(data, port->data_reg); in write_zsdata() [all …]
|
D | sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH on-chip serial module support. (SCI with no FIFO / with FIFO) 5 * Copyright (C) 2002 - 2011 Paul Mundt 9 * based off of the old drivers/char/sh-sci.c by: 26 #include <linux/dma-mapping.h> 58 #include "sh-sci.h" 60 /* Offsets into the sci_port->irqs array */ 74 ((port)->irqs[SCIx_ERI_IRQ] == \ 75 (port)->irqs[SCIx_RXI_IRQ]) || \ 76 ((port)->irqs[SCIx_ERI_IRQ] && \ [all …]
|
/linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras.c | 102 if (ras_block->block >= AMDGPU_RAS_BLOCK_COUNT || in get_ras_block_str() 103 ras_block->block >= ARRAY_SIZE(ras_block_string)) in get_ras_block_str() 106 if (ras_block->block == AMDGPU_RAS_BLOCK__MCA) in get_ras_block_str() 107 return ras_mca_block_string[ras_block->sub_block_index]; in get_ras_block_str() 109 return ras_block_string[ras_block->block]; in get_ras_block_str() 122 /* typical ECC bad page rate is 1 bad page per 100MB VRAM */ 155 amdgpu_ras_get_context(adev)->error_query_ready = ready; in amdgpu_ras_set_error_query_ready() 161 return amdgpu_ras_get_context(adev)->error_query_ready; in amdgpu_ras_get_error_query_ready() 172 if ((address >= adev->gmc.mc_vram_size) || in amdgpu_reserve_page_direct() 174 dev_warn(adev->dev, in amdgpu_reserve_page_direct() [all …]
|
D | amdgpu_virt.c | 43 vf2pf_info->ucode_info[ucode].id = ucode; \ 44 vf2pf_info->ucode_info[ucode].version = ver; \ 60 if (adev->asic_type != CHIP_ALDEBARAN && in amdgpu_virt_init_setting() 61 adev->asic_type != CHIP_ARCTURUS && in amdgpu_virt_init_setting() 62 ((adev->pdev->class >> 8) != PCI_CLASS_ACCELERATOR_PROCESSING)) { in amdgpu_virt_init_setting() 63 if (adev->mode_info.num_crtc == 0) in amdgpu_virt_init_setting() 64 adev->mode_info.num_crtc = 1; in amdgpu_virt_init_setting() 65 adev->enable_virtual_display = true; in amdgpu_virt_init_setting() 67 ddev->driver_features &= ~DRIVER_ATOMIC; in amdgpu_virt_init_setting() 68 adev->cg_flags = 0; in amdgpu_virt_init_setting() [all …]
|
/linux-6.15/drivers/w1/masters/ |
D | w1-uart.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * w1-uart - UART 1-Wire bus driver 5 * Uses the UART interface (via Serial Device Bus) to create the 1-Wire 6 * timing patterns. Implements the following 1-Wire master interface: 8 * - reset_bus: requests baud-rate 9600 10 * - touch_bit: requests baud-rate 115200 27 /* Timeout to wait for completion of serdev-receive */ 31 * struct w1_uart_config - configuration for 1-Wire operation 32 * @baudrate: baud-rate returned from serdev 33 * @delay_us: delay to complete a 1-Wire cycle (in us) [all …]
|
/linux-6.15/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uvc | 1 What: /config/usb-gadget/gadget/functions/uvc.name 8 streaming_maxpacket 1..1023 (fs), 1..3072 (hs/ss) 9 streaming_interval 1..16 13 What: /config/usb-gadget/gadget/functions/uvc.name/control 27 What: /config/usb-gadget/gadget/functions/uvc.name/control/class 32 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss 37 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs 42 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal 47 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output 52 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default [all …]
|
/linux-6.15/drivers/usb/serial/ |
D | ark3116.c | 1 // 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) 40 /* usb timeout of 1 second */ 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() 55 return 1; in is_irda() 60 int irda; /* 1 for irda device */ 82 result = usb_control_msg(serial->dev, in ark3116_write_reg() [all …]
|
D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2010 - 2013 Johan Hovold (jhovold@gmail.com) 6 * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com) 40 struct device *dev = &serial->interface->dev; in usb_serial_generic_probe() 42 dev_info(dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n"); in usb_serial_generic_probe() 43 dev_info(dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n"); in usb_serial_generic_probe() 51 struct device *dev = &serial->interface->dev; in usb_serial_generic_calc_num_ports() 54 num_ports = max(epds->num_bulk_in, epds->num_bulk_out); in usb_serial_generic_calc_num_ports() 58 return -ENODEV; in usb_serial_generic_calc_num_ports() 109 clear_bit(USB_SERIAL_THROTTLED, &port->flags); in usb_serial_generic_open() [all …]
|
D | cypress_m8.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * See Documentation/usb/usb-serial.rst for more information on using this 51 /* write buffer size defines */ 97 int cmd_ctrl; /* always set this to 1 before issuing a command */ 98 struct kfifo write_fifo; /* write fifo */ 99 int write_urb_in_use; /* write urb in use indicator */ 100 int write_urb_interval; /* interval to use for write urb */ 104 __u8 current_status; /* received from last read - info on dsr,cts,cd,ri,etc */ 106 __u8 rx_flags; /* throttling - used from whiteheat/ftdi_sio */ 146 .num_ports = 1, [all …]
|
/linux-6.15/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-vchiq.c | 1 // SPDX-License-Identifier: GPL-2.0 29 mutex_lock(&instance->vchi_mutex); in bcm2835_audio_lock() 30 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock() 31 instance->service_handle); in bcm2835_audio_lock() 36 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock() 37 instance->service_handle); in bcm2835_audio_unlock() 38 mutex_unlock(&instance->vchi_mutex); in bcm2835_audio_unlock() 47 instance->result = -1; in bcm2835_audio_send_msg_locked() 48 init_completion(&instance->msg_avail_comp); in bcm2835_audio_send_msg_locked() 51 status = vchiq_queue_kernel_message(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_send_msg_locked() [all …]
|
D | vc_vchi_audioserv_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #define VC_AUDIOSERV_MIN_VER 1 16 * All message types supported for HOST->VC direction 37 u32 bps; member 61 /* configure the write audio samples */ 70 /* Generic result for a request (VC->HOST) */ 75 /* Generic result for a request (VC->HOST) */ 82 /* Message header for all messages in HOST->VC direction */ 92 struct vc_audio_write write; member
|
/linux-6.15/include/linux/ |
D | slimbus.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2011-2017, The Linux Foundation 16 * struct slim_eaddr - Enumeration address for a SLIMbus device 30 * enum slim_device_status - slim device status 44 * struct slim_device - Slim device handle. 49 * @laddr: 1-byte Logical address of this device. 56 * Pointer to this structure is used by client-driver as a handle. 72 * struct slim_driver - SLIMbus 'generic device' (slave) device driver 78 * - The device reports present and gets a laddr assigned 79 * - The device reports absent, or the bus goes down. [all …]
|
/linux-6.15/sound/soc/atmel/ |
D | mchp-spdiftx.c | 1 // SPDX-License-Identifier: GPL-2.0 22 * ---- S/PDIF Transmitter Controller Register map ---- 33 #define SPDIFTX_CH1UD(reg) (0x50 + (reg) * 4) /* User Data 1 Register x */ 34 #define SPDIFTX_CH1S(reg) (0x80 + (reg) * 4) /* Channel Status 1 Register x */ 39 * ---- Control Register (Write-only) ---- 42 #define SPDIFTX_CR_FCLR BIT(1) /* FIFO clear */ 45 * ---- Mode Register (Read/Write) ---- 50 #define SPDIFTX_MR_TXEN_ENABLE (1 << 0) 53 #define SPDIFTX_MR_MULTICH_MASK GENAMSK(1, 1) 54 #define SPDIFTX_MR_MULTICH_MONO (0 << 1) [all …]
|
/linux-6.15/drivers/media/pci/saa7164/ |
D | saa7164.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (c) 2010-2015 Steven Toth <stoth@kernellabs.com> 24 saa7164_bus..() : Manage a read/write memory ring buffer in the 30 <- ----------------- PCIe address space -------------------- -> 48 #include <media/v4l2-common.h> 49 #include <media/v4l2-ioctl.h> 50 #include <media/v4l2-device.h> 51 #include <media/v4l2-ctrls.h> 52 #include <media/v4l2-event.h> 54 #include "saa7164-reg.h" [all …]
|
/linux-6.15/Documentation/networking/ |
D | eql.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Simon "Guru Aleph-Null" Janes, simon@ncm.com 9 v1.1, February 27, 1995 12 that lets you load-balance IP serial links (SLIP or uncompressed PPP) 17 1.1.86. Some testing with 1.1.92 has been done with the v1.1 patch 21 1. Introduction 27 together to work as one point-to-point link to increase your 32 The eql driver has only been tested with the Livingston PortMaster-2e 33 terminal server. I do not know if other terminal servers support load- 35 almost as well as the eql driver seems to do it (-- Unfortunately, in [all …]
|
/linux-6.15/Documentation/arch/m68k/ |
D | kernel-options.rst | 9 Author: Roman.Hodek@informatik.uni-erlangen.de (Roman Hodek) 11 Update: jds@kom.auc.dk (Jes Sorensen) and faq@linux-m68k.org (Chris Lawrence) 26 1) Overview of the Kernel's Option Processing 31 1) kernel options 38 is known to the kernel, it belongs to class 1. Otherwise, if the 58 ---------- 76 /dev/ram: -> 0x0100 (initial ramdisk) 77 /dev/hda: -> 0x0300 (first IDE disk) 78 /dev/hdb: -> 0x0340 (second IDE disk) 79 /dev/sda: -> 0x0800 (first SCSI disk) [all …]
|
/linux-6.15/drivers/slimbus/ |
D | slimbus.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2011-2017, The Linux Foundation 26 * BYTE 1: RSVD[7] MC[6:0] 35 #define SLIM_MSG_DT_MASK GENMASK(1, 0) 66 #define SLIM_CLK_CONST_PHASE 1 71 #define SLIM_MSG_DEST_ENUMADDR 1 76 #define SLIM_MIN_CLK_GEAR 1 91 * struct slim_framer - Represents SLIMbus framer. 92 * Every controller may have multiple framers. There is 1 active framer device 94 * Manager is responsible for framer hand-over. [all …]
|