Lines Matching refs:controller
388 dev->dev.dma_mask = bus->controller->dma_mask; in usb_alloc_dev()
389 set_dev_node(&dev->dev, dev_to_node(bus->controller)); in usb_alloc_dev()
413 dev->dev.parent = bus->controller; in usb_alloc_dev()
721 struct device *controller;
726 || !(controller = bus->controller))
729 if (controller->dma_mask) {
730 urb->transfer_dma = dma_map_single(controller,
758 struct device *controller;
764 || !(controller = bus->controller))
767 if (controller->dma_mask) {
768 dma_sync_single_for_cpu(controller,
773 dma_sync_single_for_cpu(controller,
792 struct device *controller;
798 || !(controller = bus->controller))
801 if (controller->dma_mask) {
802 dma_unmap_single(controller,
843 struct device *controller;
847 || !(controller = bus->controller)
848 || !controller->dma_mask)
852 return dma_map_sg(controller, sg, nents,
879 struct device *controller;
883 || !(controller = bus->controller)
884 || !controller->dma_mask)
887 dma_sync_sg_for_cpu(controller, sg, n_hw_ents,
907 struct device *controller;
911 || !(controller = bus->controller)
912 || !controller->dma_mask)
915 dma_unmap_sg(controller, sg, n_hw_ents,