| /kernel/linux/linux-5.10/include/linux/dma/ |
| D | sprd-dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * The Spreadtrum DMA controller supports channel 2-stage tansfer, that means 16 * we can request 2 dma channels, one for source channel, and another one for 17 * destination channel. Each channel is independent, and has its own 18 * configurations. Once the source channel's transaction is done, it will 19 * trigger the destination channel's transaction automatically by hardware 22 * To support 2-stage tansfer, we must configure the channel mode and trigger 27 * enum sprd_dma_chn_mode: define the DMA channel mode for 2-stage transfer 28 * @SPRD_DMA_CHN_MODE_NONE: No channel mode setting which means channel doesn't 29 * support the 2-stage transfer. [all …]
|
| /kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Source/Drivers/ |
| D | gd32vf103_dma.c | 5 \version 2019-6-5, V1.0.0, firmware for GD32VF103 43 \brief deinitialize DMA a channel registers 46 \param[in] channelx: specify which DMA channel is deinitialized 47 only one parameter can be selected which is shown as below: 58 /* disable DMA a channel */ in dma_deinit() 60 /* reset DMA channel registers */ in dma_deinit() 70 \param[in] init_struct: the initialization data needed to initialize DMA channel 77 init_struct->periph_addr = 0U; in dma_struct_para_init() 78 init_struct->periph_width = 0U; in dma_struct_para_init() 79 init_struct->periph_inc = DMA_PERIPH_INCREASE_DISABLE; in dma_struct_para_init() [all …]
|
| D | gd32vf103_timer.c | 5 \version 2019-6-5, V1.0.0, firmware for GD32VF103 100 initpara->prescaler = 0U; in timer_struct_para_init() 101 initpara->alignedmode = TIMER_COUNTER_EDGE; in timer_struct_para_init() 102 initpara->counterdirection = TIMER_COUNTER_UP; in timer_struct_para_init() 103 initpara->period = 65535U; in timer_struct_para_init() 104 initpara->clockdivision = TIMER_CKDIV_DIV1; in timer_struct_para_init() 105 initpara->repetitioncounter = 0U; in timer_struct_para_init() 125 TIMER_PSC(timer_periph) = (uint16_t)initpara->prescaler; in timer_init() 131 TIMER_CTL0(timer_periph) |= (uint32_t)(initpara->alignedmode & ALIGNEDMODE_MASK); in timer_init() 132 …TIMER_CTL0(timer_periph) |= (uint32_t)(initpara->counterdirection & COUNTERDIRECTION_MASK); … in timer_init() [all …]
|
| D | gd32vf103_adc.c | 5 \version 2019-6-5, V1.0.0, firmware for GD32VF103 41 /* ADC regular channel macro */ 52 /* ADC inserted channel macro */ 56 /* ADC inserted channel offset macro */ 88 only one parameter can be selected which is shown as below: 92 …ALLEL_REGULAL_FOLLOWUP_FAST: ADC0 and ADC1 work in combined inserted parallel + follow-up fast mode 93 …ALLEL_REGULAL_FOLLOWUP_SLOW: ADC0 and ADC1 work in combined inserted parallel + follow-up slow mode 96 \arg ADC_DAUL_REGULAL_FOLLOWUP_FAST: ADC0 and ADC1 work in follow-up fast mode only 97 \arg ADC_DAUL_REGULAL_FOLLOWUP_SLOW: ADC0 and ADC1 work in follow-up slow mode only 112 only one parameter can be selected which is shown as below: [all …]
|
| /kernel/linux/linux-5.10/include/linux/iio/ |
| D | events.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* The industrial I/O - event passing to userspace 4 * Copyright (c) 2008-2011 Jonathan Cameron 13 * IIO_EVENT_CODE() - create event identifier 14 * @chan_type: Type of the channel. Should be one of enum iio_chan_type. 15 * @diff: Whether the event is for an differential channel or not. 16 * @modifier: Modifier for the channel. Should be one of enum iio_modifier. 17 * @direction: Direction of the event. One of enum iio_event_direction. 18 * @type: Type of the event. Should be one of enum iio_event_type. 19 * @chan: Channel number for non-differential channels. [all …]
|
| /kernel/linux/linux-4.19/include/linux/iio/ |
| D | events.h | 1 /* The industrial I/O - event passing to userspace 3 * Copyright (c) 2008-2011 Jonathan Cameron 16 * IIO_EVENT_CODE() - create event identifier 17 * @chan_type: Type of the channel. Should be one of enum iio_chan_type. 18 * @diff: Whether the event is for an differential channel or not. 19 * @modifier: Modifier for the channel. Should be one of enum iio_modifier. 20 * @direction: Direction of the event. One of enum iio_event_direction. 21 * @type: Type of the event. Should be one of enum iio_event_type. 22 * @chan: Channel number for non-differential channels. 23 * @chan1: First channel number for differential channels. [all …]
|
| /kernel/linux/linux-5.10/include/sound/sof/ |
| D | channel_map.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 16 * \brief Channel map, specifies transformation of one-to-many or many-to-one. 18 * In case of one-to-many specifies how the output channels are computed out of 19 * a single source channel, 20 * in case of many-to-one specifies how a single target channel is computed 23 * Channel index specifies position of the channel in the stream on the 'one' 29 * Channel mask describes which channels are taken into account on the "many" 30 * side. Bit[i] set to 1 means that i-th channel is used for computation 33 * Channel mask is followed by array of coefficients in Q2.30 format, 34 * one per each channel set in the mask (left to right, LS bit set in the [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/xilinx/ |
| D | xilinx_dma.txt | 2 It can be configured to have one channel or two channels. If configured 3 as two channels, one is to transmit to the video device and another is 7 target devices. It can be configured to have one channel or two channels. 8 If configured as two channels, one is to transmit to the device and another 11 Xilinx AXI CDMA engine, it does transfers between memory-mapped source 12 address and a memory-mapped destination address. 19 - compatible: Should be one of- 20 "xlnx,axi-vdma-1.00.a" 21 "xlnx,axi-dma-1.00.a" 22 "xlnx,axi-cdma-1.00.a" [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/dma/xilinx/ |
| D | xilinx_dma.txt | 2 It can be configured to have one channel or two channels. If configured 3 as two channels, one is to transmit to the video device and another is 7 target devices. It can be configured to have one channel or two channels. 8 If configured as two channels, one is to transmit to the device and another 11 Xilinx AXI CDMA engine, it does transfers between memory-mapped source 12 address and a memory-mapped destination address. 15 - compatible: Should be "xlnx,axi-vdma-1.00.a" or "xlnx,axi-dma-1.00.a" or 16 "xlnx,axi-cdma-1.00.a"" 17 - #dma-cells: Should be <1>, see "dmas" property below 18 - reg: Should contain VDMA registers location and length. [all …]
|
| /kernel/linux/linux-5.10/Documentation/trace/ |
| D | stm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 protocol multiplexing data from multiple trace sources, each one of 10 which is assigned a unique pair of master and channel. While some of 14 master/channel combination from this pool. 17 sources can only be identified by master/channel combination, so in 20 master/channel pairs to the trace sources that it understands. 23 master 7 channel 15, while arbitrary user applications can use masters 34 associated with it, located in "stp-policy" subsystem directory in 40 $ ls /config/stp-policy/dummy_stm.my-policy/user 42 $ cat /config/stp-policy/dummy_stm.my-policy/user/masters [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/iio/ |
| D | core.rst | 8 :file:`drivers/iio/industrialio-*` 11 ---------------------- 13 * struct iio_dev - industrial I/O device 14 * iio_device_alloc() - allocate an :c:type:`iio_dev` from a driver 15 * iio_device_free() - free an :c:type:`iio_dev` from a driver 16 * iio_device_register() - register a device with the IIO subsystem 17 * iio_device_unregister() - unregister a device from the IIO 63 :file:`Documentation/ABI/testing/sysfs-bus-iio` file in the Linux kernel 69 struct iio_chan_spec - specification of a single channel 71 An IIO device channel is a representation of a data channel. An IIO device can [all …]
|
| /kernel/linux/linux-4.19/Documentation/driver-api/iio/ |
| D | core.rst | 8 :file:`drivers/iio/industrialio-*` 11 ---------------------- 13 * struct :c:type:`iio_dev` - industrial I/O device 14 * :c:func:`iio_device_alloc()` - alocate an :c:type:`iio_dev` from a driver 15 * :c:func:`iio_device_free()` - free an :c:type:`iio_dev` from a driver 16 * :c:func:`iio_device_register()` - register a device with the IIO subsystem 17 * :c:func:`iio_device_unregister()` - unregister a device from the IIO 63 :file:`Documentation/ABI/testing/sysfs-bus-iio` file in the Linux kernel 69 struct :c:type:`iio_chan_spec` - specification of a single channel 71 An IIO device channel is a representation of a data channel. An IIO device can [all …]
|
| /kernel/linux/linux-4.19/Documentation/trace/ |
| D | stm.rst | 7 protocol multiplexing data from multiple trace sources, each one of 8 which is assigned a unique pair of master and channel. While some of 12 master/channel combination from this pool. 15 sources can only be identified by master/channel combination, so in 18 master/channel pairs to the trace sources that it understands. 21 master 7 channel 15, while arbitrary user applications can use masters 32 associated with it, located in "stp-policy" subsystem directory in 38 $ ls /config/stp-policy/dummy_stm.my-policy/user 40 $ cat /config/stp-policy/dummy_stm.my-policy/user/masters 42 $ cat /config/stp-policy/dummy_stm.my-policy/user/channels [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/dma/ |
| D | dma.txt | 4 DMA request or channel information that goes from a hardware device to a DMA 11 - #dma-cells: Must be at least 1. Used to provide DMA controller 16 - dma-channels: Number of DMA channels supported by the controller. 17 - dma-requests: Number of DMA request signals supported by the 23 compatible = "ti,omap-sdma"; 29 #dma-cells = <1>; 30 dma-channels = <32>; 31 dma-requests = <127>; 41 - dma-masters: phandle of the DMA controller or list of phandles for 43 - #dma-cells: Must be at least 1. Used to provide DMA router specific [all …]
|
| D | mmp-dma.txt | 7 - compatible: Should be "marvell,pdma-1.0" 8 - reg: Should contain DMA registers location and length. 9 - interrupts: Either contain all of the per-channel DMA interrupts 10 or one irq for pdma device 13 - #dma-channels: Number of DMA channels supported by the controller (defaults 15 - #dma-requests: Number of DMA requestor lines supported by the controller 18 "marvell,pdma-1.0" 24 * Each channel has specific irq 25 * ICU parse out irq channel from ICU register, 26 * while DMA controller may not able to distinguish the irq channel [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | mmp-dma.txt | 7 - compatible: Should be "marvell,pdma-1.0" 8 - reg: Should contain DMA registers location and length. 9 - interrupts: Either contain all of the per-channel DMA interrupts 10 or one irq for pdma device 13 - #dma-channels: Number of DMA channels supported by the controller (defaults 15 - #dma-requests: Number of DMA requestor lines supported by the controller 18 "marvell,pdma-1.0" 24 * Each channel has specific irq 25 * ICU parse out irq channel from ICU register, 26 * while DMA controller may not able to distinguish the irq channel [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | vidioc-g-modulator.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_MODULATOR - VIDIOC_S_MODULATOR - Get or set modulator attributes 44 begin at index zero, incrementing by one until the driver returns 52 this is a write-only ioctl, it does not return the actual audio 67 .. flat-table:: struct v4l2_modulator 68 :header-rows: 0 69 :stub-columns: 0 72 * - __u32 73 - ``index`` 74 - Identifies the modulator, set by the application. [all …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | vidioc-g-modulator.rst | 1 .. -*- coding: utf-8; mode: rst -*- 12 VIDIOC_G_MODULATOR - VIDIOC_S_MODULATOR - Get or set modulator attributes 29 File descriptor returned by :ref:`open() <func-open>`. 44 begin at index zero, incrementing by one until the driver returns 52 this is a write-only ioctl, it does not return the actual audio 68 .. flat-table:: struct v4l2_modulator 69 :header-rows: 0 70 :stub-columns: 0 73 * - __u32 74 - ``index`` [all …]
|
| /kernel/linux/linux-5.10/Documentation/staging/ |
| D | rpmsg.rst | 17 flavor of real-time OS. 19 OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP. 20 Typically, the dual cortex-A9 is running Linux in a SMP configuration, 25 hardware accelerators, and therefore are often used to offload CPU-intensive 28 These remote processors could also be used to control latency-sensitive 34 hardware accessible only by the remote processor, reserving kernel-controlled 37 Rpmsg is a virtio-based messaging bus that allows kernel drivers to communicate 54 Every rpmsg device is a communication channel with a remote processor (thus 59 When a driver starts listening on a channel, its rx callback is bound with 60 a unique rpmsg local address (a 32-bit integer). This way when inbound messages [all …]
|
| /kernel/linux/linux-4.19/Documentation/ |
| D | rpmsg.txt | 17 flavor of real-time OS. 19 OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP. 20 Typically, the dual cortex-A9 is running Linux in a SMP configuration, 25 hardware accelerators, and therefore are often used to offload CPU-intensive 28 These remote processors could also be used to control latency-sensitive 34 hardware accessible only by the remote processor, reserving kernel-controlled 37 Rpmsg is a virtio-based messaging bus that allows kernel drivers to communicate 54 Every rpmsg device is a communication channel with a remote processor (thus 59 When a driver starts listening on a channel, its rx callback is bound with 60 a unique rpmsg local address (a 32-bit integer). This way when inbound messages [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | tlv320adcx140.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Texas Instruments TLV320ADCX140 Quad Channel Analog-to-Digital Converter 11 - Dan Murphy <dmurphy@ti.com> 14 The TLV320ADCX140 are multichannel (4-ch analog recording or 8-ch digital 15 PDM microphones recording), high-performance audio, analog-to-digital 28 - const: ti,tlv320adc3140 29 - const: ti,tlv320adc5140 30 - const: ti,tlv320adc6140 [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/ |
| D | xilinx-xadc.txt | 6 Currently two different frontends for the DRP interface exist. One that is only 8 other one is available on all series 7 platforms and is a softmacro with a AXI 13 - compatible: Should be one of 14 * "xlnx,zynq-xadc-1.00.a": When using the ZYNQ device 16 * "xlnx,axi-xadc-1.00.a": When using the axi-xadc pcore to 18 - reg: Address and length of the register set for the device 19 - interrupts: Interrupt for the XADC control interface. 20 - clocks: When using the ZYNQ this must be the ZYNQ PCAP clock, 21 when using the AXI-XADC pcore this must be the clock that provides the 25 - xlnx,external-mux: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | xilinx-xadc.txt | 6 Currently two different frontends for the DRP interface exist. One that is only 8 other one is available on all series 7 platforms and is a softmacro with a AXI 13 - compatible: Should be one of 14 * "xlnx,zynq-xadc-1.00.a": When using the ZYNQ device 16 * "xlnx,axi-xadc-1.00.a": When using the axi-xadc pcore to 18 - reg: Address and length of the register set for the device 19 - interrupts: Interrupt for the XADC control interface. 20 - clocks: When using the ZYNQ this must be the ZYNQ PCAP clock, 21 when using the AXI-XADC pcore this must be the clock that provides the 25 - xlnx,external-mux: [all …]
|
| /kernel/linux/linux-5.10/sound/pci/ca0106/ |
| D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 12 * Removed noise from Center/LFE channel when in Analog mode. 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ 88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */ 93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ [all …]
|
| /kernel/linux/linux-4.19/sound/pci/ca0106/ |
| D | ca0106.h | 2 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 11 * Removed noise from Center/LFE channel when in Analog mode. 49 * Implement support for Line-in capture on SB Live 24bit. 69 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 88 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 89 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 102 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ 103 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */ 108 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 109 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ [all …]
|