Home
last modified time | relevance | path

Searched refs:PIO_BLOCK_SIZE (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/infiniband/hw/hfi1/
H A Dpio_copy.c10 #define PIO_BLOCK_MASK (PIO_BLOCK_SIZE - 1)
12 #define PIO_BLOCK_QWS (PIO_BLOCK_SIZE / sizeof(u64))
34 void __iomem *send = dest + PIO_BLOCK_SIZE; in pio_copy()
266 void __iomem *send = dest + PIO_BLOCK_SIZE; in seg_pio_copy_start()
378 send = pbuf->start + PIO_BLOCK_SIZE; in mid_copy_mix()
504 send = pbuf->start + PIO_BLOCK_SIZE; in mid_copy_straight()
H A Dpio.c184 int total_blocks = (chip_pio_mem_size(dd) / PIO_BLOCK_SIZE) - 1; in init_sc_pools_and_sizes()
207 3 * (max_pkt_size + 128) / PIO_BLOCK_SIZE; in init_sc_pools_and_sizes()
558 release_credits = DIV_ROUND_UP(mtu, PIO_BLOCK_SIZE); in sc_mtu_to_threshold()
715 sc->size = sc->credits * PIO_BLOCK_SIZE; in sc_alloc()
1395 #define BLOCK_DWORDS (PIO_BLOCK_SIZE / sizeof(u32))
1490 pbuf->start = sc->base_addr + fill_wrap * PIO_BLOCK_SIZE; in sc_buffer_alloc()
H A Dchip.h29 #define PIO_BLOCK_SIZE 64 /* bytes */ macro
H A Duser_sdma.c857 if (req->info.fragsize % PIO_BLOCK_SIZE || lrhlen & 0x3 || in check_header_template()
H A Dfile_ops.c367 memlen = PAGE_ALIGN(uctxt->sc->credits * PIO_BLOCK_SIZE); in hfi1_file_mmap()