Lines Matching refs:mlxp
24 mlxcx_dma_acc_attr(mlxcx_t *mlxp, ddi_device_acc_attr_t *accp) in mlxcx_dma_acc_attr() argument
31 if (DDI_FM_DMA_ERR_CAP(mlxp->mlx_fm_caps)) { in mlxcx_dma_acc_attr()
39 mlxcx_dma_page_attr(mlxcx_t *mlxp, ddi_dma_attr_t *attrp) in mlxcx_dma_page_attr() argument
82 if (DDI_FM_DMA_ERR_CAP(mlxp->mlx_fm_caps)) { in mlxcx_dma_page_attr()
96 mlxcx_dma_queue_attr(mlxcx_t *mlxp, ddi_dma_attr_t *attrp) in mlxcx_dma_queue_attr() argument
127 if (DDI_FM_DMA_ERR_CAP(mlxp->mlx_fm_caps)) { in mlxcx_dma_queue_attr()
138 mlxcx_dma_buf_attr(mlxcx_t *mlxp, ddi_dma_attr_t *attrp) in mlxcx_dma_buf_attr() argument
175 if (DDI_FM_DMA_ERR_CAP(mlxp->mlx_fm_caps)) { in mlxcx_dma_buf_attr()
186 mlxcx_dma_qdbell_attr(mlxcx_t *mlxp, ddi_dma_attr_t *attrp) in mlxcx_dma_qdbell_attr() argument
212 if (DDI_FM_DMA_ERR_CAP(mlxp->mlx_fm_caps)) { in mlxcx_dma_qdbell_attr()
261 mlxcx_dma_unbind(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb) in mlxcx_dma_unbind() argument
282 mlxcx_dma_init(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb, in mlxcx_dma_init() argument
296 ret = ddi_dma_alloc_handle(mlxp->mlx_dip, attrp, memcb, NULL, in mlxcx_dma_init()
299 mlxcx_warn(mlxp, "!failed to allocate DMA handle: %d", ret); in mlxcx_dma_init()
309 mlxcx_dma_bind_mblk(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb, in mlxcx_dma_bind_mblk() argument
348 mlxcx_dma_alloc(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb, in mlxcx_dma_alloc() argument
365 ret = ddi_dma_alloc_handle(mlxp->mlx_dip, attrp, memcb, NULL, in mlxcx_dma_alloc()
368 mlxcx_warn(mlxp, "!failed to allocate DMA handle: %d", ret); in mlxcx_dma_alloc()
377 mlxcx_warn(mlxp, "!failed to allocate DMA memory: %d", ret); in mlxcx_dma_alloc()
393 mlxcx_warn(mlxp, "!failed to bind DMA memory: %d", ret); in mlxcx_dma_alloc()
404 mlxcx_dma_alloc_offset(mlxcx_t *mlxp, mlxcx_dma_buffer_t *mxdb, in mlxcx_dma_alloc_offset() argument
421 ret = ddi_dma_alloc_handle(mlxp->mlx_dip, attrp, memcb, NULL, in mlxcx_dma_alloc_offset()
424 mlxcx_warn(mlxp, "!failed to allocate DMA handle: %d", ret); in mlxcx_dma_alloc_offset()
433 mlxcx_warn(mlxp, "!failed to allocate DMA memory: %d", ret); in mlxcx_dma_alloc_offset()
452 mlxcx_warn(mlxp, "!failed to bind DMA memory: %d", ret); in mlxcx_dma_alloc_offset()