/linux-2.4.37.9/arch/ppc64/kernel/ |
D | lmb.c | 43 rgn->region[r1].size += rgn->region[r2].size; in lmb_coalesce_regions() 45 rgn->region[i].base = rgn->region[i+1].base; in lmb_coalesce_regions() 46 rgn->region[i].physbase = rgn->region[i+1].physbase; in lmb_coalesce_regions() 47 rgn->region[i].size = rgn->region[i+1].size; in lmb_coalesce_regions() 48 rgn->region[i].type = rgn->region[i+1].type; in lmb_coalesce_regions() 64 _lmb->memory.region[0].base = 0; in lmb_init() 65 _lmb->memory.region[0].size = 0; in lmb_init() 66 _lmb->memory.region[0].type = LMB_MEMORY_AREA; in lmb_init() 70 _lmb->reserved.region[0].base = 0; in lmb_init() 71 _lmb->reserved.region[0].size = 0; in lmb_init() [all …]
|
D | prom.c | 739 unsigned long base = _lmb->memory.region[i].base; in prom_initialize_mschunks() 740 unsigned long size = _lmb->memory.region[i].size; in prom_initialize_mschunks() 744 if(_lmb->memory.region[i].type != LMB_MEMORY_AREA) in prom_initialize_mschunks() 747 _lmb->memory.region[i].physbase = chunk_to_addr(pchunk); in prom_initialize_mschunks() 756 unsigned long base = _lmb->memory.region[i].base; in prom_initialize_mschunks() 757 unsigned long size = _lmb->memory.region[i].size; in prom_initialize_mschunks() 761 if(_lmb->memory.region[i].type != LMB_IO_AREA) in prom_initialize_mschunks() 764 _lmb->memory.region[i].physbase = chunk_to_addr(pchunk); in prom_initialize_mschunks() 834 prom_print_hex(_lmb->memory.region[i].base); in prom_dump_lmb() 837 prom_print_hex(_lmb->memory.region[i].physbase); in prom_dump_lmb() [all …]
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | irq.c | 149 struct irq_region *region; in mask_irq() local 154 region = irq_region[IRQ_REGION(irq)]; in mask_irq() 155 if (region->ops.mask_irq) in mask_irq() 156 region->ops.mask_irq(region->data.dev, IRQ_OFFSET(irq)); in mask_irq() 161 struct irq_region *region; in unmask_irq() local 166 region = irq_region[IRQ_REGION(irq)]; in unmask_irq() 167 if (region->ops.unmask_irq) in unmask_irq() 168 region->ops.unmask_irq(region->data.dev, IRQ_OFFSET(irq)); in unmask_irq() 173 struct irq_region *region; in disable_irq() local 178 region = irq_region[IRQ_REGION(irq)]; in disable_irq() [all …]
|
/linux-2.4.37.9/drivers/acpi/events/ |
D | evregion.c | 183 params[0]->integer.value = region_obj->region.space_id; in acpi_ev_execute_reg_method() 246 handler_desc = region_obj->region.handler; in acpi_ev_address_space_dispatch() 250 acpi_ut_get_node_name (region_obj->region.node), in acpi_ev_address_space_dispatch() 251 region_obj, acpi_ut_get_region_name (region_obj->region.space_id))); in acpi_ev_address_space_dispatch() 260 if (!(region_obj->region.flags & AOPOBJ_SETUP_COMPLETE)) { in acpi_ev_address_space_dispatch() 269 region_obj, acpi_ut_get_region_name (region_obj->region.space_id))); in acpi_ev_address_space_dispatch() 294 acpi_ut_get_region_name (region_obj->region.space_id))); in acpi_ev_address_space_dispatch() 301 if (!(region_obj->region.flags & AOPOBJ_SETUP_COMPLETE)) { in acpi_ev_address_space_dispatch() 302 region_obj->region.flags |= AOPOBJ_SETUP_COMPLETE; in acpi_ev_address_space_dispatch() 325 ®ion_obj->region.handler->address_space, handler, in acpi_ev_address_space_dispatch() [all …]
|
D | evrgnini.c | 99 local_region_context->length = region_desc->region.length; in acpi_ev_system_memory_region_setup() 100 local_region_context->address = region_desc->region.address; in acpi_ev_system_memory_region_setup() 180 handler_obj = region_obj->region.handler; in acpi_ev_pci_config_region_setup() 199 parent_node = acpi_ns_get_parent_node (region_obj->region.node); in acpi_ev_pci_config_region_setup() 262 if (region_obj->region.flags & AOPOBJ_SETUP_COMPLETE) { in acpi_ev_pci_config_region_setup() 309 acpi_os_derive_pci_id (pci_root_node, region_obj->region.node, &pci_id); in acpi_ev_pci_config_region_setup() 467 node = acpi_ns_get_parent_node (region_obj->region.node); in acpi_ev_initialize_region() 468 space_id = region_obj->region.space_id; in acpi_ev_initialize_region() 472 region_obj->region.handler = NULL; in acpi_ev_initialize_region()
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | lmb.h | 46 struct lmb_property region[MAX_LMB_REGIONS+1]; member 82 unsigned long base1 = rgn->region[r1].base; in lmb_regions_overlap() 83 unsigned long size1 = rgn->region[r1].size; in lmb_regions_overlap() 84 unsigned long base2 = rgn->region[r2].base; in lmb_regions_overlap() 85 unsigned long size2 = rgn->region[r2].size; in lmb_regions_overlap() 105 unsigned long base1 = rgn->region[r1].base; in lmb_regions_adjacent() 106 unsigned long size1 = rgn->region[r1].size; in lmb_regions_adjacent() 107 unsigned long type1 = rgn->region[r1].type; in lmb_regions_adjacent() 108 unsigned long base2 = rgn->region[r2].base; in lmb_regions_adjacent() 109 unsigned long size2 = rgn->region[r2].size; in lmb_regions_adjacent() [all …]
|
/linux-2.4.37.9/include/asm-mips64/sn/sn0/ |
D | hubmd.h | 450 #define MD_MEMORY_CONFIG_DIR_TYPE_GET(region) (\ argument 451 (REMOTE_HUB_L(region, MD_MEMORY_CONFIG) & MMC_DIR_PREMIUM_MASK) >> \ 460 #define MD_MIG_DIFF_THRESH_GET(region) ( \ argument 461 REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) & \ 464 #define MD_MIG_DIFF_THRESH_SET(region, value) ( \ argument 465 REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \ 468 #define MD_MIG_DIFF_THRESH_DISABLE(region) ( \ argument 469 REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \ 470 REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) \ 473 #define MD_MIG_DIFF_THRESH_ENABLE(region) ( \ argument [all …]
|
/linux-2.4.37.9/drivers/pci/ |
D | quirks.c | 215 static void __init quirk_io_region(struct pci_dev *dev, unsigned region, unsigned size, int nr) in quirk_io_region() argument 217 region &= ~(size-1); in quirk_io_region() 218 if (region) { in quirk_io_region() 222 res->start = region; in quirk_io_region() 223 res->end = region + size - 1; in quirk_io_region() 254 u16 region; in quirk_ali7101_acpi() local 256 pci_read_config_word(dev, 0xE0, ®ion); in quirk_ali7101_acpi() 257 quirk_io_region(dev, region, 64, PCI_BRIDGE_RESOURCES); in quirk_ali7101_acpi() 258 pci_read_config_word(dev, 0xE2, ®ion); in quirk_ali7101_acpi() 259 quirk_io_region(dev, region, 32, PCI_BRIDGE_RESOURCES+1); in quirk_ali7101_acpi() [all …]
|
/linux-2.4.37.9/drivers/mtd/maps/ |
D | scb2_flash.c | 158 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; in scb2_fixup_mtd() local 159 region->erasesize /= 2; in scb2_fixup_mtd() 169 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; in scb2_fixup_mtd() local 171 if (region->numblocks * region->erasesize > mtd->size) { in scb2_fixup_mtd() 172 region->numblocks = (mtd->size / region->erasesize); in scb2_fixup_mtd() 175 region->numblocks = 0; in scb2_fixup_mtd() 177 region->offset = 0; in scb2_fixup_mtd()
|
/linux-2.4.37.9/drivers/acpi/executer/ |
D | excreate.c | 344 obj_desc->region.space_id = region_space; in acpi_ex_create_region() 345 obj_desc->region.address = 0; in acpi_ex_create_region() 346 obj_desc->region.length = 0; in acpi_ex_create_region() 347 obj_desc->region.node = node; in acpi_ex_create_region() 423 obj_desc->region.space_id = REGION_DATA_TABLE; in acpi_ex_create_table_region() 424 obj_desc->region.address = (acpi_physical_address) ACPI_TO_INTEGER (table); in acpi_ex_create_table_region() 425 obj_desc->region.length = table->length; in acpi_ex_create_table_region() 426 obj_desc->region.node = node; in acpi_ex_create_table_region() 427 obj_desc->region.flags = AOPOBJ_DATA_VALID; in acpi_ex_create_table_region() 446 obj_desc->region.flags |= AOPOBJ_SETUP_COMPLETE; in acpi_ex_create_table_region()
|
D | exfldio.c | 107 if (rgn_desc->region.space_id == ACPI_ADR_SPACE_SMBUS) { in acpi_ex_setup_region() 130 if (rgn_desc->region.length < (obj_desc->common_field.base_byte_offset in acpi_ex_setup_region() 133 if (rgn_desc->region.length < obj_desc->common_field.access_byte_width) { in acpi_ex_setup_region() 143 acpi_ut_get_node_name (rgn_desc->region.node), rgn_desc->region.length)); in acpi_ex_setup_region() 155 acpi_ut_get_node_name (rgn_desc->region.node), rgn_desc->region.length)); in acpi_ex_setup_region() 165 u32 rounded_length = ACPI_ROUND_UP(rgn_desc->region.length, in acpi_ex_setup_region() 247 address = rgn_desc->region.address in acpi_ex_access_region() 260 acpi_ut_get_region_name (rgn_desc->region.space_id), in acpi_ex_access_region() 261 rgn_desc->region.space_id, in acpi_ex_access_region() 276 acpi_ut_get_region_name (rgn_desc->region.space_id), in acpi_ex_access_region() [all …]
|
D | exdump.c | 259 acpi_ut_get_region_name (obj_desc->region.space_id), in acpi_ex_dump_operand() 260 obj_desc->region.space_id); in acpi_ex_dump_operand() 266 if (!(obj_desc->region.flags & AOPOBJ_DATA_VALID)) { in acpi_ex_dump_operand() 271 ACPI_FORMAT_UINT64 (obj_desc->region.address), in acpi_ex_dump_operand() 272 obj_desc->region.length); in acpi_ex_dump_operand() 668 acpi_ex_out_integer ("space_id", obj_desc->region.space_id); in acpi_ex_dump_object_descriptor() 669 acpi_ex_out_integer ("Flags", obj_desc->region.flags); in acpi_ex_dump_object_descriptor() 670 acpi_ex_out_address ("Address", obj_desc->region.address); in acpi_ex_dump_object_descriptor() 671 acpi_ex_out_integer ("Length", obj_desc->region.length); in acpi_ex_dump_object_descriptor() 672 acpi_ex_out_pointer ("Handler", obj_desc->region.handler); in acpi_ex_dump_object_descriptor() [all …]
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | pci_st40.c | 656 void pci_set_rbar_region(unsigned int region, unsigned long localAddr, in pci_set_rbar_region() argument 661 if (region > 7) in pci_set_rbar_region() 670 ST40PCI_WRITE_INDEXED(RSR, region, 0); in pci_set_rbar_region() 673 ST40PCI_WRITE_INDEXED(RLAR, region, PHYSADDR(localAddr) ); in pci_set_rbar_region() 676 ST40PCI_WRITE_INDEXED(RBAR, region, pciOffset); in pci_set_rbar_region() 679 ST40PCI_WRITE_INDEXED(RSR, region, mask | 1); in pci_set_rbar_region() 686 void pci_clear_rbar_region(unsigned int region) in pci_clear_rbar_region() argument 688 if (region > 7) in pci_clear_rbar_region() 691 ST40PCI_WRITE_INDEXED(RSR, region, 0); in pci_clear_rbar_region() 692 ST40PCI_WRITE_INDEXED(RBAR, region, 0); in pci_clear_rbar_region() [all …]
|
D | pci_st40.h | 139 void pci_set_rbar_region(unsigned int region, unsigned long localAddr, 141 void pci_clear_rbar_region(unsigned int region);
|
/linux-2.4.37.9/drivers/pcmcia/ |
D | bulkmem.c | 539 memory_handle_t region; in pcmcia_open_memory() local 545 region = s->a_region; in pcmcia_open_memory() 547 region = s->c_region; in pcmcia_open_memory() 548 while (region) { in pcmcia_open_memory() 549 if (region->info.CardOffset == open->Offset) break; in pcmcia_open_memory() 550 region = region->info.next; in pcmcia_open_memory() 552 if (region && region->mtd) { in pcmcia_open_memory() 553 *mh = region; in pcmcia_open_memory() 555 handle, open->Offset, region); in pcmcia_open_memory()
|
D | cs.c | 958 memory_handle_t region; in pcmcia_bind_mtd() local 965 region = s->a_region; in pcmcia_bind_mtd() 967 region = s->c_region; in pcmcia_bind_mtd() 969 while (region) { in pcmcia_bind_mtd() 970 if (region->info.CardOffset == req->CardOffset) break; in pcmcia_bind_mtd() 971 region = region->info.next; in pcmcia_bind_mtd() 973 if (!region || (region->mtd != NULL)) in pcmcia_bind_mtd() 975 strncpy(region->dev_info, (char *)req->dev_info, DEV_NAME_LEN); in pcmcia_bind_mtd() 988 memory_handle_t region; in pcmcia_deregister_client() local 1005 for (region = s->a_region; region; region = region->info.next) in pcmcia_deregister_client() [all …]
|
/linux-2.4.37.9/drivers/acpi/namespace/ |
D | nsdump.c | 301 acpi_os_printf ("[%s]", acpi_ut_get_region_name (obj_desc->region.space_id)); in acpi_ns_dump_one_object() 302 if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { in acpi_ns_dump_one_object() 304 ACPI_FORMAT_UINT64 (obj_desc->region.address), in acpi_ns_dump_one_object() 305 obj_desc->region.length); in acpi_ns_dump_one_object() 333 acpi_ut_get_node_name (obj_desc->common_field.region_obj->region.node)); in acpi_ns_dump_one_object() 340 acpi_ut_get_node_name (obj_desc->common_field.region_obj->region.node), in acpi_ns_dump_one_object()
|
/linux-2.4.37.9/drivers/scsi/ |
D | NCR_D700.c | 269 __u32 region = offset_addr | (0x80 * i); in D700_detect() local 278 if(request_region(region, 64, "NCR_D700") == NULL) { in D700_detect() 279 printk(KERN_ERR "NCR D700: Failed to reserve IO region 0x%x\n", region); in D700_detect() 285 hostdata->base = region; in D700_detect()
|
/linux-2.4.37.9/drivers/usb/ |
D | hcd.c | 592 int retval, region; in usb_hcd_pci_probe() local 608 region = 0; in usb_hcd_pci_probe() 627 for (region = 0; region < PCI_ROM_RESOURCE; region++) { in usb_hcd_pci_probe() 628 if (!(pci_resource_flags (dev, region) & IORESOURCE_IO)) in usb_hcd_pci_probe() 631 resource = pci_resource_start (dev, region); in usb_hcd_pci_probe() 632 len = pci_resource_len (dev, region); in usb_hcd_pci_probe() 637 if (region == PCI_ROM_RESOURCE) { in usb_hcd_pci_probe() 685 hcd->region = region; in usb_hcd_pci_probe() 765 release_region (pci_resource_start (dev, hcd->region), in usb_hcd_pci_remove() 766 pci_resource_len (dev, hcd->region)); in usb_hcd_pci_remove()
|
/linux-2.4.37.9/drivers/char/drm/ |
D | radeon_mem.c | 226 int region ) in get_heap() argument 228 switch( region ) { in get_heap() 254 heap = get_heap( dev_priv, alloc.region ); in radeon_mem_alloc() 297 heap = get_heap( dev_priv, memfree.region ); in radeon_mem_free() 328 heap = get_heap( dev_priv, initheap.region ); in radeon_mem_init_heap()
|
D | radeon_drm.h | 547 int region; member 554 int region; member 559 int region; member
|
/linux-2.4.37.9/drivers/acpi/dispatcher/ |
D | dsopcode.c | 330 if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { in acpi_ds_get_region_arguments() 341 node = obj_desc->region.node; in acpi_ds_get_region_arguments() 730 obj_desc->region.length = (u32) operand_desc->integer.value; in acpi_ds_eval_region_operands() 739 obj_desc->region.address = (acpi_physical_address) operand_desc->integer.value; in acpi_ds_eval_region_operands() 744 ACPI_FORMAT_UINT64 (obj_desc->region.address), in acpi_ds_eval_region_operands() 745 obj_desc->region.length)); in acpi_ds_eval_region_operands() 749 obj_desc->region.flags |= AOPOBJ_DATA_VALID; in acpi_ds_eval_region_operands()
|
/linux-2.4.37.9/drivers/char/agp/ |
D | agpgart_fe.c | 184 static int agp_create_segment(agp_client * client, agp_region * region) in agp_create_segment() argument 191 seg = kmalloc((sizeof(agp_segment_priv) * region->seg_count), in agp_create_segment() 194 kfree(region->seg_list); in agp_create_segment() 197 memset(seg, 0, (sizeof(agp_segment_priv) * region->seg_count)); in agp_create_segment() 198 user_seg = region->seg_list; in agp_create_segment() 200 for (i = 0; i < region->seg_count; i++) { in agp_create_segment() 207 kfree(region->seg_list); in agp_create_segment() 212 kfree(region->seg_list); in agp_create_segment() 213 agp_add_seg_to_client(client, ret_seg, region->seg_count); in agp_create_segment()
|
/linux-2.4.37.9/Documentation/ |
D | mandatory.txt | 103 2. If a process has locked a region of a file with a mandatory read lock, then 104 other processes are permitted to read from that region. If any of these 105 processes attempts to write to the region it will block until the lock is 110 3. If a process has locked a region of a file with a mandatory write lock, all 111 attempts to read or write to that region block until the lock is released, 135 The affected region is usually defined as stretching from the current position
|
/linux-2.4.37.9/arch/ppc64/mm/ |
D | init.c | 507 unsigned long type = lmb.memory.region[i].type; in do_init_bootmem() 512 physbase = lmb.memory.region[i].physbase; in do_init_bootmem() 513 size = lmb.memory.region[i].size; in do_init_bootmem() 518 unsigned long physbase = lmb.reserved.region[i].physbase; in do_init_bootmem() 519 unsigned long size = lmb.reserved.region[i].size; in do_init_bootmem()
|