Lines Matching refs:q_params
8791 struct bnx2x_queue_state_params *q_params, in bnx2x_setup_tx_only() argument
8798 q_params->cmd = BNX2X_Q_CMD_SETUP_TX_ONLY; in bnx2x_setup_tx_only()
8814 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], in bnx2x_setup_tx_only()
8815 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, in bnx2x_setup_tx_only()
8819 return bnx2x_queue_state_change(bp, q_params); in bnx2x_setup_tx_only()
8836 struct bnx2x_queue_state_params q_params = {NULL}; in bnx2x_setup_queue() local
8838 &q_params.params.setup; in bnx2x_setup_queue()
8840 &q_params.params.tx_only; in bnx2x_setup_queue()
8851 q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj; in bnx2x_setup_queue()
8853 __set_bit(RAMROD_COMP_WAIT, &q_params.ramrod_flags); in bnx2x_setup_queue()
8856 bnx2x_pf_q_prep_init(bp, fp, &q_params.params.init); in bnx2x_setup_queue()
8859 q_params.cmd = BNX2X_Q_CMD_INIT; in bnx2x_setup_queue()
8862 rc = bnx2x_queue_state_change(bp, &q_params); in bnx2x_setup_queue()
8887 q_params.cmd = BNX2X_Q_CMD_SETUP; in bnx2x_setup_queue()
8893 rc = bnx2x_queue_state_change(bp, &q_params); in bnx2x_setup_queue()
8905 rc = bnx2x_setup_tx_only(bp, fp, &q_params, in bnx2x_setup_queue()
8921 struct bnx2x_queue_state_params q_params = {NULL}; in bnx2x_stop_queue() local
8926 q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj; in bnx2x_stop_queue()
8928 __set_bit(RAMROD_COMP_WAIT, &q_params.ramrod_flags); in bnx2x_stop_queue()
8942 q_params.cmd = BNX2X_Q_CMD_TERMINATE; in bnx2x_stop_queue()
8943 memset(&q_params.params.terminate, 0, in bnx2x_stop_queue()
8944 sizeof(q_params.params.terminate)); in bnx2x_stop_queue()
8945 q_params.params.terminate.cid_index = tx_index; in bnx2x_stop_queue()
8947 rc = bnx2x_queue_state_change(bp, &q_params); in bnx2x_stop_queue()
8952 q_params.cmd = BNX2X_Q_CMD_CFC_DEL; in bnx2x_stop_queue()
8953 memset(&q_params.params.cfc_del, 0, in bnx2x_stop_queue()
8954 sizeof(q_params.params.cfc_del)); in bnx2x_stop_queue()
8955 q_params.params.cfc_del.cid_index = tx_index; in bnx2x_stop_queue()
8956 rc = bnx2x_queue_state_change(bp, &q_params); in bnx2x_stop_queue()
8962 q_params.cmd = BNX2X_Q_CMD_HALT; in bnx2x_stop_queue()
8963 rc = bnx2x_queue_state_change(bp, &q_params); in bnx2x_stop_queue()
8968 q_params.cmd = BNX2X_Q_CMD_TERMINATE; in bnx2x_stop_queue()
8969 memset(&q_params.params.terminate, 0, in bnx2x_stop_queue()
8970 sizeof(q_params.params.terminate)); in bnx2x_stop_queue()
8971 q_params.params.terminate.cid_index = FIRST_TX_COS_INDEX; in bnx2x_stop_queue()
8972 rc = bnx2x_queue_state_change(bp, &q_params); in bnx2x_stop_queue()
8976 q_params.cmd = BNX2X_Q_CMD_CFC_DEL; in bnx2x_stop_queue()
8977 memset(&q_params.params.cfc_del, 0, in bnx2x_stop_queue()
8978 sizeof(q_params.params.cfc_del)); in bnx2x_stop_queue()
8979 q_params.params.cfc_del.cid_index = FIRST_TX_COS_INDEX; in bnx2x_stop_queue()
8980 return bnx2x_queue_state_change(bp, &q_params); in bnx2x_stop_queue()
15232 struct bnx2x_queue_state_params q_params; in bnx2x_enable_ptp_packets() local
15236 memset(&q_params, 0, sizeof(q_params)); in bnx2x_enable_ptp_packets()
15237 __set_bit(RAMROD_COMP_WAIT, &q_params.ramrod_flags); in bnx2x_enable_ptp_packets()
15238 q_params.cmd = BNX2X_Q_CMD_UPDATE; in bnx2x_enable_ptp_packets()
15240 &q_params.params.update.update_flags); in bnx2x_enable_ptp_packets()
15242 &q_params.params.update.update_flags); in bnx2x_enable_ptp_packets()
15249 q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj; in bnx2x_enable_ptp_packets()
15252 rc = bnx2x_queue_state_change(bp, &q_params); in bnx2x_enable_ptp_packets()