Searched refs:ATA_CURR_BASE (Results 1 – 2 of 2) sorted by relevance
137 pbuf = (ushort *)(ATA_CURR_BASE(dev) + ATA_DATA_REG); in ide_output_data_shorts()154 pbuf = (ushort *)(ATA_CURR_BASE(dev) + ATA_DATA_REG); in ide_input_data_shorts()169 outsw(ATA_CURR_BASE(dev) + ATA_DATA_REG, sect_buf, shorts); in ide_output_data_shorts()174 insw(ATA_CURR_BASE(dev) + ATA_DATA_REG, sect_buf, shorts); in ide_input_data_shorts()711 (ATA_CURR_BASE(dev) + CONFIG_SYS_ATA_PORT_ADDR(port))); in ide_outb()719 outb(val, (ATA_CURR_BASE(dev))); in ide_outb()722 outb(val, (ATA_CURR_BASE(dev) + CONFIG_SYS_ATA_PORT_ADDR(port))); in ide_outb()733 val = inb((ATA_CURR_BASE(dev) + CONFIG_SYS_ATA_PORT_ADDR(port))); in ide_inb()738 (ATA_CURR_BASE(dev) + CONFIG_SYS_ATA_PORT_ADDR(port)), val); in ide_inb()855 (ushort *)(ATA_CURR_BASE(dev) + ATA_DATA_REG); in ide_input_swap_data()[all …]
14 #define ATA_CURR_BASE(dev) (CONFIG_SYS_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)]) macro