Searched refs:caps_cmd (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c3282 struct fw_caps_config_cmd caps_cmd; adap_init0_config() local
3390 memset(&caps_cmd, 0, sizeof(caps_cmd)); adap_init0_config()
3391 caps_cmd.op_to_write = adap_init0_config()
3395 caps_cmd.cfvalid_to_len16 = adap_init0_config()
3399 FW_LEN16(caps_cmd)); adap_init0_config()
3400 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, sizeof(caps_cmd), adap_init0_config()
3401 &caps_cmd); adap_init0_config()
3410 memset(&caps_cmd, 0, sizeof(caps_cmd)); adap_init0_config()
3411 caps_cmd.op_to_write = adap_init0_config()
3415 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); adap_init0_config()
3416 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, adap_init0_config()
3417 sizeof(caps_cmd), &caps_cmd); adap_init0_config()
3425 finiver = ntohl(caps_cmd.finiver); adap_init0_config()
3426 finicsum = ntohl(caps_cmd.finicsum); adap_init0_config()
3427 cfcsum = ntohl(caps_cmd.cfcsum); adap_init0_config()
3436 caps_cmd.op_to_write = adap_init0_config()
3440 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); adap_init0_config()
3441 ret = t4_wr_mbox(adapter, adapter->mbox, &caps_cmd, sizeof(caps_cmd), adap_init0_config()
3532 struct fw_caps_config_cmd caps_cmd; adap_init0() local
3813 memset(&caps_cmd, 0, sizeof(caps_cmd)); adap_init0()
3814 caps_cmd.op_to_write = htonl(FW_CMD_OP_V(FW_CAPS_CONFIG_CMD) | adap_init0()
3816 caps_cmd.cfvalid_to_len16 = htonl(FW_LEN16(caps_cmd)); adap_init0()
3817 ret = t4_wr_mbox(adap, adap->mbox, &caps_cmd, sizeof(caps_cmd), adap_init0()
3818 &caps_cmd); adap_init0()
3822 if (caps_cmd.ofldcaps) { adap_init0()
3861 if (caps_cmd.rdmacaps) { adap_init0()
3913 if (caps_cmd.iscsicaps) { adap_init0()
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_hw.c1657 struct fw_caps_config_cmd *caps_cmd; csio_hw_use_fwconfig() local
1706 caps_cmd = (struct fw_caps_config_cmd *)(mbp->mb); csio_hw_use_fwconfig()
1707 CSIO_INIT_MBP(mbp, caps_cmd, CSIO_MB_DEFAULT_TMO, hw, NULL, 1); csio_hw_use_fwconfig()
1708 caps_cmd->op_to_write = csio_hw_use_fwconfig()
1712 caps_cmd->cfvalid_to_len16 = csio_hw_use_fwconfig()
1716 FW_LEN16(*caps_cmd)); csio_hw_use_fwconfig()
1731 CSIO_INIT_MBP(mbp, caps_cmd, CSIO_MB_DEFAULT_TMO, hw, NULL, 1); csio_hw_use_fwconfig()
1732 caps_cmd->op_to_write = htonl(FW_CMD_OP_V(FW_CAPS_CONFIG_CMD) | csio_hw_use_fwconfig()
1735 caps_cmd->cfvalid_to_len16 = htonl(FW_LEN16(*caps_cmd)); csio_hw_use_fwconfig()
1748 finiver = ntohl(caps_cmd->finiver); csio_hw_use_fwconfig()
1749 finicsum = ntohl(caps_cmd->finicsum); csio_hw_use_fwconfig()
1750 cfcsum = ntohl(caps_cmd->cfcsum); csio_hw_use_fwconfig()
1755 caps_cmd->op_to_write = csio_hw_use_fwconfig()
1759 caps_cmd->cfvalid_to_len16 = htonl(FW_LEN16(*caps_cmd)); csio_hw_use_fwconfig()

Completed in 126 milliseconds