Lines Matching refs:caps_cmd
4458 struct fw_caps_config_cmd caps_cmd; in adap_init0_config() local
4595 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0_config()
4596 caps_cmd.op_to_write = in adap_init0_config()
4600 caps_cmd.cfvalid_to_len16 = in adap_init0_config()
4604 FW_LEN16(caps_cmd)); in adap_init0_config()
4605 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0_config()
4606 &caps_cmd); in adap_init0_config()
4615 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0_config()
4616 caps_cmd.op_to_write = in adap_init0_config()
4620 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0_config()
4621 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, in adap_init0_config()
4622 sizeof(caps_cmd), &caps_cmd); in adap_init0_config()
4630 finiver = ntohl(caps_cmd.finiver); in adap_init0_config()
4631 finicsum = ntohl(caps_cmd.finicsum); in adap_init0_config()
4632 cfcsum = ntohl(caps_cmd.cfcsum); in adap_init0_config()
4641 caps_cmd.op_to_write = in adap_init0_config()
4645 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0_config()
4646 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0_config()
4764 struct fw_caps_config_cmd caps_cmd; in adap_init0() local
5157 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0()
5158 caps_cmd.op_to_write = htonl(FW_CMD_OP_V(FW_CAPS_CONFIG_CMD) | in adap_init0()
5160 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0()
5161 ret = t4_wr_mbox(adap, adap->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0()
5162 &caps_cmd); in adap_init0()
5170 if (caps_cmd.ofldcaps) in adap_init0()
5173 if (caps_cmd.ofldcaps || in adap_init0()
5174 (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_HASHFILTER)) || in adap_init0()
5175 (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_ETHOFLD))) { in adap_init0()
5212 if (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_HASHFILTER)) { in adap_init0()
5218 if (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_ETHOFLD)) { in adap_init0()
5231 if (caps_cmd.rdmacaps) { in adap_init0()
5310 if (caps_cmd.iscsicaps) { in adap_init0()
5338 if (caps_cmd.cryptocaps) { in adap_init0()
5339 if (ntohs(caps_cmd.cryptocaps) & in adap_init0()
5352 if (ntohs(caps_cmd.cryptocaps) & in adap_init0()
5364 adap->params.crypto = ntohs(caps_cmd.cryptocaps); in adap_init0()