| /linux/drivers/leds/ |
| H A D | leds-lp55xx-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Derived from leds-lp5521.c, leds-lp5523.c 15 #include <linux/led-class-multicolor.h> 53 static LP55XX_DEV_ATTR_RW(engine##nr##_mode, show_engine##nr##_mode, \ 69 static LP55XX_DEV_ATTR_RW(engine##nr##_leds, show_engine##nr##_leds, \ 79 static LP55XX_DEV_ATTR_WO(engine##nr##_load, store_engine##nr##_load) 116 * @reg_op_mode : Chip specific OP MODE reg addr 117 * @engine_busy : Chip specific engine busy 119 * @reset : Chip specific reset command 120 * @enable : Chip specific enable command [all …]
|
| /linux/Documentation/driver-api/dmaengine/ |
| H A D | client.rst | 2 DMA Engine API Guide 7 .. note:: For DMA Engine usage in async_tx please see: 8 ``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 12 DMA Engine. This is applicable only for slave DMA usage only. 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 [all …]
|
| /linux/Documentation/devicetree/bindings/fsi/ |
| H A D | fsi.txt | 1 FSI bus & engine generic device tree bindings 4 The FSI bus is probe-able, so the OS is able to enumerate FSI slaves, and 6 nodes to probed engines. This allows for fsi engines to expose non-probeable 7 busses, which are then exposed by the device tree. For example, an FSI engine 8 that is an I2C master - the I2C bus can be described by the device tree under 9 the engine's device tree node. 13 the fsi-master-* binding specifications. 18 fsi-master { 19 /* top-level of FSI bus topology, bound to an FSI master driver and 22 fsi-slave@<link,id> { [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_engine_heartbeat.c | 1 // SPDX-License-Identifier: MIT 20 * While the engine is active, we send a periodic pulse along the engine 21 * to check on its health and to flush any idle-barriers. If that request 22 * is stuck, and we fail to preempt it, we declare the engine hung and 23 * issue a reset -- in the hope that restores progress. 26 static bool next_heartbeat(struct intel_engine_cs *engine) in next_heartbeat() argument 31 delay = READ_ONCE(engine->props.heartbeat_interval_ms); in next_heartbeat() 33 rq = engine->heartbeat.systole; in next_heartbeat() 38 * selftests which override the value and expect specific behaviour. in next_heartbeat() 40 * heartbeat periods (or to override the pre-emption timeout as well, in next_heartbeat() [all …]
|
| H A D | intel_gt.h | 1 /* SPDX-License-Identifier: MIT */ 23 ((gt)->type != GT_MEDIA && \ 24 GRAPHICS_VER_FULL((gt)->i915) >= (from) && \ 25 GRAPHICS_VER_FULL((gt)->i915) <= (until))) 37 ((gt) && (gt)->type == GT_MEDIA && \ 38 MEDIA_VER_FULL((gt)->i915) >= (from) && \ 39 MEDIA_VER_FULL((gt)->i915) <= (until))) 42 * Check that the GT is a graphics GT with a specific IP version and has 44 * inclusive, the upper bound is exclusive. The most common use-case of this 59 IS_GRAPHICS_STEP((gt)->i915, (from), (until)))) [all …]
|
| /linux/drivers/dma/amd/ptdma/ |
| H A D | ptdma.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * -- Based on the CCP driver 25 #include "../../virt-dma.h" 94 #define QUEUE_SIZE_VAL ((ffs(CMD_Q_LEN) - 2) & \ 96 #define Q_PTR_MASK (2 << (QUEUE_SIZE_VAL + 5) - 1) 109 #define LSB_COUNT (LSB_END - LSB_START + 1) 124 * struct pt_passthru_engine - pass-through operation 133 * - bit_mod, byte_swap, src, dst, src_len 134 * - mask, mask_len if bit_mod is not PT_PASSTHRU_BITWISE_NOOP 145 * struct pt_cmd - PTDMA operation request [all …]
|
| /linux/drivers/net/ethernet/hisilicon/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 for your specific card in the following questions. 36 ports at 10/100 Mbps in full-duplex or half-duplex mode. 71 is needed by any driver which provides HNS acceleration engine or make 72 use of the engine 80 acceleration engine support. The engine is used in Hisilicon hip05, 98 This layer facilitates clients like ENET, RoCE and user-space ethernet 105 tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support" 110 This selects the HNS3_HCLGE network acceleration engine & its hardware 111 compatibility layer. The engine would be used in Hisilicon hip08 family of [all …]
|
| /linux/Documentation/leds/ |
| H A D | leds-lp5562.rst | 15 All four channels can be also controlled using the engine micro programs. 17 For the details, please refer to 'firmware' section in leds-lp55xx.txt 24 Therefore each channel should be mapped to the engine number. 29 Unlike the LP5521/LP5523/55231, LP5562 has unique feature for the engine mux, 35 Red ... Engine 1 (fixed) 36 Green ... Engine 2 (fixed) 37 Blue ... Engine 3 (fixed) 38 White ... Engine 1 or 2 or 3 (selective) 45 the engine selection and loading the firmware. 46 Engine mux has two different mode, RGB and W. [all …]
|
| /linux/Documentation/driver-api/rapidio/ |
| H A D | mport_cdev.rst | 17 for user-space applications. Most of RapidIO operations are supported through 24 Using available set of ioctl commands user-space applications can perform 27 - Reads and writes from/to configuration registers of mport devices 29 - Reads and writes from/to configuration registers of remote RapidIO devices. 32 - Set RapidIO Destination ID for mport devices (RIO_MPORT_MAINT_HDID_SET) 33 - Set RapidIO Component Tag for mport devices (RIO_MPORT_MAINT_COMPTAG_SET) 34 - Query logical index of mport devices (RIO_MPORT_MAINT_PORT_IDX_GET) 35 - Query capabilities and RapidIO link configuration of mport devices 37 - Enable/Disable reporting of RapidIO doorbell events to user-space applications 39 - Enable/Disable reporting of RIO port-write events to user-space applications [all …]
|
| /linux/drivers/gpu/drm/arm/ |
| H A D | malidp_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 * - DC - display core (general settings) 15 * - DE - display engine 16 * - SE - scaling engine 113 /* Scaling engine registers and masks. */ 170 /* register offsets and bits specific to DP500 */ 194 #define MALIDP500_LV_YUV2RGB ((s16)(-0xB8)) 218 * - RED_ARQOS @ A 4-bit signal value for close to underflow conditions 219 * - GREEN_ARQOS @ A 4-bit signal value for normal conditions 223 /* register offsets and bits specific to DP550/DP650 */ [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_rtp.h | 1 /* SPDX-License-Identifier: MIT */ 29 * Shouldn't be used directly - see XE_RTP_RULES() 55 * XE_RTP_RULE_PLATFORM - Create rule matching platform 64 * XE_RTP_RULE_SUBPLATFORM - Create rule matching platform and sub-platform 66 * @sub_: sub-platform to match 74 * XE_RTP_RULE_PLATFORM_STEP - Create rule matching platform-level stepping 81 * You need to make sure that proper support for reading platform-level stepping 90 * XE_RTP_RULE_GRAPHICS_STEP - Create rule matching graphics stepping 103 * XE_RTP_RULE_MEDIA_STEP - Create rule matching media stepping 116 * XE_RTP_RULE_ENGINE_CLASS - Create rule matching an engine class [all …]
|
| H A D | xe_pmu.c | 1 // SPDX-License-Identifier: MIT 22 * Expose events/counters like GT-C6 residency, GT frequency and per-class-engine 27 * $ ls -ld /sys/bus/event_source/devices/xe_* 35 * engine_class[20:27] Selects engine-class for event 36 * engine_instance[12:19] Selects the engine-instance for the event 39 * For engine specific events (engine-*), gt, engine_class and engine_instance parameters must be 42 * For gt specific events (gt-*) gt parameter must be passed. All other parameters will be 0. 47 * $ perf list | grep gt-c6 49 * To sample a specific event for a GT at regular intervals: 51 * $ perf stat -e <event_name,gt=> -I <interval> [all …]
|
| /linux/include/linux/ |
| H A D | hil_mlc.h | 14 * derived from this software without specific prior written permission. 30 * HP-HIL Technical Reference Manual. Hewlett Packard Product No. 45918A 43 /* The HIL has a complicated state engine. 44 * We define the structure of nodes in the state engine here. 70 /* HILSE_IN simply expects any non-errored packet to arrive 104 /* Methods for back-end drivers, e.g. hp_sdc_mlc */ 130 void *priv; /* Data specific to a particular type of MLC */ 132 int seidx; /* Current node in state engine */
|
| H A D | ccp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 27 * ccp_present - check if a CCP device is present 29 * Returns zero if a CCP device is present, -ENODEV otherwise. 34 #define CCP_VMASK ((unsigned int)((1 << CCP_VSIZE) - 1)) 39 * ccp_version - get the version of the CCP 46 * ccp_enqueue_cmd - queue an operation for processing by the CCP 55 * result in a return code of -EBUSY. 61 * will be -EINPROGRESS. Any other "err" value during callback is 65 * the return code is -EINPROGRESS or 66 * the return code is -EBUSY and CCP_CMD_MAY_BACKLOG flag is set [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_perf_types.h | 1 /* SPDX-License-Identifier: MIT */ 101 * struct i915_perf_stream_ops - the OPs to support a specific stream type 144 * Only write complete records; returning -%ENOSPC if there isn't room 148 * -%ENOSPC or -%EFAULT, even though these may be squashed before 157 * @destroy: Cleanup any stream specific resources. 165 * struct i915_perf_stream - state for a single open stream FD 179 * @engine: Engine associated with this performance stream. 181 struct intel_engine_cs *engine; member 203 * @ctx: %NULL if measuring system-wide across all contexts or a 204 * specific context that is being monitored. [all …]
|
| H A D | i915_scheduler_types.h | 2 * SPDX-License-Identifier: MIT 36 * actually, from a nonlinear, non-subjective viewpoint, it's more like a big 37 * ball of wibbly-wobbly, timey-wimey ... stuff." -The Doctor, 2015 54 * We let a new context run for a small amount of time before re-evaluating 55 * the run order. As we re-evaluate, we maintain the strict ordering of 86 &(rq__)->sched.waiters_list, \ 91 &(rq__)->sched.signalers_list, \ 95 * struct i915_sched_engine - scheduler engine 97 * A schedule engine represents a submission queue with different priority 101 * This object at the moment is quite i915 specific but will transition into a [all …]
|
| /linux/include/uapi/drm/ |
| H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 115 * driver, but rather its scope/meaning is limited to the specific piece [all …]
|
| H A D | habanalabs_accel.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 3 * Copyright 2016-2023 HabanaLabs, Ltd. 14 * Defines that are asic-specific but constitutes as ABI between kernel driver 195 * stream id is a running number from 0 up to (N-1), where N is the number 466 * Engine Numbering 607 * ASIC specific PLL index 656 * enum hl_goya_dma_direction - Direction of DMA operation inside a LIN_DMA packet that is 683 * enum hl_device_status - Device status information. 715 * Notifier event values - for the notification mechanism and the HL_INFO_GET_EVENTS command 717 * HL_NOTIFIER_EVENT_TPC_ASSERT - Indicates TPC assert event [all …]
|
| /linux/tools/include/uapi/drm/ |
| H A D | i915_drm.h | |
| /linux/Documentation/userspace-api/media/drivers/ |
| H A D | npcm-video.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 This driver is used to control the Video Capture/Differentiation (VCD) engine 9 and Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs. The VCD can 13 Driver-specific Controls 14 ------------------------ 19 The VCD engine supports two modes: 21 - COMPLETE mode: 25 - DIFF mode: 33 - ``V4L2_NPCM_CAPTURE_MODE_COMPLETE``: will set VCD to COMPLETE mode. 34 - ``V4L2_NPCM_CAPTURE_MODE_DIFF``: will set VCD to DIFF mode. [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H A D | priv.h | 1 /* SPDX-License-Identifier: MIT */ 4 #define nvkm_gr(p) container_of((p), struct nvkm_gr, engine) 5 #include <engine/gr.h> 28 /* Returns chipset-specific counts of units packed into an u64.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-chromeos-acpi | 32 Returns switch position for Chrome OS specific hardware 56 Returns firmware version for the read-only portion of the 72 Returns type of the GPIO signal for the Chrome OS specific 121 Returns the SHA-1 or SHA-256 hash that is read out of the 122 Management Engine extended registers during boot. The hash 124 Engine firmware has not changed. If Management Engine is not 132 Returns offset in CMOS bank 0 of the verified boot non-volatile 142 Return the size in bytes of the verified boot non-volatile
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | chromeos-acpi-device.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Hardware functionality specific to Chrome OS is exposed through a Chrome OS ACPI device. 11 .. flat-table:: Supported ACPI Objects 13 :header-rows: 1 15 * - Object 16 - Description 18 * - CHSW 19 - Chrome OS switch positions 21 * - HWID 22 - Chrome OS hardware ID [all …]
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | state_dump.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * hl_format_as_binary - helper function, format an integer as binary 37 buf_len -= 3; in hl_format_as_binary() 43 bit = n & (1 << (sizeof(n) * BITS_PER_BYTE - 1)); in hl_format_as_binary() 58 * resize_to_fit - helper function, resize buffer to fit given amount of data 79 return -ENOMEM; in resize_to_fit() 89 * hl_snprintf_resize() - print formatted data to buffer, resize as needed 113 return -EINVAL; in hl_snprintf_resize() 116 length = vsnprintf(*buf + *offset, *size - *offset, format, args); in hl_snprintf_resize() 125 length = vsnprintf(*buf + *offset, *size - *offset, format, in hl_snprintf_resize() [all …]
|
| /linux/drivers/rapidio/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 bool "DMA Engine support for RapidIO" 43 Say Y here if you want to use DMA Engine frameork for RapidIO data 74 provides socket-like interface to allow sharing of single RapidIO 75 messaging mailbox between multiple user-space applications. 76 See "Documentation/driver-api/rapidio/rio_cm.rst" for driver description. 83 allows to user space applications to perform RapidIO-specific
|