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 …]
38 dsaf_write_reg(dsaf_dev->sc_base, reg, val); in dsaf_write_sub()52 ret = dsaf_read_reg(dsaf_dev->sc_base, reg); in dsaf_read_sub()
325 u8 __iomem *sc_base; member
113 dsaf_dev->sc_base = devm_ioremap_resource(&pdev->dev, in hns_dsaf_get_cfg()115 if (IS_ERR(dsaf_dev->sc_base)) in hns_dsaf_get_cfg()116 return PTR_ERR(dsaf_dev->sc_base); in hns_dsaf_get_cfg()
997 mac_cb->sys_ctl_vaddr = dsaf_dev->sc_base; in hns_mac_get_cfg()