• Home
  • Raw
  • Download

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()
355 cmdp->op_to_portid = htonl(FW_CMD_OP_V(FW_PORT_CMD) | in csio_mb_port()
360 cmdp->action_to_len16 = htonl( in csio_mb_port()
367 cmdp->action_to_len16 = htonl( in csio_mb_port()
377 cmdp->u.l1cfg.rcap = htonl((caps & CSIO_ADVERT_MASK) | lfc); in csio_mb_port()
379 cmdp->u.l1cfg.rcap = htonl((caps & CSIO_ADVERT_MASK) | in csio_mb_port()
419 cmdp->op_to_write = htonl(FW_CMD_OP_V(FW_INITIALIZE_CMD) | in csio_mb_initialize()
421 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_mb_initialize()
447 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_IQ_CMD) | in csio_mb_iq_alloc()
452 cmdp->alloc_to_len16 = htonl(FW_IQ_CMD_ALLOC_F | in csio_mb_iq_alloc()
455 cmdp->type_to_iqandstindex = htonl( in csio_mb_iq_alloc()
503 cmdp->op_to_vfn |= htonl(FW_CMD_OP_V(FW_IQ_CMD) | in csio_mb_iq_write()
507 cmdp->alloc_to_len16 |= htonl(iq_start_stop | in csio_mb_iq_write()
512 cmdp->type_to_iqandstindex |= htonl( in csio_mb_iq_write()
529 cmdp->iqns_to_fl0congen |= htonl( in csio_mb_iq_write()
537 cmdp->iqns_to_fl0congen |= htonl( in csio_mb_iq_write()
626 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_IQ_CMD) | in csio_mb_iq_free()
630 cmdp->alloc_to_len16 = htonl(FW_IQ_CMD_FREE_F | in csio_mb_iq_free()
632 cmdp->type_to_iqandstindex = htonl(FW_IQ_CMD_TYPE_V(iq_params->type)); in csio_mb_iq_free()
661 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | in csio_mb_eq_ofld_alloc()
665 cmdp->alloc_to_len16 = htonl(FW_EQ_OFLD_CMD_ALLOC_F | in csio_mb_eq_ofld_alloc()
709 cmdp->op_to_vfn |= htonl(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | in csio_mb_eq_ofld_write()
713 cmdp->alloc_to_len16 |= htonl(eq_start_stop | in csio_mb_eq_ofld_write()
716 cmdp->eqid_pkd |= htonl(FW_EQ_OFLD_CMD_EQID_V(eq_ofld_params->eqid)); in csio_mb_eq_ofld_write()
718 cmdp->fetchszm_to_iqid |= htonl( in csio_mb_eq_ofld_write()
724 cmdp->dcaen_to_eqsize |= htonl( in csio_mb_eq_ofld_write()
812 cmdp->op_to_vfn = htonl(FW_CMD_OP_V(FW_EQ_OFLD_CMD) | in csio_mb_eq_ofld_free()
816 cmdp->alloc_to_len16 = htonl(FW_EQ_OFLD_CMD_FREE_F | in csio_mb_eq_ofld_free()
818 cmdp->eqid_pkd = htonl(FW_EQ_OFLD_CMD_EQID_V(eq_ofld_params->eqid)); in csio_mb_eq_ofld_free()
844 cmdp->op_to_portid = htonl(( in csio_write_fcoe_link_cond_init_mb()
849 cmdp->sub_opcode_fcfi = htonl( in csio_write_fcoe_link_cond_init_mb()
853 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_write_fcoe_link_cond_init_mb()
878 cmdp->op_to_read = htonl((FW_CMD_OP_V(FW_FCOE_RES_INFO_CMD) | in csio_fcoe_read_res_info_init_mb()
882 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_fcoe_read_res_info_init_mb()
913 cmdp->op_to_fcfi = htonl((FW_CMD_OP_V(FW_FCOE_VNP_CMD) | in csio_fcoe_vnp_alloc_init_mb()
918 cmdp->alloc_to_len16 = htonl(FW_FCOE_VNP_CMD_ALLOC | in csio_fcoe_vnp_alloc_init_mb()
921 cmdp->gen_wwn_to_vnpi = htonl(FW_FCOE_VNP_CMD_VNPI(vnpi)); in csio_fcoe_vnp_alloc_init_mb()
926 cmdp->gen_wwn_to_vnpi |= htonl(FW_FCOE_VNP_CMD_GEN_WWN); in csio_fcoe_vnp_alloc_init_mb()
953 cmdp->op_to_fcfi = htonl(FW_CMD_OP_V(FW_FCOE_VNP_CMD) | in csio_fcoe_vnp_read_init_mb()
957 cmdp->alloc_to_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_fcoe_vnp_read_init_mb()
958 cmdp->gen_wwn_to_vnpi = htonl(FW_FCOE_VNP_CMD_VNPI(vnpi)); in csio_fcoe_vnp_read_init_mb()
983 cmdp->op_to_fcfi = htonl(FW_CMD_OP_V(FW_FCOE_VNP_CMD) | in csio_fcoe_vnp_free_init_mb()
987 cmdp->alloc_to_len16 = htonl(FW_FCOE_VNP_CMD_FREE | in csio_fcoe_vnp_free_init_mb()
989 cmdp->gen_wwn_to_vnpi = htonl(FW_FCOE_VNP_CMD_VNPI(vnpi)); in csio_fcoe_vnp_free_init_mb()
1014 cmdp->op_to_fcfi = htonl(FW_CMD_OP_V(FW_FCOE_FCF_CMD) | in csio_fcoe_read_fcf_init_mb()
1018 cmdp->retval_len16 = htonl(FW_CMD_LEN16_V(sizeof(*cmdp) / 16)); in csio_fcoe_read_fcf_init_mb()
1034 cmdp->op_to_flowid = htonl(FW_CMD_OP_V(FW_FCOE_STATS_CMD) | in csio_fcoe_read_portparams_init_mb()
1036 cmdp->free_to_len16 = htonl(FW_CMD_LEN16_V(CSIO_MAX_MB_SIZE/16)); in csio_fcoe_read_portparams_init_mb()
1581 fw_hdr->lo = htonl(FW_CMD_RETVAL_V(FW_ETIMEDOUT)); in csio_mb_tmo_handler()
1633 hdr->lo = htonl(FW_CMD_RETVAL_V(FW_HOSTERROR)); in csio_mb_cancel_all()