Home
last modified time | relevance | path

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

12345678910>>...22

/linux/include/media/
H A 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 …]
/linux/Documentation/devicetree/bindings/gpio/
H A 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 …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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 …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A 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 …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 * enum idpf_vc_xn_state - Virtchnl transaction status
26 enum idpf_vc_xn_state {
41 * struct idpf_vc_xn - Data structure representing virtchnl transactions
50 * to. May be 0-length (then NULL address permitted) if the reply data
60 enum idpf_vc_xn_state state;
70 * struct idpf_vc_xn_params - Parameters for executing transaction
74 * @async: send message asynchronously, will not wait on completion
76 * must be careful when using async handlers as the memory for
77 * the recv_buf _cannot_ be on stack if this is async.
[all …]
/linux/arch/powerpc/platforms/powernv/
H A 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 …]
/linux/drivers/comedi/drivers/
H A 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 {
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 …]
H A Dadl_pci9111.c1 // 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 …]
H A Dni_pcidio.c1 // 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/drivers/usb/fotg210/
H A 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 …]
/linux/drivers/comedi/
H A 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()
30 for (i = 0; i < bm->n_pages; i++) { in comedi_buf_map_kref_release()
31 buf = &bm->page_list[i]; in comedi_buf_map_kref_release()
32 dma_free_coherent(bm->dma_hw_dev, PAGE_SIZE, in comedi_buf_map_kref_release()
33 buf->virt_addr, in comedi_buf_map_kref_release()
34 buf->dma_addr); in comedi_buf_map_kref_release()
[all …]
/linux/drivers/gpu/drm/i915/gem/selftests/
H A 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 …]
/linux/drivers/leds/
H A 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 …]
/linux/drivers/media/platform/sunxi/sun4i-csi/
H A 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 …]
/linux/include/uapi/linux/android/
H A Dbinder.h1 /* 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/Documentation/devicetree/bindings/iommu/
H A Dmediatek,iommu.yaml1 # 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/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A 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()
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/drivers/net/ethernet/sfc/
H A Dmcdi.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2008-2013 Solarflare Communications Inc.
17 * Management-Controller-to-Driver Interface
57 "Enable MCDI logging on newly-probed functions");
64 int rc = -ENOMEM; in efx_mcdi_init()
66 efx->mcdi = kzalloc(sizeof(*efx->mcdi), GFP_KERNEL); in efx_mcdi_init()
67 if (!efx->mcdi) in efx_mcdi_init()
71 mcdi->efx = efx; in efx_mcdi_init()
73 /* consuming code assumes buffer is page-sized */ in efx_mcdi_init()
74 mcdi->logging_buffer = (char *)__get_free_page(GFP_KERNEL); in efx_mcdi_init()
[all …]
/linux/drivers/scsi/snic/
H A Dsnic_fwint.h1 /* 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/drivers/net/ethernet/sfc/siena/
H A Dmcdi.c1 // 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/lib/
H A Dtest_firmware.c1 // SPDX-License-Identifier: GPL-2.0-only
32 #define TEST_FIRMWARE_NAME "test-firmware.bin"
55 * struct test_config - represents configuration for the test for different triggers
65 * @send_uevent: whether or not to send a uevent for async requests
76 * API. Note that for async calls this typically will be a successful
78 * is out of memory. In the async case the callback is expected to do a
81 * found so we can only assume -ENOENT on async calls if the firmware is
88 * 0: success for sync, for async it means request was sent
89 * -EINVAL: invalid parameters or request
90 * -ENOENT: files not found
[all …]
/linux/fs/btrfs/
H A Dfree-space-cache.h1 /* 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);
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_eqs.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/dma-mapping.h>
28 (ALIGN((eq)->q_len * (eq)->elem_size, pg_size) / (pg_size))
30 #define GET_EQ_NUM_ELEMS_IN_PG(eq, pg_size) ((pg_size) / (eq)->elem_size)
32 #define EQ_CONS_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \
33 HINIC_CSR_AEQ_CONS_IDX_ADDR((eq)->q_id) : \
34 HINIC_CSR_CEQ_CONS_IDX_ADDR((eq)->q_id))
36 #define EQ_PROD_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \
37 HINIC_CSR_AEQ_PROD_IDX_ADDR((eq)->q_id) : \
38 HINIC_CSR_CEQ_PROD_IDX_ADDR((eq)->q_id))
[all …]
/linux/drivers/s390/cio/
H A Dvfio_ccw_fsm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Finite state machine for vfio-ccw device handling
21 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_io_helper()
28 spin_lock_irqsave(&sch->lock, flags); in fsm_io_helper()
30 orb = cp_get_orb(&private->cp, sch); in fsm_io_helper()
32 ret = -EIO; in fsm_io_helper()
37 VFIO_CCW_TRACE_EVENT(5, dev_name(&sch->dev)); in fsm_io_helper()
40 ccode = ssch(sch->schid, orb); in fsm_io_helper()
49 sch->schib.scsw.cmd.actl |= SCSW_ACTL_START_PEND; in fsm_io_helper()
51 private->state = VFIO_CCW_STATE_CP_PENDING; in fsm_io_helper()
[all …]
/linux/include/uapi/linux/
H A Dppp-ioctl.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * ppp-ioctl.h - PPP ioctl definitions.
5 * Copyright 1999-2002 Paul Mackerras.
24 #define SC_NO_TCP_CCID 0x00000008 /* disable VJ connection-id comp. */
52 #define SC_DC_ERROR 0x00400000 /* non-fatal decomp error detected */
57 enum NPmode mode;
88 #define PPPIOCGASYNCMAP _IOR('t', 88, int) /* get async map */
89 #define PPPIOCSASYNCMAP _IOW('t', 87, int) /* set async map */
91 #define PPPIOCGRASYNCMAP _IOR('t', 85, int) /* get receive async map */
92 #define PPPIOCSRASYNCMAP _IOW('t', 84, int) /* set receive async map */
[all …]

12345678910>>...22