Searched refs:devreg (Results 1 – 7 of 7) sorted by relevance
2090 bridgereg_t devreg; in pcibr_addr_pci_to_xio() local2113 devreg = pcibr_soft->bs_slot[win].bss_device; in pcibr_addr_pci_to_xio()2141 devreg &= ~BRIDGE_DEV_OFF_MASK; in pcibr_addr_pci_to_xio()2143 devreg |= BRIDGE_DEV_DEV_IO_MEM; in pcibr_addr_pci_to_xio()2145 devreg &= ~BRIDGE_DEV_DEV_IO_MEM; in pcibr_addr_pci_to_xio()2146 devreg |= (mbase >> 20) & BRIDGE_DEV_OFF_MASK; in pcibr_addr_pci_to_xio()2153 devreg |= BRIDGE_DEV_DEV_SWAP; in pcibr_addr_pci_to_xio()2155 devreg &= ~BRIDGE_DEV_DEV_SWAP; in pcibr_addr_pci_to_xio()2157 if (pcibr_soft->bs_slot[win].bss_device != devreg) { in pcibr_addr_pci_to_xio()2159 bridge->b_device[win].reg = devreg; in pcibr_addr_pci_to_xio()[all …]
1343 bridgereg_t devreg; in pcibr_slot_device_init() local1359 devreg = bridge->b_device[slot].reg; in pcibr_slot_device_init()1360 devreg &= ~BRIDGE_DEV_PAGE_CHK_DIS; in pcibr_slot_device_init()1370 devreg |= BRIDGE_DEV_COH; in pcibr_slot_device_init()1372 devreg |= BRIDGE_DEV_COH | BRIDGE_DEV_VIRTUAL_EN; in pcibr_slot_device_init()1373 pcibr_soft->bs_slot[slot].bss_device = devreg; in pcibr_slot_device_init()1374 bridge->b_device[slot].reg = devreg; in pcibr_slot_device_init()1379 slot, devreg, device_bits)); in pcibr_slot_device_init()
304 bridgereg_t devreg; in pci_fixup_isp2x00() local327 devreg = bridge->b_device[slot].reg; in pci_fixup_isp2x00()329 devreg &= ~BRIDGE_DEV_OFF_MASK; in pci_fixup_isp2x00()330 devreg |= (start >> 20) & BRIDGE_DEV_OFF_MASK; in pci_fixup_isp2x00()331 bridge->b_device[slot].reg = devreg; in pci_fixup_isp2x00()
297 devreg_t *devreg = kmalloc (sizeof (devreg_t), GFP_KERNEL); in tape_create_devreg() local298 if (devreg != NULL) { in tape_create_devreg()299 memset (devreg, 0, sizeof (devreg_t)); in tape_create_devreg()300 devreg->ci.devno = devno; in tape_create_devreg()301 devreg->flag = DEVREG_TYPE_DEVNO; in tape_create_devreg()302 devreg->oper_func = tape_oper_handler; in tape_create_devreg()304 return devreg; in tape_create_devreg()
143 devreg_t devreg; /* the devreg itself */ member460 int dasd_oper_handler (int irq, devreg_t * devreg);
195 r->devreg.ci.devno = devno; in dasd_create_devreg()196 r->devreg.flag = DEVREG_TYPE_DEVNO; in dasd_create_devreg()197 r->devreg.oper_func = dasd_oper_handler; in dasd_create_devreg()207 dasd_destroy_devreg (dasd_devreg_t * devreg) in dasd_destroy_devreg() argument209 kfree (devreg); in dasd_destroy_devreg()348 s390_device_register (®->devreg); in dasd_add_range()375 if (reg->devreg.flag == DEVREG_TYPE_DEVNO && in dasd_remove_range()376 reg->devreg.ci.devno == i && in dasd_remove_range()377 reg->devreg.oper_func == dasd_oper_handler) in dasd_remove_range()383 s390_device_unregister (®->devreg); in dasd_remove_range()[all …]
1030 devreg_t devreg; member