async 160 arch/arm/mach-omap2/usb-tusb6010.c unsigned async, unsigned sync, async 168 arch/arm/mach-omap2/usb-tusb6010.c status = gpmc_cs_request(async, SZ_16M, (unsigned long *) async 176 arch/arm/mach-omap2/usb-tusb6010.c async_cs = async; async 249 arch/powerpc/platforms/powernv/opal-async.c const __be32 *async; async 259 arch/powerpc/platforms/powernv/opal-async.c async = of_get_property(opal_node, "opal-msg-async-num", NULL); async 260 arch/powerpc/platforms/powernv/opal-async.c if (!async) { async 267 arch/powerpc/platforms/powernv/opal-async.c opal_max_async_tokens = be32_to_cpup(async); async 4200 arch/x86/kvm/mmu.c bool async; async 4211 arch/x86/kvm/mmu.c async = false; async 4212 arch/x86/kvm/mmu.c *pfn = __gfn_to_pfn_memslot(slot, gfn, false, &async, write, writable); async 4213 arch/x86/kvm/mmu.c if (!async) async 385 block/blk-mq-sched.c bool run_queue, bool async) async 440 block/blk-mq-sched.c blk_mq_run_hw_queue(hctx, async); async 23 block/blk-mq-sched.h bool run_queue, bool async); async 1464 block/blk-mq.c static void __blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async, async 1470 block/blk-mq.c if (!async && !(hctx->flags & BLK_MQ_F_BLOCKING)) { async 1491 block/blk-mq.c bool blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async) async 1510 block/blk-mq.c __blk_mq_delay_run_hw_queue(hctx, async, 0); async 1518 block/blk-mq.c void blk_mq_run_hw_queues(struct request_queue *q, bool async) async 1527 block/blk-mq.c blk_mq_run_hw_queue(hctx, async); async 1606 block/blk-mq.c void blk_mq_start_stopped_hw_queue(struct blk_mq_hw_ctx *hctx, bool async) async 1612 block/blk-mq.c blk_mq_run_hw_queue(hctx, async); async 1616 block/blk-mq.c void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async) async 1622 block/blk-mq.c blk_mq_start_stopped_hw_queue(hctx, async); async 1491 crypto/tcrypt.c unsigned int tcount, u8 *keysize, bool async) async 1509 crypto/tcrypt.c tfm = crypto_alloc_skcipher(algo, 0, async ? 0 : CRYPTO_ALG_ASYNC); async 5691 drivers/ata/libata-core.c bool async) async 5718 drivers/ata/libata-core.c if (!async) { async 235 drivers/base/power/main.c static void dpm_wait(struct device *dev, bool async) async 240 drivers/base/power/main.c if (async || (pm_async_enabled && dev->power.async_suspend)) async 250 drivers/base/power/main.c static void dpm_wait_for_children(struct device *dev, bool async) async 252 drivers/base/power/main.c device_for_each_child(dev, &async, dpm_wait_fn); async 255 drivers/base/power/main.c static void dpm_wait_for_suppliers(struct device *dev, bool async) async 271 drivers/base/power/main.c dpm_wait(link->supplier, async); async 276 drivers/base/power/main.c static bool dpm_wait_for_superior(struct device *dev, bool async) async 298 drivers/base/power/main.c dpm_wait(parent, async); async 301 drivers/base/power/main.c dpm_wait_for_suppliers(dev, async); async 310 drivers/base/power/main.c static void dpm_wait_for_consumers(struct device *dev, bool async) async 328 drivers/base/power/main.c dpm_wait(link->consumer, async); async 333 drivers/base/power/main.c static void dpm_wait_for_subordinate(struct device *dev, bool async) async 335 drivers/base/power/main.c dpm_wait_for_children(dev, async); async 336 drivers/base/power/main.c dpm_wait_for_consumers(dev, async); async 636 drivers/base/power/main.c static int device_resume_noirq(struct device *dev, pm_message_t state, bool async) async 652 drivers/base/power/main.c if (!dpm_wait_for_superior(dev, async)) async 846 drivers/base/power/main.c static int device_resume_early(struct device *dev, pm_message_t state, bool async) async 861 drivers/base/power/main.c if (!dpm_wait_for_superior(dev, async)) async 958 drivers/base/power/main.c static int device_resume(struct device *dev, pm_message_t state, bool async) async 977 drivers/base/power/main.c if (!dpm_wait_for_superior(dev, async)) async 1308 drivers/base/power/main.c static int __device_suspend_noirq(struct device *dev, pm_message_t state, bool async) async 1318 drivers/base/power/main.c dpm_wait_for_subordinate(dev, async); async 1510 drivers/base/power/main.c static int __device_suspend_late(struct device *dev, pm_message_t state, bool async) async 1521 drivers/base/power/main.c dpm_wait_for_subordinate(dev, async); async 1713 drivers/base/power/main.c static int __device_suspend(struct device *dev, pm_message_t state, bool async) async 1723 drivers/base/power/main.c dpm_wait_for_subordinate(dev, async); async 557 drivers/base/power/sysfs.c static DEVICE_ATTR_RW(async); async 69 drivers/base/regmap/internal.h bool async; async 264 drivers/base/regmap/internal.h void regmap_async_complete_cb(struct regmap_async *async, int ret); async 359 drivers/base/regmap/regcache.c map->async = true; async 383 drivers/base/regmap/regcache.c map->async = false; async 430 drivers/base/regmap/regcache.c map->async = true; async 440 drivers/base/regmap/regcache.c map->async = false; async 23 drivers/base/regmap/regmap-spi.c struct regmap_async_spi *async = data; async 25 drivers/base/regmap/regmap-spi.c regmap_async_complete_cb(&async->core, async->m.status); async 58 drivers/base/regmap/regmap-spi.c struct regmap_async_spi *async = container_of(a, async 64 drivers/base/regmap/regmap-spi.c async->t[0].tx_buf = reg; async 65 drivers/base/regmap/regmap-spi.c async->t[0].len = reg_len; async 66 drivers/base/regmap/regmap-spi.c async->t[1].tx_buf = val; async 67 drivers/base/regmap/regmap-spi.c async->t[1].len = val_len; async 69 drivers/base/regmap/regmap-spi.c spi_message_init(&async->m); async 70 drivers/base/regmap/regmap-spi.c spi_message_add_tail(&async->t[0], &async->m); async 72 drivers/base/regmap/regmap-spi.c spi_message_add_tail(&async->t[1], &async->m); async 74 drivers/base/regmap/regmap-spi.c async->m.complete = regmap_spi_complete; async 75 drivers/base/regmap/regmap-spi.c async->m.context = async; async 77 drivers/base/regmap/regmap-spi.c return spi_async(spi, &async->m); async 1340 drivers/base/regmap/regmap.c struct regmap_async *async; async 1349 drivers/base/regmap/regmap.c async = list_first_entry_or_null(&map->async_free, async 1352 drivers/base/regmap/regmap.c list_del(&async->list); async 1353 drivers/base/regmap/regmap.c kfree(async->work_buf); async 1354 drivers/base/regmap/regmap.c kfree(async); async 1570 drivers/base/regmap/regmap.c if (map->async && map->bus->async_write) { async 1571 drivers/base/regmap/regmap.c struct regmap_async *async; async 1576 drivers/base/regmap/regmap.c async = list_first_entry_or_null(&map->async_free, async 1579 drivers/base/regmap/regmap.c if (async) async 1580 drivers/base/regmap/regmap.c list_del(&async->list); async 1583 drivers/base/regmap/regmap.c if (!async) { async 1584 drivers/base/regmap/regmap.c async = map->bus->async_alloc(); async 1585 drivers/base/regmap/regmap.c if (!async) async 1588 drivers/base/regmap/regmap.c async->work_buf = kzalloc(map->format.buf_size, async 1590 drivers/base/regmap/regmap.c if (!async->work_buf) { async 1591 drivers/base/regmap/regmap.c kfree(async); async 1596 drivers/base/regmap/regmap.c async->map = map; async 1599 drivers/base/regmap/regmap.c memcpy(async->work_buf, map->work_buf, map->format.pad_bytes + async 1603 drivers/base/regmap/regmap.c list_add_tail(&async->list, &map->async_list); async 1608 drivers/base/regmap/regmap.c async->work_buf, async 1611 drivers/base/regmap/regmap.c val, val_len, async); async 1614 drivers/base/regmap/regmap.c async->work_buf, async 1617 drivers/base/regmap/regmap.c val_len, NULL, 0, async); async 1624 drivers/base/regmap/regmap.c list_move(&async->list, &map->async_free); async 1840 drivers/base/regmap/regmap.c map->async = true; async 1844 drivers/base/regmap/regmap.c map->async = false; async 2008 drivers/base/regmap/regmap.c bool *change, bool async, bool force) async 2014 drivers/base/regmap/regmap.c change, async, force); async 2035 drivers/base/regmap/regmap.c bool *change, bool async, bool force) async 2045 drivers/base/regmap/regmap.c change, async, force); async 2451 drivers/base/regmap/regmap.c map->async = true; async 2455 drivers/base/regmap/regmap.c map->async = false; async 2921 drivers/base/regmap/regmap.c bool *change, bool async, bool force) async 2927 drivers/base/regmap/regmap.c map->async = async; async 2931 drivers/base/regmap/regmap.c map->async = false; async 2939 drivers/base/regmap/regmap.c void regmap_async_complete_cb(struct regmap_async *async, int ret) async 2941 drivers/base/regmap/regmap.c struct regmap *map = async->map; async 2947 drivers/base/regmap/regmap.c list_move(&async->list, &map->async_free); async 3048 drivers/base/regmap/regmap.c map->async = true; async 3052 drivers/base/regmap/regmap.c map->async = false; async 928 drivers/crypto/inside-secure/safexcel.c int safexcel_invalidate_cache(struct crypto_async_request *async, async 954 drivers/crypto/inside-secure/safexcel.c safexcel_rdr_req_set(priv, ring, rdesc, async); async 783 drivers/crypto/inside-secure/safexcel.h int safexcel_invalidate_cache(struct crypto_async_request *async, async 408 drivers/crypto/inside-secure/safexcel_cipher.c struct crypto_async_request *async, async 489 drivers/crypto/inside-secure/safexcel_cipher.c struct crypto_async_request *async, async 496 drivers/crypto/inside-secure/safexcel_cipher.c struct skcipher_request *areq = skcipher_request_cast(async); async 833 drivers/crypto/inside-secure/safexcel_cipher.c struct crypto_async_request *async, async 836 drivers/crypto/inside-secure/safexcel_cipher.c struct skcipher_request *req = skcipher_request_cast(async); async 842 drivers/crypto/inside-secure/safexcel_cipher.c err = safexcel_handle_inv_result(priv, ring, async, sreq, async 845 drivers/crypto/inside-secure/safexcel_cipher.c err = safexcel_handle_req_result(priv, ring, async, req->src, async 855 drivers/crypto/inside-secure/safexcel_cipher.c struct crypto_async_request *async, async 858 drivers/crypto/inside-secure/safexcel_cipher.c struct aead_request *req = aead_request_cast(async); async 865 drivers/crypto/inside-secure/safexcel_cipher.c err = safexcel_handle_inv_result(priv, ring, async, sreq, async 868 drivers/crypto/inside-secure/safexcel_cipher.c err = safexcel_handle_req_result(priv, ring, async, req->src, async 894 drivers/crypto/inside-secure/safexcel_cipher.c static int safexcel_skcipher_send(struct crypto_async_request *async, int ring, async 897 drivers/crypto/inside-secure/safexcel_cipher.c struct skcipher_request *req = skcipher_request_cast(async); async 906 drivers/crypto/inside-secure/safexcel_cipher.c ret = safexcel_cipher_send_inv(async, ring, commands, results); async 917 drivers/crypto/inside-secure/safexcel_cipher.c ret = safexcel_send_req(async, ring, sreq, req->src, async 926 drivers/crypto/inside-secure/safexcel_cipher.c static int safexcel_aead_send(struct crypto_async_request *async, int ring, async 929 drivers/crypto/inside-secure/safexcel_cipher.c struct aead_request *req = aead_request_cast(async); async 939 drivers/crypto/inside-secure/safexcel_cipher.c ret = safexcel_cipher_send_inv(async, ring, commands, results); async 941 drivers/crypto/inside-secure/safexcel_cipher.c ret = safexcel_send_req(async, ring, sreq, req->src, req->dst, async 178 drivers/crypto/inside-secure/safexcel_hash.c struct crypto_async_request *async, async 182 drivers/crypto/inside-secure/safexcel_hash.c struct ahash_request *areq = ahash_request_cast(async); async 254 drivers/crypto/inside-secure/safexcel_hash.c static int safexcel_ahash_send_req(struct crypto_async_request *async, int ring, async 257 drivers/crypto/inside-secure/safexcel_hash.c struct ahash_request *areq = ahash_request_cast(async); async 412 drivers/crypto/inside-secure/safexcel_hash.c struct crypto_async_request *async, async 416 drivers/crypto/inside-secure/safexcel_hash.c struct ahash_request *areq = ahash_request_cast(async); async 446 drivers/crypto/inside-secure/safexcel_hash.c enq_ret = crypto_enqueue_request(&priv->ring[ring].queue, async); async 461 drivers/crypto/inside-secure/safexcel_hash.c struct crypto_async_request *async, async 464 drivers/crypto/inside-secure/safexcel_hash.c struct ahash_request *areq = ahash_request_cast(async); async 472 drivers/crypto/inside-secure/safexcel_hash.c err = safexcel_handle_inv_result(priv, ring, async, async 475 drivers/crypto/inside-secure/safexcel_hash.c err = safexcel_handle_req_result(priv, ring, async, async 482 drivers/crypto/inside-secure/safexcel_hash.c static int safexcel_ahash_send_inv(struct crypto_async_request *async, async 485 drivers/crypto/inside-secure/safexcel_hash.c struct ahash_request *areq = ahash_request_cast(async); async 489 drivers/crypto/inside-secure/safexcel_hash.c ret = safexcel_invalidate_cache(async, ctx->priv, async 500 drivers/crypto/inside-secure/safexcel_hash.c static int safexcel_ahash_send(struct crypto_async_request *async, async 503 drivers/crypto/inside-secure/safexcel_hash.c struct ahash_request *areq = ahash_request_cast(async); async 508 drivers/crypto/inside-secure/safexcel_hash.c ret = safexcel_ahash_send_inv(async, ring, commands, results); async 510 drivers/crypto/inside-secure/safexcel_hash.c ret = safexcel_ahash_send_req(async, ring, commands, results); async 151 drivers/firmware/arm_scmi/sensors.c s->async = SUPPORTS_ASYNC_READ(attrl); async 234 drivers/firmware/arm_scmi/sensors.c if (s->async) { async 396 drivers/gpu/drm/amd/amdgpu/amdgpu.h bool async; async 111 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c adev->mode_info.funcs->page_flip(adev, work->crtc_id, work->base, work->async); async 174 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c work->async = (page_flip_flags & DRM_MODE_PAGE_FLIP_ASYNC) != 0; async 33 drivers/gpu/drm/amd/amdgpu/amdgpu_display.h #define amdgpu_display_page_flip(adev, crtc, base, async) (adev)->mode_info.funcs->page_flip((adev), (crtc), (base), (async)) async 281 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h int crtc_id, u64 crtc_base, bool async); async 236 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c int crtc_id, u64 crtc_base, bool async) async 245 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c GRPH_SURFACE_UPDATE_H_RETRACE_EN, async ? 1 : 0); async 254 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c int crtc_id, u64 crtc_base, bool async) async 263 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c GRPH_SURFACE_UPDATE_IMMEDIATE_EN, async ? 1 : 0); async 191 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c int crtc_id, u64 crtc_base, bool async) async 197 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c WREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset, async ? async 184 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c int crtc_id, u64 crtc_base, bool async) async 190 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c WREG32(mmGRPH_FLIP_CONTROL + amdgpu_crtc->crtc_offset, async ? async 60 drivers/gpu/drm/amd/amdgpu/dce_virtual.c int crtc_id, u64 crtc_base, bool async) async 609 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c bool async) async 645 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c if (async) async 230 drivers/gpu/drm/exynos/exynos_drm_g2d.c int async; async 893 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (runqueue_node->async) async 1013 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (runqueue_node->async) async 1315 drivers/gpu/drm/exynos/exynos_drm_g2d.c runqueue_node->async = req->async; async 1335 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (runqueue_node->async) async 88 drivers/gpu/drm/mediatek/mtk_drm_drv.c bool async) async 108 drivers/gpu/drm/mediatek/mtk_drm_drv.c if (async) async 149 drivers/gpu/drm/msm/msm_atomic.c bool async = kms->funcs->vsync_time && async 152 drivers/gpu/drm/msm/msm_atomic.c trace_msm_atomic_commit_tail_start(async, crtc_mask); async 179 drivers/gpu/drm/msm/msm_atomic.c if (async) { async 213 drivers/gpu/drm/msm/msm_atomic.c trace_msm_atomic_commit_tail_finish(async, crtc_mask); async 246 drivers/gpu/drm/msm/msm_atomic.c trace_msm_atomic_commit_tail_finish(async, crtc_mask); async 12 drivers/gpu/drm/msm/msm_atomic_trace.h TP_PROTO(bool async, unsigned crtc_mask), async 13 drivers/gpu/drm/msm/msm_atomic_trace.h TP_ARGS(async, crtc_mask), async 15 drivers/gpu/drm/msm/msm_atomic_trace.h __field(bool, async) async 19 drivers/gpu/drm/msm/msm_atomic_trace.h __entry->async = async; async 23 drivers/gpu/drm/msm/msm_atomic_trace.h __entry->async, __entry->crtc_mask) async 27 drivers/gpu/drm/msm/msm_atomic_trace.h TP_PROTO(bool async, unsigned crtc_mask), async 28 drivers/gpu/drm/msm/msm_atomic_trace.h TP_ARGS(async, crtc_mask), async 30 drivers/gpu/drm/msm/msm_atomic_trace.h __field(bool, async) async 34 drivers/gpu/drm/msm/msm_atomic_trace.h __entry->async = async; async 38 drivers/gpu/drm/msm/msm_atomic_trace.h __entry->async, __entry->crtc_mask) async 149 drivers/gpu/drm/omapdrm/omap_dmm_priv.h bool async; async 299 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c if (dmm->engines[i].async) async 436 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c engine->async = wait ? false : true; async 1419 drivers/gpu/drm/radeon/evergreen.c bool async) async 1425 drivers/gpu/drm/radeon/evergreen.c async ? EVERGREEN_GRPH_SURFACE_UPDATE_H_RETRACE_EN : 0); async 162 drivers/gpu/drm/radeon/r100.c void r100_page_flip(struct radeon_device *rdev, int crtc_id, u64 crtc_base, bool async) async 745 drivers/gpu/drm/radeon/radeon.h bool async; async 1993 drivers/gpu/drm/radeon/radeon.h void (*page_flip)(struct radeon_device *rdev, int crtc, u64 crtc_base, bool async); async 2763 drivers/gpu/drm/radeon/radeon.h #define radeon_page_flip(rdev, crtc, base, async) (rdev)->asic->pflip.page_flip((rdev), (crtc), (base), (async)) async 141 drivers/gpu/drm/radeon/radeon_asic.h u64 crtc_base, bool async); async 253 drivers/gpu/drm/radeon/radeon_asic.h u64 crtc_base, bool async); async 468 drivers/gpu/drm/radeon/radeon_asic.h bool async); async 538 drivers/gpu/drm/radeon/radeon_asic.h u64 crtc_base, bool async); async 473 drivers/gpu/drm/radeon/radeon_display.c radeon_page_flip(rdev, radeon_crtc->crtc_id, work->base, work->async); async 508 drivers/gpu/drm/radeon/radeon_display.c work->async = (page_flip_flags & DRM_MODE_PAGE_FLIP_ASYNC) != 0; async 118 drivers/gpu/drm/radeon/rs600.c void rs600_page_flip(struct radeon_device *rdev, int crtc_id, u64 crtc_base, bool async) async 130 drivers/gpu/drm/radeon/rs600.c async ? AVIVO_D1GRPH_SURFACE_UPDATE_H_RETRACE_EN : 0); async 808 drivers/gpu/drm/radeon/rv770.c void rv770_page_flip(struct radeon_device *rdev, int crtc_id, u64 crtc_base, bool async) async 820 drivers/gpu/drm/radeon/rv770.c async ? AVIVO_D1GRPH_SURFACE_UPDATE_H_RETRACE_EN : 0); async 99 drivers/gpu/drm/tilcdc/tilcdc_drv.c bool async) async 218 drivers/greybus/es2.c bool async) async 222 drivers/greybus/es2.c if (async) async 25 drivers/greybus/hd.c bool async) async 29 drivers/greybus/hd.c return hd->driver->output(hd, req, size, cmd, async); async 1183 drivers/hsi/controllers/omap_ssi_port.c port->async = ssi_async; async 1252 drivers/hsi/controllers/omap_ssi_port.c port->async = hsi_dummy_msg; async 489 drivers/hsi/hsi_core.c port[i]->async = hsi_dummy_msg; async 587 drivers/hsi/hsi_core.c return port->async(msg); async 170 drivers/infiniband/core/uverbs.h struct ib_uverbs_async_event_desc async; async 472 drivers/infiniband/core/uverbs_main.c entry->desc.async.element = element; async 473 drivers/infiniband/core/uverbs_main.c entry->desc.async.event_type = event; async 474 drivers/infiniband/core/uverbs_main.c entry->desc.async.reserved = 0; async 1563 drivers/md/dm-crypt.c static void kcryptd_crypt_write_io_submit(struct dm_crypt_io *io, int async) async 1583 drivers/md/dm-crypt.c if (likely(!async) && test_bit(DM_CRYPT_NO_OFFLOAD, &cc->flags)) { async 2025 drivers/media/platform/omap3isp/isp.c static int isp_subdev_notifier_complete(struct v4l2_async_notifier *async) async 2027 drivers/media/platform/omap3isp/isp.c struct isp_device *isp = container_of(async, struct isp_device, async 737 drivers/media/platform/qcom/camss/camss.c static int camss_subdev_notifier_bound(struct v4l2_async_notifier *async, async 741 drivers/media/platform/qcom/camss/camss.c struct camss *camss = container_of(async, struct camss, notifier); async 753 drivers/media/platform/qcom/camss/camss.c static int camss_subdev_notifier_complete(struct v4l2_async_notifier *async) async 755 drivers/media/platform/qcom/camss/camss.c struct camss *camss = container_of(async, struct camss, notifier); async 794 drivers/net/ethernet/intel/i40e/i40e_adminq.c if (details->postpone && !details->async) { async 852 drivers/net/ethernet/intel/i40e/i40e_adminq.c if (!details->async && !details->postpone) { async 901 drivers/net/ethernet/intel/i40e/i40e_adminq.c (!details->async && !details->postpone)) { async 47 drivers/net/ethernet/intel/i40e/i40e_adminq.h bool async; async 696 drivers/net/ethernet/intel/iavf/iavf_adminq.c if (details->postpone && !details->async) { async 754 drivers/net/ethernet/intel/iavf/iavf_adminq.c if (!details->async && !details->postpone) { async 803 drivers/net/ethernet/intel/iavf/iavf_adminq.c (!details->async && !details->postpone)) { async 47 drivers/net/ethernet/intel/iavf/iavf_adminq.h bool async; async 903 drivers/net/ethernet/intel/iavf/iavf_common.c details.async = true; async 468 drivers/net/ethernet/sfc/mcdi.c struct efx_mcdi_async_param *async; async 473 drivers/net/ethernet/sfc/mcdi.c async = list_first_entry_or_null( async 475 drivers/net/ethernet/sfc/mcdi.c if (async) { async 477 drivers/net/ethernet/sfc/mcdi.c efx_mcdi_send_request(efx, async->cmd, async 478 drivers/net/ethernet/sfc/mcdi.c (const efx_dword_t *)(async + 1), async 479 drivers/net/ethernet/sfc/mcdi.c async->inlen); async 485 drivers/net/ethernet/sfc/mcdi.c if (async) async 501 drivers/net/ethernet/sfc/mcdi.c struct efx_mcdi_async_param *async; async 537 drivers/net/ethernet/sfc/mcdi.c async = list_first_entry(&mcdi->async_list, async 539 drivers/net/ethernet/sfc/mcdi.c list_del(&async->list); async 542 drivers/net/ethernet/sfc/mcdi.c outbuf = (efx_dword_t *)(async + 1); async 544 drivers/net/ethernet/sfc/mcdi.c min(async->outlen, data_len)); async 545 drivers/net/ethernet/sfc/mcdi.c if (!timeout && rc && !async->quiet) { async 549 drivers/net/ethernet/sfc/mcdi.c efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, async 553 drivers/net/ethernet/sfc/mcdi.c if (async->complete) async 554 drivers/net/ethernet/sfc/mcdi.c async->complete(efx, async->cookie, rc, outbuf, async 555 drivers/net/ethernet/sfc/mcdi.c min(async->outlen, data_len)); async 556 drivers/net/ethernet/sfc/mcdi.c kfree(async); async 979 drivers/net/ethernet/sfc/mcdi.c struct efx_mcdi_async_param *async; async 989 drivers/net/ethernet/sfc/mcdi.c async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), async 991 drivers/net/ethernet/sfc/mcdi.c if (!async) async 994 drivers/net/ethernet/sfc/mcdi.c async->cmd = cmd; async 995 drivers/net/ethernet/sfc/mcdi.c async->inlen = inlen; async 996 drivers/net/ethernet/sfc/mcdi.c async->outlen = outlen; async 997 drivers/net/ethernet/sfc/mcdi.c async->quiet = quiet; async 998 drivers/net/ethernet/sfc/mcdi.c async->complete = complete; async 999 drivers/net/ethernet/sfc/mcdi.c async->cookie = cookie; async 1000 drivers/net/ethernet/sfc/mcdi.c memcpy(async + 1, inbuf, inlen); async 1005 drivers/net/ethernet/sfc/mcdi.c list_add_tail(&async->list, &mcdi->async_list); async 1010 drivers/net/ethernet/sfc/mcdi.c if (mcdi->async_list.next == &async->list && async 1017 drivers/net/ethernet/sfc/mcdi.c kfree(async); async 1132 drivers/net/ethernet/sfc/mcdi.c struct efx_mcdi_async_param *async, *next; async 1159 drivers/net/ethernet/sfc/mcdi.c list_for_each_entry_safe(async, next, &mcdi->async_list, list) { async 1160 drivers/net/ethernet/sfc/mcdi.c if (async->complete) async 1161 drivers/net/ethernet/sfc/mcdi.c async->complete(efx, async->cookie, -ENETDOWN, NULL, 0); async 1162 drivers/net/ethernet/sfc/mcdi.c list_del(&async->list); async 1163 drivers/net/ethernet/sfc/mcdi.c kfree(async); async 2187 drivers/net/wireless/broadcom/b43/main.c struct b43_firmware_file *fw, bool async) async 2227 drivers/net/wireless/broadcom/b43/main.c if (async) { async 96 drivers/net/wireless/broadcom/b43/main.h struct b43_firmware_file *fw, bool async); async 1495 drivers/net/wireless/broadcom/b43legacy/main.c const struct firmware **fw, bool async) async 1509 drivers/net/wireless/broadcom/b43legacy/main.c if (async) { async 1618 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h const u8 *data, u32 count, bool async); async 474 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c const u8 *data, u32 count, bool async) async 498 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c async ? CMD_ASYNC : 0, data_size, cmd); async 1115 drivers/nvme/host/tcp.c struct nvme_tcp_request *async = &ctrl->async_req; async 1117 drivers/nvme/host/tcp.c page_frag_free(async->pdu); async 1123 drivers/nvme/host/tcp.c struct nvme_tcp_request *async = &ctrl->async_req; async 1126 drivers/nvme/host/tcp.c async->pdu = page_frag_alloc(&queue->pf_cache, async 1129 drivers/nvme/host/tcp.c if (!async->pdu) async 1132 drivers/nvme/host/tcp.c async->queue = &ctrl->queues[0]; async 409 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(input-req-async-fifo-stall, 0x12), async 410 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(output-req-async-fifo-stall, 0x13), async 411 drivers/perf/xgene_pmu.c XGENE_PMU_EVENT_ATTR(output-data-async-fifo-stall, 0x14), async 248 drivers/s390/block/dasd_eckd.h unsigned char async:1; async 533 drivers/scsi/arm/fas216.c res = async; async 608 drivers/scsi/arm/fas216.c case async: async 1358 drivers/scsi/atp870u.c atpdev->async[0] = 0; async 1365 drivers/scsi/atp870u.c atpdev->async[0] |= n; async 1367 drivers/scsi/atp870u.c atpdev->async[0] = ~(atpdev->async[0]); async 1429 drivers/scsi/atp870u.c atpdev->async[c] = 0; async 1436 drivers/scsi/atp870u.c atpdev->async[c] |= n; async 1438 drivers/scsi/atp870u.c atpdev->async[c] = ~(atpdev->async[c]); async 2115 drivers/scsi/atp870u.c if ((dev->async[c] & m) != 0) { async 41 drivers/scsi/atp870u.h unsigned short async[2]; async 1046 drivers/scsi/be2iscsi/be_mgmt.c unsigned int __beiscsi_boot_get_shandle(struct beiscsi_hba *phba, int async) async 1066 drivers/scsi/be2iscsi/be_mgmt.c if (async) { async 198 drivers/scsi/be2iscsi/be_mgmt.h unsigned int __beiscsi_boot_get_shandle(struct beiscsi_hba *phba, int async); async 1522 drivers/scsi/bnx2i/57xx_iscsi_hsi.h struct bnx2i_async_msg async; async 417 drivers/scsi/csiostor/csio_wr.c uint32_t vec, uint8_t portid, bool async, async 459 drivers/scsi/csiostor/csio_wr.c iqp.iqasynch = async; async 3043 drivers/scsi/gdth.c ha->dvr.eu.async.ionode = ha->hanum; async 3044 drivers/scsi/gdth.c ha->dvr.eu.async.status = ha->status; async 3047 drivers/scsi/gdth.c ha->dvr.size = sizeof(ha->dvr.eu.async); async 3048 drivers/scsi/gdth.c ha->dvr.eu.async.ionode = ha->hanum; async 3049 drivers/scsi/gdth.c ha->dvr.eu.async.service = ha->service; async 3050 drivers/scsi/gdth.c ha->dvr.eu.async.status = ha->status; async 3051 drivers/scsi/gdth.c ha->dvr.eu.async.info = ha->info; async 3052 drivers/scsi/gdth.c *(u32 *)ha->dvr.eu.async.scsi_coord = ha->info2; async 3076 drivers/scsi/gdth.c printk("Adapter %d: %s\n",dvr->eu.async.ionode,dvr->event_string); async 3079 drivers/scsi/gdth.c dvr->eu.async.ionode,dvr->event_string); async 3081 drivers/scsi/gdth.c } else if (dvr->eu.async.service == CACHESERVICE && async 3082 drivers/scsi/gdth.c INDEX_OK(dvr->eu.async.status, async_cache_tab)) { async 3084 drivers/scsi/gdth.c dvr->eu.async.status)); async 3086 drivers/scsi/gdth.c f = async_cache_tab[dvr->eu.async.status]; async 3115 drivers/scsi/gdth.c dvr->eu.async.ionode,dvr->eu.async.service,dvr->eu.async.status); async 3118 drivers/scsi/gdth.c dvr->eu.async.ionode,dvr->eu.async.service,dvr->eu.async.status); async 3467 drivers/scsi/gdth.c evt.event.event_data.size=sizeof(evt.event.event_data.eu.async); async 148 drivers/scsi/gdth_ioctl.h } __attribute__((packed)) async; async 1178 drivers/scsi/ibmvscsi/ibmvfc.c login_info->async.va = cpu_to_be64(vhost->async_crq.msg_token); async 1179 drivers/scsi/ibmvscsi/ibmvfc.c login_info->async.len = cpu_to_be32(vhost->async_crq.size * sizeof(*vhost->async_crq.msgs)); async 3176 drivers/scsi/ibmvscsi/ibmvfc.c struct ibmvfc_async_crq *async; async 3183 drivers/scsi/ibmvscsi/ibmvfc.c while ((async = ibmvfc_next_async_crq(vhost)) != NULL) { async 3184 drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_handle_async(async, vhost); async 3185 drivers/scsi/ibmvscsi/ibmvfc.c async->valid = 0; async 3197 drivers/scsi/ibmvscsi/ibmvfc.c if ((async = ibmvfc_next_async_crq(vhost)) != NULL) { async 3199 drivers/scsi/ibmvscsi/ibmvfc.c ibmvfc_handle_async(async, vhost); async 3200 drivers/scsi/ibmvscsi/ibmvfc.c async->valid = 0; async 166 drivers/scsi/ibmvscsi/ibmvfc.h struct srp_direct_buf async; async 741 drivers/scsi/libsas/sas_ata.c ASYNC_DOMAIN_EXCLUSIVE(async); async 770 drivers/scsi/libsas/sas_ata.c async_schedule_domain(async_sas_ata_eh, dev, &async); async 776 drivers/scsi/libsas/sas_ata.c async_synchronize_full_domain(&async); async 2266 drivers/scsi/nsp32.c goto async; async 2340 drivers/scsi/nsp32.c async: async 765 drivers/scsi/scsi_scan.c blist_flags_t *bflags, int async) async 990 drivers/scsi/scsi_scan.c if (!async && scsi_sysfs_add_sdev(sdev) != 0) async 1514 drivers/scsi/ufs/ufshcd.c int ufshcd_hold(struct ufs_hba *hba, bool async) async 1542 drivers/scsi/ufs/ufshcd.c if (async) { async 1579 drivers/scsi/ufs/ufshcd.c if (async) { async 934 drivers/scsi/ufs/ufshcd.h int ufshcd_hold(struct ufs_hba *hba, bool async); async 56 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 60 drivers/staging/comedi/comedi_buf.c if (async->prealloc_buf) { async 62 drivers/staging/comedi/comedi_buf.c vunmap(async->prealloc_buf); async 63 drivers/staging/comedi/comedi_buf.c async->prealloc_buf = NULL; async 64 drivers/staging/comedi/comedi_buf.c async->prealloc_bufsz = 0; async 68 drivers/staging/comedi/comedi_buf.c bm = async->buf_map; async 69 drivers/staging/comedi/comedi_buf.c async->buf_map = NULL; async 144 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 162 drivers/staging/comedi/comedi_buf.c async->buf_map = bm; async 171 drivers/staging/comedi/comedi_buf.c async->prealloc_buf = buf->virt_addr; async 183 drivers/staging/comedi/comedi_buf.c async->prealloc_buf = vmap(pages, n_pages, VM_MAP, async 231 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 235 drivers/staging/comedi/comedi_buf.c if (!async) async 239 drivers/staging/comedi/comedi_buf.c bm = async->buf_map; async 252 drivers/staging/comedi/comedi_buf.c struct comedi_buf_map *bm = s->async->buf_map; async 260 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 268 drivers/staging/comedi/comedi_buf.c if (async->prealloc_buf && async->prealloc_bufsz == new_size) async 280 drivers/staging/comedi/comedi_buf.c if (!async->prealloc_buf) { async 286 drivers/staging/comedi/comedi_buf.c async->prealloc_bufsz = new_size; async 293 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 295 drivers/staging/comedi/comedi_buf.c async->buf_write_alloc_count = 0; async 296 drivers/staging/comedi/comedi_buf.c async->buf_write_count = 0; async 297 drivers/staging/comedi/comedi_buf.c async->buf_read_alloc_count = 0; async 298 drivers/staging/comedi/comedi_buf.c async->buf_read_count = 0; async 300 drivers/staging/comedi/comedi_buf.c async->buf_write_ptr = 0; async 301 drivers/staging/comedi/comedi_buf.c async->buf_read_ptr = 0; async 303 drivers/staging/comedi/comedi_buf.c async->cur_chan = 0; async 304 drivers/staging/comedi/comedi_buf.c async->scans_done = 0; async 305 drivers/staging/comedi/comedi_buf.c async->scan_progress = 0; async 306 drivers/staging/comedi/comedi_buf.c async->munge_chan = 0; async 307 drivers/staging/comedi/comedi_buf.c async->munge_count = 0; async 308 drivers/staging/comedi/comedi_buf.c async->munge_ptr = 0; async 310 drivers/staging/comedi/comedi_buf.c async->events = 0; async 315 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 316 drivers/staging/comedi/comedi_buf.c unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; async 318 drivers/staging/comedi/comedi_buf.c return free_end - async->buf_write_alloc_count; async 323 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 324 drivers/staging/comedi/comedi_buf.c unsigned int free_end = async->buf_read_count + async->prealloc_bufsz; async 326 drivers/staging/comedi/comedi_buf.c return free_end - async->buf_write_count; async 343 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 349 drivers/staging/comedi/comedi_buf.c async->buf_write_alloc_count += nbytes; async 368 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 372 drivers/staging/comedi/comedi_buf.c if (!s->munge || (async->cmd.flags & CMDF_RAWDATA)) { async 373 drivers/staging/comedi/comedi_buf.c async->munge_count += num_bytes; async 382 drivers/staging/comedi/comedi_buf.c buf_end = async->prealloc_bufsz - async->munge_ptr; async 387 drivers/staging/comedi/comedi_buf.c async->prealloc_buf + async->munge_ptr, async 388 drivers/staging/comedi/comedi_buf.c block_size, async->munge_chan); async 396 drivers/staging/comedi/comedi_buf.c async->munge_chan += block_size / num_sample_bytes; async 397 drivers/staging/comedi/comedi_buf.c async->munge_chan %= async->cmd.chanlist_len; async 398 drivers/staging/comedi/comedi_buf.c async->munge_count += block_size; async 399 drivers/staging/comedi/comedi_buf.c async->munge_ptr += block_size; async 400 drivers/staging/comedi/comedi_buf.c async->munge_ptr %= async->prealloc_bufsz; async 410 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 412 drivers/staging/comedi/comedi_buf.c return async->buf_write_alloc_count - async->buf_write_count; async 433 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 439 drivers/staging/comedi/comedi_buf.c async->buf_write_count += nbytes; async 440 drivers/staging/comedi/comedi_buf.c async->buf_write_ptr += nbytes; async 441 drivers/staging/comedi/comedi_buf.c comedi_buf_munge(s, async->buf_write_count - async->munge_count); async 442 drivers/staging/comedi/comedi_buf.c if (async->buf_write_ptr >= async->prealloc_bufsz) async 443 drivers/staging/comedi/comedi_buf.c async->buf_write_ptr %= async->prealloc_bufsz; async 462 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 465 drivers/staging/comedi/comedi_buf.c if (!async) async 468 drivers/staging/comedi/comedi_buf.c num_bytes = async->munge_count - async->buf_read_count; async 498 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 501 drivers/staging/comedi/comedi_buf.c available = async->munge_count - async->buf_read_alloc_count; async 505 drivers/staging/comedi/comedi_buf.c async->buf_read_alloc_count += nbytes; async 517 drivers/staging/comedi/comedi_buf.c static unsigned int comedi_buf_read_n_allocated(struct comedi_async *async) async 519 drivers/staging/comedi/comedi_buf.c return async->buf_read_alloc_count - async->buf_read_count; async 538 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 547 drivers/staging/comedi/comedi_buf.c allocated = comedi_buf_read_n_allocated(async); async 551 drivers/staging/comedi/comedi_buf.c async->buf_read_count += nbytes; async 552 drivers/staging/comedi/comedi_buf.c async->buf_read_ptr += nbytes; async 553 drivers/staging/comedi/comedi_buf.c async->buf_read_ptr %= async->prealloc_bufsz; async 561 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 562 drivers/staging/comedi/comedi_buf.c unsigned int write_ptr = async->buf_write_ptr; async 567 drivers/staging/comedi/comedi_buf.c if (write_ptr + num_bytes > async->prealloc_bufsz) async 568 drivers/staging/comedi/comedi_buf.c block_size = async->prealloc_bufsz - write_ptr; async 572 drivers/staging/comedi/comedi_buf.c memcpy(async->prealloc_buf + write_ptr, data, block_size); async 585 drivers/staging/comedi/comedi_buf.c struct comedi_async *async = s->async; async 586 drivers/staging/comedi/comedi_buf.c unsigned int read_ptr = async->buf_read_ptr; async 591 drivers/staging/comedi/comedi_buf.c src = async->prealloc_buf + read_ptr; async 593 drivers/staging/comedi/comedi_buf.c if (nbytes >= async->prealloc_bufsz - read_ptr) async 594 drivers/staging/comedi/comedi_buf.c block_size = async->prealloc_bufsz - read_ptr; async 636 drivers/staging/comedi/comedi_buf.c s->async->events |= COMEDI_CB_OVERFLOW; async 648 drivers/staging/comedi/comedi_buf.c s->async->events |= COMEDI_CB_BLOCK; async 688 drivers/staging/comedi/comedi_buf.c s->async->events |= COMEDI_CB_BLOCK; async 339 drivers/staging/comedi/comedi_fops.c struct comedi_async *async = s->async; async 344 drivers/staging/comedi/comedi_fops.c if (new_size > async->max_bufsize) async 372 drivers/staging/comedi/comedi_fops.c s->index, async->prealloc_bufsz); async 392 drivers/staging/comedi/comedi_fops.c if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) async 393 drivers/staging/comedi/comedi_fops.c size = s->async->max_bufsize / 1024; async 423 drivers/staging/comedi/comedi_fops.c if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) async 424 drivers/staging/comedi/comedi_fops.c s->async->max_bufsize = size; async 448 drivers/staging/comedi/comedi_fops.c if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) async 449 drivers/staging/comedi/comedi_fops.c size = s->async->prealloc_bufsz / 1024; async 479 drivers/staging/comedi/comedi_fops.c if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) async 505 drivers/staging/comedi/comedi_fops.c if (s && (s->subdev_flags & SDF_CMD_WRITE) && s->async) async 506 drivers/staging/comedi/comedi_fops.c size = s->async->max_bufsize / 1024; async 536 drivers/staging/comedi/comedi_fops.c if (s && (s->subdev_flags & SDF_CMD_WRITE) && s->async) async 537 drivers/staging/comedi/comedi_fops.c s->async->max_bufsize = size; async 561 drivers/staging/comedi/comedi_fops.c if (s && (s->subdev_flags & SDF_CMD_WRITE) && s->async) async 562 drivers/staging/comedi/comedi_fops.c size = s->async->prealloc_bufsz / 1024; async 592 drivers/staging/comedi/comedi_fops.c if (s && (s->subdev_flags & SDF_CMD_WRITE) && s->async) async 732 drivers/staging/comedi/comedi_fops.c struct comedi_async *async = s->async; async 736 drivers/staging/comedi/comedi_fops.c if (async) { async 738 drivers/staging/comedi/comedi_fops.c async->inttrig = NULL; async 739 drivers/staging/comedi/comedi_fops.c kfree(async->cmd.chanlist); async 740 drivers/staging/comedi/comedi_fops.c async->cmd.chanlist = NULL; async 742 drivers/staging/comedi/comedi_fops.c wake_up_interruptible_all(&async->wait_head); async 774 drivers/staging/comedi/comedi_fops.c if (s->async) async 792 drivers/staging/comedi/comedi_fops.c if (s->async && comedi_buf_is_mmapped(s)) async 869 drivers/staging/comedi/comedi_fops.c struct comedi_async *async; async 881 drivers/staging/comedi/comedi_fops.c async = s->async; async 883 drivers/staging/comedi/comedi_fops.c if (!async) { async 895 drivers/staging/comedi/comedi_fops.c async->max_bufsize = bc.maximum_size; async 904 drivers/staging/comedi/comedi_fops.c bc.size = async->prealloc_bufsz; async 905 drivers/staging/comedi/comedi_fops.c bc.maximum_size = async->max_bufsize; async 1110 drivers/staging/comedi/comedi_fops.c struct comedi_async *async; async 1124 drivers/staging/comedi/comedi_fops.c async = s->async; async 1126 drivers/staging/comedi/comedi_fops.c if (!async || s->busy != file) async 1130 drivers/staging/comedi/comedi_fops.c if (!(async->cmd.flags & CMDF_WRITE)) { async 1165 drivers/staging/comedi/comedi_fops.c bi.buf_write_count = async->buf_write_count; async 1166 drivers/staging/comedi/comedi_fops.c bi.buf_write_ptr = async->buf_write_ptr; async 1167 drivers/staging/comedi/comedi_fops.c bi.buf_read_count = async->buf_read_count; async 1168 drivers/staging/comedi/comedi_fops.c bi.buf_read_ptr = async->buf_read_ptr; async 1355 drivers/staging/comedi/comedi_fops.c if (!s->async) { async 1360 drivers/staging/comedi/comedi_fops.c if (!s->async->inttrig) { async 1365 drivers/staging/comedi/comedi_fops.c ret = s->async->inttrig(dev, s, data[0]); async 1696 drivers/staging/comedi/comedi_fops.c if (!s->do_cmd || !s->do_cmdtest || !s->async) { async 1774 drivers/staging/comedi/comedi_fops.c struct comedi_async *async; async 1789 drivers/staging/comedi/comedi_fops.c async = s->async; async 1810 drivers/staging/comedi/comedi_fops.c async->cmd = cmd; async 1811 drivers/staging/comedi/comedi_fops.c async->cmd.data = NULL; async 1814 drivers/staging/comedi/comedi_fops.c ret = __comedi_get_user_chanlist(dev, s, user_chanlist, &async->cmd); async 1818 drivers/staging/comedi/comedi_fops.c ret = s->do_cmdtest(dev, s, &async->cmd); async 1820 drivers/staging/comedi/comedi_fops.c if (async->cmd.flags & CMDF_BOGUS || ret) { async 1822 drivers/staging/comedi/comedi_fops.c cmd = async->cmd; async 1835 drivers/staging/comedi/comedi_fops.c if (!async->prealloc_bufsz) { async 1843 drivers/staging/comedi/comedi_fops.c async->cb_mask = COMEDI_CB_BLOCK | COMEDI_CB_CANCEL_MASK; async 1844 drivers/staging/comedi/comedi_fops.c if (async->cmd.flags & CMDF_WAKE_EOS) async 1845 drivers/staging/comedi/comedi_fops.c async->cb_mask |= COMEDI_CB_EOS; async 2014 drivers/staging/comedi/comedi_fops.c if (!s->async) async 2096 drivers/staging/comedi/comedi_fops.c if (s_old && s_old->busy == file && s_old->async && async 2097 drivers/staging/comedi/comedi_fops.c !(s_old->async->cmd.flags & CMDF_WRITE)) async 2139 drivers/staging/comedi/comedi_fops.c if (s_old && s_old->busy == file && s_old->async && async 2140 drivers/staging/comedi/comedi_fops.c (s_old->async->cmd.flags & CMDF_WRITE)) async 2302 drivers/staging/comedi/comedi_fops.c struct comedi_async *async; async 2335 drivers/staging/comedi/comedi_fops.c async = s->async; async 2336 drivers/staging/comedi/comedi_fops.c if (!async) { async 2348 drivers/staging/comedi/comedi_fops.c if (size > async->prealloc_bufsz) { async 2417 drivers/staging/comedi/comedi_fops.c if (s && s->async) { async 2418 drivers/staging/comedi/comedi_fops.c poll_wait(file, &s->async->wait_head, wait); async 2420 drivers/staging/comedi/comedi_fops.c (s->async->cmd.flags & CMDF_WRITE) || async 2426 drivers/staging/comedi/comedi_fops.c if (s && s->async) { async 2430 drivers/staging/comedi/comedi_fops.c poll_wait(file, &s->async->wait_head, wait); async 2432 drivers/staging/comedi/comedi_fops.c !(s->async->cmd.flags & CMDF_WRITE) || async 2446 drivers/staging/comedi/comedi_fops.c struct comedi_async *async; async 2469 drivers/staging/comedi/comedi_fops.c if (!s || !s->async) { async 2474 drivers/staging/comedi/comedi_fops.c async = s->async; async 2475 drivers/staging/comedi/comedi_fops.c if (s->busy != file || !(async->cmd.flags & CMDF_WRITE)) { async 2480 drivers/staging/comedi/comedi_fops.c add_wait_queue(&async->wait_head, &wait); async 2499 drivers/staging/comedi/comedi_fops.c comedi_buf_write_alloc(s, async->prealloc_bufsz); async 2514 drivers/staging/comedi/comedi_fops.c !(async->cmd.flags & CMDF_WRITE)) { async 2522 drivers/staging/comedi/comedi_fops.c wp = async->buf_write_ptr; async 2523 drivers/staging/comedi/comedi_fops.c n1 = min(n, async->prealloc_bufsz - wp); async 2525 drivers/staging/comedi/comedi_fops.c m = copy_from_user(async->prealloc_buf + wp, buf, n1); async 2529 drivers/staging/comedi/comedi_fops.c m = copy_from_user(async->prealloc_buf, buf + n1, n2); async 2541 drivers/staging/comedi/comedi_fops.c remove_wait_queue(&async->wait_head, &wait); async 2565 drivers/staging/comedi/comedi_fops.c s == new_s && new_s->async == async && s->busy == file && async 2566 drivers/staging/comedi/comedi_fops.c (async->cmd.flags & CMDF_WRITE) && async 2582 drivers/staging/comedi/comedi_fops.c struct comedi_async *async; async 2605 drivers/staging/comedi/comedi_fops.c if (!s || !s->async) { async 2610 drivers/staging/comedi/comedi_fops.c async = s->async; async 2611 drivers/staging/comedi/comedi_fops.c if (s->busy != file || (async->cmd.flags & CMDF_WRITE)) { async 2616 drivers/staging/comedi/comedi_fops.c add_wait_queue(&async->wait_head, &wait); async 2648 drivers/staging/comedi/comedi_fops.c (async->cmd.flags & CMDF_WRITE)) { async 2656 drivers/staging/comedi/comedi_fops.c rp = async->buf_read_ptr; async 2657 drivers/staging/comedi/comedi_fops.c n1 = min(n, async->prealloc_bufsz - rp); async 2659 drivers/staging/comedi/comedi_fops.c m = copy_to_user(buf, async->prealloc_buf + rp, n1); async 2663 drivers/staging/comedi/comedi_fops.c m = copy_to_user(buf + n1, async->prealloc_buf, n2); async 2677 drivers/staging/comedi/comedi_fops.c remove_wait_queue(&async->wait_head, &wait); async 2701 drivers/staging/comedi/comedi_fops.c s == new_s && new_s->async == async && s->busy == file && async 2702 drivers/staging/comedi/comedi_fops.c !(async->cmd.flags & CMDF_WRITE) && async 2838 drivers/staging/comedi/comedi_fops.c struct comedi_async *async = s->async; async 2845 drivers/staging/comedi/comedi_fops.c events = async->events; async 2846 drivers/staging/comedi/comedi_fops.c async->events = 0; async 2862 drivers/staging/comedi/comedi_fops.c if (async->cb_mask & events) { async 2863 drivers/staging/comedi/comedi_fops.c wake_up_interruptible(&async->wait_head); async 2864 drivers/staging/comedi/comedi_fops.c si_code = async->cmd.flags & CMDF_WRITE ? POLL_OUT : POLL_IN; async 163 drivers/staging/comedi/comedidev.h struct comedi_async *async; async 969 drivers/staging/comedi/comedidev.h return s->async->buf_write_count - s->async->buf_read_count; async 170 drivers/staging/comedi/drivers.c if (s->async) { async 172 drivers/staging/comedi/drivers.c kfree(s->async); async 454 drivers/staging/comedi/drivers.c struct comedi_cmd *cmd = &s->async->cmd; async 463 drivers/staging/comedi/drivers.c struct comedi_async *async = s->async; async 464 drivers/staging/comedi/drivers.c struct comedi_cmd *cmd = &async->cmd; async 469 drivers/staging/comedi/drivers.c if (async->scans_done < cmd->stop_arg) async 470 drivers/staging/comedi/drivers.c scans_left = cmd->stop_arg - async->scans_done; async 515 drivers/staging/comedi/drivers.c struct comedi_async *async = s->async; async 516 drivers/staging/comedi/drivers.c struct comedi_cmd *cmd = &async->cmd; async 528 drivers/staging/comedi/drivers.c comedi_bytes_to_samples(s, async->scan_progress); async 549 drivers/staging/comedi/drivers.c struct comedi_async *async = s->async; async 550 drivers/staging/comedi/drivers.c struct comedi_cmd *cmd = &async->cmd; async 555 drivers/staging/comedi/drivers.c async->cur_chan += comedi_bytes_to_samples(s, num_bytes); async 556 drivers/staging/comedi/drivers.c async->cur_chan %= cmd->chanlist_len; async 559 drivers/staging/comedi/drivers.c async->scan_progress += num_bytes; async 560 drivers/staging/comedi/drivers.c if (async->scan_progress >= scan_length) { async 561 drivers/staging/comedi/drivers.c unsigned int nscans = async->scan_progress / scan_length; async 563 drivers/staging/comedi/drivers.c if (async->scans_done < (UINT_MAX - nscans)) async 564 drivers/staging/comedi/drivers.c async->scans_done += nscans; async 566 drivers/staging/comedi/drivers.c async->scans_done = UINT_MAX; async 568 drivers/staging/comedi/drivers.c async->scan_progress %= scan_length; async 569 drivers/staging/comedi/drivers.c async->events |= COMEDI_CB_EOS; async 593 drivers/staging/comedi/drivers.c unsigned int events = s->async->events; async 645 drivers/staging/comedi/drivers.c struct comedi_async *async; async 664 drivers/staging/comedi/drivers.c async = kzalloc(sizeof(*async), GFP_KERNEL); async 665 drivers/staging/comedi/drivers.c if (!async) async 668 drivers/staging/comedi/drivers.c init_waitqueue_head(&async->wait_head); async 669 drivers/staging/comedi/drivers.c s->async = async; async 671 drivers/staging/comedi/drivers.c async->max_bufsize = comedi_default_buf_maxsize_kb * 1024; async 673 drivers/staging/comedi/drivers.c if (buf_size > async->max_bufsize) async 674 drivers/staging/comedi/drivers.c buf_size = async->max_bufsize; async 284 drivers/staging/comedi/drivers/addi_apci_1500.c struct comedi_cmd *cmd = &s->async->cmd; async 365 drivers/staging/comedi/drivers/addi_apci_1500.c s->async->inttrig = apci1500_di_inttrig_start; async 127 drivers/staging/comedi/drivers/addi_apci_2032.c struct comedi_cmd *cmd = &s->async->cmd; async 166 drivers/staging/comedi/drivers/addi_apci_2032.c struct comedi_cmd *cmd = &s->async->cmd; async 205 drivers/staging/comedi/drivers/addi_apci_2032.c s->async->scans_done >= cmd->stop_arg) async 206 drivers/staging/comedi/drivers/addi_apci_2032.c s->async->events |= COMEDI_CB_EOA; async 207 drivers/staging/comedi/drivers/addi_apci_3120.c struct comedi_cmd *cmd = &s->async->cmd; async 243 drivers/staging/comedi/drivers/addi_apci_3120.c if (dmalen0 > s->async->prealloc_bufsz) async 244 drivers/staging/comedi/drivers/addi_apci_3120.c dmalen0 = s->async->prealloc_bufsz; async 245 drivers/staging/comedi/drivers/addi_apci_3120.c if (dmalen1 > s->async->prealloc_bufsz) async 246 drivers/staging/comedi/drivers/addi_apci_3120.c dmalen1 = s->async->prealloc_bufsz; async 428 drivers/staging/comedi/drivers/addi_apci_3120.c struct comedi_async *async = s->async; async 429 drivers/staging/comedi/drivers/addi_apci_3120.c struct comedi_cmd *cmd = &async->cmd; async 442 drivers/staging/comedi/drivers/addi_apci_3120.c async->events |= COMEDI_CB_ERROR; async 451 drivers/staging/comedi/drivers/addi_apci_3120.c async->events |= COMEDI_CB_EOS; async 454 drivers/staging/comedi/drivers/addi_apci_3120.c if ((async->events & COMEDI_CB_CANCEL_MASK) || async 455 drivers/staging/comedi/drivers/addi_apci_3120.c (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg)) async 474 drivers/staging/comedi/drivers/addi_apci_3120.c struct comedi_async *async = s->async; async 475 drivers/staging/comedi/drivers/addi_apci_3120.c struct comedi_cmd *cmd = &async->cmd; async 528 drivers/staging/comedi/drivers/addi_apci_3120.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) async 529 drivers/staging/comedi/drivers/addi_apci_3120.c async->events |= COMEDI_CB_EOA; async 540 drivers/staging/comedi/drivers/addi_apci_3120.c struct comedi_cmd *cmd = &s->async->cmd; async 364 drivers/staging/comedi/drivers/addi_apci_3xxx.c s->async->events |= COMEDI_CB_EOA; async 571 drivers/staging/comedi/drivers/addi_apci_3xxx.c struct comedi_cmd *cmd = &s->async->cmd; async 340 drivers/staging/comedi/drivers/adl_pci9111.c struct comedi_cmd *cmd = &s->async->cmd; async 410 drivers/staging/comedi/drivers/adl_pci9111.c struct comedi_cmd *cmd = &s->async->cmd; async 455 drivers/staging/comedi/drivers/adl_pci9111.c struct comedi_async *async; async 467 drivers/staging/comedi/drivers/adl_pci9111.c async = s->async; async 468 drivers/staging/comedi/drivers/adl_pci9111.c cmd = &async->cmd; async 493 drivers/staging/comedi/drivers/adl_pci9111.c async->events |= COMEDI_CB_ERROR; async 504 drivers/staging/comedi/drivers/adl_pci9111.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) async 505 drivers/staging/comedi/drivers/adl_pci9111.c async->events |= COMEDI_CB_EOA; async 410 drivers/staging/comedi/drivers/adl_pci9118.c struct comedi_cmd *cmd = &s->async->cmd; async 467 drivers/staging/comedi/drivers/adl_pci9118.c struct comedi_cmd *cmd = &s->async->cmd; async 537 drivers/staging/comedi/drivers/adl_pci9118.c struct comedi_cmd *cmd = &s->async->cmd; async 591 drivers/staging/comedi/drivers/adl_pci9118.c s->async->inttrig = NULL; async 623 drivers/staging/comedi/drivers/adl_pci9118.c struct comedi_cmd *cmd = &s->async->cmd; async 631 drivers/staging/comedi/drivers/adl_pci9118.c if (s->async->scans_done >= cmd->stop_arg) async 632 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_EOA; async 640 drivers/staging/comedi/drivers/adl_pci9118.c struct comedi_cmd *cmd = &s->async->cmd; async 662 drivers/staging/comedi/drivers/adl_pci9118.c if (s->async->scans_done >= cmd->stop_arg) async 663 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_EOA; async 666 drivers/staging/comedi/drivers/adl_pci9118.c if (s->async->events & COMEDI_CB_CANCEL_MASK) async 699 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR; async 705 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR; async 713 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR | COMEDI_CB_OVERFLOW; async 719 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR | COMEDI_CB_OVERFLOW; async 724 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR; async 729 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR | COMEDI_CB_OVERFLOW; async 788 drivers/staging/comedi/drivers/adl_pci9118.c struct comedi_cmd *cmd = &s->async->cmd; async 793 drivers/staging/comedi/drivers/adl_pci9118.c s->async->inttrig = NULL; async 803 drivers/staging/comedi/drivers/adl_pci9118.c struct comedi_cmd *cmd = &s->async->cmd; async 812 drivers/staging/comedi/drivers/adl_pci9118.c if (dmalen0 > s->async->prealloc_bufsz) { async 814 drivers/staging/comedi/drivers/adl_pci9118.c dmalen0 = s->async->prealloc_bufsz & ~3L; async 816 drivers/staging/comedi/drivers/adl_pci9118.c if (dmalen1 > s->async->prealloc_bufsz) { async 818 drivers/staging/comedi/drivers/adl_pci9118.c dmalen1 = s->async->prealloc_bufsz & ~3L; async 921 drivers/staging/comedi/drivers/adl_pci9118.c struct comedi_cmd *cmd = &s->async->cmd; async 1133 drivers/staging/comedi/drivers/adl_pci9118.c s->async->inttrig = pci9118_ai_inttrig; async 396 drivers/staging/comedi/drivers/adv_pci1710.c struct comedi_cmd *cmd = &s->async->cmd; async 404 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_ERROR; async 410 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_ERROR; async 417 drivers/staging/comedi/drivers/adv_pci1710.c ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); async 419 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_ERROR; async 426 drivers/staging/comedi/drivers/adv_pci1710.c s->async->scans_done >= cmd->stop_arg) { async 427 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_EOA; async 439 drivers/staging/comedi/drivers/adv_pci1710.c struct comedi_async *async = s->async; async 440 drivers/staging/comedi/drivers/adv_pci1710.c struct comedi_cmd *cmd = &async->cmd; async 447 drivers/staging/comedi/drivers/adv_pci1710.c async->events |= COMEDI_CB_ERROR; async 453 drivers/staging/comedi/drivers/adv_pci1710.c async->events |= COMEDI_CB_ERROR; async 461 drivers/staging/comedi/drivers/adv_pci1710.c ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); async 463 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_ERROR; async 471 drivers/staging/comedi/drivers/adv_pci1710.c async->scans_done >= cmd->stop_arg) { async 472 drivers/staging/comedi/drivers/adv_pci1710.c async->events |= COMEDI_CB_EOA; async 491 drivers/staging/comedi/drivers/adv_pci1710.c cmd = &s->async->cmd; async 525 drivers/staging/comedi/drivers/adv_pci1710.c struct comedi_cmd *cmd = &s->async->cmd; async 201 drivers/staging/comedi/drivers/amplc_dio200_common.c struct comedi_cmd *cmd = &s->async->cmd; async 223 drivers/staging/comedi/drivers/amplc_dio200_common.c struct comedi_cmd *cmd = &s->async->cmd; async 230 drivers/staging/comedi/drivers/amplc_dio200_common.c s->async->inttrig = NULL; async 243 drivers/staging/comedi/drivers/amplc_dio200_common.c struct comedi_cmd *cmd = &s->async->cmd; async 257 drivers/staging/comedi/drivers/amplc_dio200_common.c s->async->scans_done >= cmd->stop_arg) async 258 drivers/staging/comedi/drivers/amplc_dio200_common.c s->async->events |= COMEDI_CB_EOA; async 400 drivers/staging/comedi/drivers/amplc_dio200_common.c struct comedi_cmd *cmd = &s->async->cmd; async 409 drivers/staging/comedi/drivers/amplc_dio200_common.c s->async->inttrig = dio200_inttrig_start_intr; async 486 drivers/staging/comedi/drivers/amplc_pci224.c struct comedi_cmd *cmd = &s->async->cmd; async 509 drivers/staging/comedi/drivers/amplc_pci224.c struct comedi_cmd *cmd = &s->async->cmd; async 521 drivers/staging/comedi/drivers/amplc_pci224.c s->async->scans_done >= cmd->stop_arg) { async 523 drivers/staging/comedi/drivers/amplc_pci224.c s->async->events |= COMEDI_CB_EOA; async 543 drivers/staging/comedi/drivers/amplc_pci224.c s->async->events |= COMEDI_CB_OVERFLOW; async 563 drivers/staging/comedi/drivers/amplc_pci224.c s->async->scans_done >= cmd->stop_arg) { async 610 drivers/staging/comedi/drivers/amplc_pci224.c struct comedi_cmd *cmd = &s->async->cmd; async 615 drivers/staging/comedi/drivers/amplc_pci224.c s->async->inttrig = NULL; async 835 drivers/staging/comedi/drivers/amplc_pci224.c struct comedi_cmd *cmd = &s->async->cmd; async 890 drivers/staging/comedi/drivers/amplc_pci224.c s->async->inttrig = pci224_ao_inttrig_start; async 919 drivers/staging/comedi/drivers/amplc_pci224.c struct comedi_cmd *cmd = &s->async->cmd; async 968 drivers/staging/comedi/drivers/amplc_pci224.c cmd = &s->async->cmd; async 1023 drivers/staging/comedi/drivers/amplc_pci230.c cmd = &s->async->cmd; async 1065 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_async *async = s->async; async 1066 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &async->cmd; async 1070 drivers/staging/comedi/drivers/amplc_pci230.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) async 1077 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= COMEDI_CB_OVERFLOW; async 1084 drivers/staging/comedi/drivers/amplc_pci230.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) async 1085 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= COMEDI_CB_EOA; async 1096 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_async *async = s->async; async 1097 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &async->cmd; async 1155 drivers/staging/comedi/drivers/amplc_pci230.c async->scans_done >= cmd->stop_arg) { async 1172 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= events; async 1173 drivers/staging/comedi/drivers/amplc_pci230.c return !(async->events & COMEDI_CB_CANCEL_MASK); async 1213 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_async *async = s->async; async 1214 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &async->cmd; async 1274 drivers/staging/comedi/drivers/amplc_pci230.c async->inttrig = pci230_ao_inttrig_scan_begin; async 1290 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &s->async->cmd; async 1295 drivers/staging/comedi/drivers/amplc_pci230.c s->async->inttrig = NULL; async 1308 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &s->async->cmd; async 1367 drivers/staging/comedi/drivers/amplc_pci230.c s->async->inttrig = pci230_ao_inttrig_start; async 1716 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &s->async->cmd; async 1722 drivers/staging/comedi/drivers/amplc_pci230.c wake = cmd->scan_end_arg - s->async->cur_chan; async 1825 drivers/staging/comedi/drivers/amplc_pci230.c cmd = &s->async->cmd; async 1865 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_async *async = s->async; async 1866 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &async->cmd; async 1919 drivers/staging/comedi/drivers/amplc_pci230.c async->inttrig = pci230_ai_inttrig_convert; async 1987 drivers/staging/comedi/drivers/amplc_pci230.c async->inttrig = pci230_ai_inttrig_scan_begin; async 2001 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &s->async->cmd; async 2006 drivers/staging/comedi/drivers/amplc_pci230.c s->async->inttrig = NULL; async 2016 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_async *async = s->async; async 2017 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &async->cmd; async 2040 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= COMEDI_CB_ERROR; async 2067 drivers/staging/comedi/drivers/amplc_pci230.c async->scans_done >= cmd->stop_arg) { async 2068 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= COMEDI_CB_EOA; async 2074 drivers/staging/comedi/drivers/amplc_pci230.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) async 2087 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_async *async = s->async; async 2088 drivers/staging/comedi/drivers/amplc_pci230.c struct comedi_cmd *cmd = &async->cmd; async 2266 drivers/staging/comedi/drivers/amplc_pci230.c s->async->inttrig = pci230_ai_inttrig_start; async 790 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_async *async = s->async; async 791 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_cmd *cmd = &async->cmd; async 1002 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_async *async = s->async; async 1003 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_cmd *cmd = &async->cmd; async 1025 drivers/staging/comedi/drivers/cb_pcidas.c async->inttrig = NULL; async 1034 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_async *async = s->async; async 1035 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_cmd *cmd = &async->cmd; async 1080 drivers/staging/comedi/drivers/cb_pcidas.c async->inttrig = cb_pcidas_ao_inttrig; async 1110 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_async *async = s->async; async 1111 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_cmd *cmd = &async->cmd; async 1119 drivers/staging/comedi/drivers/cb_pcidas.c async->scans_done >= cmd->stop_arg) { async 1120 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_EOA; async 1123 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_ERROR; async 1143 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_async *async = s->async; async 1144 drivers/staging/comedi/drivers/cb_pcidas.c struct comedi_cmd *cmd = &async->cmd; async 1159 drivers/staging/comedi/drivers/cb_pcidas.c async->scans_done >= cmd->stop_arg) async 1160 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_EOA; async 1178 drivers/staging/comedi/drivers/cb_pcidas.c async->scans_done >= cmd->stop_arg) { async 1179 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_EOA; async 1195 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_ERROR; async 2562 drivers/staging/comedi/drivers/cb_pcidas64.c struct comedi_async *async = s->async; async 2563 drivers/staging/comedi/drivers/cb_pcidas64.c struct comedi_cmd *cmd = &async->cmd; async 2821 drivers/staging/comedi/drivers/cb_pcidas64.c struct comedi_async *async = s->async; async 2822 drivers/staging/comedi/drivers/cb_pcidas64.c struct comedi_cmd *cmd = &async->cmd; async 2829 drivers/staging/comedi/drivers/cb_pcidas64.c async->events |= COMEDI_CB_ERROR; async 2858 drivers/staging/comedi/drivers/cb_pcidas64.c async->scans_done >= cmd->stop_arg) || async 2860 drivers/staging/comedi/drivers/cb_pcidas64.c async->events |= COMEDI_CB_EOA; async 2998 drivers/staging/comedi/drivers/cb_pcidas64.c struct comedi_async *async; async 3006 drivers/staging/comedi/drivers/cb_pcidas64.c async = s->async; async 3007 drivers/staging/comedi/drivers/cb_pcidas64.c cmd = &async->cmd; async 3034 drivers/staging/comedi/drivers/cb_pcidas64.c async->scans_done >= cmd->stop_arg) || async 3036 drivers/staging/comedi/drivers/cb_pcidas64.c async->events |= COMEDI_CB_EOA; async 3038 drivers/staging/comedi/drivers/cb_pcidas64.c async->events |= COMEDI_CB_ERROR; async 3244 drivers/staging/comedi/drivers/cb_pcidas64.c s->async->scans_done >= cmd->stop_arg) async 3265 drivers/staging/comedi/drivers/cb_pcidas64.c else if (use_internal_queue_6xxx(&dev->read_subdev->async->cmd)) async 3274 drivers/staging/comedi/drivers/cb_pcidas64.c struct comedi_cmd *cmd = &s->async->cmd; async 3289 drivers/staging/comedi/drivers/cb_pcidas64.c s->async->inttrig = NULL; async 3297 drivers/staging/comedi/drivers/cb_pcidas64.c struct comedi_cmd *cmd = &s->async->cmd; async 3314 drivers/staging/comedi/drivers/cb_pcidas64.c s->async->inttrig = ao_inttrig; async 201 drivers/staging/comedi/drivers/comedi_test.c struct comedi_async *async = s->async; async 202 drivers/staging/comedi/drivers/comedi_test.c struct comedi_cmd *cmd = &async->cmd; async 211 drivers/staging/comedi/drivers/comedi_test.c unsigned int chanspec = cmd->chanlist[async->cur_chan]; async 219 drivers/staging/comedi/drivers/comedi_test.c if (async->scan_progress == 0) { async 232 drivers/staging/comedi/drivers/comedi_test.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { async 233 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_EOA; async 352 drivers/staging/comedi/drivers/comedi_test.c struct comedi_cmd *cmd = &s->async->cmd; async 438 drivers/staging/comedi/drivers/comedi_test.c struct comedi_async *async = s->async; async 439 drivers/staging/comedi/drivers/comedi_test.c struct comedi_cmd *cmd = &async->cmd; async 468 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_OVERFLOW; async 481 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_OVERFLOW; async 490 drivers/staging/comedi/drivers/comedi_test.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { async 491 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_EOA; async 493 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_OVERFLOW; async 511 drivers/staging/comedi/drivers/comedi_test.c struct comedi_async *async = s->async; async 512 drivers/staging/comedi/drivers/comedi_test.c struct comedi_cmd *cmd = &async->cmd; async 517 drivers/staging/comedi/drivers/comedi_test.c async->inttrig = NULL; async 588 drivers/staging/comedi/drivers/comedi_test.c struct comedi_cmd *cmd = &s->async->cmd; async 597 drivers/staging/comedi/drivers/comedi_test.c s->async->inttrig = waveform_ao_inttrig_start; async 606 drivers/staging/comedi/drivers/comedi_test.c s->async->inttrig = NULL; async 471 drivers/staging/comedi/drivers/das16.c struct comedi_async *async = s->async; async 472 drivers/staging/comedi/drivers/das16.c struct comedi_cmd *cmd = &async->cmd; async 497 drivers/staging/comedi/drivers/das16.c async->events |= COMEDI_CB_ERROR; async 514 drivers/staging/comedi/drivers/das16.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) async 515 drivers/staging/comedi/drivers/das16.c async->events |= COMEDI_CB_EOA; async 699 drivers/staging/comedi/drivers/das16.c struct comedi_async *async = s->async; async 700 drivers/staging/comedi/drivers/das16.c struct comedi_cmd *cmd = &async->cmd; async 243 drivers/staging/comedi/drivers/das16m1.c struct comedi_async *async = s->async; async 244 drivers/staging/comedi/drivers/das16m1.c struct comedi_cmd *cmd = &async->cmd; async 378 drivers/staging/comedi/drivers/das16m1.c struct comedi_async *async = s->async; async 379 drivers/staging/comedi/drivers/das16m1.c struct comedi_cmd *cmd = &async->cmd; async 420 drivers/staging/comedi/drivers/das16m1.c async->events |= COMEDI_CB_EOA; async 429 drivers/staging/comedi/drivers/das16m1.c async->events |= COMEDI_CB_ERROR; async 352 drivers/staging/comedi/drivers/das1800.c struct comedi_cmd *cmd = &s->async->cmd; async 360 drivers/staging/comedi/drivers/das1800.c s->async->scans_done >= cmd->stop_arg) async 451 drivers/staging/comedi/drivers/das1800.c struct comedi_async *async = s->async; async 452 drivers/staging/comedi/drivers/das1800.c struct comedi_cmd *cmd = &async->cmd; async 471 drivers/staging/comedi/drivers/das1800.c async->events |= COMEDI_CB_ERROR; async 485 drivers/staging/comedi/drivers/das1800.c async->events |= COMEDI_CB_EOA; async 487 drivers/staging/comedi/drivers/das1800.c async->scans_done >= cmd->stop_arg) { async 488 drivers/staging/comedi/drivers/das1800.c async->events |= COMEDI_CB_EOA; async 750 drivers/staging/comedi/drivers/das1800.c struct comedi_cmd *cmd = &s->async->cmd; async 840 drivers/staging/comedi/drivers/das1800.c struct comedi_async *async = s->async; async 841 drivers/staging/comedi/drivers/das1800.c const struct comedi_cmd *cmd = &async->cmd; async 178 drivers/staging/comedi/drivers/das6402.c struct comedi_async *async = s->async; async 179 drivers/staging/comedi/drivers/das6402.c struct comedi_cmd *cmd = &async->cmd; async 187 drivers/staging/comedi/drivers/das6402.c async->events |= COMEDI_CB_OVERFLOW; async 195 drivers/staging/comedi/drivers/das6402.c async->scans_done >= cmd->stop_arg) async 196 drivers/staging/comedi/drivers/das6402.c async->events |= COMEDI_CB_EOA; async 227 drivers/staging/comedi/drivers/das6402.c struct comedi_cmd *cmd = &s->async->cmd; async 370 drivers/staging/comedi/drivers/das800.c struct comedi_async *async = s->async; async 371 drivers/staging/comedi/drivers/das800.c struct comedi_cmd *cmd = &async->cmd; async 426 drivers/staging/comedi/drivers/das800.c struct comedi_async *async; async 441 drivers/staging/comedi/drivers/das800.c async = s->async; async 442 drivers/staging/comedi/drivers/das800.c cmd = &async->cmd; async 478 drivers/staging/comedi/drivers/das800.c async->scans_done >= cmd->stop_arg) { async 479 drivers/staging/comedi/drivers/das800.c async->events |= COMEDI_CB_EOA; async 486 drivers/staging/comedi/drivers/das800.c async->events |= COMEDI_CB_ERROR; async 491 drivers/staging/comedi/drivers/das800.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { async 366 drivers/staging/comedi/drivers/dmm32at.c struct comedi_cmd *cmd = &s->async->cmd; async 419 drivers/staging/comedi/drivers/dmm32at.c struct comedi_cmd *cmd = &s->async->cmd; async 427 drivers/staging/comedi/drivers/dmm32at.c s->async->scans_done >= cmd->stop_arg) async 428 drivers/staging/comedi/drivers/dmm32at.c s->async->events |= COMEDI_CB_EOA; async 197 drivers/staging/comedi/drivers/dt2811.c struct comedi_async *async = s->async; async 198 drivers/staging/comedi/drivers/dt2811.c struct comedi_cmd *cmd = &async->cmd; async 207 drivers/staging/comedi/drivers/dt2811.c async->events |= COMEDI_CB_OVERFLOW; async 220 drivers/staging/comedi/drivers/dt2811.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) async 221 drivers/staging/comedi/drivers/dt2811.c async->events |= COMEDI_CB_EOA; async 256 drivers/staging/comedi/drivers/dt2811.c struct comedi_cmd *cmd = &s->async->cmd; async 173 drivers/staging/comedi/drivers/dt2814.c struct comedi_cmd *cmd = &s->async->cmd; async 221 drivers/staging/comedi/drivers/dt2814.c s->async->events |= COMEDI_CB_EOA; async 454 drivers/staging/comedi/drivers/dt282x.c s->async->events |= COMEDI_CB_OVERFLOW; async 484 drivers/staging/comedi/drivers/dt282x.c s->async->events |= COMEDI_CB_EOA; async 528 drivers/staging/comedi/drivers/dt282x.c s->async->events |= COMEDI_CB_ERROR; async 534 drivers/staging/comedi/drivers/dt282x.c s_ao->async->events |= COMEDI_CB_ERROR; async 550 drivers/staging/comedi/drivers/dt282x.c s->async->events |= COMEDI_CB_EOA; async 722 drivers/staging/comedi/drivers/dt282x.c struct comedi_cmd *cmd = &s->async->cmd; async 886 drivers/staging/comedi/drivers/dt282x.c struct comedi_cmd *cmd = &s->async->cmd; async 899 drivers/staging/comedi/drivers/dt282x.c s->async->inttrig = NULL; async 908 drivers/staging/comedi/drivers/dt282x.c struct comedi_cmd *cmd = &s->async->cmd; async 937 drivers/staging/comedi/drivers/dt282x.c s->async->inttrig = dt282x_ao_inttrig; async 332 drivers/staging/comedi/drivers/dt3000.c s->async->events |= COMEDI_CB_ERROR; async 336 drivers/staging/comedi/drivers/dt3000.c s->async->events |= COMEDI_CB_EOA; async 456 drivers/staging/comedi/drivers/dt3000.c struct comedi_cmd *cmd = &s->async->cmd; async 145 drivers/staging/comedi/drivers/gsc_hpdi.c struct comedi_cmd *cmd = &s->async->cmd; async 182 drivers/staging/comedi/drivers/gsc_hpdi.c struct comedi_async *async = s->async; async 235 drivers/staging/comedi/drivers/gsc_hpdi.c async->events |= COMEDI_CB_ERROR; async 240 drivers/staging/comedi/drivers/gsc_hpdi.c async->events |= COMEDI_CB_ERROR; async 244 drivers/staging/comedi/drivers/gsc_hpdi.c async->events |= COMEDI_CB_EOA; async 279 drivers/staging/comedi/drivers/gsc_hpdi.c struct comedi_async *async = s->async; async 280 drivers/staging/comedi/drivers/gsc_hpdi.c struct comedi_cmd *cmd = &async->cmd; async 655 drivers/staging/comedi/drivers/me4000.c struct comedi_cmd *cmd = &s->async->cmd; async 941 drivers/staging/comedi/drivers/me4000.c s->async->events |= COMEDI_CB_ERROR; async 949 drivers/staging/comedi/drivers/me4000.c s->async->events |= COMEDI_CB_ERROR; async 969 drivers/staging/comedi/drivers/me4000.c s->async->events |= COMEDI_CB_EOA; async 274 drivers/staging/comedi/drivers/mite.c struct comedi_async *async = s->async; async 278 drivers/staging/comedi/drivers/mite.c old_alloc_count = async->buf_write_alloc_count; async 280 drivers/staging/comedi/drivers/mite.c comedi_buf_write_alloc(s, async->prealloc_bufsz); async 287 drivers/staging/comedi/drivers/mite.c async->events |= COMEDI_CB_OVERFLOW; async 291 drivers/staging/comedi/drivers/mite.c count = nbytes - async->buf_write_count; async 299 drivers/staging/comedi/drivers/mite.c async->events |= COMEDI_CB_BLOCK; async 306 drivers/staging/comedi/drivers/mite.c struct comedi_async *async = s->async; async 307 drivers/staging/comedi/drivers/mite.c struct comedi_cmd *cmd = &async->cmd; async 309 drivers/staging/comedi/drivers/mite.c unsigned int old_alloc_count = async->buf_read_alloc_count; async 315 drivers/staging/comedi/drivers/mite.c comedi_buf_read_alloc(s, async->prealloc_bufsz); async 326 drivers/staging/comedi/drivers/mite.c async->events |= COMEDI_CB_OVERFLOW; async 340 drivers/staging/comedi/drivers/mite.c count = nbytes_lb - async->buf_read_count; async 343 drivers/staging/comedi/drivers/mite.c async->events |= COMEDI_CB_BLOCK; async 404 drivers/staging/comedi/drivers/mite.c s->async->events |= COMEDI_CB_ERROR; async 654 drivers/staging/comedi/drivers/mite.c struct comedi_async *async = s->async; async 673 drivers/staging/comedi/drivers/mite.c desc->addr = cpu_to_le32(async->buf_map->page_list[i].dma_addr); async 683 drivers/staging/comedi/drivers/mite.c desc->addr = cpu_to_le32(async->buf_map->page_list[i].dma_addr); async 719 drivers/staging/comedi/drivers/mite.c struct comedi_async *async = s->async; async 725 drivers/staging/comedi/drivers/mite.c if (async->prealloc_bufsz == 0) async 728 drivers/staging/comedi/drivers/mite.c n_links = async->prealloc_bufsz >> PAGE_SHIFT; async 139 drivers/staging/comedi/drivers/ni_at_a2150.c struct comedi_async *async = s->async; async 140 drivers/staging/comedi/drivers/ni_at_a2150.c struct comedi_cmd *cmd = &async->cmd; async 155 drivers/staging/comedi/drivers/ni_at_a2150.c async->events |= COMEDI_CB_ERROR; async 160 drivers/staging/comedi/drivers/ni_at_a2150.c async->events |= COMEDI_CB_ERROR; async 203 drivers/staging/comedi/drivers/ni_at_a2150.c async->events |= COMEDI_CB_EOA; async 469 drivers/staging/comedi/drivers/ni_at_a2150.c struct comedi_async *async = s->async; async 470 drivers/staging/comedi/drivers/ni_at_a2150.c struct comedi_cmd *cmd = &async->cmd; async 300 drivers/staging/comedi/drivers/ni_atmio16d.c struct comedi_cmd *cmd = &s->async->cmd; async 617 drivers/staging/comedi/drivers/ni_labpc_common.c struct comedi_async *async = s->async; async 618 drivers/staging/comedi/drivers/ni_labpc_common.c struct comedi_cmd *cmd = &async->cmd; async 771 drivers/staging/comedi/drivers/ni_labpc_common.c struct comedi_async *async = dev->read_subdev->async; async 772 drivers/staging/comedi/drivers/ni_labpc_common.c struct comedi_cmd *cmd = &async->cmd; async 793 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_ERROR; async 821 drivers/staging/comedi/drivers/ni_labpc_common.c struct comedi_async *async; async 829 drivers/staging/comedi/drivers/ni_labpc_common.c async = s->async; async 830 drivers/staging/comedi/drivers/ni_labpc_common.c cmd = &async->cmd; async 847 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_ERROR; async 867 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_ERROR; async 876 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_EOA; async 883 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_EOA; async 29 drivers/staging/comedi/drivers/ni_labpc_isadma.c struct comedi_cmd *cmd = &s->async->cmd; async 56 drivers/staging/comedi/drivers/ni_labpc_isadma.c struct comedi_cmd *cmd = &s->async->cmd; async 77 drivers/staging/comedi/drivers/ni_labpc_isadma.c struct comedi_async *async = s->async; async 78 drivers/staging/comedi/drivers/ni_labpc_isadma.c struct comedi_cmd *cmd = &async->cmd; async 999 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; async 1043 drivers/staging/comedi/drivers/ni_mio_common.c struct comedi_async *async = s->async; async 1088 drivers/staging/comedi/drivers/ni_mio_common.c async->events |= COMEDI_CB_ERROR; async 1223 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_EOA; async 1237 drivers/staging/comedi/drivers/ni_mio_common.c if ((s->async->events & COMEDI_CB_EOS)) async 1243 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_EOS; async 1288 drivers/staging/comedi/drivers/ni_mio_common.c struct comedi_cmd *cmd = &s->async->cmd; async 1300 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_ERROR; async 1309 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_ERROR; async 1311 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; async 1373 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; async 1376 drivers/staging/comedi/drivers/ni_mio_common.c if (s->async->cmd.stop_src != TRIG_NONE && async 1378 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_EOA; async 1390 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; async 1401 drivers/staging/comedi/drivers/ni_mio_common.c struct comedi_async *async = s->async; async 1402 drivers/staging/comedi/drivers/ni_mio_common.c struct comedi_cmd *cmd = &async->cmd; async 1442 drivers/staging/comedi/drivers/ni_mio_common.c comedi_buf_write_alloc(s, s->async->prealloc_bufsz); async 1476 drivers/staging/comedi/drivers/ni_mio_common.c comedi_buf_read_alloc(s, s->async->prealloc_bufsz); async 1967 drivers/staging/comedi/drivers/ni_mio_common.c if (nbytes > sdev->async->prealloc_bufsz) { async 1978 drivers/staging/comedi/drivers/ni_mio_common.c nbytes = sdev->async->prealloc_bufsz; async 2151 drivers/staging/comedi/drivers/ni_mio_common.c struct comedi_cmd *cmd = &s->async->cmd; async 2158 drivers/staging/comedi/drivers/ni_mio_common.c s->async->inttrig = NULL; async 2166 drivers/staging/comedi/drivers/ni_mio_common.c const struct comedi_cmd *cmd = &s->async->cmd; async 2451 drivers/staging/comedi/drivers/ni_mio_common.c s->async->inttrig = NULL; async 2453 drivers/staging/comedi/drivers/ni_mio_common.c s->async->inttrig = NULL; async 2455 drivers/staging/comedi/drivers/ni_mio_common.c s->async->inttrig = ni_ai_inttrig; async 2520 drivers/staging/comedi/drivers/ni_mio_common.c struct comedi_cmd *cmd = &s->async->cmd; async 2863 drivers/staging/comedi/drivers/ni_mio_common.c struct comedi_cmd *cmd = &s->async->cmd; async 2881 drivers/staging/comedi/drivers/ni_mio_common.c s->async->inttrig = NULL; async 3163 drivers/staging/comedi/drivers/ni_mio_common.c const struct comedi_cmd *cmd = &s->async->cmd; async 3250 drivers/staging/comedi/drivers/ni_mio_common.c if (s->async->cmd.stop_src == TRIG_COUNT) async 3254 drivers/staging/comedi/drivers/ni_mio_common.c s->async->inttrig = ni_ao_inttrig; async 3260 drivers/staging/comedi/drivers/ni_mio_common.c const struct comedi_cmd *cmd = &s->async->cmd; async 3587 drivers/staging/comedi/drivers/ni_mio_common.c s->async->prealloc_bufsz / async 3611 drivers/staging/comedi/drivers/ni_mio_common.c struct comedi_cmd *cmd = &s->async->cmd; async 3621 drivers/staging/comedi/drivers/ni_mio_common.c s->async->inttrig = NULL; async 3624 drivers/staging/comedi/drivers/ni_mio_common.c comedi_buf_read_alloc(s, s->async->prealloc_bufsz); async 3664 drivers/staging/comedi/drivers/ni_mio_common.c const struct comedi_cmd *cmd = &s->async->cmd; async 3696 drivers/staging/comedi/drivers/ni_mio_common.c s->async->prealloc_bufsz / async 3699 drivers/staging/comedi/drivers/ni_mio_common.c s->async->inttrig = ni_cdo_inttrig; async 3737 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; async 344 drivers/staging/comedi/drivers/ni_pcidio.c comedi_buf_write_alloc(s, s->async->prealloc_bufsz); async 379 drivers/staging/comedi/drivers/ni_pcidio.c struct comedi_async *async = s->async; async 434 drivers/staging/comedi/drivers/ni_pcidio.c async->events |= COMEDI_CB_EOA; async 440 drivers/staging/comedi/drivers/ni_pcidio.c async->events |= COMEDI_CB_ERROR; async 445 drivers/staging/comedi/drivers/ni_pcidio.c async->events |= COMEDI_CB_EOA; async 449 drivers/staging/comedi/drivers/ni_pcidio.c async->events |= COMEDI_CB_EOA; async 607 drivers/staging/comedi/drivers/ni_pcidio.c struct comedi_cmd *cmd = &s->async->cmd; async 613 drivers/staging/comedi/drivers/ni_pcidio.c s->async->inttrig = NULL; async 621 drivers/staging/comedi/drivers/ni_pcidio.c struct comedi_cmd *cmd = &s->async->cmd; async 723 drivers/staging/comedi/drivers/ni_pcidio.c s->async->inttrig = NULL; async 726 drivers/staging/comedi/drivers/ni_pcidio.c s->async->inttrig = ni_pcidio_inttrig; async 751 drivers/staging/comedi/drivers/ni_pcidio.c memset(s->async->prealloc_buf, 0xaa, s->async->prealloc_bufsz); async 79 drivers/staging/comedi/drivers/ni_tiocmd.c struct comedi_cmd *cmd = &s->async->cmd; async 95 drivers/staging/comedi/drivers/ni_tiocmd.c s->async->inttrig = NULL; async 107 drivers/staging/comedi/drivers/ni_tiocmd.c struct comedi_async *async = s->async; async 108 drivers/staging/comedi/drivers/ni_tiocmd.c struct comedi_cmd *cmd = &async->cmd; async 112 drivers/staging/comedi/drivers/ni_tiocmd.c comedi_buf_write_alloc(s, async->prealloc_bufsz); async 127 drivers/staging/comedi/drivers/ni_tiocmd.c async->inttrig = &ni_tio_input_inttrig; async 129 drivers/staging/comedi/drivers/ni_tiocmd.c async->inttrig = NULL; async 162 drivers/staging/comedi/drivers/ni_tiocmd.c struct comedi_cmd *cmd = &s->async->cmd; async 207 drivers/staging/comedi/drivers/ni_tiocmd.c struct comedi_async *async = s->async; async 208 drivers/staging/comedi/drivers/ni_tiocmd.c struct comedi_cmd *cmd = &async->cmd; async 462 drivers/staging/comedi/drivers/ni_tiocmd.c s->async->events |= COMEDI_CB_OVERFLOW; async 465 drivers/staging/comedi/drivers/ni_tiocmd.c s->async->events |= COMEDI_CB_ERROR; async 473 drivers/staging/comedi/drivers/ni_tiocmd.c s->async->events |= COMEDI_CB_OVERFLOW; async 186 drivers/staging/comedi/drivers/pcl711.c struct comedi_cmd *cmd = &s->async->cmd; async 201 drivers/staging/comedi/drivers/pcl711.c s->async->scans_done >= cmd->stop_arg) async 202 drivers/staging/comedi/drivers/pcl711.c s->async->events |= COMEDI_CB_EOA; async 341 drivers/staging/comedi/drivers/pcl711.c struct comedi_cmd *cmd = &s->async->cmd; async 708 drivers/staging/comedi/drivers/pcl812.c struct comedi_cmd *cmd = &s->async->cmd; async 762 drivers/staging/comedi/drivers/pcl812.c struct comedi_cmd *cmd = &s->async->cmd; async 765 drivers/staging/comedi/drivers/pcl812.c s->async->scans_done >= cmd->stop_arg) { async 766 drivers/staging/comedi/drivers/pcl812.c s->async->events |= COMEDI_CB_EOA; async 776 drivers/staging/comedi/drivers/pcl812.c struct comedi_cmd *cmd = &s->async->cmd; async 777 drivers/staging/comedi/drivers/pcl812.c unsigned int chan = s->async->cur_chan; async 783 drivers/staging/comedi/drivers/pcl812.c s->async->events |= COMEDI_CB_ERROR; async 791 drivers/staging/comedi/drivers/pcl812.c next_chan = s->async->cur_chan; async 213 drivers/staging/comedi/drivers/pcl816.c struct comedi_cmd *cmd = &s->async->cmd; async 216 drivers/staging/comedi/drivers/pcl816.c s->async->scans_done >= cmd->stop_arg) { async 217 drivers/staging/comedi/drivers/pcl816.c s->async->events |= COMEDI_CB_EOA; async 409 drivers/staging/comedi/drivers/pcl816.c struct comedi_cmd *cmd = &s->async->cmd; async 429 drivers/staging/comedi/drivers/pcl818.c struct comedi_cmd *cmd = &s->async->cmd; async 439 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_ERROR; async 450 drivers/staging/comedi/drivers/pcl818.c s->async->scans_done >= cmd->stop_arg) { async 451 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_EOA; async 466 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_ERROR; async 511 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_ERROR; async 518 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_ERROR; async 539 drivers/staging/comedi/drivers/pcl818.c struct comedi_cmd *cmd = &s->async->cmd; async 553 drivers/staging/comedi/drivers/pcl818.c s->async->scans_done = cmd->stop_arg; async 713 drivers/staging/comedi/drivers/pcl818.c struct comedi_cmd *cmd = &s->async->cmd; async 764 drivers/staging/comedi/drivers/pcl818.c struct comedi_cmd *cmd = &s->async->cmd; async 772 drivers/staging/comedi/drivers/pcl818.c s->async->scans_done < cmd->stop_arg)) { async 316 drivers/staging/comedi/drivers/pcmmio.c s->async->inttrig = NULL; async 327 drivers/staging/comedi/drivers/pcmmio.c struct comedi_cmd *cmd = &s->async->cmd; async 350 drivers/staging/comedi/drivers/pcmmio.c s->async->scans_done >= cmd->stop_arg) async 351 drivers/staging/comedi/drivers/pcmmio.c s->async->events |= COMEDI_CB_EOA; async 385 drivers/staging/comedi/drivers/pcmmio.c struct comedi_cmd *cmd = &s->async->cmd; async 429 drivers/staging/comedi/drivers/pcmmio.c struct comedi_cmd *cmd = &s->async->cmd; async 436 drivers/staging/comedi/drivers/pcmmio.c s->async->inttrig = NULL; async 450 drivers/staging/comedi/drivers/pcmmio.c struct comedi_cmd *cmd = &s->async->cmd; async 458 drivers/staging/comedi/drivers/pcmmio.c s->async->inttrig = pcmmio_inttrig_start_intr; async 293 drivers/staging/comedi/drivers/pcmuio.c s->async->inttrig = NULL; async 306 drivers/staging/comedi/drivers/pcmuio.c struct comedi_cmd *cmd = &s->async->cmd; async 329 drivers/staging/comedi/drivers/pcmuio.c s->async->scans_done >= cmd->stop_arg) async 330 drivers/staging/comedi/drivers/pcmuio.c s->async->events |= COMEDI_CB_EOA; async 381 drivers/staging/comedi/drivers/pcmuio.c struct comedi_cmd *cmd = &s->async->cmd; async 427 drivers/staging/comedi/drivers/pcmuio.c struct comedi_cmd *cmd = &s->async->cmd; async 436 drivers/staging/comedi/drivers/pcmuio.c s->async->inttrig = NULL; async 451 drivers/staging/comedi/drivers/pcmuio.c struct comedi_cmd *cmd = &s->async->cmd; async 461 drivers/staging/comedi/drivers/pcmuio.c s->async->inttrig = pcmuio_inttrig_start_intr; async 215 drivers/staging/comedi/drivers/quatech_daqp_cs.c struct comedi_cmd *cmd = &s->async->cmd; async 230 drivers/staging/comedi/drivers/quatech_daqp_cs.c s->async->events |= COMEDI_CB_OVERFLOW; async 239 drivers/staging/comedi/drivers/quatech_daqp_cs.c s->async->scans_done >= cmd->stop_arg) { async 240 drivers/staging/comedi/drivers/quatech_daqp_cs.c s->async->events |= COMEDI_CB_EOA; async 253 drivers/staging/comedi/drivers/quatech_daqp_cs.c s->async->events |= COMEDI_CB_ERROR; async 465 drivers/staging/comedi/drivers/quatech_daqp_cs.c struct comedi_cmd *cmd = &s->async->cmd; async 579 drivers/staging/comedi/drivers/rtd520.c struct comedi_async *async = s->async; async 580 drivers/staging/comedi/drivers/rtd520.c struct comedi_cmd *cmd = &async->cmd; async 584 drivers/staging/comedi/drivers/rtd520.c unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); async 670 drivers/staging/comedi/drivers/rtd520.c s->async->events |= COMEDI_CB_ERROR; async 673 drivers/staging/comedi/drivers/rtd520.c s->async->events |= COMEDI_CB_EOA; async 833 drivers/staging/comedi/drivers/rtd520.c struct comedi_cmd *cmd = &s->async->cmd; async 1069 drivers/staging/comedi/drivers/s626.c struct comedi_cmd *cmd = &s->async->cmd; async 1132 drivers/staging/comedi/drivers/s626.c struct comedi_async *async = s->async; async 1133 drivers/staging/comedi/drivers/s626.c struct comedi_cmd *cmd = &async->cmd; async 1192 drivers/staging/comedi/drivers/s626.c struct comedi_async *async = s->async; async 1193 drivers/staging/comedi/drivers/s626.c struct comedi_cmd *cmd = &async->cmd; async 1216 drivers/staging/comedi/drivers/s626.c if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) async 1217 drivers/staging/comedi/drivers/s626.c async->events |= COMEDI_CB_EOA; async 1219 drivers/staging/comedi/drivers/s626.c if (async->events & COMEDI_CB_CANCEL_MASK) async 1279 drivers/staging/comedi/drivers/s626.c struct comedi_cmd *cmd = &s->async->cmd; async 1607 drivers/staging/comedi/drivers/s626.c struct comedi_cmd *cmd = &s->async->cmd; async 1615 drivers/staging/comedi/drivers/s626.c s->async->inttrig = NULL; async 1696 drivers/staging/comedi/drivers/s626.c struct comedi_cmd *cmd = &s->async->cmd; async 1773 drivers/staging/comedi/drivers/s626.c s->async->inttrig = NULL; async 1778 drivers/staging/comedi/drivers/s626.c s->async->inttrig = NULL; async 1781 drivers/staging/comedi/drivers/s626.c s->async->inttrig = s626_ai_inttrig; async 244 drivers/staging/comedi/drivers/usbdux.c struct comedi_async *async = s->async; async 245 drivers/staging/comedi/drivers/usbdux.c struct comedi_cmd *cmd = &async->cmd; async 268 drivers/staging/comedi/drivers/usbdux.c async->scans_done >= cmd->stop_arg) async 269 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_EOA; async 273 drivers/staging/comedi/drivers/usbdux.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { async 283 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; async 292 drivers/staging/comedi/drivers/usbdux.c struct comedi_async *async = s->async; async 321 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; async 329 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; async 337 drivers/staging/comedi/drivers/usbdux.c if (async->events & COMEDI_CB_CANCEL_MASK) async 372 drivers/staging/comedi/drivers/usbdux.c struct comedi_async *async = s->async; async 373 drivers/staging/comedi/drivers/usbdux.c struct comedi_cmd *cmd = &async->cmd; async 383 drivers/staging/comedi/drivers/usbdux.c async->scans_done >= cmd->stop_arg) { async 384 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_EOA; async 397 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_OVERFLOW; async 410 drivers/staging/comedi/drivers/usbdux.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { async 430 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; async 439 drivers/staging/comedi/drivers/usbdux.c struct comedi_async *async = s->async; async 456 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; async 464 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; async 472 drivers/staging/comedi/drivers/usbdux.c if (async->events & COMEDI_CB_CANCEL_MASK) async 634 drivers/staging/comedi/drivers/usbdux.c struct comedi_cmd *cmd = &s->async->cmd; async 650 drivers/staging/comedi/drivers/usbdux.c s->async->inttrig = NULL; async 663 drivers/staging/comedi/drivers/usbdux.c struct comedi_cmd *cmd = &s->async->cmd; async 721 drivers/staging/comedi/drivers/usbdux.c s->async->inttrig = NULL; async 726 drivers/staging/comedi/drivers/usbdux.c s->async->inttrig = usbdux_ai_inttrig; async 841 drivers/staging/comedi/drivers/usbdux.c struct comedi_cmd *cmd = &s->async->cmd; async 857 drivers/staging/comedi/drivers/usbdux.c s->async->inttrig = NULL; async 950 drivers/staging/comedi/drivers/usbdux.c struct comedi_cmd *cmd = &s->async->cmd; async 986 drivers/staging/comedi/drivers/usbdux.c s->async->inttrig = NULL; async 991 drivers/staging/comedi/drivers/usbdux.c s->async->inttrig = usbdux_ao_inttrig; async 228 drivers/staging/comedi/drivers/usbduxfast.c struct comedi_async *async = s->async; async 229 drivers/staging/comedi/drivers/usbduxfast.c struct comedi_cmd *cmd = &async->cmd; async 242 drivers/staging/comedi/drivers/usbduxfast.c async->scans_done >= cmd->stop_arg) async 243 drivers/staging/comedi/drivers/usbduxfast.c async->events |= COMEDI_CB_EOA; async 247 drivers/staging/comedi/drivers/usbduxfast.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { async 253 drivers/staging/comedi/drivers/usbduxfast.c async->events |= COMEDI_CB_ERROR; async 262 drivers/staging/comedi/drivers/usbduxfast.c struct comedi_async *async = s->async; async 279 drivers/staging/comedi/drivers/usbduxfast.c async->events |= COMEDI_CB_ERROR; async 287 drivers/staging/comedi/drivers/usbduxfast.c async->events |= COMEDI_CB_ERROR; async 295 drivers/staging/comedi/drivers/usbduxfast.c if (async->events & COMEDI_CB_CANCEL_MASK) async 439 drivers/staging/comedi/drivers/usbduxfast.c struct comedi_cmd *cmd = &s->async->cmd; async 456 drivers/staging/comedi/drivers/usbduxfast.c s->async->inttrig = NULL; async 468 drivers/staging/comedi/drivers/usbduxfast.c struct comedi_cmd *cmd = &s->async->cmd; async 746 drivers/staging/comedi/drivers/usbduxfast.c s->async->inttrig = NULL; async 748 drivers/staging/comedi/drivers/usbduxfast.c s->async->inttrig = usbduxfast_ai_inttrig; async 206 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_async *async = s->async; async 207 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_cmd *cmd = &async->cmd; async 230 drivers/staging/comedi/drivers/usbduxsigma.c async->scans_done >= cmd->stop_arg) async 231 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_EOA; async 236 drivers/staging/comedi/drivers/usbduxsigma.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { async 245 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; async 255 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_async *async = s->async; async 283 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; async 290 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; async 298 drivers/staging/comedi/drivers/usbduxsigma.c if (async->events & COMEDI_CB_CANCEL_MASK) async 332 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_async *async = s->async; async 333 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_cmd *cmd = &async->cmd; async 343 drivers/staging/comedi/drivers/usbduxsigma.c async->scans_done >= cmd->stop_arg) { async 344 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_EOA; async 357 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_OVERFLOW; async 368 drivers/staging/comedi/drivers/usbduxsigma.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { async 384 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; async 394 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_async *async = s->async; async 410 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; async 417 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; async 425 drivers/staging/comedi/drivers/usbduxsigma.c if (async->events & COMEDI_CB_CANCEL_MASK) async 597 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_cmd *cmd = &s->async->cmd; async 613 drivers/staging/comedi/drivers/usbduxsigma.c s->async->inttrig = NULL; async 624 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_cmd *cmd = &s->async->cmd; async 683 drivers/staging/comedi/drivers/usbduxsigma.c s->async->inttrig = NULL; async 685 drivers/staging/comedi/drivers/usbduxsigma.c s->async->inttrig = usbduxsigma_ai_inttrig; async 801 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_cmd *cmd = &s->async->cmd; async 817 drivers/staging/comedi/drivers/usbduxsigma.c s->async->inttrig = NULL; async 896 drivers/staging/comedi/drivers/usbduxsigma.c struct comedi_cmd *cmd = &s->async->cmd; async 921 drivers/staging/comedi/drivers/usbduxsigma.c s->async->inttrig = NULL; async 923 drivers/staging/comedi/drivers/usbduxsigma.c s->async->inttrig = usbduxsigma_ao_inttrig; async 80 drivers/staging/greybus/loopback.c int async; async 310 drivers/staging/greybus/loopback.c gb_dev_loopback_rw_attr(async, u); async 826 drivers/staging/greybus/loopback.c if (!(gb->async && gb->outstanding_operations_max)) async 898 drivers/staging/greybus/loopback.c if (gb->async) { async 80 drivers/staging/rtl8712/rtl871x_io.h u8 async); async 378 drivers/usb/core/devio.c static struct async *alloc_async(unsigned int numisoframes) async 380 drivers/usb/core/devio.c struct async *as; async 382 drivers/usb/core/devio.c as = kzalloc(sizeof(struct async), GFP_KERNEL); async 393 drivers/usb/core/devio.c static void free_async(struct async *as) async 417 drivers/usb/core/devio.c static void async_newpending(struct async *as) async 427 drivers/usb/core/devio.c static void async_removepending(struct async *as) async 437 drivers/usb/core/devio.c static struct async *async_getcompleted(struct usb_dev_state *ps) async 440 drivers/usb/core/devio.c struct async *as = NULL; async 444 drivers/usb/core/devio.c as = list_entry(ps->async_completed.next, struct async, async 452 drivers/usb/core/devio.c static struct async *async_getpending(struct usb_dev_state *ps, async 455 drivers/usb/core/devio.c struct async *as; async 567 drivers/usb/core/devio.c struct async *as; async 602 drivers/usb/core/devio.c struct async *as = urb->context; async 643 drivers/usb/core/devio.c struct async *as; async 648 drivers/usb/core/devio.c as = list_entry(list->next, struct async, asynclist); async 671 drivers/usb/core/devio.c if (ifnum == list_entry(p, struct async, asynclist)->ifnum) async 1072 drivers/usb/core/devio.c struct async *as; async 1509 drivers/usb/core/devio.c struct async *as = NULL; async 1683 drivers/usb/core/devio.c u += sizeof(struct async) + sizeof(struct urb) + async 1895 drivers/usb/core/devio.c struct async *as; async 1927 drivers/usb/core/devio.c static int processcompl(struct async *as, void __user * __user *arg) async 1965 drivers/usb/core/devio.c static struct async *reap_as(struct usb_dev_state *ps) async 1968 drivers/usb/core/devio.c struct async *as = NULL; async 1990 drivers/usb/core/devio.c struct async *as = reap_as(ps); async 2008 drivers/usb/core/devio.c struct async *as; async 2100 drivers/usb/core/devio.c static int processcompl_compat(struct async *as, void __user * __user *arg) async 2137 drivers/usb/core/devio.c struct async *as = reap_as(ps); async 2155 drivers/usb/core/devio.c struct async *as; async 390 drivers/usb/host/ehci-dbg.c == ehci->async->hw->hw_alt_next) async 427 drivers/usb/host/ehci-dbg.c if (td->hw_alt_next == ehci->async->hw->hw_alt_next) async 492 drivers/usb/host/ehci-dbg.c for (qh = ehci->async->qh_next.qh; size > 0 && qh; qh = qh->qh_next.qh) async 518 drivers/usb/host/ehci-hcd.c ehci->async->qh_next.qh = NULL; async 519 drivers/usb/host/ehci-hcd.c hw = ehci->async->hw; async 520 drivers/usb/host/ehci-hcd.c hw->hw_next = QH_NEXT(ehci, ehci->async->qh_dma); async 527 drivers/usb/host/ehci-hcd.c ehci->async->qh_state = QH_STATE_LINKED; async 528 drivers/usb/host/ehci-hcd.c hw->hw_alt_next = QTD_NEXT(ehci, ehci->async->dummy->qtd_dma); async 582 drivers/usb/host/ehci-hcd.c ehci_writel(ehci, (u32)ehci->async->qh_dma, &ehci->regs->async_next); async 413 drivers/usb/host/ehci-hub.c ehci_writel(ehci, (u32) ehci->async->qh_dma, &ehci->regs->async_next); async 109 drivers/usb/host/ehci-mem.c if (ehci->async) async 110 drivers/usb/host/ehci-mem.c qh_destroy(ehci, ehci->async); async 111 drivers/usb/host/ehci-mem.c ehci->async = NULL; async 162 drivers/usb/host/ehci-mem.c ehci->async = ehci_qh_alloc (ehci, flags); async 163 drivers/usb/host/ehci-mem.c if (!ehci->async) { async 669 drivers/usb/host/ehci-q.c qtd->hw_alt_next = ehci->async->hw->hw_alt_next; async 972 drivers/usb/host/ehci-q.c WARN_ON(ehci->async->qh_next.qh || !list_empty(&ehci->async_unlink) || async 996 drivers/usb/host/ehci-q.c head = ehci->async; async 1266 drivers/usb/host/ehci-q.c prev = ehci->async; async 1300 drivers/usb/host/ehci-q.c ehci_writel(ehci, (u32) ehci->async->qh_dma, async 1431 drivers/usb/host/ehci-q.c for (qh = ehci->async->qh_next.qh; qh; qh = qh->qh_next.qh) { async 1461 drivers/usb/host/ehci-q.c while (ehci->async->qh_next.qh) { async 1462 drivers/usb/host/ehci-q.c qh = ehci->async->qh_next.qh; async 1490 drivers/usb/host/ehci-q.c ehci->qh_scan_next = ehci->async->qh_next.qh; async 141 drivers/usb/host/ehci.h struct ehci_qh *async; async 372 drivers/usb/host/fotg210-hcd.c fotg210->async->hw->hw_alt_next) async 402 drivers/usb/host/fotg210-hcd.c if (td->hw_alt_next == fotg210->async->hw->hw_alt_next) async 468 drivers/usb/host/fotg210-hcd.c for (qh = fotg210->async->qh_next.qh; size > 0 && qh; async 1890 drivers/usb/host/fotg210-hcd.c if (fotg210->async) async 1891 drivers/usb/host/fotg210-hcd.c qh_destroy(fotg210, fotg210->async); async 1892 drivers/usb/host/fotg210-hcd.c fotg210->async = NULL; async 1942 drivers/usb/host/fotg210-hcd.c fotg210->async = fotg210_qh_alloc(fotg210, flags); async 1943 drivers/usb/host/fotg210-hcd.c if (!fotg210->async) async 2626 drivers/usb/host/fotg210-hcd.c qtd->hw_alt_next = fotg210->async->hw->hw_alt_next; async 2904 drivers/usb/host/fotg210-hcd.c WARN_ON(fotg210->async->qh_next.qh || fotg210->async_unlink); async 2927 drivers/usb/host/fotg210-hcd.c head = fotg210->async; async 3088 drivers/usb/host/fotg210-hcd.c prev = fotg210->async; async 3169 drivers/usb/host/fotg210-hcd.c next = fotg210->async->qh_next.qh; async 3222 drivers/usb/host/fotg210-hcd.c fotg210->qh_scan_next = fotg210->async->qh_next.qh; async 4967 drivers/usb/host/fotg210-hcd.c fotg210->async->qh_next.qh = NULL; async 4968 drivers/usb/host/fotg210-hcd.c hw = fotg210->async->hw; async 4969 drivers/usb/host/fotg210-hcd.c hw->hw_next = QH_NEXT(fotg210, fotg210->async->qh_dma); async 4973 drivers/usb/host/fotg210-hcd.c fotg210->async->qh_state = QH_STATE_LINKED; async 4974 drivers/usb/host/fotg210-hcd.c hw->hw_alt_next = QTD_NEXT(fotg210, fotg210->async->dummy->qtd_dma); async 5021 drivers/usb/host/fotg210-hcd.c fotg210_writel(fotg210, (u32)fotg210->async->qh_dma, async 5406 drivers/usb/host/fotg210-hcd.c for (tmp = fotg210->async->qh_next.qh; async 105 drivers/usb/host/fotg210.h struct fotg210_qh *async; async 517 drivers/usb/host/isp116x-hcd.c list_for_each_entry(ep, &isp116x->async, schedule) { async 565 drivers/usb/host/isp116x-hcd.c if ((&isp116x->async)->next != (&isp116x->async)->prev) async 566 drivers/usb/host/isp116x-hcd.c list_move(&isp116x->async, (&isp116x->async)->next); async 773 drivers/usb/host/isp116x-hcd.c list_add_tail(&ep->schedule, &isp116x->async); async 1615 drivers/usb/host/isp116x-hcd.c INIT_LIST_HEAD(&isp116x->async); async 276 drivers/usb/host/isp116x.h struct list_head async; async 754 drivers/usb/host/isp1362-hcd.c list_for_each_entry(ep, &isp1362_hcd->async, schedule) { async 781 drivers/usb/host/isp1362-hcd.c if (isp1362_hcd->async.next != isp1362_hcd->async.prev) { async 783 drivers/usb/host/isp1362-hcd.c list_move(&isp1362_hcd->async, isp1362_hcd->async.next); async 1037 drivers/usb/host/isp1362-hcd.c if (!list_empty(&isp1362_hcd->async) && !(irqstat & HCuPINT_ATL)) { async 1317 drivers/usb/host/isp1362-hcd.c list_add_tail(&ep->schedule, &isp1362_hcd->async); async 2095 drivers/usb/host/isp1362-hcd.c list_for_each_entry(ep, &isp1362_hcd->async, schedule) { async 2125 drivers/usb/host/isp1362-hcd.c if (!list_empty(&isp1362_hcd->async)) async 2676 drivers/usb/host/isp1362-hcd.c INIT_LIST_HEAD(&isp1362_hcd->async); async 456 drivers/usb/host/isp1362.h struct list_head async; async 422 drivers/usb/host/oxu210hp-hcd.c struct ehci_qh *async; async 1151 drivers/usb/host/oxu210hp-hcd.c if (oxu->async) async 1152 drivers/usb/host/oxu210hp-hcd.c qh_put(oxu->async); async 1153 drivers/usb/host/oxu210hp-hcd.c oxu->async = NULL; async 1184 drivers/usb/host/oxu210hp-hcd.c oxu->async = oxu_qh_alloc(oxu); async 1185 drivers/usb/host/oxu210hp-hcd.c if (!oxu->async) async 1704 drivers/usb/host/oxu210hp-hcd.c qtd->hw_alt_next = oxu->async->hw_alt_next; async 1922 drivers/usb/host/oxu210hp-hcd.c head = oxu->async; async 2112 drivers/usb/host/oxu210hp-hcd.c && oxu->async->qh_next.qh == NULL) async 2137 drivers/usb/host/oxu210hp-hcd.c if (unlikely(qh == oxu->async)) { async 2153 drivers/usb/host/oxu210hp-hcd.c prev = oxu->async; async 2185 drivers/usb/host/oxu210hp-hcd.c qh = oxu->async->qh_next.qh; async 2820 drivers/usb/host/oxu210hp-hcd.c (oxu->async->qh_next.ptr != NULL || async 2996 drivers/usb/host/oxu210hp-hcd.c start_unlink_async(oxu, oxu->async); async 3044 drivers/usb/host/oxu210hp-hcd.c oxu->async->qh_next.qh = NULL; async 3045 drivers/usb/host/oxu210hp-hcd.c oxu->async->hw_next = QH_NEXT(oxu->async->qh_dma); async 3046 drivers/usb/host/oxu210hp-hcd.c oxu->async->hw_info1 = cpu_to_le32(QH_HEAD); async 3047 drivers/usb/host/oxu210hp-hcd.c oxu->async->hw_token = cpu_to_le32(QTD_STS_HALT); async 3048 drivers/usb/host/oxu210hp-hcd.c oxu->async->hw_qtd_next = EHCI_LIST_END; async 3049 drivers/usb/host/oxu210hp-hcd.c oxu->async->qh_state = QH_STATE_LINKED; async 3050 drivers/usb/host/oxu210hp-hcd.c oxu->async->hw_alt_next = QTD_NEXT(oxu->async->dummy->qtd_dma); async 3126 drivers/usb/host/oxu210hp-hcd.c writel((u32) oxu->async->qh_dma, &oxu->regs->async_next); async 3193 drivers/usb/host/oxu210hp-hcd.c if (oxu->async) async 3441 drivers/usb/host/oxu210hp-hcd.c for (tmp = oxu->async->qh_next.qh; async 3954 drivers/usb/host/oxu210hp-hcd.c writel((u32) oxu->async->qh_dma, &oxu->regs->async_next); async 3989 drivers/usb/host/oxu210hp-hcd.c if (oxu->async->qh_next.qh) async 316 drivers/usb/host/sl811-hcd.c else if (!list_empty(&sl811->async)) async 317 drivers/usb/host/sl811-hcd.c ep = container_of(sl811->async.next, async 331 drivers/usb/host/sl811-hcd.c if (ep->schedule.next == &sl811->async) async 744 drivers/usb/host/sl811-hcd.c if (sl811->periodic_count == 0 && list_empty(&sl811->async)) async 896 drivers/usb/host/sl811-hcd.c list_add_tail(&ep->schedule, &sl811->async); async 1435 drivers/usb/host/sl811-hcd.c list_for_each_entry (ep, &sl811->async, schedule) { async 1458 drivers/usb/host/sl811-hcd.c if (!list_empty(&sl811->async)) async 1676 drivers/usb/host/sl811-hcd.c INIT_LIST_HEAD(&sl811->async); async 151 drivers/usb/host/sl811.h struct list_head async; async 331 drivers/usb/misc/sisusbvga/sisusb.c ssize_t *bytes_written, unsigned int tflags, int async) async 357 drivers/usb/misc/sisusbvga/sisusb.c async = 0; async 395 drivers/usb/misc/sisusbvga/sisusb.c async ? 0 : 5 * HZ, tflags); async 406 drivers/usb/misc/sisusbvga/sisusb.c if ((result == 0) && !async && transferred_len) { async 427 drivers/usb/misc/sisusbvga/sisusb.c if (async) { async 1435 drivers/usb/misc/usbtest.c static int unlink1(struct usbtest_dev *dev, int pipe, int size, int async) async 1469 drivers/usb/misc/usbtest.c if (async) { async 1506 drivers/usb/misc/usbtest.c if (async) async 1536 drivers/usb/musb/musb_core.c hw_ep->fifo_async = musb->async + 0x400 + async 319 drivers/usb/musb/musb_core.h dma_addr_t async; async 1105 drivers/usb/musb/tusb6010.c musb->async = mem->start; async 268 drivers/vfio/vfio_iommu_type1.c static int vfio_lock_acct(struct vfio_dma *dma, long npage, bool async) async 276 drivers/vfio/vfio_iommu_type1.c mm = async ? get_task_mm(dma->task) : dma->task->mm; async 287 drivers/vfio/vfio_iommu_type1.c if (async) async 39 drivers/w1/w1_netlink.c struct w1_async_cmd async; async 445 drivers/w1/w1_netlink.c async); async 679 drivers/w1/w1_netlink.c node->async.cb = w1_process_cb; async 687 drivers/w1/w1_netlink.c list_add_tail(&node->async.async_entry, &dev->async_list); async 1932 fs/afs/fsclient.c call->async = true; async 160 fs/afs/internal.h bool async; /* T if asynchronous */ async 404 fs/afs/rxrpc.c if (call->async) { async 413 fs/afs/rxrpc.c (call->async ? async 489 fs/afs/rxrpc.c if (call->async) { async 759 fs/afs/rxrpc.c call->async = true; async 398 fs/afs/vlclient.c call->async = true; async 760 fs/btrfs/disk-io.c struct async_submit_bio *async; async 763 fs/btrfs/disk-io.c async = container_of(work, struct async_submit_bio, work); async 764 fs/btrfs/disk-io.c ret = async->submit_bio_start(async->private_data, async->bio, async 765 fs/btrfs/disk-io.c async->bio_offset); async 767 fs/btrfs/disk-io.c async->status = ret; async 780 fs/btrfs/disk-io.c struct async_submit_bio *async; async 784 fs/btrfs/disk-io.c async = container_of(work, struct async_submit_bio, work); async 785 fs/btrfs/disk-io.c inode = async->private_data; async 788 fs/btrfs/disk-io.c if (async->status) { async 789 fs/btrfs/disk-io.c async->bio->bi_status = async->status; async 790 fs/btrfs/disk-io.c bio_endio(async->bio); async 794 fs/btrfs/disk-io.c ret = btrfs_map_bio(btrfs_sb(inode->i_sb), async->bio, async 795 fs/btrfs/disk-io.c async->mirror_num, 1); async 797 fs/btrfs/disk-io.c async->bio->bi_status = ret; async 798 fs/btrfs/disk-io.c bio_endio(async->bio); async 804 fs/btrfs/disk-io.c struct async_submit_bio *async; async 806 fs/btrfs/disk-io.c async = container_of(work, struct async_submit_bio, work); async 807 fs/btrfs/disk-io.c kfree(async); async 815 fs/btrfs/disk-io.c struct async_submit_bio *async; async 817 fs/btrfs/disk-io.c async = kmalloc(sizeof(*async), GFP_NOFS); async 818 fs/btrfs/disk-io.c if (!async) async 821 fs/btrfs/disk-io.c async->private_data = private_data; async 822 fs/btrfs/disk-io.c async->bio = bio; async 823 fs/btrfs/disk-io.c async->mirror_num = mirror_num; async 824 fs/btrfs/disk-io.c async->submit_bio_start = submit_bio_start; async 826 fs/btrfs/disk-io.c btrfs_init_work(&async->work, run_one_async_start, run_one_async_done, async 829 fs/btrfs/disk-io.c async->bio_offset = bio_offset; async 831 fs/btrfs/disk-io.c async->status = 0; async 834 fs/btrfs/disk-io.c btrfs_set_work_high_priority(&async->work); async 836 fs/btrfs/disk-io.c btrfs_queue_work(fs_info->workers, &async->work); async 883 fs/btrfs/disk-io.c int async = check_async_write(fs_info, BTRFS_I(inode)); async 896 fs/btrfs/disk-io.c } else if (!async) { async 2090 fs/btrfs/inode.c int async = !atomic_read(&BTRFS_I(inode)->sync_writers); async 2113 fs/btrfs/inode.c } else if (async && !skip_sum) { async 6513 fs/btrfs/volumes.c u64 physical, int dev_nr, int async) async 6531 fs/btrfs/volumes.c if (async) async 735 fs/fuse/file.c if (ia->io->async) async 1070 fs/fuse/file.c if (ia->io->async) async 1474 fs/fuse/file.c if (!io->async || nres < 0) { async 3106 fs/fuse/file.c io->async = async_dio; async 3117 fs/fuse/file.c if (io->async && io->blocking) { async 3133 fs/fuse/file.c if (io->async) { async 269 fs/fuse/fuse_i.h int async; async 286 fs/fuse/fuse_i.h .async = 0, \ async 41 include/linux/greybus/hd.h bool async); async 229 include/linux/hsi/hsi.h int (*async)(struct hsi_msg *msg); async 722 include/linux/kvm_host.h bool atomic, bool *async, bool write_fault, async 456 include/linux/regmap.h struct regmap_async *async); async 1033 include/linux/regmap.h bool *change, bool async, bool force); async 1103 include/linux/regmap.h bool *change, bool async, bool force); async 1108 include/linux/regmap.h bool *change, bool async, bool force); async 1362 include/linux/regmap.h bool *change, bool async, bool force) async 1370 include/linux/regmap.h bool *change, bool async, bool force) async 1379 include/linux/regmap.h bool *change, bool async, bool force) async 149 include/linux/scmi_protocol.h bool async; async 369 include/net/xfrm.h int async); async 1565 include/net/xfrm.h int xfrm4_transport_finish(struct sk_buff *skb, int async); async 1589 include/net/xfrm.h int xfrm6_transport_finish(struct sk_buff *skb, int async); async 59 include/trace/events/sunrpc.h __field(bool, async) async 68 include/trace/events/sunrpc.h __entry->async = RPC_IS_ASYNC(task); async 76 include/trace/events/sunrpc.h __get_str(procname), __entry->async ? "a": "" async 135 include/uapi/drm/exynos_drm.h __u64 async; async 137 kernel/rcu/rcuperf.c void (*async)(struct rcu_head *head, rcu_callback_t func); async 178 kernel/rcu/rcuperf.c .async = call_rcu, async 235 kernel/rcu/rcuperf.c .async = srcu_call_rcu, async 264 kernel/rcu/rcuperf.c .async = srcu_call_rcu, async 291 kernel/rcu/rcuperf.c .async = call_rcu_tasks, async 409 kernel/rcu/rcuperf.c cur_ops->async(rhp, rcu_perf_async_cb); async 52 net/ipv4/xfrm4_input.c int xfrm4_transport_finish(struct sk_buff *skb, int async) async 60 net/ipv4/xfrm4_input.c if (!async) async 43 net/ipv6/xfrm6_input.c int xfrm6_transport_finish(struct sk_buff *skb, int async) async 52 net/ipv6/xfrm6_input.c if (!async) async 221 net/tls/tls_sw.c bool async) async 234 net/tls/tls_sw.c if (async) { async 254 net/tls/tls_sw.c if (async) async 260 net/tls/tls_sw.c if (async) async 1393 net/tls/tls_sw.c int *chunk, bool *zc, bool async) async 1515 net/tls/tls_sw.c data_len, aead_req, async); async 1529 net/tls/tls_sw.c bool async) async 1547 net/tls/tls_sw.c async); async 1774 net/tls/tls_sw.c bool async = false; async 1820 net/tls/tls_sw.c async = true; async 1853 net/tls/tls_sw.c if (async) async 1883 net/tls/tls_sw.c if (async || is_peek || retain_skb) { async 468 net/xfrm/xfrm_input.c int async = 0; async 493 net/xfrm/xfrm_input.c async = 1; async 659 net/xfrm/xfrm_input.c if (async && x->repl->recheck(x, skb, seq)) { async 730 net/xfrm/xfrm_input.c err = afinfo->transport_finish(skb, xfrm_gro || async); async 1401 sound/soc/codecs/wm5100.c bool async = wm5100->aif_async[dai->id]; async 1424 sound/soc/codecs/wm5100.c if (!async) { async 1450 sound/soc/codecs/wm5100.c async ? "ASYNCCLK" : "SYSCLK"); async 1455 sound/soc/codecs/wm5100.c bclk, aif_rate, async ? "ASYNCCLK" : "SYSCLK"); async 1468 sound/soc/codecs/wm5100.c bclk, aif_rate, async ? "ASYNCCLK" : "SYSCLK"); async 1548 virt/kvm/kvm_main.c static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, async 1562 virt/kvm/kvm_main.c if (async) async 1595 virt/kvm/kvm_main.c unsigned long addr, bool *async, async 1657 virt/kvm/kvm_main.c static kvm_pfn_t hva_to_pfn(unsigned long addr, bool atomic, bool *async, async 1665 virt/kvm/kvm_main.c BUG_ON(atomic && async); async 1673 virt/kvm/kvm_main.c npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); async 1679 virt/kvm/kvm_main.c (!async && check_user_page_hwpoison(addr))) { async 1690 virt/kvm/kvm_main.c r = hva_to_pfn_remapped(vma, addr, async, write_fault, writable, &pfn); async 1696 virt/kvm/kvm_main.c if (async && vma_is_valid(vma, write_fault)) async 1697 virt/kvm/kvm_main.c *async = true; async 1706 virt/kvm/kvm_main.c bool atomic, bool *async, bool write_fault, async 1729 virt/kvm/kvm_main.c return hva_to_pfn(addr, atomic, async, write_fault,