Searched refs:ldst_cmd (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_debugfs.c | 1108 struct fw_ldst_cmd ldst_cmd; mps_tcam_show() local 1111 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); mps_tcam_show() 1112 ldst_cmd.op_to_addrspace = mps_tcam_show() 1118 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); mps_tcam_show() 1119 ldst_cmd.u.mps.fid_ctl = mps_tcam_show() 1122 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, mps_tcam_show() 1123 sizeof(ldst_cmd), &ldst_cmd); mps_tcam_show() 1129 rplc[0] = ntohl(ldst_cmd.u.mps.rplc31_0); mps_tcam_show() 1130 rplc[1] = ntohl(ldst_cmd.u.mps.rplc63_32); mps_tcam_show() 1131 rplc[2] = ntohl(ldst_cmd.u.mps.rplc95_64); mps_tcam_show() 1132 rplc[3] = ntohl(ldst_cmd.u.mps.rplc127_96); mps_tcam_show()
|
H A D | cxgb4_main.c | 3044 struct fw_ldst_cmd ldst_cmd; t4_read_pcie_cfg4() local 3051 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); t4_read_pcie_cfg4() 3052 ldst_cmd.op_to_addrspace = t4_read_pcie_cfg4() 3057 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); t4_read_pcie_cfg4() 3058 ldst_cmd.u.pcie.select_naccess = FW_LDST_CMD_NACCESS_V(1); t4_read_pcie_cfg4() 3059 ldst_cmd.u.pcie.ctrl_to_fn = t4_read_pcie_cfg4() 3061 ldst_cmd.u.pcie.r = reg; t4_read_pcie_cfg4() 3062 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, sizeof(ldst_cmd), t4_read_pcie_cfg4() 3063 &ldst_cmd); t4_read_pcie_cfg4() 3069 val = ntohl(ldst_cmd.u.pcie.data[0]); t4_read_pcie_cfg4()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 266 struct fw_ldst_cmd *ldst_cmd = (struct fw_ldst_cmd *)(mbp->mb); csio_mb_ldst() local 267 CSIO_INIT_MBP(mbp, ldst_cmd, tmo, hw, NULL, 1); csio_mb_ldst() 273 ldst_cmd->op_to_addrspace = csio_mb_ldst() 278 ldst_cmd->cycles_to_len16 = htonl(FW_LEN16(struct fw_ldst_cmd)); csio_mb_ldst() 279 ldst_cmd->u.pcie.select_naccess = FW_LDST_CMD_NACCESS_V(1); csio_mb_ldst() 280 ldst_cmd->u.pcie.ctrl_to_fn = csio_mb_ldst() 282 ldst_cmd->u.pcie.r = (uint8_t)reg; csio_mb_ldst()
|
Completed in 138 milliseconds