Home
last modified time | relevance | path

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

12345678910>>...44

/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/mmc/core/
H A 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 …]
/openbmc/linux/Documentation/driver-api/dmaengine/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/iio/pressure/
H A 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>
20 differ in the pressure range, unit and transfer function.
23 the transfer function. Pressure range needs to be converted from its unit to
26 The transfer function defines the ranges of numerical values delivered by the
32 https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/
33 products/sensors/pressure-sensors/board-mount-pressure-sensors/
34 micropressure-mpr-series/documents/
[all …]
/openbmc/linux/drivers/spi/
H A 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)
24 #define CDNS_SPI_NAME "cdns-spi"
62 * SPI Configuration Register - Baud rate and target select
101 * struct cdns_spi - This definition defines spi driver instance
109 * @tx_bytes: Number of bytes left to transfer
133 return readl_relaxed(xspi->regs + offset); in cdns_spi_read()
138 writel_relaxed(val, xspi->regs + offset); in cdns_spi_write()
142 * cdns_spi_init_hw - Initialize the hardware and configure the SPI controller
[all …]
H A 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 …]
/openbmc/linux/drivers/scsi/arm/
H A 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 …]
/openbmc/linux/include/linux/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/driver-api/
H A 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 …]
/openbmc/u-boot/include/
H A Ddma-uclass.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Copyright (C) 2015 - 2018 Texas Instruments Incorporated <www.ti.com>
19 * struct dma_ops - Driver model DMA operations
27 * of_xlate - Translate a client's device-tree (OF) DMA specifier.
29 * The DMA core calls this function as the first step in implementing
32 * If this function pointer is set to NULL, the DMA core will use a
33 * default implementation, which assumes #dma-cells = <1>, and that
36 * At present, the DMA API solely supports device-tree. If this
47 * request - Request a translated DMA.
49 * The DMA core calls this function as the second step in
[all …]
H A Dw83c553f.h1 /* SPDX-License-Identifier: GPL-2.0+ */
9 /* from the winbond data sheet -
10 The W83C553F SIO controller with PCI arbiter is a multi-function PCI device.
11 Function 0 is the ISA bridge, and Function 1 is the bus master IDE controller.
38 #define WINDOND_IDECSR 0x40 /*IDE Control/Status Register, Function 1*/
81 #define W83C553F_DMA1 CONFIG_SYS_ISA_IO + 0x000 /* channel 0 - 3 */
82 #define W83C553F_DMA2 CONFIG_SYS_ISA_IO + 0x0C0 /* channel 4 - 7 */
103 #define W83C553F_MODE_TM_DEMAND (0<<6) /* transfer mode - demand */
104 #define W83C553F_MODE_TM_SINGLE (1<<6) /* transfer mode - single */
105 #define W83C553F_MODE_TM_BLOCK (2<<6) /* transfer mode - block */
[all …]
H A Dmailbox.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * A mailbox is a hardware mechanism for transferring small fixed-size messages
11 * and/or notifications between the CPU on which U-Boot runs and some other
14 * Data transfer is optional; a mailbox may consist solely of a notification
15 * mechanism. When data transfer is implemented, it is via HW registers or
16 * FIFOs, rather than via RAM-based buffers. The mailbox API generally
18 * leaves any higher-level protocols to other layers.
20 * A mailbox channel is a bi-directional mechanism that can send a message or
28 * it manages often has this capability. mailbox-uclass.h describes the
38 * struct mbox_chan - A handle to a single mailbox channel.
[all …]
/openbmc/linux/Documentation/driver-api/mmc/
H A 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 …]
/openbmc/linux/drivers/net/wireless/rsi/
H A 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 …]
/openbmc/qemu/include/qemu/
H A Dcoroutine-core.h11 * See the COPYING.LIB file in the top-level directory.
25 * These functions are re-entrant and may be used outside the BQL.
41 * Mark a function that executes in coroutine context
66 * When this function returns, the coroutine is destroyed automatically and
74 * Use qemu_coroutine_enter() to actually transfer control to the coroutine.
80 * Transfer control to a coroutine
85 * Transfer control to a coroutine if it's not active (i.e. part of the call
91 * Transfer control to a coroutine and associate it with ctx
96 * Transfer control back to a coroutine's caller
98 * This function does not return until the coroutine is re-entered using
[all …]
/openbmc/linux/drivers/iio/pressure/
H A Dmprls0025pa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver
5 * Copyright (c) Andreas Klinger <ak@it-klinger.de>
8 * https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/
9 * products/sensors/pressure-sensors/board-mount-pressure-sensors/
10 * micropressure-mpr-series/documents/
11 * sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf
13 * 7-bit I2C default slave address: 0x18
46 * pressure = (press_cnt - outputmin) * scale + pmin
48 * * pressure - measured pressure in Pascal
[all …]
/openbmc/u-boot/arch/sandbox/include/asm/
H A Daxi.h1 /* SPDX-License-Identifier: GPL-2.0+ */
10 #define axi_emul_get_ops(dev) ((struct axi_emul_ops *)(dev)->driver->ops)
13 * axi_sandbox_get_emul() - Retrieve a pointer to a AXI emulation device
15 * @address: The address of a transfer that should be handled by a emulation
17 * @length: The data width of a transfer that should be handled by a emulation
20 * the transfer specified by the address and length parameters
33 * #address-cells = <0x1>;
34 * #size-cells = <0x1>;
41 * This function may then be used to retrieve the pointer to the sandbox_store
43 * width) of a AXI transfer which should be handled by a emulation device.
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Dump/
H A DEntry.interface.yaml11 - name: InitiateOffload
14 The transfer will be initiated to the target provide. The caller of
15 this function should set up a method to transfer and pass the URI to
16 to this function. If there is no exceptions the caller can assume the
17 transfer is successfully initiated. Once the transfer is completed.
21 - name: OffloadUri
27 - xyz.openbmc_project.Common.File.Error.Open
28 - xyz.openbmc_project.Common.File.Error.Write
29 - xyz.openbmc_project.Common.Error.InvalidArgument
30 - xyz.openbmc_project.Common.Error.NotAllowed
[all …]
/openbmc/linux/arch/mips/loongson2ef/common/cs5536/
H A 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 …]
/openbmc/linux/include/linux/mfd/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c38 * - Input gamma LUT (de-normalized)
39 * - Input CSC (normalized)
40 * - Surface degamma LUT (normalized)
41 * - Surface CSC (normalized)
42 * - Surface regamma LUT (normalized)
43 * - Output CSC (normalized)
49 * Plane CTM -> Plane degamma -> Plane CTM -> Plane regamma -> Plane CTM
59 * support any CRTC props with correct blending with multiple planes - but we
70 * Plane DGM Bypass -> Plane CTM Bypass -> Plane RGM Bypass -> ...
71 * CRTC DGM Bypass -> CRTC CTM Bypass -> CRTC RGM Bypass
[all …]

12345678910>>...44