Lines Matching +full:16 +full:mb

49 /* MB Command/Response Helpers */
60 hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_fw_retval()
80 struct fw_hello_cmd *cmdp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_hello()
86 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_hello()
112 struct fw_hello_cmd *rsp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_process_hello_rsp()
143 struct fw_bye_cmd *cmdp = (struct fw_bye_cmd *)(mbp->mb); in csio_mb_bye()
149 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_bye()
166 struct fw_reset_cmd *cmdp = (struct fw_reset_cmd *)(mbp->mb); in csio_mb_reset()
172 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_reset()
200 struct fw_params_cmd *cmdp = (struct fw_params_cmd *)(mbp->mb); in csio_mb_params()
210 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_params()
244 struct fw_params_cmd *rsp = (struct fw_params_cmd *)(mbp->mb); in csio_mb_process_read_params_rsp()
266 struct fw_ldst_cmd *ldst_cmd = (struct fw_ldst_cmd *)(mbp->mb); in csio_mb_ldst()
296 * This helper assumes that cmdp has MB payload from a previous CAPS
305 (struct fw_caps_config_cmd *)(mbp->mb); in csio_mb_caps_config()
312 cmdp->cfvalid_to_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_caps_config()
346 struct fw_port_cmd *cmdp = (struct fw_port_cmd *)(mbp->mb); in csio_mb_port()
359 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_port()
368 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_port()
389 struct fw_port_cmd *rsp = (struct fw_port_cmd *)(mbp->mb); in csio_mb_process_read_port_rsp()
416 struct fw_initialize_cmd *cmdp = (struct fw_initialize_cmd *)(mbp->mb); in csio_mb_initialize()
422 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_initialize()
444 struct fw_iq_cmd *cmdp = (struct fw_iq_cmd *)(mbp->mb); in csio_mb_iq_alloc()
454 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_iq_alloc()
490 struct fw_iq_cmd *cmdp = (struct fw_iq_cmd *)(mbp->mb); in csio_mb_iq_write()
510 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_iq_write()
594 struct fw_iq_cmd *rsp = (struct fw_iq_cmd *)(mbp->mb); in csio_mb_iq_alloc_write_rsp()
626 struct fw_iq_cmd *cmdp = (struct fw_iq_cmd *)(mbp->mb); in csio_mb_iq_free()
635 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_iq_free()
662 struct fw_eq_ofld_cmd *cmdp = (struct fw_eq_ofld_cmd *)(mbp->mb); in csio_mb_eq_ofld_alloc()
670 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_eq_ofld_alloc()
699 struct fw_eq_ofld_cmd *cmdp = (struct fw_eq_ofld_cmd *)(mbp->mb); in csio_mb_eq_ofld_write()
718 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_eq_ofld_write()
780 struct fw_eq_ofld_cmd *rsp = (struct fw_eq_ofld_cmd *)(mbp->mb); in csio_mb_eq_ofld_alloc_write_rsp()
812 struct fw_eq_ofld_cmd *cmdp = (struct fw_eq_ofld_cmd *)(mbp->mb); in csio_mb_eq_ofld_free()
821 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_eq_ofld_free()
844 (struct fw_fcoe_link_cmd *)(mbp->mb); in csio_write_fcoe_link_cond_init_mb()
857 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_write_fcoe_link_cond_init_mb()
878 (struct fw_fcoe_res_info_cmd *)(mbp->mb); in csio_fcoe_read_res_info_init_mb()
886 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_fcoe_read_res_info_init_mb()
913 (struct fw_fcoe_vnp_cmd *)(mbp->mb); in csio_fcoe_vnp_alloc_init_mb()
923 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_fcoe_vnp_alloc_init_mb()
954 (struct fw_fcoe_vnp_cmd *)(mbp->mb); in csio_fcoe_vnp_read_init_mb()
961 cmdp->alloc_to_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_fcoe_vnp_read_init_mb()
983 (struct fw_fcoe_vnp_cmd *)(mbp->mb); in csio_fcoe_vnp_free_init_mb()
992 FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_fcoe_vnp_free_init_mb()
1014 (struct fw_fcoe_fcf_cmd *)(mbp->mb); in csio_fcoe_read_fcf_init_mb()
1022 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_fcoe_read_fcf_init_mb()
1033 struct fw_fcoe_stats_cmd *cmdp = (struct fw_fcoe_stats_cmd *)(mbp->mb); in csio_fcoe_read_portparams_init_mb()
1040 cmdp->free_to_len16 = htonl(FW_CMD_LEN16_V(CSIO_MAX_MB_SIZE/16)); in csio_fcoe_read_portparams_init_mb()
1057 struct fw_fcoe_stats_cmd *rsp = (struct fw_fcoe_stats_cmd *)(mbp->mb); in csio_mb_process_portparams_rsp()
1102 /* Entry points/APIs for MB module */
1149 csio_fatal(hw, "FW assertion at %.16s:%u, val0 %#x, val1 %#x\n", in csio_mb_dump_fw_dbg()
1193 __be64 *cmd = mbp->mb; in csio_mb_issue()
1212 *((uint8_t *)mbp->mb)); in csio_mb_issue()
1221 hw->pfn, *((uint8_t *)mbp->mb)); in csio_mb_issue()
1250 hw->pfn, *((uint8_t *)mbp->mb), owner); in csio_mb_issue()
1257 hw->pfn, *((uint8_t *)mbp->mb), in csio_mb_issue()
1296 cmd = mbp->mb; in csio_mb_issue()
1457 csio_dbg(hw, "Gen MB can't handle op:0x%x on evtq.\n", opcode); in csio_mb_fwevt_handler()
1533 cmd = mbp->mb; in csio_mb_isr_handler()
1591 fw_hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_tmo_handler()
1644 hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_cancel_all()