Searched refs:IDE_BUS (Results 1 – 3 of 3) 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)])
521 dp->primary_secondary = IDE_BUS(desc->devnum); in dp_fill()
824 if (!ide_bus_ok[IDE_BUS(i)]) in ide_init()