Lines Matching defs:buf
307 mhi_buf->buf, mhi_buf->dma_addr);
343 mhi_buf->buf = dma_alloc_coherent(mhi_cntrl->cntrl_dev,
346 if (!mhi_buf->buf)
350 img_info->bhi_vec = img_info->mhi_buf[segments - 1].buf;
359 mhi_buf->buf, mhi_buf->dma_addr);
368 const u8 *buf, size_t remainder,
377 memcpy(mhi_buf->buf, buf, to_cpy);
381 buf += to_cpy;
395 void *buf;
464 buf = dma_alloc_coherent(mhi_cntrl->cntrl_dev, size, &dma_addr,
466 if (!buf) {
472 memcpy(buf, fw_data, size);
474 dma_free_coherent(mhi_cntrl->cntrl_dev, size, buf, dma_addr);