Home
last modified time | relevance | path

Searched refs:ldst_cmd (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c1108 struct fw_ldst_cmd ldst_cmd; in mps_tcam_show() local
1111 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in mps_tcam_show()
1112 ldst_cmd.op_to_addrspace = in mps_tcam_show()
1118 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); in mps_tcam_show()
1119 ldst_cmd.u.mps.fid_ctl = in mps_tcam_show()
1122 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, in mps_tcam_show()
1123 sizeof(ldst_cmd), &ldst_cmd); in mps_tcam_show()
1129 rplc[0] = ntohl(ldst_cmd.u.mps.rplc31_0); in mps_tcam_show()
1130 rplc[1] = ntohl(ldst_cmd.u.mps.rplc63_32); in mps_tcam_show()
1131 rplc[2] = ntohl(ldst_cmd.u.mps.rplc95_64); in mps_tcam_show()
[all …]
Dcxgb4_main.c3044 struct fw_ldst_cmd ldst_cmd; in t4_read_pcie_cfg4() local
3051 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in t4_read_pcie_cfg4()
3052 ldst_cmd.op_to_addrspace = in t4_read_pcie_cfg4()
3057 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); in t4_read_pcie_cfg4()
3058 ldst_cmd.u.pcie.select_naccess = FW_LDST_CMD_NACCESS_V(1); in t4_read_pcie_cfg4()
3059 ldst_cmd.u.pcie.ctrl_to_fn = in t4_read_pcie_cfg4()
3061 ldst_cmd.u.pcie.r = reg; in t4_read_pcie_cfg4()
3062 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, sizeof(ldst_cmd), in t4_read_pcie_cfg4()
3063 &ldst_cmd); in t4_read_pcie_cfg4()
3069 val = ntohl(ldst_cmd.u.pcie.data[0]); in t4_read_pcie_cfg4()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_mb.c266 struct fw_ldst_cmd *ldst_cmd = (struct fw_ldst_cmd *)(mbp->mb); in csio_mb_ldst() local
267 CSIO_INIT_MBP(mbp, ldst_cmd, tmo, hw, NULL, 1); in csio_mb_ldst()
273 ldst_cmd->op_to_addrspace = in csio_mb_ldst()
278 ldst_cmd->cycles_to_len16 = htonl(FW_LEN16(struct fw_ldst_cmd)); in csio_mb_ldst()
279 ldst_cmd->u.pcie.select_naccess = FW_LDST_CMD_NACCESS_V(1); in csio_mb_ldst()
280 ldst_cmd->u.pcie.ctrl_to_fn = in csio_mb_ldst()
282 ldst_cmd->u.pcie.r = (uint8_t)reg; in csio_mb_ldst()