Searched refs:dev_bogus (Results 1 – 1 of 1) sorted by relevance
970 struct device *dev_bogus; in of_unittest_dma_ranges_one() local972 dev_bogus = kzalloc(sizeof(struct device), GFP_KERNEL); in of_unittest_dma_ranges_one()973 if (!dev_bogus) { in of_unittest_dma_ranges_one()979 dev_bogus->dma_range_map = map; in of_unittest_dma_ranges_one()980 paddr = dma_to_phys(dev_bogus, expect_dma_addr); in of_unittest_dma_ranges_one()981 dma_addr = phys_to_dma(dev_bogus, expect_paddr); in of_unittest_dma_ranges_one()991 kfree(dev_bogus); in of_unittest_dma_ranges_one()