Home
last modified time | relevance | path

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

/linux/samples/kfifo/
H A Dinttype-example.c28 static DEFINE_MUTEX(write_access);
112 if (mutex_lock_interruptible(&write_access)) in fifo_write()
117 mutex_unlock(&write_access); in fifo_write()
H A Drecord-example.c28 static DEFINE_MUTEX(write_access);
126 if (mutex_lock_interruptible(&write_access)) in fifo_write()
131 mutex_unlock(&write_access); in fifo_write()
H A Dbytestream-example.c28 static DEFINE_MUTEX(write_access);
119 if (mutex_lock_interruptible(&write_access)) in fifo_write()
124 mutex_unlock(&write_access); in fifo_write()
/linux/drivers/devfreq/event/
H A Drockchip-dfi.c79 u64 write_access; member
219 res->c[i].write_access = readl_relaxed(dfi_regs + in rockchip_dfi_read_counters()
303 res->c[i].write_access = dfi->total_count.c[i].write_access + in rockchip_ddr_perf_counters_add()
304 (u32)(now->c[i].write_access - last->c[i].write_access); in rockchip_ddr_perf_counters_add()
446 count += total.c[i].write_access * blen * dfi->buswidth[i]; in rockchip_ddr_perf_event_get_count()
452 count = total.c[0].write_access * blen * dfi->buswidth[0]; in rockchip_ddr_perf_event_get_count()
458 count = total.c[1].write_access * blen * dfi->buswidth[1]; in rockchip_ddr_perf_event_get_count()
464 count = total.c[2].write_access * blen * dfi->buswidth[2]; in rockchip_ddr_perf_event_get_count()
470 count = total.c[3].write_access * blen * dfi->buswidth[3]; in rockchip_ddr_perf_event_get_count()