Searched refs:ldst_cmd (Results 1 – 2 of 2) sorted by relevance
| /freebsd-10-stable/sys/dev/cxgbe/ |
| D | t4_main.c | 7061 struct fw_ldst_cmd ldst_cmd; in sysctl_mps_tcam() local 7063 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in sysctl_mps_tcam() 7064 ldst_cmd.op_to_addrspace = in sysctl_mps_tcam() 7068 ldst_cmd.cycles_to_len16 = htobe32(FW_LEN16(ldst_cmd)); in sysctl_mps_tcam() 7069 ldst_cmd.u.mps.rplc.fid_idx = in sysctl_mps_tcam() 7077 rc = -t4_wr_mbox(sc, sc->mbox, &ldst_cmd, in sysctl_mps_tcam() 7078 sizeof(ldst_cmd), &ldst_cmd); in sysctl_mps_tcam() 7086 be32toh(ldst_cmd.u.mps.rplc.rplc127_96), in sysctl_mps_tcam() 7087 be32toh(ldst_cmd.u.mps.rplc.rplc95_64), in sysctl_mps_tcam() 7088 be32toh(ldst_cmd.u.mps.rplc.rplc63_32), in sysctl_mps_tcam() [all …]
|
| /freebsd-10-stable/sys/dev/cxgbe/common/ |
| D | t4_hw.c | 692 struct fw_ldst_cmd ldst_cmd; in t4_read_pcie_cfg4() local 695 memset(&ldst_cmd, 0, sizeof(ldst_cmd)); in t4_read_pcie_cfg4() 696 ldst_cmd.op_to_addrspace = in t4_read_pcie_cfg4() 701 ldst_cmd.cycles_to_len16 = cpu_to_be32(FW_LEN16(ldst_cmd)); in t4_read_pcie_cfg4() 702 ldst_cmd.u.pcie.select_naccess = V_FW_LDST_CMD_NACCESS(1); in t4_read_pcie_cfg4() 703 ldst_cmd.u.pcie.ctrl_to_fn = in t4_read_pcie_cfg4() 705 ldst_cmd.u.pcie.r = reg; in t4_read_pcie_cfg4() 711 ret = t4_wr_mbox(adap, adap->mbox, &ldst_cmd, sizeof(ldst_cmd), in t4_read_pcie_cfg4() 712 &ldst_cmd); in t4_read_pcie_cfg4() 714 return be32_to_cpu(ldst_cmd.u.pcie.data[0]); in t4_read_pcie_cfg4()
|