• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/hotplug/

Lines Matching refs:io_mem

65 static void __iomem *io_mem;
256 io_mem = ioremap ((0x40 << 4) + 0x0e, 2);
257 if (!io_mem )
259 ebda_seg = readw (io_mem);
260 iounmap (io_mem);
263 io_mem = ioremap(ebda_seg<<4, 1);
264 if (!io_mem)
266 ebda_sz = readb(io_mem);
267 iounmap(io_mem);
272 io_mem = ioremap(ebda_seg<<4, (ebda_sz * 1024));
273 if (!io_mem )
279 next_offset = readw (io_mem + offset); /* offset of next blk */
284 blk_id = readw (io_mem + offset); /* this blk id */
294 format = readb (io_mem + offset);
304 re = readw (io_mem + sub_addr); /* next sub blk */
307 rc_id = readw (io_mem + sub_addr); /* sub blk id */
313 num_ctlrs = readb (io_mem + sub_addr);
330 rc = readw (io_mem + sub_addr); /* next sub blk */
333 re_id = readw (io_mem + sub_addr); /* sub blk id */
340 num_entries = readw (io_mem + sub_addr);
366 rio_table_ptr->ver_num = readb (io_mem + offset);
367 rio_table_ptr->scal_count = readb (io_mem + offset + 1);
368 rio_table_ptr->riodev_count = readb (io_mem + offset + 2);
399 iounmap (io_mem);
420 rio_detail_ptr->rio_node_id = readb (io_mem + offset);
421 rio_detail_ptr->bbar = readl (io_mem + offset + 1);
422 rio_detail_ptr->rio_type = readb (io_mem + offset + 5);
423 rio_detail_ptr->owner_id = readb (io_mem + offset + 6);
424 rio_detail_ptr->port0_node_connect = readb (io_mem + offset + 7);
425 rio_detail_ptr->port0_port_connect = readb (io_mem + offset + 8);
426 rio_detail_ptr->port1_node_connect = readb (io_mem + offset + 9);
427 rio_detail_ptr->port1_port_connect = readb (io_mem + offset + 10);
428 rio_detail_ptr->first_slot_num = readb (io_mem + offset + 11);
429 rio_detail_ptr->status = readb (io_mem + offset + 12);
430 rio_detail_ptr->wpindex = readb (io_mem + offset + 13);
431 rio_detail_ptr->chassis_num = readb (io_mem + offset + 14);
752 ctlr_id = readb (io_mem + addr);
754 slot_num = readb (io_mem + addr);
760 bus_num = readb (io_mem + addr);
765 temp = readb (io_mem + addr);
787 slot_ptr->slot_num = readb (io_mem + addr_slot);
788 slot_ptr->slot_bus_num = readb (io_mem + addr_slot + slot_num);
789 slot_ptr->ctl_index = readb (io_mem + addr_slot + 2*slot_num);
790 slot_ptr->slot_cap = readb (io_mem + addr_slot + 3*slot_num);
829 bus_ptr->bus_num = readb (io_mem + addr_bus + bus);
830 bus_ptr->slots_at_33_conv = readb (io_mem + addr_bus + bus_num + 8 * bus);
831 bus_ptr->slots_at_66_conv = readb (io_mem + addr_bus + bus_num + 8 * bus + 1);
833 bus_ptr->slots_at_66_pcix = readb (io_mem + addr_bus + bus_num + 8 * bus + 2);
835 bus_ptr->slots_at_100_pcix = readb (io_mem + addr_bus + bus_num + 8 * bus + 3);
837 bus_ptr->slots_at_133_pcix = readb (io_mem + addr_bus + bus_num + 8 * bus + 4);
854 hpc_ptr->u.pci_ctlr.bus = readb (io_mem + addr);
855 hpc_ptr->u.pci_ctlr.dev_fun = readb (io_mem + addr + 1);
856 hpc_ptr->irq = readb (io_mem + addr + 2);
864 hpc_ptr->u.isa_ctlr.io_start = readw (io_mem + addr);
865 hpc_ptr->u.isa_ctlr.io_end = readw (io_mem + addr + 2);
872 hpc_ptr->irq = readb (io_mem + addr + 4);
878 hpc_ptr->u.wpeg_ctlr.wpegbbar = readl (io_mem + addr);
879 hpc_ptr->u.wpeg_ctlr.i2c_addr = readb (io_mem + addr + 4);
880 hpc_ptr->irq = readb (io_mem + addr + 5);
990 iounmap (io_mem);
1010 type = readb (io_mem + addr);
1018 iounmap (io_mem);
1023 rsrc_ptr->bus_num = readb (io_mem + addr);
1024 rsrc_ptr->dev_fun = readb (io_mem + addr + 1);
1025 rsrc_ptr->start_addr = readw (io_mem + addr + 2);
1026 rsrc_ptr->end_addr = readw (io_mem + addr + 4);
1039 iounmap (io_mem);
1044 rsrc_ptr->bus_num = readb (io_mem + addr);
1045 rsrc_ptr->dev_fun = readb (io_mem + addr + 1);
1046 rsrc_ptr->start_addr = readl (io_mem + addr + 2);
1047 rsrc_ptr->end_addr = readl (io_mem + addr + 6);