Lines Matching refs:bitsize
98 #define NFP_PCIE_P2C_FIXED_SIZE(bar) (1 << (bar)->bitsize)
99 #define NFP_PCIE_P2C_BULK_SIZE(bar) (1 << (bar)->bitsize)
100 #define NFP_PCIE_P2C_GENERAL_TARGET_OFFSET(bar, x) ((x) << ((bar)->bitsize - 2))
101 #define NFP_PCIE_P2C_GENERAL_TOKEN_OFFSET(bar, x) ((x) << ((bar)->bitsize - 4))
102 #define NFP_PCIE_P2C_GENERAL_SIZE(bar) (1 << ((bar)->bitsize - 4))
132 u32 bitsize; /* Bit size of the bar */ member
168 int bitsize; member
198 int bitsize; in compute_bar() local
235 bitsize = 40 - 16; in compute_bar()
250 bitsize = 40 - 21; in compute_bar()
253 if (bar->bitsize < bitsize) in compute_bar()
256 newcfg |= offset >> bitsize; in compute_bar()
359 (bar->base + (1 << bar->bitsize)) >= (offset + size)) in matching_bar()
394 if (!bar->bitsize) in find_unused_bar_noblock()
513 if (a->bitsize == b->bitsize) in bar_cmp()
516 return a->bitsize - b->bitsize; in bar_cmp()
587 bar->bitsize = fls(bar->mask); in enable_bars()
673 nfp->expl.group[i].bitsize = 0; in enable_bars()
686 nfp->expl.group[i].bitsize = bar->bitsize; in enable_bars()
1055 int bitsize; member
1068 if (!nfp->expl.group[i].bitsize) in nfp6000_explicit_acquire()
1080 priv->bitsize = nfp->expl.group[i].bitsize - 2; in nfp6000_explicit_acquire()
1086 (priv->bar.area << priv->bitsize); in nfp6000_explicit_acquire()
1210 readb(priv->addr + (address & ((1 << priv->bitsize) - 1))); in nfp6000_explicit_do()