Searched refs:idle (Results 201 - 225 of 335) sorted by path

1234567891011>>

/linux-master/drivers/iio/adc/
H A Dti_am335x_adc.c172 * Wait for the idle state.
708 unsigned int idle; local
710 idle = tiadc_readl(adc_dev, REG_CTRL);
711 idle &= ~(CNTRLREG_SSENB);
712 tiadc_writel(adc_dev, REG_CTRL, idle | CNTRLREG_POWERDOWN);
/linux-master/drivers/input/touchscreen/
H A Datmel_mxt_ts.c99 u8 idle; member in struct:t7_config
2311 struct t7_config deepsleep = { .active = 0, .idle = 0 };
2324 new_config->active, new_config->idle);
2341 if (data->t7_cfg.active == 0 || data->t7_cfg.idle == 0) {
2350 data->t7_cfg.idle = 100;
2356 data->t7_cfg.active, data->t7_cfg.idle);
H A Dti_am335x_tsc.c515 unsigned int idle; local
519 idle = titsc_readl(ts_dev, REG_IRQENABLE);
521 (idle | IRQENB_HW_PEN));
H A Dzforce_ts.c241 static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, argument
246 (idle & 0xff), ((idle >> 8) & 0xff),
251 "set scan frequency to (idle: %d, finger: %d, stylus: %d)\n",
252 idle, finger, stylus);
/linux-master/drivers/irqchip/
H A Dirq-omap-intc.c60 u32 idle; member in struct:omap_intc_regs
90 intc_context.idle =
109 intc_writel(INTC_IDLE, intc_context.idle);
/linux-master/drivers/macintosh/
H A Dadb-iop.c32 idle, enumerator in enum:adb_iop_state
65 adb_iop_state = idle;
72 if (adb_iop_state == idle)
241 if (adb_iop_state == idle)
H A Dvia-cuda.c158 idle, enumerator in enum:cuda_state
217 cuda_state = idle;
258 cuda_state = idle;
523 if (cuda_state == idle)
534 /* assert cuda_state == idle */
594 case idle:
619 cuda_state = idle;
645 cuda_state = idle;
711 cuda_state = idle;
713 if (cuda_state == idle
[all...]
H A Dvia-macii.c76 #define ST_IDLE 0x30 /* ADB state: idle, nothing to send */
108 idle, enumerator in enum:macii_state
154 macii_state = idle;
166 /* Set up state: idle */
211 * as long as it is idle.
270 if (macii_state == idle)
291 if (current_req && macii_state == idle)
386 case idle:
398 /* /CTLR_IRQ asserted in idle state means we must
475 macii_state = idle;
[all...]
H A Dvia-pmu.c124 idle, enumerator in enum:pmu_state
357 pmu_state = idle;
390 pmu_state = idle;
492 } while (pmu_state != idle);
593 while (interrupt_data[0][0] || pmu_state != idle) {
598 if (pmu_state == idle)
1172 if (pmu_state == idle)
1234 /* assert pmu_state == idle */
1237 if (!req || pmu_state != idle
1274 } while (pmu_suspended && (adb_int_pending || pmu_state != idle
[all...]
/linux-master/drivers/md/
H A Ddm-bufio.c2261 static enum evict_result idle(struct dm_buffer *b, void *context) function
2269 cache_remove_range(&c->cache, block, block + n_blocks, idle, __free_buffer_wake);
H A Ddm-cache-policy-internal.h36 bool idle, struct policy_work **result)
38 return p->get_background_work(p, idle, result);
35 policy_get_background_work(struct dm_cache_policy *p, bool idle, struct policy_work **result) argument
H A Ddm-cache-policy-smq.c864 * even if the device is not idle.
1141 static bool clean_target_met(struct smq_policy *mq, bool idle) argument
1147 if (idle || mq->cleaner) {
1185 static void queue_writeback(struct smq_policy *mq, bool idle) argument
1191 e = q_peek(&mq->dirty, mq->dirty.nr_levels, idle);
1249 * We always claim to be 'idle' to ensure some demotions happen
1445 static int smq_get_background_work(struct dm_cache_policy *p, bool idle, argument
1455 if (!clean_target_met(mq, idle)) {
1456 queue_writeback(mq, idle);
H A Ddm-cache-policy.h78 int (*get_background_work)(struct dm_cache_policy *p, bool idle,
H A Ddm-cache-target.c1587 bool idle = dm_iot_idle_for(&cache->tracker, HZ); local
1591 if (idle && current_volume <= cache->migration_threshold)
H A Ddm-writecache.c1960 unsigned long idle; local
1965 idle = dm_iot_idle_time(&wc->iot);
1966 if (idle >= wc->pause)
1968 idle = wc->pause - idle;
1969 if (idle > HZ)
1970 idle = HZ;
1971 schedule_timeout_idle(idle);
H A Ddm-zoned-metadata.c1942 unsigned int idx, bool idle)
1951 /* Try to relaim random zones, too, when idle */
1952 if (idle && list_empty(zone_list))
2019 unsigned int dev_idx, bool idle)
2035 zone = dmz_get_rnd_zone_for_reclaim(zmd, dev_idx, idle);
2936 * up to 16 zones when idle (min_nr_mblks). Otherwise, if busy, allow
1941 dmz_get_rnd_zone_for_reclaim(struct dmz_metadata *zmd, unsigned int idx, bool idle) argument
2018 dmz_get_zone_for_reclaim(struct dmz_metadata *zmd, unsigned int dev_idx, bool idle) argument
H A Ddm-zoned.h248 unsigned int dev_idx, bool idle);
H A Dmd.c114 * subsystem is idle. There is also an 'absolute maximum' reconstruction
116 * idle IO detection.
4415 * active-idle
4427 "write-pending", "active-idle", "broken", NULL };
4873 char *type = "idle";
5001 if (cmd_match(page, "idle"))
8579 int idle; local
8582 idle = 1;
8601 * the array to appear non-idle, and resync will slow
8605 * completing might cause the array to appear non-idle
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dfunnel-workqueue.c59 atomic_t idle; member in struct:simple_work_queue
137 * wakeups. Using an idle flag, and careful ordering using memory barriers, we should be
146 if ((atomic_read(&queue->idle) != 1) || (atomic_cmpxchg(&queue->idle, 1, 0) != 1))
183 * Don't set the idle flag until a wakeup will not be lost.
185 * Force synchronization between setting the idle flag and checking the funnel
190 atomic_set(&queue->idle, 1);
191 smp_mb(); /* store-load barrier between "idle" and funnel queue */
217 atomic_set(&queue->idle, 0);
485 thread_status = atomic_read(&queue->idle)
[all...]
H A Dphysical-zone.c178 * Unused (idle) PBN locks are kept in a list. Just like in a malloc implementation, the lock
199 /** @idle_list: A list containing all idle PBN lock instances. */
215 idle_pbn_lock *idle; local
220 idle = container_of(lock, idle_pbn_lock, lock);
221 INIT_LIST_HEAD(&idle->entry);
222 list_add_tail(&idle->entry, &pool->idle_list);
294 idle_pbn_lock *idle; local
302 "idle list should not be empty if pool not at capacity");
310 idle = list_entry(idle_entry, idle_pbn_lock, entry);
311 idle
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dstv090x.c3780 u32 reg, idle = 0, fifo_full = 1; local
3815 while ((!idle) && (i < 10)) {
3817 idle = STV090x_GETFIELD_Px(reg, TX_IDLE_FIELD);
3832 u32 reg, idle = 0, fifo_full = 1; local
3873 while ((!idle) && (i < 10)) {
3875 idle = STV090x_GETFIELD_Px(reg, TX_IDLE_FIELD);
/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-driver.c3513 struct bttv_buffer_set idle; local
3520 memset(&idle, 0, sizeof(idle));
3524 btv->curr = idle;
3526 bttv_buffer_activate_video(btv, &idle);
/linux-master/drivers/media/pci/cx88/
H A Dcx88-input.c541 if (samples == 0xff && ir->dev->idle)
/linux-master/drivers/media/platform/mediatek/vpu/
H A Dmtk_vpu.c70 /* vpu idle state */
276 "vpu: run %x, pc = 0x%x, ra = 0x%x, sp = 0x%x, idle = 0x%x\n"
656 unsigned int running, pc, vpu_to_host, host_to_vpu, wdt, idle, ra, sp; local
675 idle = vpu_cfg_readl(vpu, VPU_IDLE_REG);
688 "idle: 0x%x\n",
690 host_to_vpu, vpu_to_host, sp, ra, idle);
995 /* check if vpu is idle for system suspend */
999 dev_err(dev, "vpu idle timeout\n");
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disp.c390 * @idle: Consider idle state.
399 static void isp_core_init(struct isp_device *isp, int idle) argument
402 ((idle ? ISP_SYSCONFIG_MIDLEMODE_SMARTSTANDBY :
979 * Returns 0 if suspend left in idle state all the submodules properly,
1029 * isp_reset - Reset ISP with a timeout wait for idle.
1180 * isp_module_sync_idle - Helper to sync module with its idle state
1209 * idle.
1212 * module wants to be idle.

Completed in 456 milliseconds

1234567891011>>