Lines Matching refs:bamp
104 const struct rct_bnkaddrmode **bamp, const struct rct_rcbmap **rcbmp, in gettbls() argument
111 if (bamp && (*bamp = rct_bnkaddrmode(rev, csmode)) == NULL) { in gettbls()
168 iaddr_to_row(struct mcamd_hdl *hdl, const struct rct_bnkaddrmode *bamp, in iaddr_to_row() argument
173 int nbits = bamp->bam_nrows; in iaddr_to_row()
194 row_to_iaddr(struct mcamd_hdl *hdl, const struct rct_bnkaddrmode *bamp, in row_to_iaddr() argument
199 int nbits = bamp->bam_nrows; in row_to_iaddr()
216 iaddr_to_col(struct mcamd_hdl *hdl, const struct rct_bnkaddrmode *bamp, in iaddr_to_col() argument
221 int nbits = bamp->bam_ncols; in iaddr_to_col()
226 if (bamp->bam_ambig) in iaddr_to_col()
247 col_to_iaddr(struct mcamd_hdl *hdl, const struct rct_bnkaddrmode *bamp, in col_to_iaddr() argument
252 int nbits = bamp->bam_ncols; in col_to_iaddr()
257 if (bamp->bam_ambig) in col_to_iaddr()
350 const struct rct_bnkaddrmode *bamp; in iaddr_to_rcb() local
355 if (gettbls(hdl, csmode, mcpp, &bamp, &rcbmp, in iaddr_to_rcb()
360 *rowp = iaddr_to_row(hdl, bamp, rcbmp, &csi, iaddr); in iaddr_to_rcb()
361 *colp = iaddr_to_col(hdl, bamp, rcbmp, iaddr); in iaddr_to_rcb()
484 const struct rct_bnkaddrmode *bamp; in mc_offset_to_pa() local
582 if (gettbls(hdl, csmode, &mcp, &bamp, &rcbmp, in mc_offset_to_pa()
621 row_to_iaddr(hdl, bamp, rcbmp, &csi, rowaddr), in mc_offset_to_pa()
628 col_to_iaddr(hdl, bamp, rcbmp, coladdr), in mc_offset_to_pa()
653 const struct rct_bnkaddrmode *bamp; in mcamd_cs_size() local
660 if (gettbls(hdl, csmode, &mcp, &bamp, NULL, NULL, NULL, in mcamd_cs_size()
664 *szp = MC_CS_SIZE(bamp, mcp.width); in mcamd_cs_size()