Lines Matching refs:caps_cmd
3986 struct fw_caps_config_cmd caps_cmd; in adap_init0_config() local
4123 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0_config()
4124 caps_cmd.op_to_write = in adap_init0_config()
4128 caps_cmd.cfvalid_to_len16 = in adap_init0_config()
4132 FW_LEN16(caps_cmd)); in adap_init0_config()
4133 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0_config()
4134 &caps_cmd); in adap_init0_config()
4143 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0_config()
4144 caps_cmd.op_to_write = in adap_init0_config()
4148 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0_config()
4149 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, in adap_init0_config()
4150 sizeof(caps_cmd), &caps_cmd); in adap_init0_config()
4158 finiver = ntohl(caps_cmd.finiver); in adap_init0_config()
4159 finicsum = ntohl(caps_cmd.finicsum); in adap_init0_config()
4160 cfcsum = ntohl(caps_cmd.cfcsum); in adap_init0_config()
4169 caps_cmd.op_to_write = in adap_init0_config()
4173 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0_config()
4174 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0_config()
4295 struct fw_caps_config_cmd caps_cmd; in adap_init0() local
4675 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0()
4676 caps_cmd.op_to_write = htonl(FW_CMD_OP_V(FW_CAPS_CONFIG_CMD) | in adap_init0()
4678 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0()
4679 ret = t4_wr_mbox(adap, adap->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0()
4680 &caps_cmd); in adap_init0()
4688 if (caps_cmd.ofldcaps) in adap_init0()
4691 if (caps_cmd.ofldcaps || in adap_init0()
4692 (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_HASHFILTER))) { in adap_init0()
4729 if (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_HASHFILTER)) { in adap_init0()
4735 if (caps_cmd.rdmacaps) { in adap_init0()
4814 if (caps_cmd.iscsicaps) { in adap_init0()
4842 if (caps_cmd.cryptocaps) { in adap_init0()
4843 if (ntohs(caps_cmd.cryptocaps) & in adap_init0()
4856 if (ntohs(caps_cmd.cryptocaps) & in adap_init0()
4868 adap->params.crypto = ntohs(caps_cmd.cryptocaps); in adap_init0()