Home
last modified time | relevance | path

Searched refs:sc_base (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/ide/
Dtc86c001.c75 unsigned long sc_base = hwif->config_data; in tc86c001_timer_expiry() local
76 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() local
116 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() local
138 u16 scr1 = inw(sc_base + 0x00); in tc86c001_cable_detect()
150 unsigned long sc_base = pci_resource_start(dev, 5); in init_hwif_tc86c001() local
151 u16 scr1 = inw(sc_base + 0x00); in init_hwif_tc86c001()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_misc.c38 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()
Dhns_dsaf_main.h325 u8 __iomem *sc_base; member
Dhns_dsaf_main.c113 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()
Dhns_dsaf_mac.c997 mac_cb->sys_ctl_vaddr = dsaf_dev->sc_base; in hns_mac_get_cfg()