Lines Matching refs:bamp
106 const struct rct_bnkaddrmode **bamp, const struct rct_rcbmap **rcbmp, in gettbls() argument
113 if (bamp && (*bamp = rct_bnkaddrmode(rev, csmode)) == NULL) { in gettbls()
170 iaddr_to_row(struct mcamd_hdl *hdl, const struct rct_bnkaddrmode *bamp, in iaddr_to_row() argument
175 int nbits = bamp->bam_nrows; in iaddr_to_row()
196 row_to_iaddr(struct mcamd_hdl *hdl, const struct rct_bnkaddrmode *bamp, in row_to_iaddr() argument
201 int nbits = bamp->bam_nrows; in row_to_iaddr()
218 iaddr_to_col(struct mcamd_hdl *hdl, const struct rct_bnkaddrmode *bamp, in iaddr_to_col() argument
223 int nbits = bamp->bam_ncols; in iaddr_to_col()
228 if (bamp->bam_ambig) in iaddr_to_col()
249 col_to_iaddr(struct mcamd_hdl *hdl, const struct rct_bnkaddrmode *bamp, in col_to_iaddr() argument
254 int nbits = bamp->bam_ncols; in col_to_iaddr()
259 if (bamp->bam_ambig) in col_to_iaddr()
352 const struct rct_bnkaddrmode *bamp; in iaddr_to_rcb() local
357 if (gettbls(hdl, csmode, mcpp, &bamp, &rcbmp, in iaddr_to_rcb()
362 *rowp = iaddr_to_row(hdl, bamp, rcbmp, &csi, iaddr); in iaddr_to_rcb()
363 *colp = iaddr_to_col(hdl, bamp, rcbmp, iaddr); in iaddr_to_rcb()
486 const struct rct_bnkaddrmode *bamp; in mc_offset_to_pa() local
583 if (gettbls(hdl, csmode, &mcp, &bamp, &rcbmp, in mc_offset_to_pa()
622 row_to_iaddr(hdl, bamp, rcbmp, &csi, rowaddr), in mc_offset_to_pa()
629 col_to_iaddr(hdl, bamp, rcbmp, coladdr), in mc_offset_to_pa()
654 const struct rct_bnkaddrmode *bamp; in mcamd_cs_size() local
661 if (gettbls(hdl, csmode, &mcp, &bamp, NULL, NULL, NULL, in mcamd_cs_size()
665 *szp = MC_CS_SIZE(bamp, mcp.width); in mcamd_cs_size()