Searched refs:ldst_cmd (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 748 struct fw_ldst_cmd ldst_cmd; in t4_read_pcie_cfg4() local 751 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in t4_read_pcie_cfg4() 752 ldst_cmd.op_to_addrspace = in t4_read_pcie_cfg4() 757 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); in t4_read_pcie_cfg4() 758 ldst_cmd.u.pcie.select_naccess = V_FW_LDST_CMD_NACCESS(1); in t4_read_pcie_cfg4() 759 ldst_cmd.u.pcie.ctrl_to_fn = in t4_read_pcie_cfg4() 761 ldst_cmd.u.pcie.r = reg; in t4_read_pcie_cfg4() 767 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, sizeof(ldst_cmd), in t4_read_pcie_cfg4() 768 &ldst_cmd); in t4_read_pcie_cfg4() 770 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 | 3599 struct fw_ldst_cmd ldst_cmd; in collect_mps_tcam() local 3602 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in collect_mps_tcam() 3603 ldst_cmd.op_to_addrspace = in collect_mps_tcam() 3610 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); in collect_mps_tcam() 3612 ldst_cmd.u.mps.rplc.fid_idx = in collect_mps_tcam() 3619 rc = t4_wr_mbox(padap, padap->mbox, &ldst_cmd, in collect_mps_tcam() 3620 sizeof(ldst_cmd), &ldst_cmd); in collect_mps_tcam() 3627 mps_rplc = ldst_cmd.u.mps.rplc; in collect_mps_tcam()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_main.c | 10277 struct fw_ldst_cmd ldst_cmd; in sysctl_mps_tcam() local 10279 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in sysctl_mps_tcam() 10280 ldst_cmd.op_to_addrspace = in sysctl_mps_tcam() 10284 ldst_cmd.cycles_to_len16 = htobe32(FW_LEN16(ldst_cmd)); in sysctl_mps_tcam() 10285 ldst_cmd.u.mps.rplc.fid_idx = in sysctl_mps_tcam() 10296 rc = -t4_wr_mbox(sc, sc->mbox, &ldst_cmd, in sysctl_mps_tcam() 10297 sizeof(ldst_cmd), &ldst_cmd); in sysctl_mps_tcam() 10303 be32toh(ldst_cmd.u.mps.rplc.rplc127_96), in sysctl_mps_tcam() 10304 be32toh(ldst_cmd.u.mps.rplc.rplc95_64), in sysctl_mps_tcam() 10305 be32toh(ldst_cmd.u.mps.rplc.rplc63_32), in sysctl_mps_tcam() [all …]
|