Home
last modified time | relevance | path

Searched +full:async +full:- +full:enum (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/kernel/linux/linux-6.6/include/media/
Dv4l2-async.h1 /* 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 …]
/kernel/linux/linux-5.10/include/media/
Dv4l2-async.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2012-2013, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
21 * enum v4l2_async_match_type - type of asynchronous subdevice logic to be used
30 * This enum is used by the asyncrhronous sub-device logic to define the
33 enum v4l2_async_match_type {
41 * struct v4l2_async_subdev - sub-device descriptor, as known to a bridge
44 * @match: union of per-bus type matching data sets
62 * Driver-specific match criteria.
65 * Driver-specific match function to be used if
68 * Driver-specific private struct with match parameters
[all …]
Dv4l2-fwnode.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
22 #include <media/v4l2-mediabus.h>
31 * struct v4l2_fwnode_bus_mipi_csi2 - MIPI CSI-2 bus data structure
48 * struct v4l2_fwnode_bus_parallel - parallel data bus data structure
60 * struct v4l2_fwnode_bus_mipi_csi1 - CSI-1/CCP2 data bus structure
62 * false - not inverted, true - inverted
63 * @strobe: false - data/clock, true - data/strobe
78 * struct v4l2_fwnode_endpoint - the endpoint data structure
101 enum v4l2_mbus_type bus_type;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dsprd,gpio-eic.yaml1 # 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 …]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/
Drcar-vin.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c1 // 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/
Dmediatek,smi-common.yaml1 # 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 …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
Dopal-async.c1 // 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 …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-async.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/
Drcar-vin.h1 /* 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 …]
/kernel/linux/linux-6.6/mm/kasan/
Dhw_tags.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file contains core hardware tag-based KASAN code.
22 enum kasan_arg {
28 enum kasan_arg_mode {
35 enum kasan_arg_vmalloc {
41 static enum kasan_arg kasan_arg __ro_after_init;
42 static enum kasan_arg_mode kasan_arg_mode __ro_after_init;
43 static enum kasan_arg_vmalloc kasan_arg_vmalloc __initdata;
56 enum kasan_mode kasan_mode __ro_after_init;
84 return -EINVAL; in early_kasan_flag()
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_labpc_common.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001-2003 Frank Mori Hess <fmhess@users.sourceforge.net>
24 enum scan_mode {
84 return inb(dev->iobase + reg); in labpc_inb()
90 outb(byte, dev->iobase + reg); in labpc_outb()
95 return readb(dev->mmio + reg); in labpc_readb()
101 writeb(byte, dev->mmio + reg); in labpc_writeb()
106 struct labpc_private *devpriv = dev->private; in labpc_cancel()
109 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel()
110 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel()
[all …]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
Dni_labpc_common.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001-2003 Frank Mori Hess <fmhess@users.sourceforge.net>
23 enum scan_mode {
83 return inb(dev->iobase + reg); in labpc_inb()
89 outb(byte, dev->iobase + reg); in labpc_outb()
94 return readb(dev->mmio + reg); in labpc_readb()
100 writeb(byte, dev->mmio + reg); in labpc_writeb()
105 struct labpc_private *devpriv = dev->private; in labpc_cancel()
108 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel()
109 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel()
[all …]
/kernel/linux/linux-6.6/drivers/usb/fotg210/
Dfotg210-hcd.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dfotg210.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/comedi/
Dcomedi_buf.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedi_buf.c1 // 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>
29 if (bm->page_list) { in comedi_buf_map_kref_release()
30 if (bm->dma_dir != DMA_NONE) { in comedi_buf_map_kref_release()
35 buf = &bm->page_list[0]; in comedi_buf_map_kref_release()
36 dma_free_coherent(bm->dma_hw_dev, in comedi_buf_map_kref_release()
37 PAGE_SIZE * bm->n_pages, in comedi_buf_map_kref_release()
38 buf->virt_addr, buf->dma_addr); in comedi_buf_map_kref_release()
40 for (i = 0; i < bm->n_pages; i++) { in comedi_buf_map_kref_release()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_csi.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_csi.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
Dv4l2-fwnode.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/android/
Dbinder_alloc.h1 /* 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
64 * struct binder_lru_page - page object used for binder shrinker
76 * struct binder_alloc - per-binder proc state for binder allocator
80 * @mm: copy of task->mm (invariant after open)
81 * @buffer: base of per-proc address space mapped via mmap
86 * @free_async_space: VA space available for async buffers. This is
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_mbx.c1 // 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()
21 hdev->mbx_resp.received_resp = false; in hclgevf_reset_mbx_resp_status()
22 hdev->mbx_resp.origin_mbx_msg = 0; in hclgevf_reset_mbx_resp_status()
23 hdev->mbx_resp.resp_status = 0; in hclgevf_reset_mbx_resp_status()
24 memset(hdev->mbx_resp.additional_info, 0, HCLGE_MBX_MAX_RESP_DATA_SIZE); in hclgevf_reset_mbx_resp_status()
43 dev_err(&hdev->pdev->dev, in hclgevf_get_mbx_resp()
47 return -EINVAL; in hclgevf_get_mbx_resp()
50 while ((!hdev->mbx_resp.received_resp) && (i < HCLGEVF_MAX_TRY_TIMES)) { in hclgevf_get_mbx_resp()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_migrate.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_atomic.c1 // SPDX-License-Identifier: GPL-2.0-only
19 struct msm_drm_private *priv = plane->dev->dev_private; in msm_atomic_prepare_fb()
20 struct msm_kms *kms = priv->kms; in msm_atomic_prepare_fb()
22 if (!new_state->fb) in msm_atomic_prepare_fb()
27 return msm_framebuffer_prepare(new_state->fb, kms->aspace); in msm_atomic_prepare_fb()
40 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in vblank_get()
41 if (!crtc->state->active) in vblank_get()
51 for_each_crtc_mask(kms->dev, crtc, crtc_mask) { in vblank_put()
52 if (!crtc->state->active) in vblank_put()
64 mutex_lock(&kms->commit_lock); in msm_atomic_async_commit()
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-powernv.c1 // 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 …]

12345678910>>...41