Home
last modified time | relevance | path

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

/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c241 dma_mem_t ioctl_dma_buf; in pqisrc_passthru_ioctl() local
276 memset(&ioctl_dma_buf, 0, sizeof(struct dma_mem)); in pqisrc_passthru_ioctl()
277 os_strlcpy(ioctl_dma_buf.tag, "Ioctl_PassthruCmd_Buffer", sizeof(ioctl_dma_buf.tag)); in pqisrc_passthru_ioctl()
278 ioctl_dma_buf.size = iocommand->buf_size; in pqisrc_passthru_ioctl()
279 ioctl_dma_buf.align = PQISRC_DEFAULT_DMA_ALIGN; in pqisrc_passthru_ioctl()
281 ret = os_dma_mem_alloc(softs, &ioctl_dma_buf); in pqisrc_passthru_ioctl()
287 DBG_IO("ioctl_dma_buf.dma_addr = %p\n",(void*)ioctl_dma_buf.dma_addr); in pqisrc_passthru_ioctl()
288 DBG_IO("ioctl_dma_buf.virt_addr = %p\n",(void*)ioctl_dma_buf.virt_addr); in pqisrc_passthru_ioctl()
290 drv_buf = (char *)ioctl_dma_buf.virt_addr; in pqisrc_passthru_ioctl()
325 request.sg_descriptors[0].addr = ioctl_dma_buf.dma_addr; in pqisrc_passthru_ioctl()
[all …]