Searched refs:BUF_SZ (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/msm/
H A Dmsm_rd.c60 #define BUF_SZ 512 /* should be power of 2 */ macro
64 (CIRC_CNT((circ)->head, (circ)->tail, BUF_SZ))
66 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ))
69 (CIRC_SPACE((circ)->head, (circ)->tail, BUF_SZ))
71 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, BUF_SZ))
94 char buf[BUF_SZ];
111 fifo->head = (fifo->head + n) & (BUF_SZ - 1); rd_write()
147 fifo->tail = (fifo->tail + n) & (BUF_SZ - 1); rd_read()
/linux-4.4.14/drivers/cpufreq/
H A Dpcc-cpufreq.c49 #define BUF_SZ 4 macro
165 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); pcc_get_freq()
229 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); pcc_cpufreq_target()
289 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); pcc_get_offset()
290 memset_io((pcch_virt_addr + pcc_cpu_data->output_offset), 0, BUF_SZ); pcc_get_offset()

Completed in 83 milliseconds