Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-ring-fp.c662 u8 *t_code) in xge_hal_ring_dtr_next_completed() argument
718 *t_code = (u8)XGE_HAL_RXD_GET_T_CODE(rxdp->control_1); in xge_hal_ring_dtr_next_completed()
721 xge_assert(*t_code != XGE_HAL_RXD_T_CODE_UNUSED_C); in xge_hal_ring_dtr_next_completed()
726 ((xge_hal_channel_t*)ring)->post_qid, *t_code, in xge_hal_ring_dtr_next_completed()
H A Dxgehal-device-fp.c350 u8 t_code; in xge_hal_device_poll_rx_channel() local
358 &t_code)) == XGE_HAL_OK) { in xge_hal_device_poll_rx_channel()
360 t_code, channel->userdata) != XGE_HAL_OK) { in xge_hal_device_poll_rx_channel()
399 u8 t_code; in xge_hal_device_poll_tx_channel() local
406 &t_code) == XGE_HAL_OK) { in xge_hal_device_poll_tx_channel()
408 t_code, channel->userdata) != XGE_HAL_OK) { in xge_hal_device_poll_tx_channel()
H A Dxgehal-mgmtaux.c1088 int t_code, t_code_cnt; in xge_hal_aux_stats_sw_dev_read() local
1106 for (t_code = 1; t_code < 16; t_code++) { in xge_hal_aux_stats_sw_dev_read()
1107 t_code_cnt = sw_dev_err_stats.rxd_t_code_err_cnt[t_code]; in xge_hal_aux_stats_sw_dev_read()
1109 (void) xge_os_snprintf(buf, sizeof(buf), "rxd_t_code_%d", t_code); in xge_hal_aux_stats_sw_dev_read()
1112 t_code_cnt = sw_dev_err_stats.txd_t_code_err_cnt[t_code]; in xge_hal_aux_stats_sw_dev_read()
1114 (void) xge_os_snprintf(buf, sizeof(buf), "txd_t_code_%d", t_code); in xge_hal_aux_stats_sw_dev_read()
H A Dxgehal-fifo-fp.c648 xge_hal_dtr_h *dtrh, u8 *t_code) in xge_hal_fifo_dtr_next_completed() argument
683 *t_code = (u8)XGE_HAL_GET_TXD_T_CODE(txdp->control_1); in xge_hal_fifo_dtr_next_completed()
686 xge_assert(*t_code != XGE_HAL_TXD_T_CODE_UNUSED_5); in xge_hal_fifo_dtr_next_completed()
H A Dxgehal-device.c3213 u8 t_code = hldev->inject_bad_tcode; in __hal_device_poll() local
3232 t_code); in __hal_device_poll()
3235 t_code); in __hal_device_poll()
5640 xge_hal_dtr_h dtrh, u8 t_code) in xge_hal_device_handle_tcode() argument
5645 if (t_code > 15) { in xge_hal_device_handle_tcode()
5646 xge_os_printf("invalid t_code %d", t_code); in xge_hal_device_handle_tcode()
5651 hldev->stats.sw_dev_err_stats.txd_t_code_err_cnt[t_code]++; in xge_hal_device_handle_tcode()
5663 if (t_code == XGE_HAL_TXD_T_CODE_LOSS_OF_LINK) { in xge_hal_device_handle_tcode()
5684 } else if (t_code == XGE_HAL_TXD_T_CODE_ABORT_BUFFER || in xge_hal_device_handle_tcode()
5685 t_code == XGE_HAL_TXD_T_CODE_ABORT_DTOR) { in xge_hal_device_handle_tcode()
[all …]
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.c703 xgell_rx_1b_callback(xge_hal_channel_h channelh, xge_hal_dtr_h dtr, u8 t_code, in xgell_rx_1b_callback() argument
733 if (t_code != 0) { in xgell_rx_1b_callback()
736 lldev->instance, (uint64_t)(uintptr_t)dtr, t_code); in xgell_rx_1b_callback()
739 t_code); in xgell_rx_1b_callback()
843 } while (xge_hal_ring_dtr_next_completed(channelh, &dtr, &t_code) == in xgell_rx_1b_callback()
894 xgell_xmit_compl(xge_hal_channel_h channelh, xge_hal_dtr_h dtr, u8 t_code, in xgell_xmit_compl() argument
905 if (t_code) { in xgell_xmit_compl()
908 lldev->instance, (uint64_t)(uintptr_t)dtr, t_code); in xgell_xmit_compl()
911 t_code); in xgell_xmit_compl()
932 } while (xge_hal_fifo_dtr_next_completed(channelh, &dtr, &t_code) == in xgell_xmit_compl()
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-device.h620 xge_hal_device_inject_bad_tcode(xge_hal_device_h devh, int chan_type, u8 t_code) in xge_hal_device_inject_bad_tcode() argument
623 ((xge_hal_device_t*)devh)->inject_bad_tcode = t_code; in xge_hal_device_inject_bad_tcode()
782 u8 t_code);
H A Dxgehal-channel.h165 u8 t_code, void *userdata);
H A Dxgehal-fifo.h312 u8 *t_code);
H A Dxgehal-ring.h444 u8 *t_code);
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dcommands.h93 #define t_code cdb_un.tag macro
535 ((union scsi_cdb *)(pktp)->pkt_cdbp)->t_code = (fixbit)
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c8983 ucdb->t_code = fixbit; in st_make_cmd()