/linux-6.12.1/include/media/ |
D | v4l2-async.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012-2013, Guennadi Liakhovetski <g.liakhovetski@gmx.de> 22 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used 28 * This enum is used by the asynchronous connection logic to define the 31 enum v4l2_async_match_type { 37 * struct v4l2_async_match_desc - async connection match information 54 enum v4l2_async_match_type type; 65 * struct v4l2_async_connection - sub-device connection descriptor, as known to 68 * @match: struct of match type and per-bus type matching data sets 69 * @notifier: the async notifier the connection is related to [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/gpio/ |
D | sprd,gpio-eic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/gpio/sprd,gpio-eic.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Orson Zhai <orsonzhai@gmail.com> 12 - Baolin Wang <baolin.wang7@gmail.com> 13 - Chunyan Zhang <zhang.lyra@gmail.com> 19 controller contains 4 sub-modules, i.e. EIC-debounce, EIC-latch, EIC-async and 20 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub- 23 The EIC-debounce sub-module provides up to 8 source input signal [all …]
|
/linux-6.12.1/drivers/media/platform/renesas/rcar-vin/ |
D | rcar-vin.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Driver for Renesas R-Car VIN 6 * Copyright (C) 2011-2013 Renesas Solutions Corp. 10 * Based on the soc-camera rcar_vin driver 18 #include <media/v4l2-async.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-dev.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-fwnode.h> 23 #include <media/videobuf2-v4l2.h> [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 24 return nfrags + DIV_ROUND_UP(sync_len, MLX5E_SW2HW_MTU(params, params->sw_mtu)); in mlx5e_ktls_dumps_num_wqes() 47 MLX5_SET(tisc, tisc, pd, mdev->mlx5e_res.hw_objs.pdn); in mlx5e_ktls_set_tisc() 48 MLX5_SET(tisc, tisc, transport_domain, mdev->mlx5e_res.hw_objs.td.tdn); in mlx5e_ktls_set_tisc() 154 mlx5_cmd_init_async_ctx(mdev, &bulk_async->async_ctx); in mlx5e_bulk_async_init() 157 bulk_async->arr[i].async_ctx = &bulk_async->async_ctx; in mlx5e_bulk_async_init() 164 mlx5_cmd_cleanup_async_ctx(&bulk_async->async_ctx); in mlx5e_bulk_async_cleanup() 170 struct mlx5e_async_ctx *async = in create_tis_callback() local 172 struct mlx5e_ktls_offload_context_tx *priv_tx = async->priv_tx; in create_tis_callback() 175 async->err = status; in create_tis_callback() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/ |
D | mediatek,smi-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/memory-controllers/mediatek,smi-common.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Yong Wu <yong.wu@mediatek.com> 24 base). Besides that, the smi async clock should be prepared and enabled for 31 - enum: 32 - mediatek,mt2701-smi-common 33 - mediatek,mt2712-smi-common 34 - mediatek,mt6779-smi-common [all …]
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | opal-async.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2013-2017 IBM Corp. 22 enum opal_async_token_state { 31 enum opal_async_token_state state; 44 int i, token = -EBUSY; in __opal_async_get_token() 72 return -ERESTARTSYS; in opal_async_get_token_interruptible() 90 return -EINVAL; in __opal_async_release_token() 132 return -EINVAL; in opal_async_wait_response() 137 return -EINVAL; in opal_async_wait_response() 164 return -EINVAL; in opal_async_wait_response_interruptible() [all …]
|
/linux-6.12.1/drivers/usb/fotg210/ |
D | fotg210-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <linux/usb/ehci-dbgp.h> 14 * To facilitate the strongest possible byte-order checking from "sparse" 33 /* fotg210_hcd->lock guards shared data against other CPUs: 34 * fotg210_hcd: async, unlink, periodic (and shadow), ... 49 enum fotg210_rh_state { 59 * ehci-timer.c) in parallel with this list. 61 enum fotg210_hrtimer_event { 62 FOTG210_HRTIMER_POLL_ASS, /* Poll for async schedule off */ 67 FOTG210_HRTIMER_ASYNC_UNLINKS, /* Unlink empty async QHs */ [all …]
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | ni_labpc_common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright (C) 2001-2003 Frank Mori Hess <fmhess@users.sourceforge.net> 23 enum scan_mode { 86 return inb(dev->iobase + reg); in labpc_inb() 92 outb(byte, dev->iobase + reg); in labpc_outb() 99 return readb(dev->mmio + reg); in labpc_readb() 105 writeb(byte, dev->mmio + reg); in labpc_writeb() 110 struct labpc_private *devpriv = dev->private; in labpc_cancel() 113 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel() 114 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel() [all …]
|
D | adl_pci9111.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Hardware driver for PCI9111 ADLink cards: PCI-9111HR 5 * Copyright (C) 2002-2005 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr> 10 * Description: Adlink PCI-9111HR 11 * Devices: [ADLink] PCI-9111HR (adl_pci9111) 12 * Author: Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr> 18 * - ai_insn read 19 * - ao_insn read/write 20 * - di_insn read 21 * - do_insn read/write [all …]
|
D | ni_pcidio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for National Instruments PCI-DIO-32HS 5 * COMEDI - Linux Control and Measurement Device Interface 11 * Description: National Instruments PCI-DIO32HS, PCI-6533 14 * Devices: [National Instruments] PCI-DIO-32HS (ni_pcidio) 15 * [National Instruments] PXI-6533, PCI-6533 (pxi-6533) 16 * [National Instruments] PCI-6534 (pci-6534) 24 * DMA mostly works for the PCI-DIO32HS, but only in timed input mode. 26 * The PCI-DIO-32HS/PCI-6533 has a configurable external trigger. Setting 31 * This driver could be easily modified to support AT-MIO32HS and AT-MIO96. [all …]
|
/linux-6.12.1/drivers/comedi/ |
D | comedi_buf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * COMEDI - Linux Control and Measurement Device Interface 6 * Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org> 28 if (bm->page_list) { in comedi_buf_map_kref_release() 29 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_kref_release() 34 buf = &bm->page_list[0]; in comedi_buf_map_kref_release() 35 dma_free_coherent(bm->dma_hw_dev, in comedi_buf_map_kref_release() 36 PAGE_SIZE * bm->n_pages, in comedi_buf_map_kref_release() 37 buf->virt_addr, buf->dma_addr); in comedi_buf_map_kref_release() 39 for (i = 0; i < bm->n_pages; i++) { in comedi_buf_map_kref_release() [all …]
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-fwnode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * formerly was located in v4l2-of.c. 11 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd. 27 #include <media/v4l2-async.h> 28 #include <media/v4l2-fwnode.h> 29 #include <media/v4l2-subdev.h> 31 #include "v4l2-subdev-priv.h" 34 enum v4l2_fwnode_bus_type fwnode_bus_type; 35 enum v4l2_mbus_type mbus_type; 45 "MIPI CSI-2 C-PHY", [all …]
|
/linux-6.12.1/mm/kasan/ |
D | hw_tags.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains core hardware tag-based KASAN code. 23 enum kasan_arg { 29 enum kasan_arg_mode { 36 enum kasan_arg_vmalloc { 42 static enum kasan_arg kasan_arg __ro_after_init; 43 static enum kasan_arg_mode kasan_arg_mode __ro_after_init; 44 static enum kasan_arg_vmalloc kasan_arg_vmalloc __initdata; 57 enum kasan_mode kasan_mode __ro_after_init; 90 return -EINVAL; in early_kasan_flag() [all …]
|
/linux-6.12.1/drivers/android/ |
D | binder_alloc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 * struct binder_buffer - buffer used for binder transactions 23 * @entry: entry alloc->buffers 28 * @async_transaction: %true if buffer is in use for an async txn 29 * @oneway_spam_suspect: %true if total async allocate size just exceed 62 * struct binder_lru_page - page object used for binder shrinker 74 * struct binder_alloc - per-binder proc state for binder allocator 78 * @mm: copy of task->mm (invariant after open) 79 * @buffer: base of per-proc address space mapped via mmap 84 * @free_async_space: VA space available for async buffers. This is [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_migrate.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2020-2021 Intel Corporation 19 unsigned int i, count = obj->base.size / sizeof(u32); in igt_fill_check_buffer() 20 enum i915_map_type map_type = in igt_fill_check_buffer() 37 err = -EINVAL; in igt_fill_check_buffer() 46 static int igt_create_migrate(struct intel_gt *gt, enum intel_region_id src, in igt_create_migrate() 47 enum intel_region_id dst) in igt_create_migrate() 49 struct drm_i915_private *i915 = gt->i915; in igt_create_migrate() 50 struct intel_memory_region *src_mr = i915->mm.regions[src]; in igt_create_migrate() 51 struct intel_memory_region *dst_mr = i915->mm.regions[dst]; in igt_create_migrate() [all …]
|
/linux-6.12.1/include/linux/ |
D | io_uring_types.h | 11 enum { 22 enum io_uring_cmd_flags { 27 /* executed by io-wq */ 127 * ring_entries - 1) 200 /* inline/task_work completion list, under ->uring_lock */ 221 /* const or read-mostly hot data */ 243 enum tk_offsets clock_offset; 245 enum task_work_notify_mode notify_method; 277 * ->iopoll_list is protected by the ctx->uring_lock for 302 * ->uring_cmd() by io_uring_cmd_insert_cancelable() [all …]
|
/linux-6.12.1/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_csi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * Copyright (C) 2016-2019 Bootlin 12 #include <media/media-device.h> 13 #include <media/v4l2-async.h> 14 #include <media/v4l2-dev.h> 15 #include <media/v4l2-device.h> 16 #include <media/v4l2-fwnode.h> 17 #include <media/videobuf2-core.h> 58 enum csi_input { 64 enum csi_output_raw { [all …]
|
/linux-6.12.1/drivers/leds/ |
D | leds-powernv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 {-1, NULL}, 68 return -1; in powernv_get_led_type() 77 enum led_brightness value) in powernv_led_set() 83 struct device *dev = powernv_led->cdev.dev; in powernv_led_set() 84 struct powernv_led_common *powernv_led_common = powernv_led->common; in powernv_led_set() 87 max_type = powernv_led_common->max_led_type; in powernv_led_set() 88 led_mask = OPAL_SLOT_LED_STATE_ON << powernv_led->led_type; in powernv_led_set() 92 /* OPAL async call */ in powernv_led_set() 95 if (token != -ERESTARTSYS) in powernv_led_set() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iommu/ |
D | mediatek,iommu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yong Wu <yong.wu@mediatek.com> 16 ARM Short-Descriptor translation table format for address translation. 24 +--------+ 26 gals0-rx gals1-rx (Global Async Local Sync rx) 29 gals0-tx gals1-tx (Global Async Local Sync tx) 31 +--------+ 35 +----------------+------- [all …]
|
/linux-6.12.1/kernel/bpf/ |
D | helpers.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 6 #include <linux/bpf-cgroup.h> 30 * inside its own verifier_ops->get_func_proto() callback it should return 42 return (unsigned long) map->ops->map_lookup_elem(map, key); in BPF_CALL_2() 59 return map->ops->map_update_elem(map, key, value, flags); in BPF_CALL_4() 77 return map->ops->map_delete_elem(map, key); in BPF_CALL_2() 91 return map->ops->map_push_elem(map, value, flags); in BPF_CALL_3() 106 return map->ops->map_pop_elem(map, value); in BPF_CALL_2() 119 return map->ops->map_peek_elem(map, value); in BPF_CALL_2() [all …]
|
/linux-6.12.1/include/uapi/linux/android/ |
D | binder.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 31 enum { 41 enum { 63 * struct binder_object_header - header shared by all binder metadata objects. 74 * driver takes care of re-writing the structure type and data as it moves 92 * struct binder_fd_object - describes a filedescriptor to be fixed up. 97 * @cookie: opaque data, used by user-space 110 /* struct binder_buffer_object - object describing a userspace buffer 138 enum { 142 /* struct binder_fd_array_object - object describing an array of fds in a buffer [all …]
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_mbx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 13 return resp_code ? -resp_code : 0; in hclgevf_resp_to_errno() 22 hdev->mbx_resp.received_resp = false; in hclgevf_reset_mbx_resp_status() 23 hdev->mbx_resp.origin_mbx_msg = 0; in hclgevf_reset_mbx_resp_status() 24 hdev->mbx_resp.resp_status = 0; in hclgevf_reset_mbx_resp_status() 25 hdev->mbx_resp.match_id++; in hclgevf_reset_mbx_resp_status() 27 if (hdev->mbx_resp.match_id == 0) in hclgevf_reset_mbx_resp_status() 28 hdev->mbx_resp.match_id = HCLGEVF_MBX_MATCH_ID_START; in hclgevf_reset_mbx_resp_status() 29 memset(hdev->mbx_resp.additional_info, 0, HCLGE_MBX_MAX_RESP_DATA_SIZE); in hclgevf_reset_mbx_resp_status() [all …]
|
/linux-6.12.1/drivers/scsi/snic/ |
D | snic_fwint.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 enum snic_io_type { 40 }; /* end of enum snic_io_type */ 46 enum snic_io_status { 78 }; /* end of enum snic_io_status */ 81 * snic_io_hdr : host <--> firmware 103 hdr->type = typ; in snic_io_hdr_enc() 104 hdr->status = status; in snic_io_hdr_enc() 105 hdr->protocol = 0; in snic_io_hdr_enc() 106 hdr->hid = cpu_to_le32(hid); in snic_io_hdr_enc() [all …]
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | mcdi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2008-2013 Solarflare Communications Inc. 18 * Management-Controller-to-Driver Interface 59 "Enable MCDI logging on newly-probed functions"); 66 int rc = -ENOMEM; in efx_siena_mcdi_init() 68 efx->mcdi = kzalloc(sizeof(*efx->mcdi), GFP_KERNEL); in efx_siena_mcdi_init() 69 if (!efx->mcdi) in efx_siena_mcdi_init() 73 mcdi->efx = efx; in efx_siena_mcdi_init() 75 /* consuming code assumes buffer is page-sized */ in efx_siena_mcdi_init() 76 mcdi->logging_buffer = (char *)__get_free_page(GFP_KERNEL); in efx_siena_mcdi_init() [all …]
|
/linux-6.12.1/fs/btrfs/ |
D | free-space-cache.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 enum btrfs_trim_state { 45 enum btrfs_trim_state trim_state; 51 return (info->trim_state == BTRFS_TRIM_STATE_TRIMMED); in btrfs_free_space_trimmed() 57 return (info->trim_state == BTRFS_TRIM_STATE_TRIMMING); in btrfs_free_space_trimming_bitmap() 70 enum { 165 bool async); 168 u64 maxlen, bool async);
|