Home
last modified time | relevance | path

Searched refs:PCICFG_DATA (Results 1 – 2 of 2) sorted by relevance

/arch/unicore32/kernel/
Dpci.c31 *value = (readl(PCICFG_DATA) >> ((where & 3) * 8)) & 0xFF; in puv3_read_config()
34 *value = (readl(PCICFG_DATA) >> ((where & 2) * 8)) & 0xFFFF; in puv3_read_config()
37 *value = readl(PCICFG_DATA); in puv3_read_config()
50 writel((readl(PCICFG_DATA) & ~FMASK(8, (where&3)*8)) in puv3_write_config()
51 | FIELD(value, 8, (where&3)*8), PCICFG_DATA); in puv3_write_config()
54 writel((readl(PCICFG_DATA) & ~FMASK(16, (where&2)*8)) in puv3_write_config()
55 | FIELD(value, 16, (where&2)*8), PCICFG_DATA); in puv3_write_config()
58 writel(value, PCICFG_DATA); in puv3_write_config()
/arch/unicore32/include/mach/
Dregs-pci.h20 #define PCICFG_DATA (PKUNITY_PCICFG_BASE + 0x0008) macro