Home
last modified time | relevance | path

Searched refs:BIT_GAP (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/lib/dim/
H A Ddim.c62 u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); in dim_calc_stats()
63 u32 nbytes = BIT_GAP(BITS_PER_TYPE(u32), end->byte_ctr, in dim_calc_stats()
65 u32 ncomps = BIT_GAP(BITS_PER_TYPE(u32), end->comp_ctr, in dim_calc_stats()
H A Dnet_dim.c225 nevents = BIT_GAP(BITS_PER_TYPE(u16), in net_dim()
/openbmc/linux/include/linux/
H A Ddim.h30 #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) \ macro