Searched refs:ldst_cmd (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/sys/dev/cxgbe/ |
| H A D | t4_main.c | 8287 struct fw_ldst_cmd ldst_cmd; in sysctl_mps_tcam() local 8289 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in sysctl_mps_tcam() 8290 ldst_cmd.op_to_addrspace = in sysctl_mps_tcam() 8294 ldst_cmd.cycles_to_len16 = htobe32(FW_LEN16(ldst_cmd)); in sysctl_mps_tcam() 8295 ldst_cmd.u.mps.rplc.fid_idx = in sysctl_mps_tcam() 8304 sizeof(ldst_cmd), &ldst_cmd); in sysctl_mps_tcam() 8437 struct fw_ldst_cmd ldst_cmd; in sysctl_mps_tcam_t6() local 8439 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in sysctl_mps_tcam_t6() 8440 ldst_cmd.op_to_addrspace = in sysctl_mps_tcam_t6() 8444 ldst_cmd.cycles_to_len16 = htobe32(FW_LEN16(ldst_cmd)); in sysctl_mps_tcam_t6() [all …]
|
| /freebsd-12.1/sys/dev/cxgbe/cudbg/ |
| H A D | cudbg_lib.c | 3604 struct fw_ldst_cmd ldst_cmd; in collect_mps_tcam() local 3607 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in collect_mps_tcam() 3608 ldst_cmd.op_to_addrspace = in collect_mps_tcam() 3615 ldst_cmd.cycles_to_len16 = htonl(FW_LEN16(ldst_cmd)); in collect_mps_tcam() 3617 ldst_cmd.u.mps.rplc.fid_idx = in collect_mps_tcam() 3624 rc = t4_wr_mbox(padap, padap->mbox, &ldst_cmd, in collect_mps_tcam() 3625 sizeof(ldst_cmd), &ldst_cmd); in collect_mps_tcam() 3632 mps_rplc = ldst_cmd.u.mps.rplc; in collect_mps_tcam()
|
| /freebsd-12.1/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 750 struct fw_ldst_cmd ldst_cmd; in t4_read_pcie_cfg4() local 753 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in t4_read_pcie_cfg4() 754 ldst_cmd.op_to_addrspace = in t4_read_pcie_cfg4() 759 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); in t4_read_pcie_cfg4() 760 ldst_cmd.u.pcie.select_naccess = V_FW_LDST_CMD_NACCESS(1); in t4_read_pcie_cfg4() 761 ldst_cmd.u.pcie.ctrl_to_fn = in t4_read_pcie_cfg4() 763 ldst_cmd.u.pcie.r = reg; in t4_read_pcie_cfg4() 769 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, sizeof(ldst_cmd), in t4_read_pcie_cfg4() 770 &ldst_cmd); in t4_read_pcie_cfg4() 772 return be32_to_cpu(ldst_cmd.u.pcie.data[0]); in t4_read_pcie_cfg4()
|