/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gk20a.c | 47 u32 busy; member in struct:gk20a_pmu_dvfs_dev_status 100 status->busy = nvkm_falcon_rd32(falcon, 0x508 + (BUSY_SLOT * 0x10)); 138 utilization = div_u64((u64)status.busy * 100, status.total);
|
/linux-master/drivers/macintosh/ |
H A D | smu.c | 1075 int busy; member in struct:smu_private 1122 if (pp->busy) 1145 if (pp->busy) { 1149 pp->busy = 1; 1154 pp->busy = 0; 1180 if (!pp->busy) 1222 pp->busy = 0; 1263 if (pp->busy && pp->cmd.status != 1) 1277 unsigned int busy; local 1287 busy [all...] |
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_cmd.c | 122 } while (context->busy); 124 context->busy = 1; 154 context->busy = 0;
|
/linux-master/drivers/tee/optee/ |
H A D | core.c | 99 bool busy = true; local 103 busy = false; 107 if (busy) {
|
/linux-master/drivers/media/common/ |
H A D | cx2341x.c | 379 static int cx2341x_set_ctrl(struct cx2341x_mpeg_params *params, int busy, argument 384 if (busy) 389 if (busy) 398 if (busy) 403 if (busy) 451 if (busy) 460 if (busy) 465 if (busy) 479 if (busy) 950 int cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params, int busy, argument 1766 cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy) argument [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | data-vio.c | 133 data_vio_count_t busy; member in struct:limiter 232 if (pool->limiter.busy > 0) 235 VDO_ASSERT_LOG_ONLY((pool->discard_limiter.busy == 0), 628 data_vio_count_t available = limiter->limit - limiter->busy; 630 VDO_ASSERT_LOG_ONLY((limiter->release_count <= limiter->busy), 631 "Release count %u is not more than busy count %u", 632 limiter->release_count, limiter->busy); 639 WRITE_ONCE(limiter->busy, limiter->busy - limiter->release_count); 647 WRITE_ONCE(limiter->busy, limite [all...] |
H A D | vio.c | 32 struct list_head busy; member in struct:vio_pool 326 INIT_LIST_HEAD(&pool->busy); 369 "VIO pool must not have %zu busy entries when being freed", 371 VDO_ASSERT_LOG_ONLY(list_empty(&pool->busy), 372 "VIO pool must not have busy entries when being freed"); 390 * Return: true if the pool is busy. 416 list_move_tail(&pooled->pool_entry, &pool->busy);
|
/linux-master/drivers/comedi/ |
H A D | comedi_fops.c | 43 * COMEDI_SRF_BUSY_MASK: runflags that indicate the subdevice is "busy" 336 if (s->busy) { 338 "subdevice is busy, cannot resize buffer\n"); 747 s->busy = NULL; 752 s->busy = NULL; 796 if (s->busy) 1013 if (s->busy) 1015 if (s->busy == file) 1129 if (!async || s->busy != file) 1142 * then become non-busy [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | espi.c | 54 int busy, attempts = TRICN_CMD_ATTEMPTS; local 65 busy = readl(adapter->regs + A_ESPI_GOSTAT) & F_ESPI_CMD_BUSY; 66 } while (busy && --attempts); 68 if (busy) 71 return busy;
|
/linux-master/net/sched/ |
H A D | sch_teql.c | 281 int busy; local 290 busy = 0; 304 busy = 1; 326 busy = 1; 343 if (busy) {
|
/linux-master/drivers/soc/fsl/qbman/ |
H A D | bman.c | 126 u32 busy; member in struct:bm_rcr 351 DPAA_ASSERT(!rcr->busy); 355 rcr->busy = 1; 366 DPAA_ASSERT(rcr->busy); 376 rcr->busy = 0; 397 rcr->busy = 0; 413 DPAA_ASSERT(!rcr->busy);
|
/linux-master/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 273 * and is probably busy in ttm_bo_cleanup_memtype_use. 522 bool *locked, bool *busy) 528 if (busy) 529 *busy = false; 538 if (busy) 539 *busy = false; 543 if (busy) 544 *busy = !ret; 560 * ttm_mem_evict_wait_busy - wait for a busy BO to become available 566 * Try to lock a busy buffe 519 ttm_bo_evict_swapout_allowable(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx, const struct ttm_place *place, bool *locked, bool *busy) argument 608 bool busy; local [all...] |
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 21 if (unlikely(ent->busy)) { 338 if (unlikely(!pentry->busy)) { 359 pentry->busy = false; 373 pentry->busy = false; 391 pentry->busy = false; 505 pentry->busy = true;
|
H A D | cptvf.h | 68 u8 busy; /* Entry status (free/busy) */ member in struct:pending_entry
|
/linux-master/kernel/bpf/ |
H A D | ringbuf.c | 33 /* For user-space producer ring buffers, an atomic_t busy bit is used 46 * __bpf_user_ringbuf_peek() if the busy bit is held by another task. 48 atomic_t busy ____cacheline_aligned_in_smp; 175 atomic_set(&rb->busy, 0); 717 /* Using smp_load_acquire() is unnecessary here, as the busy-bit 733 int busy = 0; local 741 if (!atomic_try_cmpxchg(&rb->busy, &busy, 1)) 770 /* Prevent the clearing of the busy-bit from being reordered before the 773 atomic_set_release(&rb->busy, [all...] |
/linux-master/drivers/gpu/drm/i915/selftests/ |
H A D | i915_request.c | 100 pr_err("request wait (busy query) succeeded (expected timeout before submit!)\n"); 117 pr_err("request wait (busy query) succeeded (expected timeout after submit!)\n"); 1920 ktime_t busy; member in struct:perf_stats 2172 * engine is busy, polling on a semaphore in our context. With 2227 pr_info("%s: busy dispatch latency %d cycles, %lluns\n", 2893 p->busy = intel_engine_get_busy_time(p->engine, 2908 u64 busy, dt, now; local 2910 if (p->busy) 2911 p->busy = ktime_sub(intel_engine_get_busy_time(p->engine, 2913 p->busy 2972 bool busy; local 3047 bool busy; local 3124 bool busy; local 3265 u64 busy = 100 * ktime_to_ns(p->busy); local [all...] |
/linux-master/drivers/net/mdio/ |
H A D | mdio-ipq4019.c | 61 unsigned int busy; local 63 return readl_poll_timeout(priv->membase + MDIO_CMD_REG, busy, 64 (busy & MDIO_CMD_ACCESS_BUSY) == 0,
|
/linux-master/arch/arm/include/debug/ |
H A D | samsung.S | 63 @ busy waiting for non fifo
|
/linux-master/drivers/hid/intel-ish-hid/ishtp/ |
H A D | ishtp-dev.h | 113 int busy);
|
/linux-master/drivers/media/platform/ti/omap3isp/ |
H A D | ispstat.h | 69 /* Verify is module is busy. */ 70 int (*busy)(struct ispstat *stat); member in struct:ispstat_ops
|
/linux-master/arch/sh/include/asm/ |
H A D | dma.h | 77 atomic_t busy; member in struct:dma_channel
|
/linux-master/drivers/block/rnbd/ |
H A D | rnbd-clt.h | 85 atomic_t busy; member in struct:rnbd_clt_session
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | user_sdma.h | 93 struct iowait busy; member in struct:hfi1_user_sdma_pkt_q
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_reqmgr.c | 52 if (unlikely(ent->busy)) 81 pentry->busy = false; 146 pentry->busy = true; 308 if (unlikely(!pentry->busy)) {
|
/linux-master/drivers/mmc/core/ |
H A D | queue.c | 251 if (mq->recovery_needed || mq->busy) { 283 mq->busy = true; 327 mq->busy = false; 332 WRITE_ONCE(mq->busy, false);
|