Lines Matching refs:cs
86 getcsprops(struct mcamd_hdl *hdl, mcamd_node_t *cs, const char *caller, in getcsprops() argument
90 cs, MCAMD_PROP_NUM, &csp->num, in getcsprops()
91 cs, MCAMD_PROP_BASE_ADDR, &csp->base, in getcsprops()
92 cs, MCAMD_PROP_MASK, &csp->mask, in getcsprops()
93 cs, MCAMD_PROP_TESTFAIL, &csp->testfail, in getcsprops()
94 cs, MCAMD_PROP_DIMMRANK, &csp->dimmrank, in getcsprops()
97 "props for cs 0x%p\n", caller, cs); in getcsprops()
432 mc_pa_to_offset(struct mcamd_hdl *hdl, mcamd_node_t *mc, mcamd_node_t *cs, in mc_pa_to_offset() argument
444 getcsprops(hdl, cs, "mc_dimm_offset", &csp) < 0) in mc_pa_to_offset()
482 mcamd_node_t *cs; in mc_offset_to_pa() local
516 for (cs = mcamd_cs_next(hdl, dimm, NULL); cs != NULL; in mc_offset_to_pa()
517 cs = mcamd_cs_next(hdl, dimm, cs)) { in mc_offset_to_pa()
518 if (getcsprops(hdl, cs, "mc_offset_to_pa", &csp) < 0) in mc_offset_to_pa()
525 if (cs == NULL) { in mc_offset_to_pa()
554 for (cs = mcamd_cs_next(hdl, mc, NULL); cs != NULL; in mc_offset_to_pa()
555 cs = mcamd_cs_next(hdl, mc, cs)) { in mc_offset_to_pa()
558 if (!mcamd_get_numprop(hdl, cs, MCAMD_PROP_NUM, in mc_offset_to_pa()
570 if (cs == NULL) { in mc_offset_to_pa()
577 if (getcsprops(hdl, cs, "mc_offset_to_pa", &csp) < 0) in mc_offset_to_pa()