/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/arm/xen/ |
H A D | p2m.c | 24 unsigned long mfn; member 59 __func__, &new->pfn, &new->mfn, &entry->pfn, &entry->mfn); in xen_add_phys_to_mach_entry() 75 unsigned long mfn = entry->mfn + (pfn - entry->pfn); in __pfn_to_mfn() local 77 return mfn; in __pfn_to_mfn() 150 unsigned long mfn, unsigned long nr_pages) in __set_phys_to_machine_multi() argument 157 if (mfn == INVALID_P2M_ENTRY) { in __set_phys_to_machine_multi() 183 p2m_entry->mfn = mfn; in __set_phys_to_machine_multi() 197 bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn) in __set_phys_to_machine() argument 199 return __set_phys_to_machine_multi(pfn, mfn, 1); in __set_phys_to_machine()
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/arm/xen/ |
H A D | p2m.c | 24 unsigned long mfn; member 59 __func__, &new->pfn, &new->mfn, &entry->pfn, &entry->mfn); in xen_add_phys_to_mach_entry() 75 unsigned long mfn = entry->mfn + (pfn - entry->pfn); in __pfn_to_mfn() local 77 return mfn; in __pfn_to_mfn() 150 unsigned long mfn, unsigned long nr_pages) in __set_phys_to_machine_multi() argument 157 if (mfn == INVALID_P2M_ENTRY) { in __set_phys_to_machine_multi() 183 p2m_entry->mfn = mfn; in __set_phys_to_machine_multi() 197 bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn) in __set_phys_to_machine() argument 199 return __set_phys_to_machine_multi(pfn, mfn, 1); in __set_phys_to_machine()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/clk/imx/ |
H A D | clk-pllv4.c | 72 u32 mult, mfn, mfd; in clk_pllv4_recalc_rate() local 79 mfn = readl_relaxed(pll->base + PLL_NUM_OFFSET); in clk_pllv4_recalc_rate() 82 temp64 *= mfn; in clk_pllv4_recalc_rate() 93 u32 mfn, mfd = DEFAULT_MFD; in clk_pllv4_round_rate() local 117 mfn = temp64; in clk_pllv4_round_rate() 125 if (mfn >= mfd) in clk_pllv4_round_rate() 129 temp64 *= mfn; in clk_pllv4_round_rate() 152 u32 val, mult, mfn, mfd = DEFAULT_MFD; in clk_pllv4_set_rate() local 166 mfn = temp64; in clk_pllv4_set_rate() 173 writel_relaxed(mfn, pll->base + PLL_NUM_OFFSET); in clk_pllv4_set_rate()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/clk/imx/ |
H A D | clk-pllv4.c | 72 u32 mult, mfn, mfd; in clk_pllv4_recalc_rate() local 79 mfn = readl_relaxed(pll->base + PLL_NUM_OFFSET); in clk_pllv4_recalc_rate() 82 temp64 *= mfn; in clk_pllv4_recalc_rate() 93 u32 mfn, mfd = DEFAULT_MFD; in clk_pllv4_round_rate() local 117 mfn = temp64; in clk_pllv4_round_rate() 125 if (mfn >= mfd) in clk_pllv4_round_rate() 129 temp64 *= mfn; in clk_pllv4_round_rate() 152 u32 val, mult, mfn, mfd = DEFAULT_MFD; in clk_pllv4_set_rate() local 166 mfn = temp64; in clk_pllv4_set_rate() 173 writel_relaxed(mfn, pll->base + PLL_NUM_OFFSET); in clk_pllv4_set_rate()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/clk/imx/ |
H A D | clk-pllv4.c | 72 u32 mult, mfn, mfd; in clk_pllv4_recalc_rate() local 79 mfn = readl_relaxed(pll->base + PLL_NUM_OFFSET); in clk_pllv4_recalc_rate() 82 temp64 *= mfn; in clk_pllv4_recalc_rate() 93 u32 mfn, mfd = DEFAULT_MFD; in clk_pllv4_round_rate() local 117 mfn = temp64; in clk_pllv4_round_rate() 125 if (mfn >= mfd) in clk_pllv4_round_rate() 129 temp64 *= mfn; in clk_pllv4_round_rate() 152 u32 val, mult, mfn, mfd = DEFAULT_MFD; in clk_pllv4_set_rate() local 166 mfn = temp64; in clk_pllv4_set_rate() 173 writel_relaxed(mfn, pll->base + PLL_NUM_OFFSET); in clk_pllv4_set_rate()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/x86/xen/ |
H A D | p2m.c | 219 unsigned long pfn, mfn; in xen_build_mfn_list_list() local 251 mfn = pte_mfn(*ptep); in xen_build_mfn_list_list() 274 mid_mfn_p[mididx] = mfn; in xen_build_mfn_list_list() 315 unsigned long mfn; in xen_p2m_elem_type() local 320 mfn = xen_p2m_addr[pfn]; in xen_p2m_elem_type() 322 if (mfn == INVALID_P2M_ENTRY) in xen_p2m_elem_type() 325 if (mfn & IDENTITY_FRAME_BIT) in xen_p2m_elem_type() 657 return mfn == INVALID_P2M_ENTRY; in __set_phys_to_machine() 711 unsigned long mfn, pfn; in set_foreign_p2m_mapping() local 723 mfn = pte_mfn(*pte); in set_foreign_p2m_mapping() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/x86/xen/ |
H A D | p2m.c | 219 unsigned long pfn, mfn; in xen_build_mfn_list_list() local 251 mfn = pte_mfn(*ptep); in xen_build_mfn_list_list() 274 mid_mfn_p[mididx] = mfn; in xen_build_mfn_list_list() 315 unsigned long mfn; in xen_p2m_elem_type() local 320 mfn = xen_p2m_addr[pfn]; in xen_p2m_elem_type() 322 if (mfn == INVALID_P2M_ENTRY) in xen_p2m_elem_type() 325 if (mfn & IDENTITY_FRAME_BIT) in xen_p2m_elem_type() 657 return mfn == INVALID_P2M_ENTRY; in __set_phys_to_machine() 711 unsigned long mfn, pfn; in set_foreign_p2m_mapping() local 723 mfn = pte_mfn(*pte); in set_foreign_p2m_mapping() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/x86/xen/ |
H A D | p2m.c | 219 unsigned long pfn, mfn; in xen_build_mfn_list_list() local 251 mfn = pte_mfn(*ptep); in xen_build_mfn_list_list() 274 mid_mfn_p[mididx] = mfn; in xen_build_mfn_list_list() 315 unsigned long mfn; in xen_p2m_elem_type() local 320 mfn = xen_p2m_addr[pfn]; in xen_p2m_elem_type() 322 if (mfn == INVALID_P2M_ENTRY) in xen_p2m_elem_type() 325 if (mfn & IDENTITY_FRAME_BIT) in xen_p2m_elem_type() 657 return mfn == INVALID_P2M_ENTRY; in __set_phys_to_machine() 711 unsigned long mfn, pfn; in set_foreign_p2m_mapping() local 723 mfn = pte_mfn(*pte); in set_foreign_p2m_mapping() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 63 u32 mfn; member 173 mfn = readl(&pll->mfn); in decode_pll() 189 mfn |= 0xfc000000; in decode_pll() 190 mfn_abs = -mfn; in decode_pll() 192 mfn_abs = mfn; in decode_pll() 203 if ((int)mfn < 0) in decode_pll() 601 mfn = t1; in calc_pll_params() 605 if (mfn != 0) in calc_pll_params() 606 i = gcd(mfd, mfn); in calc_pll_params() 609 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-bananapi/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-rpi-0-w/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 63 u32 mfn; member 173 mfn = readl(&pll->mfn); in decode_pll() 189 mfn |= 0xfc000000; in decode_pll() 190 mfn_abs = -mfn; in decode_pll() 192 mfn_abs = mfn; in decode_pll() 203 if ((int)mfn < 0) in decode_pll() 601 mfn = t1; in calc_pll_params() 605 if (mfn != 0) in calc_pll_params() 606 i = gcd(mfd, mfn); in calc_pll_params() 609 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-nanopi-neo/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-nanopi-a64/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|
/dports/sysutils/u-boot-nanopi-neo-air/u-boot-2021.07/arch/arm/mach-imx/mx5/ |
H A D | clock.c | 65 u32 mfn; member 175 mfn = readl(&pll->mfn); in decode_pll() 191 mfn |= 0xfc000000; in decode_pll() 192 mfn_abs = -mfn; in decode_pll() 194 mfn_abs = mfn; in decode_pll() 205 if ((int)mfn < 0) in decode_pll() 603 mfn = t1; in calc_pll_params() 607 if (mfn != 0) in calc_pll_params() 608 i = gcd(mfd, mfn); in calc_pll_params() 611 do_div(mfn, i); in calc_pll_params() [all …]
|