Searched refs:BUF_SZ (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_bpf2bpf.c | 42 #define BUF_SZ 9000 macro 52 if (!ASSERT_LE(pkt_size, BUF_SZ, "pkt_size") || in run_xdp_bpf2bpf_pkt_size() 56 buf_in = malloc(BUF_SZ); in run_xdp_bpf2bpf_pkt_size() 60 buf = malloc(BUF_SZ); in run_xdp_bpf2bpf_pkt_size() 79 topts.data_size_out = BUF_SZ; in run_xdp_bpf2bpf_pkt_size()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_rd.c | 68 #define BUF_SZ 512 /* should be power of 2 */ macro 72 (CIRC_CNT((circ)->head, (circ)->tail, BUF_SZ)) 74 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ)) 77 (CIRC_SPACE((circ)->head, (circ)->tail, BUF_SZ)) 79 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, BUF_SZ)) 94 char buf[BUF_SZ]; 117 smp_store_release(&fifo->head, (fifo->head + n) & (BUF_SZ - 1)); in rd_write() 158 smp_store_release(&fifo->tail, (fifo->tail + n) & (BUF_SZ - 1)); in rd_read()
|
/openbmc/u-boot/examples/api/ |
H A D | demo.c | 16 #define BUF_SZ 2048 macro 24 static char buf[BUF_SZ]; 112 memset(buf, 0, BUF_SZ); in main()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | pcc-cpufreq.c | 50 #define BUF_SZ 4 macro 166 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_get_freq() 230 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_cpufreq_target() 290 memset_io((pcch_virt_addr + pcc_cpu_data->input_offset), 0, BUF_SZ); in pcc_get_offset() 291 memset_io((pcch_virt_addr + pcc_cpu_data->output_offset), 0, BUF_SZ); in pcc_get_offset()
|