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

/linux-4.4.14/arch/unicore32/kernel/
H A Dpci.c35 *value = (readl(PCICFG_DATA) >> ((where & 3) * 8)) & 0xFF; puv3_read_config()
38 *value = (readl(PCICFG_DATA) >> ((where & 2) * 8)) & 0xFFFF; puv3_read_config()
41 *value = readl(PCICFG_DATA); puv3_read_config()
54 writel((readl(PCICFG_DATA) & ~FMASK(8, (where&3)*8)) puv3_write_config()
55 | FIELD(value, 8, (where&3)*8), PCICFG_DATA); puv3_write_config()
58 writel((readl(PCICFG_DATA) & ~FMASK(16, (where&2)*8)) puv3_write_config()
59 | FIELD(value, 16, (where&2)*8), PCICFG_DATA); puv3_write_config()
62 writel(value, PCICFG_DATA); puv3_write_config()
/linux-4.4.14/arch/unicore32/include/mach/
H A Dregs-pci.h19 #define PCICFG_DATA (PKUNITY_PCICFG_BASE + 0x0008) macro

Completed in 36 milliseconds