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