Searched refs:sc_base (Results 1 – 5 of 5) sorted by relevance
75 unsigned long sc_base = hwif->config_data; in tc86c001_timer_expiry() local76 unsigned long twcr_port = sc_base + (drive->dn ? 0x06 : 0x04); in tc86c001_timer_expiry()86 outw(0, sc_base + 0x0a); /* Sector Count */ in tc86c001_timer_expiry()115 unsigned long sc_base = hwif->config_data; in tc86c001_dma_start() local116 unsigned long twcr_port = sc_base + (drive->dn ? 0x06 : 0x04); in tc86c001_dma_start()124 outw(nsectors, sc_base + 0x0a); /* Sector Count */ in tc86c001_dma_start()137 unsigned long sc_base = pci_resource_start(dev, 5); in tc86c001_cable_detect() local138 u16 scr1 = inw(sc_base + 0x00); in tc86c001_cable_detect()150 unsigned long sc_base = pci_resource_start(dev, 5); in init_hwif_tc86c001() local151 u16 scr1 = inw(sc_base + 0x00); in init_hwif_tc86c001()[all …]
42 dsaf_write_reg(dsaf_dev->sc_base, reg, val); in dsaf_write_sub()56 ret = dsaf_read_reg(dsaf_dev->sc_base, reg); in dsaf_read_sub()
329 u8 __iomem *sc_base; member
117 dsaf_dev->sc_base = devm_ioremap_resource(&pdev->dev, in hns_dsaf_get_cfg()119 if (IS_ERR(dsaf_dev->sc_base)) in hns_dsaf_get_cfg()120 return PTR_ERR(dsaf_dev->sc_base); in hns_dsaf_get_cfg()
990 mac_cb->sys_ctl_vaddr = dsaf_dev->sc_base; in hns_mac_get_cfg()