Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_rd.c67 #define BUF_SZ 512 /* should be power of 2 */ macro
71 (CIRC_CNT((circ)->head, (circ)->tail, BUF_SZ))
73 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ))
76 (CIRC_SPACE((circ)->head, (circ)->tail, BUF_SZ))
78 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, BUF_SZ))
98 char buf[BUF_SZ];
121 smp_store_release(&fifo->head, (fifo->head + n) & (BUF_SZ - 1)); in rd_write()
162 smp_store_release(&fifo->tail, (fifo->tail + n) & (BUF_SZ - 1)); in rd_read()
/Linux-v5.4/drivers/cpufreq/
Dpcc-cpufreq.c49 #define BUF_SZ 4 macro
165 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_get_freq()
229 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_cpufreq_target()
289 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_get_offset()
290 memset_io((pcch_virt_addr + pcc_cpu_data->output_offset), 0, BUF_SZ); in pcc_get_offset()