Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 6 of 6) 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/edac/
Di10nm_base.c139 u32 log0, log1, log2, log3, log4; in show_retry_rd_err_log() local
161 log2 = I10NM_GET_REG32(imc, res->channel, offsets[2]); in show_retry_rd_err_log()
163 log0, log1, log2, log3, log4, log5); in show_retry_rd_err_log()
Dskx_base.c236 u32 log0, log1, log2, log3, log4; in skx_show_retry_rd_err_log() local
245 pci_read_config_dword(edev, 0x150, &log2); in skx_show_retry_rd_err_log()
250 log0, log1, log2, log3, log4); in skx_show_retry_rd_err_log()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c2911 unsigned int log2 = fls(mtu); in t3_load_mtus() local
2913 if (!(mtu & ((1 << log2) >> 2))) /* round */ in t3_load_mtus()
2914 log2--; in t3_load_mtus()
2916 (i << 24) | (log2 << 16) | mtu); in t3_load_mtus()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c5863 unsigned int log2 = fls(mtu); in t4_load_mtus() local
5865 if (!(mtu & ((1 << log2) >> 2))) /* round */ in t4_load_mtus()
5866 log2--; in t4_load_mtus()
5868 MTUWIDTH_V(log2) | MTUVALUE_V(mtu)); in t4_load_mtus()