Lines Matching refs:fake_cb_bridge_regs
206 } fake_cb_bridge_regs; variable
224 data |= fake_cb_bridge_regs.pci_command; in fake_cb_bridge_read()
237 data = (fake_cb_bridge_regs.bridge_control << 16); in fake_cb_bridge_read()
243 data = (fake_cb_bridge_regs.cb_latency << 24); in fake_cb_bridge_read()
244 data |= (fake_cb_bridge_regs.subordinate_busn << 16); in fake_cb_bridge_read()
245 data |= (fake_cb_bridge_regs.cardbus_busn << 8); in fake_cb_bridge_read()
246 data |= fake_cb_bridge_regs.pci_busn; in fake_cb_bridge_read()
250 data = fake_cb_bridge_regs.mem_base0; in fake_cb_bridge_read()
254 data = fake_cb_bridge_regs.mem_limit0; in fake_cb_bridge_read()
258 data = fake_cb_bridge_regs.mem_base1; in fake_cb_bridge_read()
262 data = fake_cb_bridge_regs.mem_limit1; in fake_cb_bridge_read()
267 data = fake_cb_bridge_regs.io_base0 | 0x1; in fake_cb_bridge_read()
271 data = fake_cb_bridge_regs.io_limit0; in fake_cb_bridge_read()
276 data = fake_cb_bridge_regs.io_base1 | 0x1; in fake_cb_bridge_read()
280 data = fake_cb_bridge_regs.io_limit1; in fake_cb_bridge_read()
306 fake_cb_bridge_regs.pci_command = (data & 0xffff); in fake_cb_bridge_write()
310 fake_cb_bridge_regs.cb_latency = (data >> 24) & 0xff; in fake_cb_bridge_write()
311 fake_cb_bridge_regs.subordinate_busn = (data >> 16) & 0xff; in fake_cb_bridge_write()
312 fake_cb_bridge_regs.cardbus_busn = (data >> 8) & 0xff; in fake_cb_bridge_write()
313 fake_cb_bridge_regs.pci_busn = data & 0xff; in fake_cb_bridge_write()
314 if (fake_cb_bridge_regs.cardbus_busn) in fake_cb_bridge_write()
315 fake_cb_bridge_regs.bus_assigned = 1; in fake_cb_bridge_write()
323 fake_cb_bridge_regs.bridge_control = tmp; in fake_cb_bridge_write()
327 fake_cb_bridge_regs.mem_base0 = data; in fake_cb_bridge_write()
331 fake_cb_bridge_regs.mem_limit0 = data; in fake_cb_bridge_write()
335 fake_cb_bridge_regs.mem_base1 = data; in fake_cb_bridge_write()
339 fake_cb_bridge_regs.mem_limit1 = data; in fake_cb_bridge_write()
343 fake_cb_bridge_regs.io_base0 = data; in fake_cb_bridge_write()
347 fake_cb_bridge_regs.io_limit0 = data; in fake_cb_bridge_write()
351 fake_cb_bridge_regs.io_base1 = data; in fake_cb_bridge_write()
355 fake_cb_bridge_regs.io_limit1 = data; in fake_cb_bridge_write()
376 if (fake_cb_bridge_regs.bus_assigned && in bcm63xx_cb_read()
377 bus->number == fake_cb_bridge_regs.cardbus_busn && in bcm63xx_cb_read()
394 if (fake_cb_bridge_regs.bus_assigned && in bcm63xx_cb_write()
395 bus->number == fake_cb_bridge_regs.cardbus_busn && in bcm63xx_cb_write()
436 if (fake_cb_bridge_regs.bus_assigned && in bcm63xx_fixup()
437 dev->bus->number == fake_cb_bridge_regs.cardbus_busn && in bcm63xx_fixup()