Lines Matching refs:_dev
346 static int ps3_system_bus_match(struct device *_dev, in ps3_system_bus_match() argument
351 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_match()
373 static int ps3_system_bus_probe(struct device *_dev) in ps3_system_bus_probe() argument
376 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_probe()
380 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_probe()
395 static int ps3_system_bus_remove(struct device *_dev) in ps3_system_bus_remove() argument
398 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_remove()
402 dev_dbg(_dev, "%s:%d\n", __func__, __LINE__); in ps3_system_bus_remove()
417 static void ps3_system_bus_shutdown(struct device *_dev) in ps3_system_bus_shutdown() argument
419 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_shutdown()
455 static int ps3_system_bus_uevent(struct device *_dev, struct kobj_uevent_env *env) in ps3_system_bus_uevent() argument
457 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_uevent()
465 static ssize_t modalias_show(struct device *_dev, struct device_attribute *a, in modalias_show() argument
468 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in modalias_show()
517 static void * ps3_alloc_coherent(struct device *_dev, size_t size, in ps3_alloc_coherent() argument
522 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_alloc_coherent()
555 static void ps3_free_coherent(struct device *_dev, size_t size, void *vaddr, in ps3_free_coherent() argument
558 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_free_coherent()
570 static dma_addr_t ps3_sb_map_page(struct device *_dev, struct page *page, in ps3_sb_map_page() argument
574 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_sb_map_page()
592 static dma_addr_t ps3_ioc0_map_page(struct device *_dev, struct page *page, in ps3_ioc0_map_page() argument
597 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_ioc0_map_page()
628 static void ps3_unmap_page(struct device *_dev, dma_addr_t dma_addr, in ps3_unmap_page() argument
631 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_unmap_page()
642 static int ps3_sb_map_sg(struct device *_dev, struct scatterlist *sgl, in ps3_sb_map_sg() argument
649 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_sb_map_sg()
670 static int ps3_ioc0_map_sg(struct device *_dev, struct scatterlist *sg, in ps3_ioc0_map_sg() argument
679 static void ps3_sb_unmap_sg(struct device *_dev, struct scatterlist *sg, in ps3_sb_unmap_sg() argument
687 static void ps3_ioc0_unmap_sg(struct device *_dev, struct scatterlist *sg, in ps3_ioc0_unmap_sg() argument
694 static int ps3_dma_supported(struct device *_dev, u64 mask) in ps3_dma_supported() argument
699 static u64 ps3_dma_get_required_mask(struct device *_dev) in ps3_dma_get_required_mask() argument
730 static void ps3_system_bus_release_device(struct device *_dev) in ps3_system_bus_release_device() argument
732 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); in ps3_system_bus_release_device()