Lines Matching +full:1 +full:mb
31 * NOTE: Herein lie back-to-back mb instructions. They are magic.
59 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
60 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0
69 * Type 1:
71 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1
72 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0
74 * | | | | | | | | | | |B|B|B|B|B|B|B|B|D|D|D|D|D|F|F|F|R|R|R|R|R|R|0|1|
109 DBGC(("mk_conf_addr: device (%d) > 20, returning -1\n", in mk_conf_addr()
111 return -1; in mk_conf_addr()
117 /* type 1 configuration cycle: */ in mk_conf_addr()
118 *type1 = 1; in mk_conf_addr()
140 mb(); in conf_read()
146 mb(); in conf_read()
147 *(vuip)APECS_IOC_HAXR2 = haxr2 | 1; in conf_read()
152 mcheck_expected(0) = 1; in conf_read()
154 mb(); in conf_read()
159 asm volatile("ldl %0,%1; mb; mb" : "=r"(value) : "m"(*(vuip)addr) in conf_read()
165 mb(); in conf_read()
168 mb(); in conf_read()
170 #if 1 in conf_read()
192 mb(); in conf_read()
200 *(vuip)APECS_IOC_HAXR2 = haxr2 & ~1; in conf_read()
201 mb(); in conf_read()
220 mb(); in conf_write()
225 mb(); in conf_write()
226 *(vuip)APECS_IOC_HAXR2 = haxr2 | 1; in conf_write()
230 mcheck_expected(0) = 1; in conf_write()
231 mb(); in conf_write()
235 mb(); in conf_write()
236 mb(); /* magic */ in conf_write()
238 mb(); in conf_write()
240 #if 1 in conf_write()
261 mb(); in conf_write()
268 *(vuip)APECS_IOC_HAXR2 = haxr2 & ~1; in conf_write()
269 mb(); in conf_write()
286 mask = (size - 1) * 8; in apecs_read_config()
304 mask = (size - 1) * 8; in apecs_write_config()
321 mb(); in apecs_pci_tbi()
346 * Window 1 is direct access 1GB at 1GB in apecs_init_arch()
347 * Window 2 is scatter-gather 8MB at 8MB (for isa) in apecs_init_arch()
356 *(vuip)APECS_IOC_PM1R = (__direct_map_size - 1) & 0xfff00000U; in apecs_init_arch()
360 *(vuip)APECS_IOC_PM2R = (hose->sg_isa->size - 1) & 0xfff00000; in apecs_init_arch()
361 *(vuip)APECS_IOC_TB2R = virt_to_phys(hose->sg_isa->ptes) >> 1; in apecs_init_arch()
363 apecs_pci_tbi(hose, 0, -1); in apecs_init_arch()
372 mb(); in apecs_init_arch()
384 mb(); in apecs_pci_clr_err()
388 mb(); in apecs_pci_clr_err()
410 mb(); in apecs_machine_check()
411 mb(); /* magic */ in apecs_machine_check()
415 mb(); in apecs_machine_check()