Home
last modified time | relevance | path

Searched refs:read_access (Results 1 – 4 of 4) sorted by relevance

/linux/samples/kfifo/
H A Dinttype-example.c25 static DEFINE_MUTEX(read_access);
130 if (mutex_lock_interruptible(&read_access)) in fifo_read()
135 mutex_unlock(&read_access); in fifo_read()
H A Drecord-example.c25 static DEFINE_MUTEX(read_access);
144 if (mutex_lock_interruptible(&read_access)) in fifo_read()
149 mutex_unlock(&read_access); in fifo_read()
H A Dbytestream-example.c25 static DEFINE_MUTEX(read_access);
137 if (mutex_lock_interruptible(&read_access)) in fifo_read()
142 mutex_unlock(&read_access); in fifo_read()
/linux/drivers/devfreq/event/
H A Drockchip-dfi.c78 u64 read_access; member
217 res->c[i].read_access = readl_relaxed(dfi_regs + in rockchip_dfi_read_counters()
301 res->c[i].read_access = dfi->total_count.c[i].read_access + in rockchip_ddr_perf_counters_add()
302 (u32)(now->c[i].read_access - last->c[i].read_access); in rockchip_ddr_perf_counters_add()
442 count += total.c[i].read_access * blen * dfi->buswidth[i]; in rockchip_ddr_perf_event_get_count()
449 count = total.c[0].read_access * blen * dfi->buswidth[0]; in rockchip_ddr_perf_event_get_count()
455 count = total.c[1].read_access * blen * dfi->buswidth[1]; in rockchip_ddr_perf_event_get_count()
461 count = total.c[2].read_access * blen * dfi->buswidth[2]; in rockchip_ddr_perf_event_get_count()
467 count = total.c[3].read_access * blen * dfi->buswidth[3]; in rockchip_ddr_perf_event_get_count()