Lines Matching refs:property_u32
403 u32 property_u32 = 0; in usb251xb_get_ofdata() local
465 if (!of_property_read_u32(np, "oc-delay-us", &property_u32)) { in usb251xb_get_ofdata()
466 if (property_u32 == 100) { in usb251xb_get_ofdata()
470 } else if (property_u32 == 4000) { in usb251xb_get_ofdata()
474 } else if (property_u32 == 16000) { in usb251xb_get_ofdata()
512 &property_u32)) in usb251xb_get_ofdata()
513 hub->max_power_sp = min_t(u8, property_u32 / 2000, 50); in usb251xb_get_ofdata()
517 &property_u32)) in usb251xb_get_ofdata()
518 hub->max_power_bp = min_t(u8, property_u32 / 2000, 255); in usb251xb_get_ofdata()
522 &property_u32)) in usb251xb_get_ofdata()
523 hub->max_current_sp = min_t(u8, property_u32 / 2000, 50); in usb251xb_get_ofdata()
527 &property_u32)) in usb251xb_get_ofdata()
528 hub->max_current_bp = min_t(u8, property_u32 / 2000, 255); in usb251xb_get_ofdata()
531 if (!of_property_read_u32(np, "power-on-time-ms", &property_u32)) in usb251xb_get_ofdata()
532 hub->power_on_time = min_t(u8, property_u32 / 2, 255); in usb251xb_get_ofdata()