Lines Matching defs:txdlh

479 	vxge_hal_txdl_h txdlh;
492 __hal_channel_for_each_dtr(&fifo->channel, txdlh, i) {
495 fifo->txdl_term(fifo->channel.vph, txdlh,
496 VXGE_HAL_FIFO_ULD_PRIV(fifo, txdlh),
505 __hal_channel_dtr_try_complete(&fifo->channel, &txdlh);
507 if (txdlh == NULL)
513 fifo->txdl_term(fifo->channel.vph, txdlh,
514 VXGE_HAL_FIFO_ULD_PRIV(fifo, txdlh),
521 VXGE_HAL_FIFO_TXDL_INDEX(txdlh));
581 vxge_hal_txdl_h txdlh;
611 __hal_channel_for_each_posted_dtr(&fifo->channel, txdlh, i) {
613 txdl_priv = VXGE_HAL_FIFO_HAL_PRIV(fifo, txdlh);
617 ((vxge_hal_fifo_txd_t *) txdlh)->control_1)) ?
785 * @txdlh: Descriptor handle.
797 vxge_hal_txdl_h txdlh)
800 ((__hal_vpath_handle_t *) vpath_handle)->vpath->fifoh), txdlh));
806 * @txdlh: Reserved descriptor. On success HAL fills this "out" parameter
826 vxge_hal_txdl_h *txdlh,
840 vxge_assert((vpath_handle != NULL) && (txdlh != NULL));
848 "vpath_handle = 0x"VXGE_OS_STXFMT", txdlh = 0x"VXGE_OS_STXFMT,
849 (ptr_t) vpath_handle, (ptr_t) txdlh);
861 status = __hal_channel_dtr_reserve(&fifo->channel, txdlh);
870 vxge_hal_fifo_txd_t *txdp = (vxge_hal_fifo_txd_t *)*txdlh;
889 txdp = ((vxge_hal_fifo_txd_t *)*txdlh) + i;
907 * @txdlh: Descriptor handle.
923 vxge_hal_txdl_h txdlh,
934 vxge_assert((vpath_handle != NULL) && (txdlh != NULL) &&
943 "txdlh = 0x"VXGE_OS_STXFMT", frag_idx = %d, "
945 (ptr_t) vpath_handle, (ptr_t) txdlh,
952 txdl_priv = VXGE_HAL_FIFO_HAL_PRIV(fifo, txdlh);
954 txdp = (vxge_hal_fifo_txd_t *) txdlh + txdl_priv->frags;
978 * @txdlh: Descriptor handle.
1017 vxge_hal_txdl_h txdlh,
1032 vxge_assert((vpath_handle != NULL) && (txdlh != NULL) &&
1042 "vpath_handle = 0x"VXGE_OS_STXFMT", txdlh = 0x"VXGE_OS_STXFMT", "
1046 (ptr_t) txdlh, frag_idx, (ptr_t) vaddr, (u64) dma_pointer, size,
1053 txdl_priv = VXGE_HAL_FIFO_HAL_PRIV(fifo, txdlh);
1055 txdp = (vxge_hal_fifo_txd_t *) txdlh + txdl_priv->frags;
1119 * @txdlh: Descriptor handle.
1138 vxge_hal_txdl_h txdlh,
1148 vxge_assert((vpath_handle != NULL) && (txdlh != NULL) && (vaddr != 0) &&
1157 "txdlh = 0x"VXGE_OS_STXFMT", vaddr = 0x"VXGE_OS_STXFMT", "
1158 "size = %d", (ptr_t) vpath_handle, (ptr_t) txdlh,
1165 txdl_priv = VXGE_HAL_FIFO_HAL_PRIV(fifo, txdlh);
1191 * @txdlh: Descriptor handle.
1204 vxge_hal_txdl_h txdlh,
1215 (txdlh != NULL) && (frag_idx != 0));
1223 "txdlh = 0x"VXGE_OS_STXFMT", frag_idx = %d", (ptr_t) vpath_handle,
1224 (ptr_t) txdlh, frag_idx);
1230 txdl_priv = VXGE_HAL_FIFO_HAL_PRIV(fifo, txdlh);
1231 txdp = (vxge_hal_fifo_txd_t *) txdlh + txdl_priv->frags;
1265 * @txdlh: Descriptor handle.
1276 vxge_hal_txdl_h txdlh,
1285 vxge_assert((vpath_handle != NULL) && (txdlh != NULL));
1293 "txdlh = 0x"VXGE_OS_STXFMT", tagged = %d",
1294 (ptr_t) vpath_handle, (ptr_t) txdlh, tagged);
1300 txdl_priv = VXGE_HAL_FIFO_HAL_PRIV(fifo, txdlh);
1302 txdp = (vxge_hal_fifo_txd_t *) txdlh + txdl_priv->frags;
1315 txdp = (vxge_hal_fifo_txd_t *) txdlh + (txdl_priv->frags - 1);
1329 * @txdlh: Descriptor obtained via vxge_hal_fifo_txdl_reserve()
1340 vxge_hal_txdl_h txdlh,
1356 vxge_assert((vpath_handle != NULL) && (txdlh != NULL));
1364 "txdlh = 0x"VXGE_OS_STXFMT", tagged = %d",
1365 (ptr_t) vpath_handle, (ptr_t) txdlh, tagged);
1371 txdl_priv = VXGE_HAL_FIFO_HAL_PRIV(fifo, txdlh);
1373 txdp_first = (vxge_hal_fifo_txd_t *) txdlh;
1388 (vxge_hal_fifo_txd_t *) txdlh + (txdl_priv->frags - 1);
1418 __hal_channel_dtr_post(&fifo->channel, VXGE_HAL_FIFO_TXDL_INDEX(txdlh));
1462 vxge_hal_txdl_h txdlh;
1491 __hal_channel_dtr_try_complete(&fifo->channel, &txdlh);
1493 txdp = (vxge_hal_fifo_txd_t *) txdlh;
1515 * @txdlh: Descriptor handle. Returned by HAL.
1548 vxge_hal_txdl_h * txdlh,
1569 (txdlh != NULL) && (t_code != NULL));
1577 "txdlh = 0x"VXGE_OS_STXFMT", t_code = 0x"VXGE_OS_STXFMT,
1578 (ptr_t) vpath_handle, (ptr_t) txdlh, (ptr_t) t_code);
1584 *txdlh = 0;
1592 __hal_channel_dtr_try_complete(&fifo->channel, txdlh);
1594 txdp = (vxge_hal_fifo_txd_t *) * txdlh;
1646 * @txdlh: Descriptor handle.
1660 vxge_hal_txdl_h txdlh,
1666 vxge_assert((vpath_handle != NULL) && (txdlh != NULL));
1674 "txdlh = 0x"VXGE_OS_STXFMT", t_code = 0x%d",
1675 (ptr_t) vpath_handle, (ptr_t) txdlh, t_code);
1752 "freeing corrupt txdlh 0x"VXGE_OS_STXFMT", "
1758 vxge_hal_trace_log_fifo("freeing linked txdlh 0x"VXGE_OS_STXFMT
1775 "freed linked txdlh fragments %d list size %d",
1790 * @txdlh: Descriptor handle.
1814 vxge_hal_txdl_h txdlh)
1826 vxge_assert((vpath_handle != NULL) && (txdlh != NULL));
1834 "txdlh = 0x"VXGE_OS_STXFMT, (ptr_t) vpath_handle, (ptr_t) txdlh);
1840 txdl_priv = VXGE_HAL_FIFO_HAL_PRIV(fifo, txdlh);
1858 /* txdlh must have a linked list of txdlh */
1861 /* free any dangling txdlh first */
1864 "freeing dangled txdlh 0x"VXGE_OS_STXFMT" for %d "
1870 /* now free the reserved txdlh list */
1872 "freeing txdlh 0x"VXGE_OS_STXFMT" list of %d fragments",
1873 (ptr_t) txdlh, alloc_frags);
1875 (vxge_hal_fifo_txd_t *) txdlh, max_frags,
1879 VXGE_HAL_FIFO_TXDL_INDEX(txdlh));