Searched refs:IDE_BUS (Results 1 – 6 of 6) sorted by relevance
12 #define IDE_BUS(dev) (dev / (CONFIG_SYS_IDE_MAXDEVICE / CONFIG_SYS_IDE_MAXBUS)) macro14 #define ATA_CURR_BASE(dev) (CONFIG_SYS_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)])
57 IDEBus *ibus = IDE_BUS(bus); in idebus_unrealize()
190 idebus = IDE_BUS(qdev_get_parent_bus(dev)); in ide_dev_unplug()
25 OBJECT_DECLARE_SIMPLE_TYPE(IDEBus, IDE_BUS)
516 dp->primary_secondary = IDE_BUS(desc->devnum); in dp_fill()
824 if (!ide_bus_ok[IDE_BUS(i)]) in ide_init()