Lines Matching refs:caps_cmd

4457 	struct fw_caps_config_cmd caps_cmd;  in adap_init0_config()  local
4594 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0_config()
4595 caps_cmd.op_to_write = in adap_init0_config()
4599 caps_cmd.cfvalid_to_len16 = in adap_init0_config()
4603 FW_LEN16(caps_cmd)); in adap_init0_config()
4604 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0_config()
4605 &caps_cmd); in adap_init0_config()
4614 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0_config()
4615 caps_cmd.op_to_write = in adap_init0_config()
4619 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0_config()
4620 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, in adap_init0_config()
4621 sizeof(caps_cmd), &caps_cmd); in adap_init0_config()
4629 finiver = ntohl(caps_cmd.finiver); in adap_init0_config()
4630 finicsum = ntohl(caps_cmd.finicsum); in adap_init0_config()
4631 cfcsum = ntohl(caps_cmd.cfcsum); in adap_init0_config()
4640 caps_cmd.op_to_write = in adap_init0_config()
4644 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0_config()
4645 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0_config()
4763 struct fw_caps_config_cmd caps_cmd; in adap_init0() local
5156 memset(&caps_cmd, 0, sizeof(caps_cmd)); in adap_init0()
5157 caps_cmd.op_to_write = htonl(FW_CMD_OP_V(FW_CAPS_CONFIG_CMD) | in adap_init0()
5159 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); in adap_init0()
5160 ret = t4_wr_mbox(adap, adap->mbox, &caps_cmd, sizeof(caps_cmd), in adap_init0()
5161 &caps_cmd); in adap_init0()
5169 if (caps_cmd.ofldcaps) in adap_init0()
5172 if (caps_cmd.ofldcaps || in adap_init0()
5173 (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_HASHFILTER)) || in adap_init0()
5174 (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_ETHOFLD))) { in adap_init0()
5211 if (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_HASHFILTER)) { in adap_init0()
5217 if (caps_cmd.niccaps & htons(FW_CAPS_CONFIG_NIC_ETHOFLD)) { in adap_init0()
5230 if (caps_cmd.rdmacaps) { in adap_init0()
5309 if (caps_cmd.iscsicaps) { in adap_init0()
5337 if (caps_cmd.cryptocaps) { in adap_init0()
5338 if (ntohs(caps_cmd.cryptocaps) & in adap_init0()
5351 if (ntohs(caps_cmd.cryptocaps) & in adap_init0()
5363 adap->params.crypto = ntohs(caps_cmd.cryptocaps); in adap_init0()