Lines Matching refs:htonl
84 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_HELLO_CMD) | in csio_mb_hello()
86 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_hello()
87 cmdp->err_to_clearinit = htonl( in csio_mb_hello()
147 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_BYE_CMD) | in csio_mb_bye()
149 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_bye()
170 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_RESET_CMD) | in csio_mb_reset()
172 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_reset()
173 cmdp->val = htonl(reset); in csio_mb_reset()
174 cmdp->halt_pkd = htonl(halt); in csio_mb_reset()
205 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_PARAMS_CMD) | in csio_mb_params()
210 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_params()
218 *p++ = htonl(temp_params); in csio_mb_params()
219 *p++ = htonl(temp_val); in csio_mb_params()
224 *p = htonl(temp_params); in csio_mb_params()
274 htonl(FW_CMD_OP_V(FW_LDST_CMD) | in csio_mb_ldst()
278 ldst_cmd->cycles_to_len16 = htonl(FW_LEN16(struct fw_ldst_cmd)); in csio_mb_ldst()
309 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_CAPS_CONFIG_CMD) | in csio_mb_caps_config()
312 cmdp->cfvalid_to_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_caps_config()
350 cmdp->op_to_portid = htonl(FW_CMD_OP_V(FW_PORT_CMD) | in csio_mb_port()
355 cmdp->action_to_len16 = htonl( in csio_mb_port()
364 cmdp->action_to_len16 = htonl( in csio_mb_port()
420 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_INITIALIZE_CMD) | in csio_mb_initialize()
422 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_initialize()
448 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_IQ_CMD) | in csio_mb_iq_alloc()
453 cmdp->alloc_to_len16 = htonl(FW_IQ_CMD_ALLOC_F | in csio_mb_iq_alloc()
456 cmdp->type_to_iqandstindex = htonl( in csio_mb_iq_alloc()
505 cmdp->op_to_vfn |= htonl(FW_CMD_OP_V(FW_IQ_CMD) | in csio_mb_iq_write()
509 cmdp->alloc_to_len16 |= htonl(iq_start_stop | in csio_mb_iq_write()
514 cmdp->type_to_iqandstindex |= htonl( in csio_mb_iq_write()
531 cmdp->iqns_to_fl0congen |= htonl( in csio_mb_iq_write()
539 cmdp->iqns_to_fl0congen |= htonl( in csio_mb_iq_write()
630 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_IQ_CMD) | in csio_mb_iq_free()
634 cmdp->alloc_to_len16 = htonl(FW_IQ_CMD_FREE_F | in csio_mb_iq_free()
636 cmdp->type_to_iqandstindex = htonl(FW_IQ_CMD_TYPE_V(iq_params->type)); in csio_mb_iq_free()
665 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | in csio_mb_eq_ofld_alloc()
669 cmdp->alloc_to_len16 = htonl(FW_EQ_OFLD_CMD_ALLOC_F | in csio_mb_eq_ofld_alloc()
713 cmdp->op_to_vfn |= htonl(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | in csio_mb_eq_ofld_write()
717 cmdp->alloc_to_len16 |= htonl(eq_start_stop | in csio_mb_eq_ofld_write()
720 cmdp->eqid_pkd |= htonl(FW_EQ_OFLD_CMD_EQID_V(eq_ofld_params->eqid)); in csio_mb_eq_ofld_write()
722 cmdp->fetchszm_to_iqid |= htonl( in csio_mb_eq_ofld_write()
728 cmdp->dcaen_to_eqsize |= htonl( in csio_mb_eq_ofld_write()
816 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | in csio_mb_eq_ofld_free()
820 cmdp->alloc_to_len16 = htonl(FW_EQ_OFLD_CMD_FREE_F | in csio_mb_eq_ofld_free()
822 cmdp->eqid_pkd = htonl(FW_EQ_OFLD_CMD_EQID_V(eq_ofld_params->eqid)); in csio_mb_eq_ofld_free()
848 cmdp->op_to_portid = htonl(( in csio_write_fcoe_link_cond_init_mb()
853 cmdp->sub_opcode_fcfi = htonl( 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()
882 cmdp->op_to_read = htonl((FW_CMD_OP_V(FW_FCOE_RES_INFO_CMD) | 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()
917 cmdp->op_to_fcfi = htonl((FW_CMD_OP_V(FW_FCOE_VNP_CMD) | in csio_fcoe_vnp_alloc_init_mb()
922 cmdp->alloc_to_len16 = htonl(FW_FCOE_VNP_CMD_ALLOC | in csio_fcoe_vnp_alloc_init_mb()
925 cmdp->gen_wwn_to_vnpi = htonl(FW_FCOE_VNP_CMD_VNPI(vnpi)); in csio_fcoe_vnp_alloc_init_mb()
930 cmdp->gen_wwn_to_vnpi |= htonl(FW_FCOE_VNP_CMD_GEN_WWN); in csio_fcoe_vnp_alloc_init_mb()
957 cmdp->op_to_fcfi = htonl(FW_CMD_OP_V(FW_FCOE_VNP_CMD) | 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()
962 cmdp->gen_wwn_to_vnpi = htonl(FW_FCOE_VNP_CMD_VNPI(vnpi)); in csio_fcoe_vnp_read_init_mb()
987 cmdp->op_to_fcfi = htonl(FW_CMD_OP_V(FW_FCOE_VNP_CMD) | in csio_fcoe_vnp_free_init_mb()
991 cmdp->alloc_to_len16 = htonl(FW_FCOE_VNP_CMD_FREE | in csio_fcoe_vnp_free_init_mb()
993 cmdp->gen_wwn_to_vnpi = htonl(FW_FCOE_VNP_CMD_VNPI(vnpi)); in csio_fcoe_vnp_free_init_mb()
1018 cmdp->op_to_fcfi = htonl(FW_CMD_OP_V(FW_FCOE_FCF_CMD) | 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()
1038 cmdp->op_to_flowid = htonl(FW_CMD_OP_V(FW_FCOE_STATS_CMD) | 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()
1598 fw_hdr->lo = htonl(FW_CMD_RETVAL_V(FW_ETIMEDOUT)); in csio_mb_tmo_handler()
1650 hdr->lo = htonl(FW_CMD_RETVAL_V(FW_HOSTERROR)); in csio_mb_cancel_all()