tusb_dma 39 drivers/usb/musb/tusb6010_omap.c struct tusb_omap_dma *tusb_dma; tusb_dma 101 drivers/usb/musb/tusb6010_omap.c struct tusb_omap_dma *tusb_dma = chdat->tusb_dma; tusb_dma 153 drivers/usb/musb/tusb6010_omap.c if (!tusb_dma->multichannel) tusb_dma 185 drivers/usb/musb/tusb6010_omap.c struct tusb_omap_dma *tusb_dma = chdat->tusb_dma; tusb_dma 239 drivers/usb/musb/tusb6010_omap.c if (!tusb_dma->multichannel) { tusb_dma 400 drivers/usb/musb/tusb6010_omap.c chdat->dma_data = &chdat->tusb_dma->dma_pool[dmareq_nr]; tusb_dma 427 drivers/usb/musb/tusb6010_omap.c struct tusb_omap_dma *tusb_dma; tusb_dma 433 drivers/usb/musb/tusb6010_omap.c tusb_dma = container_of(c, struct tusb_omap_dma, controller); tusb_dma 434 drivers/usb/musb/tusb6010_omap.c musb = tusb_dma->controller.musb; tusb_dma 455 drivers/usb/musb/tusb6010_omap.c chdat->musb = tusb_dma->controller.musb; tusb_dma 456 drivers/usb/musb/tusb6010_omap.c chdat->tbase = tusb_dma->tbase; tusb_dma 460 drivers/usb/musb/tusb6010_omap.c chdat->tusb_dma = tusb_dma; tusb_dma 471 drivers/usb/musb/tusb6010_omap.c if (tusb_dma->multichannel) { tusb_dma 476 drivers/usb/musb/tusb6010_omap.c chdat->dma_data = &tusb_dma->dma_pool[0]; tusb_dma 485 drivers/usb/musb/tusb6010_omap.c tusb_dma->multichannel ? "shared" : "dedicated", tusb_dma 516 drivers/usb/musb/tusb6010_omap.c struct tusb_omap_dma *tusb_dma; tusb_dma 519 drivers/usb/musb/tusb6010_omap.c tusb_dma = container_of(c, struct tusb_omap_dma, controller); tusb_dma 528 drivers/usb/musb/tusb6010_omap.c if (tusb_dma && tusb_dma->dma_pool[i].chan) tusb_dma 529 drivers/usb/musb/tusb6010_omap.c dma_release_channel(tusb_dma->dma_pool[i].chan); tusb_dma 532 drivers/usb/musb/tusb6010_omap.c kfree(tusb_dma); tusb_dma 536 drivers/usb/musb/tusb6010_omap.c static int tusb_omap_allocate_dma_pool(struct tusb_omap_dma *tusb_dma) tusb_dma 538 drivers/usb/musb/tusb6010_omap.c struct musb *musb = tusb_dma->controller.musb; tusb_dma 543 drivers/usb/musb/tusb6010_omap.c struct tusb_dma_data *dma_data = &tusb_dma->dma_pool[i]; tusb_dma 550 drivers/usb/musb/tusb6010_omap.c if (i == 0 || tusb_dma->multichannel) { tusb_dma 573 drivers/usb/musb/tusb6010_omap.c struct tusb_dma_data *dma_data = &tusb_dma->dma_pool[i]; tusb_dma 586 drivers/usb/musb/tusb6010_omap.c struct tusb_omap_dma *tusb_dma; tusb_dma 599 drivers/usb/musb/tusb6010_omap.c tusb_dma = kzalloc(sizeof(struct tusb_omap_dma), GFP_KERNEL); tusb_dma 600 drivers/usb/musb/tusb6010_omap.c if (!tusb_dma) tusb_dma 603 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.musb = musb; tusb_dma 604 drivers/usb/musb/tusb6010_omap.c tusb_dma->tbase = musb->ctrl_base; tusb_dma 606 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.channel_alloc = tusb_omap_dma_allocate; tusb_dma 607 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.channel_release = tusb_omap_dma_release; tusb_dma 608 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.channel_program = tusb_omap_dma_program; tusb_dma 609 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.channel_abort = tusb_omap_dma_abort; tusb_dma 612 drivers/usb/musb/tusb6010_omap.c tusb_dma->multichannel = 1; tusb_dma 632 drivers/usb/musb/tusb6010_omap.c if (tusb_omap_allocate_dma_pool(tusb_dma)) tusb_dma 635 drivers/usb/musb/tusb6010_omap.c return &tusb_dma->controller; tusb_dma 638 drivers/usb/musb/tusb6010_omap.c musb_dma_controller_destroy(&tusb_dma->controller);