Searched refs:pinmon (Results 1 – 7 of 7) sorted by relevance
23 int (*boot_device_is_usb)(u32 pinmon);126 u32 pinmon; in UNIPHIER_DEFINE_SOCDATA_FUNC() local132 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() local214 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,
27 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);
52 int uniphier_ld11_boot_device_is_usb(u32 pinmon) in uniphier_ld11_boot_device_is_usb() argument54 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() argument59 return !!(~pinmon & 0x00000780); in uniphier_ld20_boot_device_is_usb()
52 int uniphier_pxs2_boot_device_is_usb(u32 pinmon) in uniphier_pxs2_boot_device_is_usb() argument54 return !!(pinmon & 0x00000040); in uniphier_pxs2_boot_device_is_usb()
37 int uniphier_pxs3_boot_device_is_usb(u32 pinmon) in uniphier_pxs3_boot_device_is_usb() argument
99 The command "pinmon" shows the state of the boot mode pins.
393 - pinmon (enabled by CONFIG_CMD_PINMON)