Searched refs:MAX_DESC_BUF_SZ (Results 1 – 2 of 2) sorted by relevance
114 #define MAX_DESC_BUF_SZ (0x2000 - 8) macro216 if (buf_sz > MAX_DESC_BUF_SZ) in desc_set_buf_len()217 p->buf_size = cpu_to_le32(MAX_DESC_BUF_SZ | in desc_set_buf_len()218 (buf_sz - MAX_DESC_BUF_SZ) << DESC_BUFFER2_SZ_OFFSET); in desc_set_buf_len()277 if (len > MAX_DESC_BUF_SZ) in desc_set_buf_addr()278 p->buf2_addr = cpu_to_le32(paddr + MAX_DESC_BUF_SZ); in desc_set_buf_addr()
266 #define MAX_DESC_BUF_SZ (0x2000 - 8) macro406 if (buf_sz > MAX_DESC_BUF_SZ) in desc_set_buf_len()407 p->buf_size = cpu_to_le32(MAX_DESC_BUF_SZ | in desc_set_buf_len()408 (buf_sz - MAX_DESC_BUF_SZ) << DESC_BUFFER2_SZ_OFFSET); in desc_set_buf_len()484 if (len > MAX_DESC_BUF_SZ) in desc_set_buf_addr()485 p->buf2_addr = cpu_to_le32(paddr + MAX_DESC_BUF_SZ); in desc_set_buf_addr()