Searched refs:ldst_cmd (Results 1 – 3 of 3) sorted by relevance
| /freebsd/sys/dev/cxgbe/ |
| H A D | t4_main.c | 10890 struct fw_ldst_cmd ldst_cmd; in sysctl_mps_tcam() local 10892 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in sysctl_mps_tcam() 10893 ldst_cmd.op_to_addrspace = in sysctl_mps_tcam() 10897 ldst_cmd.cycles_to_len16 = htobe32(FW_LEN16(ldst_cmd)); in sysctl_mps_tcam() 10898 ldst_cmd.u.mps.rplc.fid_idx = in sysctl_mps_tcam() 10909 rc = -t4_wr_mbox(sc, sc->mbox, &ldst_cmd, in sysctl_mps_tcam() 10910 sizeof(ldst_cmd), &ldst_cmd); in sysctl_mps_tcam() 10916 be32toh(ldst_cmd.u.mps.rplc.rplc127_96), in sysctl_mps_tcam() 10917 be32toh(ldst_cmd.u.mps.rplc.rplc95_64), in sysctl_mps_tcam() 10918 be32toh(ldst_cmd.u.mps.rplc.rplc63_32), in sysctl_mps_tcam() [all …]
|
| /freebsd/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 780 struct fw_ldst_cmd ldst_cmd; in t4_read_pcie_cfg4() local 783 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in t4_read_pcie_cfg4() 784 ldst_cmd.op_to_addrspace = in t4_read_pcie_cfg4() 789 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); in t4_read_pcie_cfg4() 790 ldst_cmd.u.pcie.select_naccess = V_FW_LDST_CMD_NACCESS(1); in t4_read_pcie_cfg4() 791 ldst_cmd.u.pcie.ctrl_to_fn = in t4_read_pcie_cfg4() 793 ldst_cmd.u.pcie.r = reg; in t4_read_pcie_cfg4() 799 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, sizeof(ldst_cmd), in t4_read_pcie_cfg4() 800 &ldst_cmd); in t4_read_pcie_cfg4() 802 return be32_to_cpu(ldst_cmd.u.pcie.data[0]); in t4_read_pcie_cfg4() [all …]
|
| /freebsd/sys/dev/cxgbe/cudbg/ |
| H A D | cudbg_lib.c | 3602 struct fw_ldst_cmd ldst_cmd; in collect_mps_tcam() 3605 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in collect_mps_tcam() 3606 ldst_cmd.op_to_addrspace = in collect_mps_tcam() 3613 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); in collect_mps_tcam() 3615 ldst_cmd.u.mps.rplc.fid_idx = in collect_mps_tcam() 3622 rc = t4_wr_mbox(padap, padap->mbox, &ldst_cmd, in collect_mps_tcam() 3623 sizeof(ldst_cmd), &ldst_cmd); in collect_mps_tcam() 3599 struct fw_ldst_cmd ldst_cmd; collect_mps_tcam() local [all...] |