Home
last modified time | relevance | path

Searched +full:transfer +full:- +full:function (Results 1 – 25 of 1070) sorted by relevance

12345678910>>...43

/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dcolorspaces-details.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
8 .. _col-smpte-170m:
14 PAL and by SDTV in general. The default transfer function is
20 .. flat-table:: SMPTE 170M Chromaticities
21 :header-rows: 1
22 :stub-columns: 0
25 * - Color
26 - x
27 - y
28 * - Red
[all …]
Dcolorspaces-defs.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
9 which defines the chromaticities, the default transfer function, the
11 is the transfer function identifier (enum
12 :c:type:`v4l2_xfer_func`) to specify non-standard
13 transfer functions. The third is the Y'CbCr encoding identifier (enum
15 non-standard Y'CbCr encodings and the fourth is the quantization
17 specify non-standard quantization methods. Most of the time only the
22 .. _hsv-colorspace:
24 On :ref:`HSV formats <hsv-formats>` the *Hue* is defined as the angle on
26 degrees, i.e. 0-360. When we map this angle value into 8 bits, there are
[all …]
/linux-6.12.1/drivers/mmc/core/
Dsdio_io.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2007-2008 Pierre Ossman
21 * sdio_claim_host - exclusively claim a bus for a certain SDIO function
22 * @func: SDIO function that will be accessed
24 * Claim a bus for a set of operations. The SDIO function given
32 mmc_claim_host(func->card->host); in sdio_claim_host()
37 * sdio_release_host - release a bus for a certain SDIO function
38 * @func: SDIO function that was accessed
48 mmc_release_host(func->card->host); in sdio_release_host()
53 * sdio_enable_func - enables a SDIO function for usage
[all …]
/linux-6.12.1/Documentation/driver-api/dmaengine/
Dprovider.rst20 DMA-eligible devices to the controller itself. Whenever the device
21 will want to start a transfer, it will assert a DMA request (DRQ) by
25 parameter: the transfer size. At each clock cycle, it would transfer a
26 byte of data from one buffer to another, until the transfer size has
31 cycle. For example, we may want to transfer as much data as the
36 parameter called the transfer width.
44 transfer into smaller sub-transfers.
49 non-contiguous buffers to a contiguous buffer, which is called
50 scatter-gather.
53 scatter-gather. So we're left with two cases here: either we have a
[all …]
Dclient.rst8 ``Documentation/crypto/async-tx-api.rst``
11 Below is a guide to device driver writers on how to use the Slave-DMA API of the
19 - Allocate a DMA slave channel
21 - Set slave and controller specific parameters
23 - Get a descriptor for transaction
25 - Submit the transaction
27 - Issue pending requests and wait for callback notification
40 .. code-block:: c
66 .. code-block:: c
79 DMA-engine are:
[all …]
/linux-6.12.1/drivers/spi/
Dspi-cadence.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2008 - 2014 Xilinx, Inc.
7 * based on Blackfin On-Chip SPI Driver (spi_bfin5xx.c)
25 #define CDNS_SPI_NAME "cdns-spi"
63 * SPI Configuration Register - Baud rate and target select
102 * struct cdns_spi - This definition defines spi driver instance
110 * @tx_bytes: Number of bytes left to transfer
136 return readl_relaxed(xspi->regs + offset); in cdns_spi_read()
141 writel_relaxed(val, xspi->regs + offset); in cdns_spi_write()
145 * cdns_spi_init_hw - Initialize the hardware and configure the SPI controller
[all …]
Dspi-davinci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/dma-mapping.h>
22 #include <linux/platform_data/spi-davinci.h>
136 if (dspi->rx) { in davinci_spi_rx_buf_u8()
137 u8 *rx = dspi->rx; in davinci_spi_rx_buf_u8()
139 dspi->rx = rx; in davinci_spi_rx_buf_u8()
145 if (dspi->rx) { in davinci_spi_rx_buf_u16()
146 u16 *rx = dspi->rx; in davinci_spi_rx_buf_u16()
148 dspi->rx = rx; in davinci_spi_rx_buf_u16()
156 if (dspi->tx) { in davinci_spi_tx_buf_u8()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/pressure/
Dhoneywell,mprls0025pa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
11 - Petre Rodan <petre.rodan@subdimension.ro>
20 differ in the pressure range, unit and transfer function.
23 as the transfer function.
26 the pressure values can be specified manually via honeywell,pmin-pascal and
27 honeywell,pmax-pascal.
31 The transfer function defines the ranges of numerical values delivered by the
[all …]
Dhoneywell,hsc030pa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
18 identical programming model but differ in pressure range, unit and transfer
19 function.
22 as the transfer function. Pressure range can either be provided via
23 pressure-triplet (directly extracted from the part number) or in case it's
26 The transfer function defines the ranges of raw conversion values delivered
27 by the sensor. pmin-pascal and pmax-pascal corespond to the minimum and
30 Please note that in case of an SPI-based sensor, the clock signal should not
[all …]
/linux-6.12.1/drivers/iio/pressure/
Dhsc030pa.h1 /* SPDX-License-Identifier: GPL-2.0 */
32 * @recv_cb: function that implements the chip reads
33 * @is_valid: true if last transfer has been validated
36 * @outmin: minimum raw pressure in counts (based on transfer function)
37 * @outmax: maximum raw pressure in counts (based on transfer function)
38 * @function: transfer function
54 u32 function; member
Dmprls0025pa.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
5 * Copyright (c) Andreas Klinger <ak@it-klinger.de>
8-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo…
60 * @function: transfer function
61 * @outmin: minimum raw pressure in counts (based on transfer function)
62 * @outmax: maximum raw pressure in counts (based on transfer function)
80 enum mpr_func_id function; member
/linux-6.12.1/drivers/scsi/arm/
Dfas216.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1997-2000 Russell King
19 /* transfer count low */
23 /* transfer count medium */
59 #define STAT_TRANSFERDONE (1 << 3) /* Transfer completed */
60 #define STAT_TRANSFERCNTZ (1 << 4) /* Transfer counter is zero */
82 #define INST_FUNCDONE (1 << 3) /* Function done */
101 /* Transfer period step (write) */
123 #define CLKF_F37MHZ 0x00 /* 35.01 - 40 MHz */
125 #define CLKF_F12MHZ 0x03 /* 10.01 - 15 MHz */
[all …]
Darxescsi.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1997-2000 Russell King, Stefan Hanske
12 * 30-08-1997 RMK 0.0.0 Created, READONLY version as cumana_2.c
13 * 22-01-1998 RMK 0.0.1 Updated to 2.1.80
14 * 15-04-1998 RMK 0.0.1 Only do PIO if FAS216 will allow it.
15 * 11-06-1998 SH 0.0.2 Changed to support ARXE 16-bit SCSI card
17 * 01-01-2000 SH 0.1.0 Added *real* pseudo dma writing
19 * 02-04-2000 RMK 0.1.1 Updated for new error handling code.
20 * 22-10-2000 SH Updated for new registering scheme.
62 * Function: int arxescsi_dma_setup(host, SCpnt, direction, min_type)
[all …]
/linux-6.12.1/include/linux/
Dmhi.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
10 #include <linux/dma-direction.h>
27 * enum mhi_callback - MHI callback
51 * enum mhi_flags - Transfer flags
52 * @MHI_EOB: End of buffer for bulk transfer
53 * @MHI_EOT: End of transfer
54 * @MHI_CHAIN: Linked transfer
63 * enum mhi_device_type - Device types
64 * @MHI_DEVICE_XFER: Handles data transfer
[all …]
Dmhi_ep.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <linux/dma-direction.h>
15 * struct mhi_ep_channel_config - Channel configuration structure for controller
29 * struct mhi_ep_cntrl_config - MHI Endpoint controller configuration
43 * struct mhi_ep_db_info - MHI Endpoint doorbell info
53 * struct mhi_ep_buf_info - MHI Endpoint transfer buffer info
58 * @code: Transfer completion code
59 * @cb: Callback to be executed by controller drivers after transfer completion (async)
74 * struct mhi_ep_cntrl - MHI Endpoint controller structure
103 * @raise_irq: CB function for raising IRQ to the host
[all …]
Ddmaengine.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
18 * typedef dma_cookie_t - an opaque DMA cookie
31 * enum dma_status - DMA transaction status
46 * enum dma_transaction_type - DMA transaction types/indexes
73 * enum dma_transfer_direction - dma transfer mode and direction indicator
88 * Interleaved Transfer Request
89 * ----------------------------
91 * The gap(in bytes) between two chunks is called inter-chunk-gap(ICG).
94 * that when repeated an integral number of times, specifies the transfer.
[all …]
/linux-6.12.1/Documentation/driver-api/
Dvme.rst5 -------------------
12 be provided to the registration function. Along with the maximum number of
19 The '.match' function allows control over which VME devices should be registered
20 with the driver. The match function should return 1 if a device should be
21 probed and 0 otherwise. This example match function (from vme_user.c) limits
24 .. code-block:: c
30 if (vdev->id.num >= USER_BUS_MAX)
41 dev->bridge->num.
43 A function is also provided to unregister the driver from the VME core called
49 -------------------
[all …]
/linux-6.12.1/Documentation/driver-api/mmc/
Dmmc-async-req.rst11 pre-fetch makes the cache overhead relatively significant. If the DMA
13 transfer, the DMA preparation overhead would not affect the MMC performance.
15 The intention of non-blocking (asynchronous) MMC requests is to minimize the
19 dma_unmap_sg are processing. Using non-blocking MMC requests makes it
26 The mmc_blk_issue_rw_rq() in the MMC block driver is made non-blocking.
35 in parallel with the transfer performance won't be affected.
40 https://wiki.linaro.org/WorkingGroups/Kernel/Specs/StoragePerfMMC-async-req
45 There is one new public function mmc_start_req().
47 It starts a new MMC command request for a host. The function isn't
48 truly non-blocking. If there is an ongoing async request it waits
[all …]
/linux-6.12.1/drivers/net/wireless/rsi/
Drsi_91x_usb.c33 * rsi_usb_card_write() - This function writes to the USB Card.
46 struct rsi_91x_usbdev *dev = adapter->rsi_dev; in rsi_usb_card_write()
48 u8 *seg = dev->tx_buffer; in rsi_usb_card_write()
49 int transfer; in rsi_usb_card_write() local
50 int ep = dev->bulkout_endpoint_addr[endpoint - 1]; in rsi_usb_card_write()
55 transfer = len; in rsi_usb_card_write()
56 status = usb_bulk_msg(dev->usbdev, in rsi_usb_card_write()
57 usb_sndbulkpipe(dev->usbdev, ep), in rsi_usb_card_write()
60 &transfer, in rsi_usb_card_write()
66 dev->write_fail = 1; in rsi_usb_card_write()
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-cadence.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2009 - 2014 Xilinx, Inc.
27 #define CDNS_I2C_XFER_SIZE_OFFSET 0x14 /* Transfer Size Register, RW */
38 /* Read or Write Master transfer 0 = Transmitter, 1 = Receiver */
62 * bits. A write access to this register always initiates a transfer if the I2C
120 /* Transfer size in multiples of data interrupt depth */
121 #define CDNS_I2C_TRANSFER_SIZE(max) ((max) - 3)
123 #define DRIVER_NAME "cdns-i2c"
134 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset)
135 #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset)
[all …]
/linux-6.12.1/arch/mips/loongson2ef/common/cs5536/
Dcs5536_pci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 * directly as a normal multi-function PCI device which follows
16 * the PCI-2.2 spec.
24 CS5536_FUNC_START = -1,
53 * write to PCI config space and transfer it to MSR write.
55 void cs5536_pci_conf_write4(int function, int reg, u32 value) in cs5536_pci_conf_write4() argument
57 if ((function <= CS5536_FUNC_START) || (function >= CS5536_FUNC_END)) in cs5536_pci_conf_write4()
62 if (vsm_conf_write[function] != NULL) in cs5536_pci_conf_write4()
63 vsm_conf_write[function](reg, value); in cs5536_pci_conf_write4()
67 * read PCI config space and transfer it to MSR access.
[all …]
/linux-6.12.1/Documentation/usb/
Dfunctionfs.rst8 From kernel point of view it is just a composite function with some
22 simply provide descriptors such as if the function was the
28 For more information about FunctionFS descriptors see :doc:`functionfs-desc`
38 When all files are closed the function disables itself.
51 $ mkdir /dev/ffs-mtp && mount -t functionfs mtp /dev/ffs-mtp
52 $ ( cd /dev/ffs-mtp && mtp-daemon ) &
53 $ mkdir /dev/ffs-hid && mount -t functionfs hid /dev/ffs-hid
54 $ ( cd /dev/ffs-hid && hid-daemon ) &
56 On kernel level the gadget checks ffs_data->dev_name to identify
60 just one function with any name.
[all …]
/linux-6.12.1/include/linux/mfd/
Ddln2.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 u16 handle; /* sub-driver handle (internally used only) */
13 * dln2_event_cb_t - event callback function signature
15 * @pdev - the sub-device that registered this callback
16 * @echo - the echo header field received in the message
17 * @data - the data payload
18 * @len - the data payload length
20 * The callback function is called in interrupt context and the data payload is
29 * dl2n_register_event_cb - register a callback function for an event
31 * @pdev - the sub-device that registers the callback
[all …]
/linux-6.12.1/drivers/usb/core/
Durb.c1 // SPDX-License-Identifier: GPL-2.0
24 if (urb->transfer_flags & URB_FREE_BUFFER) in urb_destroy()
25 kfree(urb->transfer_buffer); in urb_destroy()
31 * usb_init_urb - initializes a urb so that it can be used by a USB driver
37 * necessary to call this function. Only use this if you allocate the
38 * space for a struct urb on your own. If you call this function, be
42 * Only use this function if you _really_ understand what you are doing.
48 kref_init(&urb->kref); in usb_init_urb()
49 INIT_LIST_HEAD(&urb->urb_list); in usb_init_urb()
50 INIT_LIST_HEAD(&urb->anchor_list); in usb_init_urb()
[all …]
/linux-6.12.1/drivers/s390/char/
Dhmcdrv_ftp.c1 // SPDX-License-Identifier: GPL-2.0
26 * struct hmcdrv_ftp_ops - HMC drive FTP operations
27 * @startup: startup function
28 * @shutdown: shutdown function
29 * @transfer: FTP transfer function
34 ssize_t (*transfer)(const struct hmcdrv_ftp_cmdspec *ftp, member
46 * hmcdrv_ftp_cmd_getid() - determine FTP command ID from a command string
47 * @cmd: FTP command string (NOT zero-terminated)
96 if (!pdesc->str || strncmp(pdesc->str, cmd, len)) in hmcdrv_ftp_cmd_getid()
100 pdesc->str, pdesc->cmd); in hmcdrv_ftp_cmd_getid()
[all …]

12345678910>>...43