musb_dsps.c (369469a92393d8e365093d44c0df7a7b6430bc8b) | musb_dsps.c (4ab53a69257015381f0dba18cb928902e753758c) |
---|---|
1/* 2 * Texas Instruments DSPS platforms "glue layer" 3 * 4 * Copyright (C) 2012, by Texas Instruments 5 * 6 * Based on the am35x "glue layer" code. 7 * 8 * This file is part of the Inventra Controller Driver for Linux. --- 279 unchanged lines hidden (view full) --- 288 err = musb_queue_resume_work(musb, dsps_check_status, NULL); 289 if (err < 0) 290 dev_err(dev, "%s resume work: %i\n", __func__, err); 291 spin_unlock_irqrestore(&musb->lock, flags); 292 pm_runtime_mark_last_busy(dev); 293 pm_runtime_put_autosuspend(dev); 294} 295 | 1/* 2 * Texas Instruments DSPS platforms "glue layer" 3 * 4 * Copyright (C) 2012, by Texas Instruments 5 * 6 * Based on the am35x "glue layer" code. 7 * 8 * This file is part of the Inventra Controller Driver for Linux. --- 279 unchanged lines hidden (view full) --- 288 err = musb_queue_resume_work(musb, dsps_check_status, NULL); 289 if (err < 0) 290 dev_err(dev, "%s resume work: %i\n", __func__, err); 291 spin_unlock_irqrestore(&musb->lock, flags); 292 pm_runtime_mark_last_busy(dev); 293 pm_runtime_put_autosuspend(dev); 294} 295 |
296void dsps_musb_clear_ep_rxintr(struct musb *musb, int epnum) | 296static void dsps_musb_clear_ep_rxintr(struct musb *musb, int epnum) |
297{ 298 u32 epintr; 299 struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent); 300 const struct dsps_musb_wrapper *wrp = glue->wrp; 301 302 /* musb->lock might already been held */ 303 epintr = (1 << epnum) << wrp->rxep_shift; 304 musb_writel(musb->ctrl_base, wrp->epintr_status, epintr); --- 695 unchanged lines hidden --- | 297{ 298 u32 epintr; 299 struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent); 300 const struct dsps_musb_wrapper *wrp = glue->wrp; 301 302 /* musb->lock might already been held */ 303 epintr = (1 << epnum) << wrp->rxep_shift; 304 musb_writel(musb->ctrl_base, wrp->epintr_status, epintr); --- 695 unchanged lines hidden --- |