Lines Matching +full:rst +full:- +full:ctrl
1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * linux-drivers@broadcom.com
16 * using Work Request Blocks (WRBs) submitted to the MCC-WRB ring or via one
28 /* bits 0 - embedded */
29 /* bits 1 - 2 reserved */
30 /* bits 3 - 7 sge count */
31 /* bits 8 - 23 reserved */
32 /* bits 24 - 31 special */
43 struct be_sge sgl[19]; /* used by non-embedded cmds */
61 #define CQE_STATUS_COMPL_SHIFT 0 /* bits 0 - 15 */
63 #define CQE_STATUS_EXTD_SHIFT 16 /* bits 31 - 16 */
102 #define SLIPORT_SEMAPHORE_OFFSET_SH 0x94 /* PCI-CFG offset */
112 #define POST_STAGE_HOST_RDY 0x2 /* Host has given go-ahed to FW */
119 #define DB_MCCQ_RING_ID_MASK 0xFFFF /* bits 0 - 15 */
121 #define DB_MCCQ_NUM_POSTED_SHIFT 16 /* bits 16 - 29 */
127 #define ASYNC_TRAILER_EVENT_CODE_SHIFT 8 /* bits 8 - 15 */
133 #define ASYNC_TRAILER_EVENT_TYPE_SHIFT 16 /* bits 16 - 23 */
157 * When the event code of an async trailer is link-state, the mcc_compl
172 /* BE2ISCSI_LINK_SPEED_ZERO 0x00 - no link */
187 * When async-trailer is SLI event, mcc_compl is interpreted as
286 * as a byte - used to calculate offset/shift/mask of each field
570 * as a byte - used to calculate offset/shift/mask of each field
630 * as a byte - used to calculate offset/shift/mask of each field
693 return wrb->payload.embedded_payload; in embedded_payload()
698 return &wrb->payload.sgl[0]; in nonembedded_sgl()
790 int beiscsi_cmd_special_wrb(struct be_ctrl_info *ctrl, u32 load);
802 int beiscsi_cmd_eq_create(struct be_ctrl_info *ctrl,
805 int beiscsi_cmd_cq_create(struct be_ctrl_info *ctrl,
810 int beiscsi_cmd_q_destroy(struct be_ctrl_info *ctrl, struct be_queue_info *q,
816 void free_mcc_wrb(struct be_ctrl_info *ctrl, unsigned int tag);
834 int beiscsi_process_mcc_compl(struct be_ctrl_info *ctrl,
837 int be_cmd_create_default_pdu_queue(struct be_ctrl_info *ctrl,
843 int be_cmd_iscsi_post_template_hdr(struct be_ctrl_info *ctrl,
846 int be_cmd_iscsi_remove_template_hdr(struct be_ctrl_info *ctrl);
848 int be_cmd_iscsi_post_sgl_pages(struct be_ctrl_info *ctrl,
852 int be_cmd_wrbq_create(struct be_ctrl_info *ctrl, struct be_dma_mem *q_mem,
860 int beiscsi_check_supported_fw(struct be_ctrl_info *ctrl,
863 int beiscsi_get_fw_config(struct be_ctrl_info *ctrl, struct beiscsi_hba *phba);
865 int beiscsi_get_port_name(struct be_ctrl_info *ctrl, struct beiscsi_hba *phba);
908 #define BEISCSI_DUAL_ULP_AWARE_BIT 0 /* Byte 3 - Bit 0 */
909 #define BEISCSI_BIND_Q_TO_ULP_BIT 1 /* Byte 3 - Bit 1 */
1043 u8 i_sts; /* for skh if cmd_complete is not-set then i_sts is status */
1076 #define DB_WRB_POST_CID_MASK 0xFFFF /* bits 0 - 16 */
1077 #define DB_DEF_PDU_WRB_INDEX_MASK 0xFF /* bits 0 - 9 */
1158 #define DB_DEF_PDU_RING_ID_MASK 0x3FFF /* bits 0 - 13 */
1159 #define DB_DEF_PDU_CQPROC_MASK 0x3FFF /* bits 16 - 29 */
1291 #define INI_NOPOUT_CMD 3 /* Initiator; Send a NOP-OUT */
1303 (sizeof_field(_type_, _field_)/sizeof((((_type_ *)0)->_field_[0])))\
1352 * incoming TCP RST
1360 * internally due to TCP RST