Searched refs:dev_bogus (Results 1 – 1 of 1) sorted by relevance
952 struct device *dev_bogus; in of_unittest_dma_ranges_one() local954 dev_bogus = kzalloc(sizeof(struct device), GFP_KERNEL); in of_unittest_dma_ranges_one()955 if (!dev_bogus) { in of_unittest_dma_ranges_one()961 dev_bogus->dma_range_map = map; in of_unittest_dma_ranges_one()962 paddr = dma_to_phys(dev_bogus, expect_dma_addr); in of_unittest_dma_ranges_one()963 dma_addr = phys_to_dma(dev_bogus, expect_paddr); in of_unittest_dma_ranges_one()973 kfree(dev_bogus); in of_unittest_dma_ranges_one()