Lines Matching refs:module
40 void __iomem *module; in tc_bus_add_devices() local
49 module = ioremap_nocache(slotaddr, slotsize); in tc_bus_add_devices()
50 BUG_ON(!module); in tc_bus_add_devices()
55 err |= tc_preadb(pattern + 0, module + offset + TC_PATTERN0); in tc_bus_add_devices()
56 err |= tc_preadb(pattern + 1, module + offset + TC_PATTERN1); in tc_bus_add_devices()
57 err |= tc_preadb(pattern + 2, module + offset + TC_PATTERN2); in tc_bus_add_devices()
58 err |= tc_preadb(pattern + 3, module + offset + TC_PATTERN3); in tc_bus_add_devices()
68 module + offset + TC_PATTERN0); in tc_bus_add_devices()
70 module + offset + TC_PATTERN1); in tc_bus_add_devices()
72 module + offset + TC_PATTERN2); in tc_bus_add_devices()
74 module + offset + TC_PATTERN3); in tc_bus_add_devices()
97 readb(module + offset + TC_FIRM_VER + 4 * i); in tc_bus_add_devices()
99 readb(module + offset + TC_VENDOR + 4 * i); in tc_bus_add_devices()
101 readb(module + offset + TC_MODULE + 4 * i); in tc_bus_add_devices()
110 devsize = readb(module + offset + TC_SLOT_SIZE); in tc_bus_add_devices()
138 iounmap(module); in tc_bus_add_devices()