Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-uniphier/boot-device/
H A Dboot-device.c23 int (*boot_device_is_usb)(u32 pinmon);
126 u32 pinmon; in UNIPHIER_DEFINE_SOCDATA_FUNC() local
132 pinmon = readl(SG_PINMON0); in UNIPHIER_DEFINE_SOCDATA_FUNC()
134 if (info->boot_device_is_usb && info->boot_device_is_usb(pinmon)) in UNIPHIER_DEFINE_SOCDATA_FUNC()
137 boot_sel = pinmon >> info->boot_device_sel_shift; in UNIPHIER_DEFINE_SOCDATA_FUNC()
198 u32 pinmon; in do_pinmon() local
214 pinmon = readl(SG_PINMON0); in do_pinmon()
218 info->boot_device_is_usb(pinmon) ? "ON" : "OFF"); in do_pinmon()
222 boot_sel = pinmon >> info->boot_device_sel_shift; in do_pinmon()
234 pinmon, 1, 1, do_pinmon,
H A Dboot-device.h27 int uniphier_pxs2_boot_device_is_usb(u32 pinmon);
28 int uniphier_ld11_boot_device_is_usb(u32 pinmon);
29 int uniphier_ld20_boot_device_is_usb(u32 pinmon);
30 int uniphier_pxs3_boot_device_is_usb(u32 pinmon);
H A Dboot-device-ld11.c52 int uniphier_ld11_boot_device_is_usb(u32 pinmon) in uniphier_ld11_boot_device_is_usb() argument
54 return !!(~pinmon & 0x00000080); in uniphier_ld11_boot_device_is_usb()
57 int uniphier_ld20_boot_device_is_usb(u32 pinmon) in uniphier_ld20_boot_device_is_usb() argument
59 return !!(~pinmon & 0x00000780); in uniphier_ld20_boot_device_is_usb()
H A Dboot-device-pxs2.c52 int uniphier_pxs2_boot_device_is_usb(u32 pinmon) in uniphier_pxs2_boot_device_is_usb() argument
54 return !!(pinmon & 0x00000040); in uniphier_pxs2_boot_device_is_usb()
H A Dboot-device-pxs3.c37 int uniphier_pxs3_boot_device_is_usb(u32 pinmon) in uniphier_pxs3_boot_device_is_usb() argument
/openbmc/u-boot/arch/arm/mach-uniphier/
H A DKconfig99 The command "pinmon" shows the state of the boot mode pins.
/openbmc/u-boot/doc/
H A DREADME.uniphier393 - pinmon (enabled by CONFIG_CMD_PINMON)