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

/linux-4.1.27/arch/s390/include/asm/
H A Dpci_io.h22 extern struct zpci_iomap_entry *zpci_iomap_start;
35 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(addr)]; \
50 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(addr)]; \
138 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(src)]; zpci_memcpy_fromio()
159 struct zpci_iomap_entry *entry = &zpci_iomap_start[ZPCI_IDX(dst)]; zpci_memcpy_toio()
/linux-4.1.27/arch/s390/pci/
H A Dpci.c74 struct zpci_iomap_entry *zpci_iomap_start; variable in typeref:struct:zpci_iomap_entry
75 EXPORT_SYMBOL_GPL(zpci_iomap_start); variable
281 if (zpci_iomap_start[idx].count++) { pci_iomap_range()
282 BUG_ON(zpci_iomap_start[idx].fh != zdev->fh || pci_iomap_range()
283 zpci_iomap_start[idx].bar != bar); pci_iomap_range()
285 zpci_iomap_start[idx].fh = zdev->fh; pci_iomap_range()
286 zpci_iomap_start[idx].bar = bar; pci_iomap_range()
289 BUG_ON(!zpci_iomap_start[idx].count); pci_iomap_range()
310 BUG_ON(!zpci_iomap_start[idx].count); pci_iounmap()
311 if (!--zpci_iomap_start[idx].count) { pci_iounmap()
312 zpci_iomap_start[idx].fh = 0; pci_iounmap()
313 zpci_iomap_start[idx].bar = 0; pci_iounmap()
568 memset(&zpci_iomap_start[entry], 0, sizeof(struct zpci_iomap_entry)); zpci_free_iomap()
883 zpci_iomap_start = kzalloc(ZPCI_IOMAP_MAX_ENTRIES * sizeof(*zpci_iomap_start), zpci_mem_init()
885 if (!zpci_iomap_start) zpci_mem_init()
897 kfree(zpci_iomap_start); zpci_mem_exit()

Completed in 88 milliseconds