Home
last modified time | relevance | path

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

/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c245 int xlate_pos = ilog2(size); in switchtec_ntb_mw_set_direct() local
254 iowrite32(xlate_pos | (lower_32_bits(size) & 0xFFFFF000), in switchtec_ntb_mw_set_direct()
275 int xlate_pos = ilog2(size); in switchtec_ntb_mw_set_trans() local
288 if (size != 0 && xlate_pos < 12) in switchtec_ntb_mw_set_trans()
291 if (!IS_ALIGNED(addr, BIT_ULL(xlate_pos))) { in switchtec_ntb_mw_set_trans()
1004 int xlate_pos; in crosslink_setup_mws() local
1030 xlate_pos = ilog2(size); in crosslink_setup_mws()
1039 iowrite32(xlate_pos | (lower_32_bits(size) & 0xFFFFF000), in crosslink_setup_mws()