Lines Matching refs:wr_len
68 u8 wr_len; in _c4iw_write_mem_dma_aligned() local
75 wr_len = roundup(sizeof(*req) + sizeof(*sgl), 16); in _c4iw_write_mem_dma_aligned()
78 skb = alloc_skb(wr_len, GFP_KERNEL | __GFP_NOFAIL); in _c4iw_write_mem_dma_aligned()
84 req = __skb_put_zero(skb, wr_len); in _c4iw_write_mem_dma_aligned()
85 INIT_ULPTX_WR(req, wr_len, 0, 0); in _c4iw_write_mem_dma_aligned()
89 req->wr.wr_mid = cpu_to_be32(FW_WR_LEN16_V(DIV_ROUND_UP(wr_len, 16))); in _c4iw_write_mem_dma_aligned()
94 req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), 16)); in _c4iw_write_mem_dma_aligned()
116 u8 wr_len, *to_dp, *from_dp; in _c4iw_write_mem_inline() local
133 wr_len = roundup(sizeof(*req) + sizeof(*sc) + in _c4iw_write_mem_inline()
138 skb = alloc_skb(wr_len, GFP_KERNEL | __GFP_NOFAIL); in _c4iw_write_mem_inline()
144 req = __skb_put_zero(skb, wr_len); in _c4iw_write_mem_inline()
145 INIT_ULPTX_WR(req, wr_len, 0, 0); in _c4iw_write_mem_inline()
154 FW_WR_LEN16_V(DIV_ROUND_UP(wr_len, 16))); in _c4iw_write_mem_inline()
159 req->len16 = cpu_to_be32(DIV_ROUND_UP(wr_len-sizeof(req->wr), in _c4iw_write_mem_inline()