Searched refs:to_tc_dev (Results 1 – 8 of 8) sorted by relevance
88 struct tc_dev *tdev = to_tc_dev(dev); in tc_bus_match()
189 struct tc_bus *tbus = to_tc_dev(info->device)->bus; in pmagbbfb_osc_setup()251 struct tc_dev *tdev = to_tc_dev(dev); in pmagbbfb_probe()358 struct tc_dev *tdev = to_tc_dev(dev); in pmagbbfb_remove()
146 struct tc_dev *tdev = to_tc_dev(dev); in pmagbafb_probe()240 struct tc_dev *tdev = to_tc_dev(dev); in pmagbafb_remove()
161 struct tc_dev *tdev = to_tc_dev(dev); in pmagaafb_probe()252 struct tc_dev *tdev = to_tc_dev(dev); in pmagaafb_remove()
1434 bar0_start = to_tc_dev(dev)->resource.start;1435 bar0_len = to_tc_dev(dev)->resource.end - bar0_start + 1;1552 bar0_start = to_tc_dev(dev)->resource.start;1553 bar0_len = to_tc_dev(dev)->resource.end - bar0_start + 1;
94 #define to_tc_dev(n) container_of(n, struct tc_dev, dev) macro
1114 start = to_tc_dev(bdev)->resource.start; in dec_lance_probe()1115 len = to_tc_dev(bdev)->resource.end - start + 1; in dec_lance_probe()1127 dev->irq = to_tc_dev(bdev)->interrupt; in dec_lance_probe()1347 start = to_tc_dev(bdev)->resource.start; in dec_lance_remove()1348 len = to_tc_dev(bdev)->resource.end - start + 1; in dec_lance_remove()
481 bar_start[0] = to_tc_dev(bdev)->resource.start + in dfx_get_bars()735 dev->irq = to_tc_dev(bdev)->interrupt; in dfx_bus_init()