Lines Matching refs:cs
84 getcsprops(struct mcamd_hdl *hdl, mcamd_node_t *cs, const char *caller, in getcsprops() argument
88 cs, MCAMD_PROP_NUM, &csp->num, in getcsprops()
89 cs, MCAMD_PROP_BASE_ADDR, &csp->base, in getcsprops()
90 cs, MCAMD_PROP_MASK, &csp->mask, in getcsprops()
91 cs, MCAMD_PROP_TESTFAIL, &csp->testfail, in getcsprops()
92 cs, MCAMD_PROP_DIMMRANK, &csp->dimmrank, in getcsprops()
95 "props for cs 0x%p\n", caller, cs); in getcsprops()
430 mc_pa_to_offset(struct mcamd_hdl *hdl, mcamd_node_t *mc, mcamd_node_t *cs, in mc_pa_to_offset() argument
442 getcsprops(hdl, cs, "mc_dimm_offset", &csp) < 0) in mc_pa_to_offset()
480 mcamd_node_t *cs; in mc_offset_to_pa() local
514 for (cs = mcamd_cs_next(hdl, dimm, NULL); cs != NULL; in mc_offset_to_pa()
515 cs = mcamd_cs_next(hdl, dimm, cs)) { in mc_offset_to_pa()
516 if (getcsprops(hdl, cs, "mc_offset_to_pa", &csp) < 0) in mc_offset_to_pa()
523 if (cs == NULL) { in mc_offset_to_pa()
552 for (cs = mcamd_cs_next(hdl, mc, NULL); cs != NULL; in mc_offset_to_pa()
553 cs = mcamd_cs_next(hdl, mc, cs)) { in mc_offset_to_pa()
556 if (!mcamd_get_numprop(hdl, cs, MCAMD_PROP_NUM, in mc_offset_to_pa()
568 if (cs == NULL) { in mc_offset_to_pa()
576 if (getcsprops(hdl, cs, "mc_offset_to_pa", &csp) < 0) in mc_offset_to_pa()