/linux-master/drivers/iio/adc/ |
H A D | ti_am335x_adc.c | 172 * 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 D | atmel_mxt_ts.c | 99 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 D | ti_am335x_tsc.c | 515 unsigned int idle; local 519 idle = titsc_readl(ts_dev, REG_IRQENABLE); 521 (idle | IRQENB_HW_PEN));
|
H A D | zforce_ts.c | 241 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 D | irq-omap-intc.c | 60 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 D | adb-iop.c | 32 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 D | via-cuda.c | 158 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 D | via-macii.c | 76 #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 D | via-pmu.c | 124 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 D | dm-bufio.c | 2261 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 D | dm-cache-policy-internal.h | 36 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 D | dm-cache-policy-smq.c | 864 * 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 D | dm-cache-policy.h | 78 int (*get_background_work)(struct dm_cache_policy *p, bool idle,
|
H A D | dm-cache-target.c | 1587 bool idle = dm_iot_idle_for(&cache->tracker, HZ); local 1591 if (idle && current_volume <= cache->migration_threshold)
|
H A D | dm-writecache.c | 1960 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 D | dm-zoned-metadata.c | 1942 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 D | dm-zoned.h | 248 unsigned int dev_idx, bool idle);
|
H A D | md.c | 114 * 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 D | funnel-workqueue.c | 59 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 D | physical-zone.c | 178 * 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 D | stv090x.c | 3780 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 D | bttv-driver.c | 3513 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 D | cx88-input.c | 541 if (samples == 0xff && ir->dev->idle)
|
/linux-master/drivers/media/platform/mediatek/vpu/ |
H A D | mtk_vpu.c | 70 /* 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 D | isp.c | 390 * @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.
|