Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/pci/controller/
Dpcie-rockchip-host.c708 int region_no, int type, u8 num_pass_bits, in rockchip_pcie_prog_ob_atu() argument
718 if (num_pass_bits + 1 < 8) in rockchip_pcie_prog_ob_atu()
720 if (num_pass_bits > 63) in rockchip_pcie_prog_ob_atu()
723 if (AXI_REGION_0_SIZE < (2ULL << num_pass_bits)) in rockchip_pcie_prog_ob_atu()
727 if (AXI_REGION_SIZE < (2ULL << num_pass_bits)) in rockchip_pcie_prog_ob_atu()
733 ob_addr_0 = num_pass_bits & PCIE_CORE_OB_REGION_ADDR0_NUM_BITS; in rockchip_pcie_prog_ob_atu()
751 int region_no, u8 num_pass_bits, in rockchip_pcie_prog_ib_atu() argument
760 if (num_pass_bits + 1 < MIN_AXI_ADDR_BITS_PASSED) in rockchip_pcie_prog_ib_atu()
762 if (num_pass_bits > 63) in rockchip_pcie_prog_ib_atu()
767 ib_addr_0 = num_pass_bits & PCIE_CORE_IB_REGION_ADDR0_NUM_BITS; in rockchip_pcie_prog_ib_atu()
Dpcie-rockchip-ep.c75 int num_pass_bits = ilog2(sz); in rockchip_pcie_prog_ep_ob_atu() local
80 if (num_pass_bits < 8) in rockchip_pcie_prog_ep_ob_atu()
81 num_pass_bits = 8; in rockchip_pcie_prog_ep_ob_atu()
84 addr0 = ((is_nor_msg ? 0x10 : (num_pass_bits - 1)) & in rockchip_pcie_prog_ep_ob_atu()
112 ((num_pass_bits - 1) & PCIE_CORE_OB_REGION_ADDR0_NUM_BITS) | in rockchip_pcie_prog_ep_ob_atu()