Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dhost.fuc40 .equ #fifo_qlen 4 // log2(size of queue entry in bytes)
41 .equ #fifo_qnum 3 // log2(max number of entries in queue)
49 .equ #rfifo_qlen 4 // log2(size of queue entry in bytes)
50 .equ #rfifo_qnum 3 // log2(max number of entries in queue)
Dmacros.fuc146 .equ #proc_qlen 4 // log2(size of queue entry in bytes)
147 .equ #proc_qnum 2 // log2(max number of entries in queue)
/drivers/staging/lustre/lustre/llite/
Dllite_lib.c63 #ifndef log2
64 #define log2(n) ffz(~(n)) macro
299 sb->s_blocksize_bits = log2(osfs->os_bsize); in client_common_fill_super()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c2876 unsigned int log2 = fls(mtu); in t3_load_mtus() local
2878 if (!(mtu & ((1 << log2) >> 2))) /* round */ in t3_load_mtus()
2879 log2--; in t3_load_mtus()
2881 (i << 24) | (log2 << 16) | mtu); in t3_load_mtus()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c5066 unsigned int log2 = fls(mtu); in t4_load_mtus() local
5068 if (!(mtu & ((1 << log2) >> 2))) /* round */ in t4_load_mtus()
5069 log2--; in t4_load_mtus()
5071 MTUWIDTH_V(log2) | MTUVALUE_V(mtu)); in t4_load_mtus()