Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c738 struct fw_ldst_cmd ldst_cmd; in t4_read_pcie_cfg4() local
741 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in t4_read_pcie_cfg4()
743 ldst_cmd.op_to_addrspace = cpu_to_be32(FW_CMD_OP_V(FW_LDST_CMD) | in t4_read_pcie_cfg4()
747 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); in t4_read_pcie_cfg4()
748 ldst_cmd.u.pcie.select_naccess = FW_LDST_CMD_NACCESS_V(1); in t4_read_pcie_cfg4()
749 ldst_cmd.u.pcie.ctrl_to_fn = in t4_read_pcie_cfg4()
751 ldst_cmd.u.pcie.r = reg; in t4_read_pcie_cfg4()
756 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, sizeof(ldst_cmd), in t4_read_pcie_cfg4()
757 &ldst_cmd); in t4_read_pcie_cfg4()
759 val = be32_to_cpu(ldst_cmd.u.pcie.data[0]); in t4_read_pcie_cfg4()
[all …]
Dcudbg_lib.c2614 struct fw_ldst_cmd ldst_cmd; in cudbg_collect_tcam_index() local
2617 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in cudbg_collect_tcam_index()
2618 ldst_cmd.op_to_addrspace = in cudbg_collect_tcam_index()
2622 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); in cudbg_collect_tcam_index()
2623 ldst_cmd.u.mps.rplc.fid_idx = in cudbg_collect_tcam_index()
2631 rc = t4_wr_mbox(padap, padap->mbox, &ldst_cmd, in cudbg_collect_tcam_index()
2632 sizeof(ldst_cmd), &ldst_cmd); in cudbg_collect_tcam_index()
2641 mps_rplc = ldst_cmd.u.mps.rplc; in cudbg_collect_tcam_index()
Dcxgb4_debugfs.c1773 struct fw_ldst_cmd ldst_cmd; in mps_tcam_show() local
1778 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in mps_tcam_show()
1781 ldst_cmd.op_to_addrspace = in mps_tcam_show()
1786 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); in mps_tcam_show()
1787 ldst_cmd.u.mps.rplc.fid_idx = in mps_tcam_show()
1790 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, in mps_tcam_show()
1791 sizeof(ldst_cmd), &ldst_cmd); in mps_tcam_show()
1797 mps_rplc = ldst_cmd.u.mps.rplc; in mps_tcam_show()