/* Set the number of Device Notification Time Slots (DNTS) and enable device notifications.  */
int whc_set_num_dnts(struct wusbhc *wusbhc, u8 interval, u8 slots)
/* Set the number of Device Notification Time Slots (DNTS) and enable device notifications.  */
int whc_set_num_dnts(struct wusbhc *wusbhc, u8 interval, u8 slots)
{
	struct whc *whc = wusbhc_to_whc(wusbhc);
	u32 dntsctrl;
	dntsctrl = WUSBDNTSCTRL_ACTIVE
		| WUSBDNTSCTRL_INTERVAL(interval)
		| WUSBDNTSCTRL_SLOTS(slots);
	le_writel(dntsctrl, whc->base + WUSBDNTSCTRL);
	return 0;
}