Home
last modified time | relevance | path

Searched refs:region (Results 1 – 200 of 547) sorted by relevance

123

/linux-4.4.14/arch/um/kernel/
Dphysmem.c130 struct iomem_region *region = iomem_regions; in phys_mapping() local
132 while (region != NULL) { in phys_mapping()
133 if ((phys >= region->phys) && in phys_mapping()
134 (phys < region->phys + region->size)) { in phys_mapping()
135 fd = region->fd; in phys_mapping()
136 *offset_out = phys - region->phys; in phys_mapping()
139 region = region->next; in phys_mapping()
185 struct iomem_region *region = iomem_regions; in find_iomem() local
187 while (region != NULL) { in find_iomem()
188 if (!strcmp(region->driver, driver)) { in find_iomem()
[all …]
/linux-4.4.14/drivers/acpi/acpica/
Devregion.c156 handler_desc = region_obj->region.handler; in acpi_ev_address_space_dispatch()
160 acpi_ut_get_node_name(region_obj->region.node), in acpi_ev_address_space_dispatch()
162 acpi_ut_get_region_name(region_obj->region. in acpi_ev_address_space_dispatch()
174 if (!(region_obj->region.flags & AOPOBJ_SETUP_COMPLETE)) { in acpi_ev_address_space_dispatch()
186 acpi_ut_get_region_name(region_obj->region. in acpi_ev_address_space_dispatch()
211 region. in acpi_ev_address_space_dispatch()
218 if (!(region_obj->region.flags & AOPOBJ_SETUP_COMPLETE)) { in acpi_ev_address_space_dispatch()
219 region_obj->region.flags |= AOPOBJ_SETUP_COMPLETE; in acpi_ev_address_space_dispatch()
235 address = (region_obj->region.address + region_offset); in acpi_ev_address_space_dispatch()
251 if ((region_obj->region.space_id == ACPI_ADR_SPACE_GSBUS) && in acpi_ev_address_space_dispatch()
[all …]
Dexfield.c163 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
165 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
167 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
175 if (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
180 } else if (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
257 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
362 (obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
364 || obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
366 || obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
387 if (obj_desc->field.region_obj->region.space_id == in acpi_ex_write_data_to_field()
[all …]
Devrgnini.c110 local_region_context->length = region_desc->region.length; in acpi_ev_system_memory_region_setup()
111 local_region_context->address = region_desc->region.address; in acpi_ev_system_memory_region_setup()
182 handler_obj = region_obj->region.handler; in acpi_ev_pci_config_region_setup()
202 parent_node = region_obj->region.node->parent; in acpi_ev_pci_config_region_setup()
262 if (region_obj->region.flags & AOPOBJ_SETUP_COMPLETE) { in acpi_ev_pci_config_region_setup()
280 pci_device_node = region_obj->region.node; in acpi_ev_pci_config_region_setup()
326 region_obj->region.node); in acpi_ev_pci_config_region_setup()
529 node = region_obj->region.node->parent; in acpi_ev_initialize_region()
530 space_id = region_obj->region.space_id; in acpi_ev_initialize_region()
534 region_obj->region.handler = NULL; in acpi_ev_initialize_region()
Ddsargs.c257 status = acpi_ut_add_address_range(obj_desc->region.space_id, in acpi_ds_get_bank_field_arguments()
258 obj_desc->region.address, in acpi_ds_get_bank_field_arguments()
259 obj_desc->region.length, node); in acpi_ds_get_bank_field_arguments()
372 if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { in acpi_ds_get_region_arguments()
383 node = obj_desc->region.node; in acpi_ds_get_region_arguments()
401 status = acpi_ut_add_address_range(obj_desc->region.space_id, in acpi_ds_get_region_arguments()
402 obj_desc->region.address, in acpi_ds_get_region_arguments()
403 obj_desc->region.length, node); in acpi_ds_get_region_arguments()
Dexfldio.c104 space_id = rgn_desc->region.space_id; in acpi_ex_setup_region()
155 if (rgn_desc->region.length < in acpi_ex_setup_region()
164 if (ACPI_ROUND_UP(rgn_desc->region.length, in acpi_ex_setup_region()
175 if (rgn_desc->region.length < in acpi_ex_setup_region()
187 acpi_ut_get_node_name(rgn_desc->region. in acpi_ex_setup_region()
189 rgn_desc->region.length)); in acpi_ex_setup_region()
202 acpi_ut_get_node_name(rgn_desc->region.node), in acpi_ex_setup_region()
203 rgn_desc->region.length)); in acpi_ex_setup_region()
267 acpi_ut_get_region_name(rgn_desc->region. in acpi_ex_access_region()
269 rgn_desc->region.space_id, in acpi_ex_access_region()
[all …]
Ddsopcode.c434 obj_desc->region.length = (u32) operand_desc->integer.value; in acpi_ds_eval_region_operands()
443 obj_desc->region.address = (acpi_physical_address) in acpi_ds_eval_region_operands()
449 ACPI_FORMAT_UINT64(obj_desc->region.address), in acpi_ds_eval_region_operands()
450 obj_desc->region.length)); in acpi_ds_eval_region_operands()
454 obj_desc->region.flags |= AOPOBJ_DATA_VALID; in acpi_ds_eval_region_operands()
546 obj_desc->region.address = ACPI_PTR_TO_PHYSADDR(table); in acpi_ds_eval_table_region_operands()
547 obj_desc->region.length = table->length; in acpi_ds_eval_table_region_operands()
551 ACPI_FORMAT_UINT64(obj_desc->region.address), in acpi_ds_eval_table_region_operands()
552 obj_desc->region.length)); in acpi_ds_eval_table_region_operands()
556 obj_desc->region.flags |= AOPOBJ_DATA_VALID; in acpi_ds_eval_table_region_operands()
Dutdelete.c226 if (!(object->region.node->flags & ANOBJ_TEMPORARY)) { in acpi_ut_delete_internal_obj()
227 acpi_ut_remove_address_range(object->region.space_id, in acpi_ut_delete_internal_obj()
228 object->region.node); in acpi_ut_delete_internal_obj()
238 handler_desc = object->region.handler; in acpi_ut_delete_internal_obj()
251 next_desc->region.next; in acpi_ut_delete_internal_obj()
257 last_obj_ptr = &next_desc->region.next; in acpi_ut_delete_internal_obj()
258 next_desc = next_desc->region.next; in acpi_ut_delete_internal_obj()
Dexdump.c150 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(region.space_id), "Space Id"},
151 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(region.flags), "Flags"},
152 {ACPI_EXD_NODE, ACPI_EXD_OFFSET(region.node), "Parent Node"},
153 {ACPI_EXD_ADDRESS, ACPI_EXD_OFFSET(region.address), "Address"},
154 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(region.length), "Length"},
155 {ACPI_EXD_HDLR_LIST, ACPI_EXD_OFFSET(region.handler), "Handler"},
156 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(region.next), "Next"}
547 while (next->region.next) { in acpi_ex_dump_object()
553 next = next->region.next; in acpi_ex_dump_object()
760 acpi_ut_get_region_name(obj_desc->region. in acpi_ex_dump_operand()
[all …]
Dnsdump.c343 acpi_ut_get_region_name(obj_desc->region. in acpi_ns_dump_one_object()
345 if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { in acpi_ns_dump_one_object()
348 region. in acpi_ns_dump_one_object()
350 obj_desc->region.length); in acpi_ns_dump_one_object()
381 region_obj->region. in acpi_ns_dump_one_object()
390 region_obj->region. in acpi_ns_dump_one_object()
Dexcreate.c341 obj_desc->region.space_id = space_id; in acpi_ex_create_region()
342 obj_desc->region.address = 0; in acpi_ex_create_region()
343 obj_desc->region.length = 0; in acpi_ex_create_region()
344 obj_desc->region.node = node; in acpi_ex_create_region()
/linux-4.4.14/drivers/mtd/maps/
Dpismo.c92 struct pismo_mem *region, const char *name, in pismo_add_device() argument
97 phys_addr_t base = region->base; in pismo_add_device()
104 res.end = base + region->size - 1; in pismo_add_device()
134 struct pismo_mem *region) in pismo_add_nor() argument
137 .width = region->width, in pismo_add_nor()
143 return pismo_add_device(pismo, i, region, "physmap-flash", in pismo_add_nor()
148 struct pismo_mem *region) in pismo_add_sram() argument
151 .bankwidth = region->width, in pismo_add_sram()
154 return pismo_add_device(pismo, i, region, "mtd-ram", in pismo_add_sram()
162 struct pismo_mem region; in pismo_add_one() local
[all …]
Dscb2_flash.c105 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; in scb2_fixup_mtd() local
106 region->erasesize /= 2; in scb2_fixup_mtd()
116 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; in scb2_fixup_mtd() local
118 if (region->numblocks * region->erasesize > mtd->size) { in scb2_fixup_mtd()
119 region->numblocks = ((unsigned long)mtd->size / in scb2_fixup_mtd()
120 region->erasesize); in scb2_fixup_mtd()
123 region->numblocks = 0; in scb2_fixup_mtd()
125 region->offset = 0; in scb2_fixup_mtd()
/linux-4.4.14/mm/
Dnommu.c573 struct vm_region *region, *last; in validate_nommu_regions() local
585 region = rb_entry(p, struct vm_region, vm_rb); in validate_nommu_regions()
588 BUG_ON(region->vm_end <= region->vm_start); in validate_nommu_regions()
589 BUG_ON(region->vm_top < region->vm_end); in validate_nommu_regions()
590 BUG_ON(region->vm_start < last->vm_top); in validate_nommu_regions()
604 static void add_nommu_region(struct vm_region *region) in add_nommu_region() argument
616 if (region->vm_start < pregion->vm_start) in add_nommu_region()
618 else if (region->vm_start > pregion->vm_start) in add_nommu_region()
620 else if (pregion == region) in add_nommu_region()
626 rb_link_node(&region->vm_rb, parent, p); in add_nommu_region()
[all …]
Dbootmem.c550 void *region; in alloc_bootmem_bdata() local
587 region = phys_to_virt(PFN_PHYS(bdata->node_min_pfn) + in alloc_bootmem_bdata()
589 memset(region, 0, size); in alloc_bootmem_bdata()
594 kmemleak_alloc(region, size, 0, 0); in alloc_bootmem_bdata()
595 return region; in alloc_bootmem_bdata()
613 void *region; in alloc_bootmem_core() local
624 region = alloc_bootmem_bdata(bdata, size, align, goal, limit); in alloc_bootmem_core()
625 if (region) in alloc_bootmem_core()
626 return region; in alloc_bootmem_core()
/linux-4.4.14/arch/x86/boot/compressed/
Daslr.c115 static bool mem_contains(struct mem_vector *region, struct mem_vector *item) in mem_contains() argument
118 if (item->start < region->start) in mem_contains()
121 if (item->start + item->size > region->start + region->size) in mem_contains()
236 struct mem_vector region, img; in process_e820_entry() local
250 region.start = entry->addr; in process_e820_entry()
251 region.size = entry->size; in process_e820_entry()
254 if (region.start < minimum) in process_e820_entry()
255 region.start = minimum; in process_e820_entry()
258 region.start = ALIGN(region.start, CONFIG_PHYSICAL_ALIGN); in process_e820_entry()
261 if (region.start > entry->addr + entry->size) in process_e820_entry()
[all …]
/linux-4.4.14/drivers/staging/wilc1000/
Dlinux_wlan_common.h52 #define PRINT_D(region, ...) \ argument
55 ((atomic_read(&REGION)) & (region))) { \
61 #define PRINT_INFO(region, ...) \ argument
64 ((atomic_read(&REGION)) & (region))) { \
70 #define PRINT_WRN(region, ...) \ argument
73 ((atomic_read(&REGION)) & (region))) { \
95 #define PRINT_D(region, ...) \ argument
97 if (DEBUG == 1 && ((REGION)&(region))) { \
103 #define PRINT_INFO(region, ...) \ argument
105 if (INFO == 1 && ((REGION)&(region))) { \
[all …]
/linux-4.4.14/drivers/soc/ti/
Dknav_qmss_queue.c678 struct knav_region *region; in kdesc_fill_pool() local
681 region = pool->region; in kdesc_fill_pool()
682 pool->desc_size = region->desc_size; in kdesc_fill_pool()
687 dma_addr = region->dma_start + (region->desc_size * index); in kdesc_fill_pool()
726 return pool->region->dma_start + (virt - pool->region->virt_start); in knav_pool_desc_virt_to_dma()
733 return pool->region->virt_start + (dma - pool->region->dma_start); in knav_pool_desc_dma_to_virt()
750 struct knav_region *reg_itr, *region = NULL; in knav_pool_create() local
769 region = reg_itr; in knav_pool_create()
773 if (!region) { in knav_pool_create()
794 if (num_desc > (region->num_desc - region->used_desc)) { in knav_pool_create()
[all …]
Dknav_qmss.h228 struct knav_region *region; member
348 #define for_each_region(kdev, region) \ argument
349 list_for_each_entry(region, &kdev->regions, list)
/linux-4.4.14/drivers/video/fbdev/savage/
Dsavagefb_accel.c31 void savagefb_copyarea(struct fb_info *info, const struct fb_copyarea *region) in savagefb_copyarea() argument
34 int sx = region->sx, dx = region->dx; in savagefb_copyarea()
35 int sy = region->sy, dy = region->dy; in savagefb_copyarea()
38 if (!region->width || !region->height) in savagefb_copyarea()
47 sx += region->width - 1; in savagefb_copyarea()
48 dx += region->width - 1; in savagefb_copyarea()
54 sy += region->height - 1; in savagefb_copyarea()
55 dy += region->height - 1; in savagefb_copyarea()
62 BCI_SEND(BCI_W_H(region->width, region->height)); in savagefb_copyarea()
/linux-4.4.14/arch/cris/arch-v32/mach-fs/
Darbiter.c68 static void crisv32_arbiter_config(int region, int unused_slots) in crisv32_arbiter_config() argument
105 if (!requested_slots[region][client]) { in crisv32_arbiter_config()
111 if (!active_clients[region][client] in crisv32_arbiter_config()
121 NBR_OF_SLOTS / requested_slots[region][client]; in crisv32_arbiter_config()
144 while (!active_clients[region][client]) { in crisv32_arbiter_config()
152 if (region == EXT_REGION) in crisv32_arbiter_config()
155 else if (region == INT_REGION) in crisv32_arbiter_config()
200 int crisv32_arbiter_allocate_bandwidth(int client, int region, in crisv32_arbiter_allocate_bandwidth() argument
211 total_assigned += requested_slots[region][i]; in crisv32_arbiter_allocate_bandwidth()
212 total_clients += active_clients[region][i]; in crisv32_arbiter_allocate_bandwidth()
[all …]
/linux-4.4.14/arch/mips/include/asm/sn/sn0/
Dhubmd.h449 #define MD_MEMORY_CONFIG_DIR_TYPE_GET(region) (\ argument
450 (REMOTE_HUB_L(region, MD_MEMORY_CONFIG) & MMC_DIR_PREMIUM_MASK) >> \
459 #define MD_MIG_DIFF_THRESH_GET(region) ( \ argument
460 REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) & \
463 #define MD_MIG_DIFF_THRESH_SET(region, value) ( \ argument
464 REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \
467 #define MD_MIG_DIFF_THRESH_DISABLE(region) ( \ argument
468 REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \
469 REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) \
472 #define MD_MIG_DIFF_THRESH_ENABLE(region) ( \ argument
[all …]
/linux-4.4.14/drivers/net/wireless/ath/
Ddfs_pattern_detector.c31 enum nl80211_dfs_regions region; member
66 .region = NL80211_DFS_ETSI,
98 .region = NL80211_DFS_FCC,
123 .region = NL80211_DFS_JP,
140 get_dfs_domain_radar_types(enum nl80211_dfs_regions region) in get_dfs_domain_radar_types() argument
144 if (dfs_domains[i]->region == region) in get_dfs_domain_radar_types()
280 if (dpd->region == NL80211_DFS_UNSET) in dpd_add_pulse()
316 enum nl80211_dfs_regions region) in dpd_set_domain() argument
321 if (dpd->region == region) in dpd_set_domain()
324 dpd->region = NL80211_DFS_UNSET; in dpd_set_domain()
[all …]
Ddfs_pattern_detector.h98 enum nl80211_dfs_regions region);
103 enum nl80211_dfs_regions region; member
120 enum nl80211_dfs_regions region);
/linux-4.4.14/drivers/acpi/
Dnvs.c39 struct nvs_region *region; in acpi_nvs_register() local
41 region = kmalloc(sizeof(*region), GFP_KERNEL); in acpi_nvs_register()
42 if (!region) in acpi_nvs_register()
44 region->phys_start = start; in acpi_nvs_register()
45 region->size = size; in acpi_nvs_register()
46 list_add_tail(&region->node, &nvs_region_list); in acpi_nvs_register()
55 struct nvs_region *region; in acpi_nvs_for_each_region() local
57 list_for_each_entry(region, &nvs_region_list, node) { in acpi_nvs_for_each_region()
58 rc = func(region->phys_start, region->size, data); in acpi_nvs_for_each_region()
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_init.c154 if (pm8001_ha->memoryMap.region[i].virt_ptr != NULL) { in pm8001_free()
156 (pm8001_ha->memoryMap.region[i].total_len + in pm8001_free()
157 pm8001_ha->memoryMap.region[i].alignment), in pm8001_free()
158 pm8001_ha->memoryMap.region[i].virt_ptr, in pm8001_free()
159 pm8001_ha->memoryMap.region[i].phys_addr); in pm8001_free()
267 pm8001_ha->memoryMap.region[AAP1].num_elements = 1; in pm8001_alloc()
268 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
269 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
270 pm8001_ha->memoryMap.region[AAP1].alignment = 32; in pm8001_alloc()
273 pm8001_ha->memoryMap.region[IOP].num_elements = 1; in pm8001_alloc()
[all …]
Dpm8001_hwi.c208 pm8001_ha->memoryMap.region[AAP1].phys_addr_hi; in init_default_table_values()
210 pm8001_ha->memoryMap.region[AAP1].phys_addr_lo; in init_default_table_values()
215 pm8001_ha->memoryMap.region[IOP].phys_addr_hi; in init_default_table_values()
217 pm8001_ha->memoryMap.region[IOP].phys_addr_lo; in init_default_table_values()
226 pm8001_ha->memoryMap.region[IB + i].phys_addr_hi; in init_default_table_values()
228 pm8001_ha->memoryMap.region[IB + i].phys_addr_lo; in init_default_table_values()
230 (u8 *)pm8001_ha->memoryMap.region[IB + i].virt_ptr; in init_default_table_values()
232 pm8001_ha->memoryMap.region[IB + i].total_len; in init_default_table_values()
234 pm8001_ha->memoryMap.region[CI + i].phys_addr_hi; in init_default_table_values()
236 pm8001_ha->memoryMap.region[CI + i].phys_addr_lo; in init_default_table_values()
[all …]
/linux-4.4.14/include/linux/
Ddm-dirty-log.h57 int (*is_clean)(struct dm_dirty_log *log, region_t region);
70 int (*in_sync)(struct dm_dirty_log *log, region_t region,
85 void (*mark_region)(struct dm_dirty_log *log, region_t region);
86 void (*clear_region)(struct dm_dirty_log *log, region_t region);
100 int (*get_resync_work)(struct dm_dirty_log *log, region_t *region);
108 region_t region, int in_sync);
129 int (*is_remote_recovering)(struct dm_dirty_log *log, region_t region);
Ddm-region-hash.h51 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region);
64 int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block);
65 void dm_rh_set_state(struct dm_region_hash *rh, region_t region,
76 void dm_rh_dec(struct dm_region_hash *rh, region_t region);
Dmemblock.h389 #define for_each_memblock(memblock_type, region) \ argument
390 for (region = memblock.memblock_type.regions; \
391 region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \
392 region++)
Ddm-io.h81 struct dm_io_region *region, unsigned long *sync_error_bits);
/linux-4.4.14/drivers/md/
Ddm-region-hash.c121 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) in dm_rh_region_to_sector() argument
123 return region << rh->region_shift; in dm_rh_region_to_sector()
264 static unsigned rh_hash(struct dm_region_hash *rh, region_t region) in rh_hash() argument
266 return (unsigned) ((region * rh->prime) >> rh->shift) & rh->mask; in rh_hash()
269 static struct dm_region *__rh_lookup(struct dm_region_hash *rh, region_t region) in __rh_lookup() argument
272 struct list_head *bucket = rh->buckets + rh_hash(rh, region); in __rh_lookup()
275 if (reg->key == region) in __rh_lookup()
286 static struct dm_region *__rh_alloc(struct dm_region_hash *rh, region_t region) in __rh_alloc() argument
294 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc()
297 nreg->key = region; in __rh_alloc()
[all …]
Ddm-log-userspace-base.c24 region_t region; member
408 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean() argument
411 uint64_t region64 = (uint64_t)region; in userspace_is_clean()
435 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync() argument
439 uint64_t region64 = region; in userspace_in_sync()
474 (char *)&fe->region, in flush_one_by_one()
475 sizeof(fe->region), in flush_one_by_one()
501 group[count] = fe->region; in flush_by_group()
649 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() argument
661 fe->region = region; in userspace_mark_region()
[all …]
Ddm-log.c660 static int core_is_clean(struct dm_dirty_log *log, region_t region) in core_is_clean() argument
663 return log_test_bit(lc->clean_bits, region); in core_is_clean()
666 static int core_in_sync(struct dm_dirty_log *log, region_t region, int block) in core_in_sync() argument
669 return log_test_bit(lc->sync_bits, region); in core_in_sync()
718 static void core_mark_region(struct dm_dirty_log *log, region_t region) in core_mark_region() argument
721 log_clear_bit(lc, lc->clean_bits, region); in core_mark_region()
724 static void core_clear_region(struct dm_dirty_log *log, region_t region) in core_clear_region() argument
728 log_set_bit(lc, lc->clean_bits, region); in core_clear_region()
731 static int core_get_resync_work(struct dm_dirty_log *log, region_t *region) in core_get_resync_work() argument
739 *region = find_next_zero_bit_le(lc->sync_bits, in core_get_resync_work()
[all …]
Ddm-io.c90 unsigned region) in store_io_and_region_in_bio() argument
97 bio->bi_private = (void *)((unsigned long)io | region); in store_io_and_region_in_bio()
101 unsigned *region) in retrieve_io_and_region_from_bio() argument
106 *region = val & (DM_IO_MAX_REGIONS - 1); in retrieve_io_and_region_from_bio()
127 static void dec_count(struct io *io, unsigned int region, int error) in dec_count() argument
130 set_bit(region, &io->error_bits); in dec_count()
139 unsigned region; in endio() local
148 retrieve_io_and_region_from_bio(bio, &io, &region); in endio()
153 dec_count(io, region, error); in endio()
281 static void do_region(int rw, unsigned region, struct dm_io_region *where, in do_region() argument
[all …]
Ddm-raid1.c446 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available() local
448 if (log->type->in_sync(log, region, 0)) in mirror_available()
557 static inline int region_in_sync(struct mirror_set *ms, region_t region, in region_in_sync() argument
560 int state = dm_rh_get_state(ms->rh, region, may_block); in region_in_sync()
566 region_t region; in do_reads() local
571 region = dm_rh_bio_to_region(ms->rh, bio); in do_reads()
577 if (likely(region_in_sync(ms, region, 1))) in do_reads()
690 region_t region; in do_writes() local
710 region = dm_rh_bio_to_region(ms->rh, bio); in do_writes()
713 log->type->is_remote_recovering(log, region)) { in do_writes()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dbase.c39 nvkm_fb_tile_fini(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_fini() argument
41 fb->func->tile.fini(fb, region, tile); in nvkm_fb_tile_fini()
45 nvkm_fb_tile_init(struct nvkm_fb *fb, int region, u32 addr, u32 size, in nvkm_fb_tile_init() argument
48 fb->func->tile.init(fb, region, addr, size, pitch, flags, tile); in nvkm_fb_tile_init()
52 nvkm_fb_tile_prog(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) in nvkm_fb_tile_prog() argument
56 fb->func->tile.prog(fb, region, tile); in nvkm_fb_tile_prog()
58 nvkm_engine_tile(&device->gr->engine, region); in nvkm_fb_tile_prog()
60 nvkm_engine_tile(device->mpeg, region); in nvkm_fb_tile_prog()
124 fb->func->tile.prog(fb, i, &fb->tile.region[i]); in nvkm_fb_init()
138 fb->func->tile.fini(fb, i, &fb->tile.region[i]); in nvkm_fb_dtor()
/linux-4.4.14/drivers/media/platform/omap3isp/
Disphist.c91 reg_hor[c] = (conf->region[c].h_start << in hist_setup_regs()
93 | (conf->region[c].h_end << in hist_setup_regs()
95 reg_ver[c] = (conf->region[c].v_start << in hist_setup_regs()
97 | (conf->region[c].v_end << in hist_setup_regs()
325 if (user_cfg->region[c].h_start & ~ISPHIST_REG_START_END_MASK) in hist_validate_params()
327 if (user_cfg->region[c].h_end & ~ISPHIST_REG_START_END_MASK) in hist_validate_params()
329 if (user_cfg->region[c].v_start & ~ISPHIST_REG_START_END_MASK) in hist_validate_params()
331 if (user_cfg->region[c].v_end & ~ISPHIST_REG_START_END_MASK) in hist_validate_params()
333 if (user_cfg->region[c].h_start > user_cfg->region[c].h_end) in hist_validate_params()
335 if (user_cfg->region[c].v_start > user_cfg->region[c].v_end) in hist_validate_params()
[all …]
/linux-4.4.14/drivers/pci/
Dhost-bridge.c48 void pcibios_resource_to_bus(struct pci_bus *bus, struct pci_bus_region *region, in pcibios_resource_to_bus() argument
62 region->start = res->start - offset; in pcibios_resource_to_bus()
63 region->end = res->end - offset; in pcibios_resource_to_bus()
74 struct pci_bus_region *region) in pcibios_bus_to_resource() argument
89 if (region_contains(&bus_region, region)) { in pcibios_bus_to_resource()
95 res->start = region->start + offset; in pcibios_bus_to_resource()
96 res->end = region->end + offset; in pcibios_bus_to_resource()
Dsetup-bus.c529 struct pci_bus_region region; in pci_setup_cardbus() local
535 pcibios_resource_to_bus(bridge->bus, &region, res); in pci_setup_cardbus()
543 region.start); in pci_setup_cardbus()
545 region.end); in pci_setup_cardbus()
549 pcibios_resource_to_bus(bridge->bus, &region, res); in pci_setup_cardbus()
553 region.start); in pci_setup_cardbus()
555 region.end); in pci_setup_cardbus()
559 pcibios_resource_to_bus(bridge->bus, &region, res); in pci_setup_cardbus()
563 region.start); in pci_setup_cardbus()
565 region.end); in pci_setup_cardbus()
[all …]
Dbus.c110 struct pci_bus_region *region) in pci_clip_resource_to_region() argument
115 if (r.start < region->start) in pci_clip_resource_to_region()
116 r.start = region->start; in pci_clip_resource_to_region()
117 if (r.end > region->end) in pci_clip_resource_to_region()
118 r.end = region->end; in pci_clip_resource_to_region()
134 struct pci_bus_region *region) in pci_bus_alloc_from_region() argument
159 pci_clip_resource_to_region(bus, &avail, region); in pci_bus_alloc_from_region()
Dprobe.c180 struct pci_bus_region region, inverted_region; in __pci_read_base() local
281 region.start = l64; in __pci_read_base()
282 region.end = l64 + sz64; in __pci_read_base()
284 pcibios_bus_to_resource(dev->bus, res, &region); in __pci_read_base()
298 if (inverted_region.start != region.start) { in __pci_read_base()
301 res->end = region.end - region.start; in __pci_read_base()
303 pos, (unsigned long long)region.start); in __pci_read_base()
345 struct pci_bus_region region; in pci_read_bridge_io() local
373 region.start = base; in pci_read_bridge_io()
374 region.end = limit + io_granularity - 1; in pci_read_bridge_io()
[all …]
Drom.c28 struct pci_bus_region region; in pci_enable_rom() local
34 pcibios_resource_to_bus(pdev->bus, &region, res); in pci_enable_rom()
37 rom_addr |= region.start | PCI_ROM_ADDRESS_ENABLE; in pci_enable_rom()
Dsetup-res.c31 struct pci_bus_region region; in pci_update_resource() local
62 pcibios_resource_to_bus(dev->bus, &region, res); in pci_update_resource()
64 new = region.start | (res->flags & PCI_REGION_FLAG_MASK); in pci_update_resource()
100 new = region.start >> 16 >> 16; in pci_update_resource()
/linux-4.4.14/fs/proc/
Dnommu.c37 static int nommu_region_show(struct seq_file *m, struct vm_region *region) in nommu_region_show() argument
44 flags = region->vm_flags; in nommu_region_show()
45 file = region->vm_file; in nommu_region_show()
48 struct inode *inode = file_inode(region->vm_file); in nommu_region_show()
56 region->vm_start, in nommu_region_show()
57 region->vm_end, in nommu_region_show()
62 ((loff_t)region->vm_pgoff) << PAGE_SHIFT, in nommu_region_show()
Dtask_nommu.c21 struct vm_region *region; in task_mem() local
31 region = vma->vm_region; in task_mem()
32 if (region) { in task_mem()
33 size = kobjsize(region); in task_mem()
34 size += region->vm_end - region->vm_start; in task_mem()
44 if (region) in task_mem()
45 slack = region->vm_end - vma->vm_end; in task_mem()
100 struct vm_region *region; in task_statm() local
108 region = vma->vm_region; in task_statm()
109 if (region) { in task_statm()
[all …]
/linux-4.4.14/arch/cris/arch-v32/mach-a3/
Darbiter.c131 static void crisv32_arbiter_config(int arbiter, int region, int unused_slots) in crisv32_arbiter_config() argument
168 if (!arbiters[arbiter].requested_slots[region][client]) { in crisv32_arbiter_config()
174 if (!arbiters[arbiter].active_clients[region][client] || in crisv32_arbiter_config()
184 arbiters[arbiter].requested_slots[region][client]; in crisv32_arbiter_config()
207 while (!arbiters[arbiter].active_clients[region][client]) { in crisv32_arbiter_config()
217 if (region == EXT_REGION) in crisv32_arbiter_config()
220 else if (region == INT_REGION) in crisv32_arbiter_config()
285 int crisv32_arbiter_allocate_bandwidth(int client, int region, in crisv32_arbiter_allocate_bandwidth() argument
302 total_assigned += arbiters[arbiter].requested_slots[region][i]; in crisv32_arbiter_allocate_bandwidth()
303 total_clients += arbiters[arbiter].active_clients[region][i]; in crisv32_arbiter_allocate_bandwidth()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/arm/msm/
Dqcom,kpss-acc.txt4 There is one ACC register region per CPU within the KPSS remapped region as
5 well as an alias register region that remaps accesses to the ACC associated
6 with the CPU accessing the region.
21 the register region. An optional second element specifies
22 the base address and size of the alias register region.
Dqcom,saw2.txt35 the register region. An optional second element specifies
36 the base address and size of the alias register region.
/linux-4.4.14/arch/arm64/kernel/
Dalternative.c91 struct alt_region *region = alt_region; in __apply_alternatives() local
94 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
126 struct alt_region region = { in __apply_alternatives_multi_stop() local
138 __apply_alternatives(&region); in __apply_alternatives_multi_stop()
154 struct alt_region region = { in apply_alternatives() local
159 __apply_alternatives(&region); in apply_alternatives()
Dsetup.c200 struct memblock_region *region; in request_standard_resources() local
208 for_each_memblock(memory, region) { in request_standard_resources()
211 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in request_standard_resources()
212 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in request_standard_resources()
/linux-4.4.14/arch/openrisc/mm/
Dinit.c86 struct memblock_region *region; in map_ram() local
90 for_each_memblock(memory, region) { in map_ram()
91 p = (u32) region->base & PAGE_MASK; in map_ram()
92 e = p + (u32) region->size; in map_ram()
128 region->base, region->base + region->size); in map_ram()
/linux-4.4.14/arch/h8300/kernel/
Dsetup.c79 struct memblock_region *region; in bootmem_init() local
84 for_each_memblock(memory, region) { in bootmem_init()
85 memory_start = region->base; in bootmem_init()
86 memory_end = region->base + region->size; in bootmem_init()
116 for_each_memblock(reserved, region) { in bootmem_init()
117 reserve_bootmem(region->base, region->size, BOOTMEM_DEFAULT); in bootmem_init()
/linux-4.4.14/Documentation/devicetree/bindings/reserved-memory/
Dreserved-memory.txt9 Parameters for each memory region can be encoded into the device tree
50 - shared-dma-pool: This indicates a region of memory meant to be
57 of the region as part of its standard mapping of system memory,
59 than under the control of the device driver using the region.
61 - The operating system can use the memory in this region with the
62 limitation that the device driver(s) owning the region need to be
64 system can use that region to store volatile or cached data that
69 region for the default pool of the contiguous memory allocator.
74 nodes by adding a memory-region property to the device node.
76 memory-region (optional) - phandle, specifier pairs to children of /reserved-memory
[all …]
/linux-4.4.14/drivers/media/radio/wl128x/
Dfmdrv_rx.c54 if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) { in fm_rx_set_freq()
75 payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_set_freq()
120 curr_frq_in_khz = (fmdev->rx.region.bot_freq + ((u32)curr_frq * FM_FREQ_MUL)); in fm_rx_set_freq()
164 fmdev->rx.region.chanl_space = spacing * FM_FREQ_MUL; in fm_rx_set_channel_spacing()
193 last_frq = (fmdev->rx.region.top_freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_seek()
196 space_idx = fmdev->rx.region.chanl_space / FM_FREQ_MUL; in fm_rx_seek()
270 fmdev->rx.region.top_freq : in fm_rx_seek()
271 fmdev->rx.region.bot_freq; in fm_rx_seek()
274 fmdev->rx.region.bot_freq : in fm_rx_seek()
275 fmdev->rx.region.top_freq; in fm_rx_seek()
[all …]
Dfmdrv_tx.c199 int fm_tx_set_region(struct fmdev *fmdev, u8 region) in fm_tx_set_region() argument
204 if (region != FM_BAND_EUROPE_US && region != FM_BAND_JAPAN) { in fm_tx_set_region()
210 payload = (u16)region; in fm_tx_set_region()
Dfmdrv.h151 struct region_info region; /* Current selected band */ member
196 u8 region; member
/linux-4.4.14/drivers/video/console/
Dfbcon_ccw.c84 struct fb_fillrect region; in ccw_clear() local
88 region.color = attr_bgcol_ec(bgshift,vc,info); in ccw_clear()
89 region.dx = sy * vc->vc_font.height; in ccw_clear()
90 region.dy = vyres - ((sx + width) * vc->vc_font.width); in ccw_clear()
91 region.height = width * vc->vc_font.width; in ccw_clear()
92 region.width = height * vc->vc_font.height; in ccw_clear()
93 region.rop = ROP_COPY; in ccw_clear()
95 info->fbops->fb_fillrect(info, &region); in ccw_clear()
199 struct fb_fillrect region; in ccw_clear_margins() local
201 region.color = 0; in ccw_clear_margins()
[all …]
Dbitblit.c65 struct fb_fillrect region; in bit_clear() local
67 region.color = attr_bgcol_ec(bgshift, vc, info); in bit_clear()
68 region.dx = sx * vc->vc_font.width; in bit_clear()
69 region.dy = sy * vc->vc_font.height; in bit_clear()
70 region.width = width * vc->vc_font.width; in bit_clear()
71 region.height = height * vc->vc_font.height; in bit_clear()
72 region.rop = ROP_COPY; in bit_clear()
74 info->fbops->fb_fillrect(info, &region); in bit_clear()
214 struct fb_fillrect region; in bit_clear_margins() local
216 region.color = 0; in bit_clear_margins()
[all …]
Dfbcon_cw.c69 struct fb_fillrect region; in cw_clear() local
73 region.color = attr_bgcol_ec(bgshift,vc,info); in cw_clear()
74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear()
75 region.dy = sx * vc->vc_font.width; in cw_clear()
76 region.height = width * vc->vc_font.width; in cw_clear()
77 region.width = height * vc->vc_font.height; in cw_clear()
78 region.rop = ROP_COPY; in cw_clear()
80 info->fbops->fb_fillrect(info, &region); in cw_clear()
182 struct fb_fillrect region; in cw_clear_margins() local
184 region.color = 0; in cw_clear_margins()
[all …]
Dfbcon_ud.c70 struct fb_fillrect region; in ud_clear() local
75 region.color = attr_bgcol_ec(bgshift,vc,info); in ud_clear()
76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear()
77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear()
78 region.width = width * vc->vc_font.width; in ud_clear()
79 region.height = height * vc->vc_font.height; in ud_clear()
80 region.rop = ROP_COPY; in ud_clear()
82 info->fbops->fb_fillrect(info, &region); in ud_clear()
229 struct fb_fillrect region; in ud_clear_margins() local
231 region.color = 0; in ud_clear_margins()
[all …]
/linux-4.4.14/arch/openrisc/kernel/
Dsetup.c61 struct memblock_region *region; in setup_memory() local
66 for_each_memblock(memory, region) { in setup_memory()
67 memory_start = region->base; in setup_memory()
68 memory_end = region->base + region->size; in setup_memory()
98 for_each_memblock(reserved, region) { in setup_memory()
100 (u32) region->base, (u32) region->size); in setup_memory()
101 reserve_bootmem(region->base, region->size, BOOTMEM_DEFAULT); in setup_memory()
/linux-4.4.14/arch/tile/include/arch/
Dmpipe.h52 uint_reg_t region : 3; member
63 uint_reg_t region : 3;
129 uint_reg_t region : 3; member
140 uint_reg_t region : 3;
253 uint_reg_t region : 3; member
264 uint_reg_t region : 3;
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c70 rg = omapfb_get_mem_region(ofbi->region); in store_rotate_type()
120 omapfb_get_mem_region(ofbi->region); in store_mirror()
136 omapfb_put_mem_region(ofbi->region); in store_mirror()
276 omapfb_get_mem_region(ofbi->region); in store_overlays()
283 omapfb_put_mem_region(ofbi->region); in store_overlays()
317 omapfb_get_mem_region(ofbi->region); in store_overlays()
321 omapfb_put_mem_region(ofbi->region); in store_overlays()
410 omapfb_get_mem_region(ofbi->region); in store_overlays_rotate()
414 omapfb_put_mem_region(ofbi->region); in store_overlays_rotate()
435 return snprintf(buf, PAGE_SIZE, "%lu\n", ofbi->region->size); in show_size()
[all …]
Domapfb-main.c163 const struct vrfb *vrfb = &ofbi->region->vrfb; in omapfb_get_vrfb_offset()
192 return ofbi->region->vrfb.paddr[rot] in omapfb_get_region_rot_paddr()
195 return ofbi->region->paddr; in omapfb_get_region_rot_paddr()
202 return ofbi->region->vrfb.paddr[0]; in omapfb_get_region_paddr()
204 return ofbi->region->paddr; in omapfb_get_region_paddr()
210 return ofbi->region->vrfb.vaddr[0]; in omapfb_get_region_vaddr()
212 return ofbi->region->vaddr; in omapfb_get_region_vaddr()
457 unsigned long max_frame_size = ofbi->region->size; in check_fb_size()
504 struct omapfb2_mem_region *rg = ofbi->region; in setup_vrfb_rotation()
565 fbi->screen_base = ofbi->region->vrfb.vaddr[0]; in setup_vrfb_rotation()
[all …]
Domapfb-ioctl.c40 if (ofbi->id == ofbi->region->id) in get_mem_idx()
43 return OMAPFB_MEM_IDX_ENABLED | ofbi->region->id; in get_mem_idx()
81 old_rg = ofbi->region; in omapfb_setup_plane()
110 ofbi->region = new_rg; in omapfb_setup_plane()
166 ofbi->region = old_rg; in omapfb_setup_plane()
230 rg = ofbi->region; in omapfb_setup_mem()
247 if (ofbi2->region != rg) in omapfb_setup_mem()
278 rg = omapfb_get_mem_region(ofbi->region); in omapfb_query_mem()
/linux-4.4.14/drivers/video/fbdev/aty/
Dradeon_accel.c43 const struct fb_fillrect *region) in radeonfb_prim_fillrect() argument
52 OUTREG(DP_BRUSH_FRGD_CLR, rinfo->pseudo_palette[region->color]); in radeonfb_prim_fillrect()
54 OUTREG(DP_BRUSH_FRGD_CLR, region->color); in radeonfb_prim_fillrect()
63 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); in radeonfb_prim_fillrect()
64 OUTREG(DST_WIDTH_HEIGHT, (region->width << 16) | region->height); in radeonfb_prim_fillrect()
67 void radeonfb_fillrect(struct fb_info *info, const struct fb_fillrect *region) in radeonfb_fillrect() argument
76 cfb_fillrect(info, region); in radeonfb_fillrect()
85 memcpy(&modded, region, sizeof(struct fb_fillrect)); in radeonfb_fillrect()
/linux-4.4.14/arch/arm/mach-ixp4xx/include/mach/
Dplatform.h40 #define IXP4XX_EXP_BUS_BASE(region)\ argument
41 (IXP4XX_EXP_BUS_BASE_PHYS + ((region) * ixp4xx_exp_bus_size))
43 #define IXP4XX_EXP_BUS_END(region)\ argument
44 (IXP4XX_EXP_BUS_BASE(region) + ixp4xx_exp_bus_size - 1)
/linux-4.4.14/Documentation/nvdimm/
Dnvdimm.txt27 libnvdimm: region
28 libndctl: region enumeration example
182 regions. For simplicity a DIMM is allowed a PMEM "region" per each
226 by a region device with a dynamically assigned id (REGION0 - REGION5).
432 "nstype" indicates the integer type of namespace-device this region
436 the case where the region is defined by a SPA.
438 LIBNVDIMM: region
470 LIBNDCTL: region enumeration example
472 Sample region retrieval routines based on NFIT-unique data like
479 struct ndctl_region *region;
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/soc/ti/
Dkeystone-navigator-qmss.txt36 - Queue Peek region.
38 - Queue configuration region.
39 - Descriptor memory setup region.
40 - Queue Management/Queue Proxy region for queue Push.
41 - Queue Management/Queue Proxy region for queue Pop.
87 -- id : region number in QMSS.
88 -- region-spec : specifies the number of descriptors in the
89 region, specified as
92 descriptor in the region.
102 - PDSP internal RAM region.
[all …]
Dkeystone-navigator-dma.txt45 - Global control register region (global).
46 - Tx DMA channel configuration register region (txchan).
47 - Rx DMA channel configuration register region (rxchan).
48 - Tx DMA channel Scheduler configuration register region (txsched).
49 - Rx DMA flow configuration register region (rxflow).
/linux-4.4.14/arch/arm/kernel/
Dhead-nommu.S73 sub r6, r6, r5 @ Minimum size of region to map
75 rsb r6, r6, #31 @ ...so round up region size
77 orr r6, r6, #(1 << MPU_RSR_EN) @ Set region enabled bit
171 mov \tmp, \rgnr @ Use static region numbers
203 ands r5, r0, #MPUIR_DREGION_SZMASK @ 0 size d region => No MPU
223 mov r0, #0 @ BG region starts at 0x0
225 mov r6, #MPU_RSR_ALL_MEM @ 4GB region, enabled
227 setup_region r0, r5, r6, MPU_DATA_SIDE @ 0x0, BG region, enabled
229 setup_region r0, r5, r6, MPU_INSTR_SIDE @ 0x0, BG region, enabled
Dperf_event_v7.c1262 static u32 krait_get_pmresrn_event(unsigned int region) in krait_get_pmresrn_event() argument
1267 return pmresrn_table[region]; in krait_get_pmresrn_event()
1275 unsigned int region = EVENT_REGION(config_base); in krait_evt_setup() local
1288 val = krait_get_pmresrn_event(region); in krait_evt_setup()
1303 val = krait_read_pmresrn(region); in krait_evt_setup()
1307 krait_write_pmresrn(region, val); in krait_evt_setup()
1331 unsigned int region = EVENT_REGION(config_base); in krait_clearpmu() local
1342 val = krait_read_pmresrn(region); in krait_clearpmu()
1344 krait_write_pmresrn(region, val); in krait_clearpmu()
1435 static int krait_event_to_bit(struct perf_event *event, unsigned int region, in krait_event_to_bit() argument
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Dpci_of_scan.c78 struct pci_bus_region region; in of_pci_parse_addrs() local
112 region.start = base; in of_pci_parse_addrs()
113 region.end = base + size - 1; in of_pci_parse_addrs()
114 pcibios_bus_to_resource(dev->bus, res, &region); in of_pci_parse_addrs()
212 struct pci_bus_region region; in of_scan_pci_bridge() local
281 region.start = of_read_number(&ranges[1], 2); in of_scan_pci_bridge()
282 region.end = region.start + size - 1; in of_scan_pci_bridge()
283 pcibios_bus_to_resource(dev->bus, res, &region); in of_scan_pci_bridge()
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dhisilicon-hns-dsaf.txt16 The first region is external interface control register base and size.
17 The second region is SerDes base register and size.
18 The third region is the PPE register base and size.
19 The fourth region is dsa fabric base register and size.
20 The fifth region is cpld base register and size, it is not required if do not use cpld.
Daltera_tse.txt11 "control_port": MAC configuration space region
12 "tx_csr": xDMA Tx dispatcher control and status space region
13 "tx_desc": MSGDMA Tx dispatcher descriptor space region
14 "rx_csr" : xDMA Rx dispatcher control and status space region
15 "rx_desc": MSGDMA Rx dispatcher descriptor space region
16 "rx_resp": MSGDMA Rx dispatcher response space region
Dhisilicon-hix5hd2-gmac.txt6 The first region is the MAC register base and size.
7 The second region is external interface control register.
Dopencores-ethoc.txt6 first region is for the device registers and descriptor rings,
/linux-4.4.14/drivers/video/fbdev/
Dhpfb.c150 static void hpfb_fillrect(struct fb_info *p, const struct fb_fillrect *region) in hpfb_fillrect() argument
154 clr = region->color & 0xff; in hpfb_fillrect()
161 out_8(fb_regs + WMRR, (region->rop == ROP_COPY ? RR_SET : RR_INVERT)); in hpfb_fillrect()
165 out_8(fb_regs + WMRR, (region->rop == ROP_COPY ? RR_CLEAR : RR_NOOP)); in hpfb_fillrect()
167 topcat_blit(region->dx, region->dy, region->dx, region->dy, region->width, region->height, -1); in hpfb_fillrect()
Dcyber2000fb.c65 unsigned char __iomem *region; member
192 cyber2000fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) in cyber2000fb_copyarea() argument
199 cfb_copyarea(info, region); in cyber2000fb_copyarea()
204 cyber2000fb_writew(region->width - 1, CO_REG_PIXWIDTH, cfb); in cyber2000fb_copyarea()
205 cyber2000fb_writew(region->height - 1, CO_REG_PIXHEIGHT, cfb); in cyber2000fb_copyarea()
207 src = region->sx + region->sy * cfb->fb.var.xres_virtual; in cyber2000fb_copyarea()
208 dst = region->dx + region->dy * cfb->fb.var.xres_virtual; in cyber2000fb_copyarea()
210 if (region->sx < region->dx) { in cyber2000fb_copyarea()
211 src += region->width - 1; in cyber2000fb_copyarea()
212 dst += region->width - 1; in cyber2000fb_copyarea()
[all …]
Dfb-puv3.c119 const struct fb_fillrect *region) in unifb_prim_fillrect() argument
121 int awidth = region->width; in unifb_prim_fillrect()
122 int aheight = region->height; in unifb_prim_fillrect()
128 int dst_x0 = region->dx; in unifb_prim_fillrect()
130 int dst_y0 = region->dy; in unifb_prim_fillrect()
160 fg_color = region->color; in unifb_prim_fillrect()
179 const struct fb_fillrect *region) in unifb_fillrect() argument
185 sys_fillrect(info, region); in unifb_fillrect()
192 memcpy(&modded, region, sizeof(struct fb_fillrect)); in unifb_fillrect()
/linux-4.4.14/arch/nios2/
DKconfig158 bool "Set custom kernel MMU region base address"
161 This option allows you to set the virtual address of the kernel MMU region.
166 hex "Virtual base address of the kernel MMU region " if NIOS2_KERNEL_MMU_REGION_BASE_BOOL
169 This option allows you to set the virtual base address of the kernel MMU region.
172 bool "Set custom kernel region base address"
175 This option allows you to set the virtual address of the kernel region.
180 hex "Virtual base address of the kernel region " if NIOS2_KERNEL_REGION_BASE_BOOL
184 bool "Set custom I/O region base address"
187 This option allows you to set the virtual address of the I/O region.
192 hex "Virtual base address of the I/O region" if NIOS2_IO_REGION_BASE_BOOL
/linux-4.4.14/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smem.txt12 - memory-region:
15 Definition: handle to memory reservation for main SMEM memory region.
29 The following example shows the SMEM setup for MSM8974, with a main SMEM region
46 memory-region = <&smem_region>;
/linux-4.4.14/arch/sh/drivers/pci/
Dfixups-dreamcast.c35 struct pci_bus_region region; in gapspci_fixup_resources() local
65 pcibios_resource_to_bus(dev->bus, &region, &res); in gapspci_fixup_resources()
68 region.start, in gapspci_fixup_resources()
/linux-4.4.14/sound/soc/intel/baytrail/
Dsst-baytrail-dsp.c295 const struct sst_adsp_memregion *region; in sst_byt_init() local
304 region = byt_region; in sst_byt_init()
331 offset = region[i].start; in sst_byt_init()
332 size = (region[i].end - region[i].start) / region[i].blocks; in sst_byt_init()
335 for (j = 0; j < region[i].blocks; j++) { in sst_byt_init()
337 region[i].type, NULL, j, sst); in sst_byt_init()
/linux-4.4.14/Documentation/devicetree/bindings/misc/
Dfsl,qoriq-mc.txt19 the MC control register region.
26 -the first region is the command portal for the
29 -the second region is the MC control registers. This
30 region may not be present in some scenarios, such
/linux-4.4.14/drivers/scsi/
DNCR_D700.c178 int slot, u32 region, int differential) in NCR_D700_probe_one() argument
191 if (!request_region(region, 64, "NCR_D700")) { in NCR_D700_probe_one()
193 region); in NCR_D700_probe_one()
199 hostdata->base = ioport_map(region, 64); in NCR_D700_probe_one()
215 host->base = region; in NCR_D700_probe_one()
221 release_region(region, 64); in NCR_D700_probe_one()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnv50_fbcon.c65 nv50_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) in nv50_fbcon_copyarea() argument
79 OUT_RING(chan, region->dx); in nv50_fbcon_copyarea()
80 OUT_RING(chan, region->dy); in nv50_fbcon_copyarea()
81 OUT_RING(chan, region->width); in nv50_fbcon_copyarea()
82 OUT_RING(chan, region->height); in nv50_fbcon_copyarea()
85 OUT_RING(chan, region->sx); in nv50_fbcon_copyarea()
87 OUT_RING(chan, region->sy); in nv50_fbcon_copyarea()
Dnvc0_fbcon.c65 nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) in nvc0_fbcon_copyarea() argument
79 OUT_RING (chan, region->dx); in nvc0_fbcon_copyarea()
80 OUT_RING (chan, region->dy); in nvc0_fbcon_copyarea()
81 OUT_RING (chan, region->width); in nvc0_fbcon_copyarea()
82 OUT_RING (chan, region->height); in nvc0_fbcon_copyarea()
85 OUT_RING (chan, region->sx); in nvc0_fbcon_copyarea()
87 OUT_RING (chan, region->sy); in nvc0_fbcon_copyarea()
Dnouveau_fbcon.h51 int nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region);
57 int nv50_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region);
62 int nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region);
Dnv04_fbcon.c30 nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) in nv04_fbcon_copyarea() argument
42 OUT_RING(chan, (region->sy << 16) | region->sx); in nv04_fbcon_copyarea()
43 OUT_RING(chan, (region->dy << 16) | region->dx); in nv04_fbcon_copyarea()
44 OUT_RING(chan, (region->height << 16) | region->width); in nv04_fbcon_copyarea()
/linux-4.4.14/Documentation/device-mapper/
Dstatistics.txt9 Each user-defined region specifies a starting sector, length and step.
13 The I/O statistics counters for each step-sized area of a region are
25 Each region has a corresponding unique identifier, which we call a
26 region_id, that is assigned when the region is created. The region_id
27 must be supplied when querying statistics about the region, deleting the
28 region, etc. Unique region_ids enable multiple userspace programs to
45 Create a new region and return the region_id.
100 Delete the region with the specified id.
127 if they were specified when creating the region.
131 Print counters for each step-sized area of a region.
[all …]
Dswitch.txt6 paths. The path used for any specific region can be switched
43 spread with an address region size on the order of 10s of MBs, which
77 The number of 512-byte sectors in a region. Each region can be redirected
97 Modify the region table by specifying which regions are redirected to
101 The region number (region size was specified in constructor parameters).
102 If index is omitted, the next region (previous index + 1) is used.
125 Create a switch device with 64kB region size:
Ddm-log.txt5 A region (or portion of the address space) of the disk may be
7 a machine died while the region was being altered. In the case of
8 mirrors, a region would be considered dirty/inconsistent while you
11 Once all writes are complete, the region is considered clean again.
Ddm-io.txt10 sector and size of the region.
49 I/O to a large region but doesn't want to allocate a large number of individual
65 indicate success or failure on each individual region.
/linux-4.4.14/drivers/misc/sgi-xp/
Dxpc_partition.c414 int region; in xpc_discovery() local
461 for (region = 0; region < max_regions; region++) { in xpc_discovery()
466 dev_dbg(xpc_part, "searching region %d\n", region); in xpc_discovery()
468 for (nasid = (region * region_size * 2); in xpc_discovery()
469 nasid < ((region + 1) * region_size * 2); nasid += 2) { in xpc_discovery()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h55 struct nvkm_fb_tile region[16]; member
61 void nvkm_fb_tile_init(struct nvkm_fb *, int region, u32 addr, u32 size,
63 void nvkm_fb_tile_fini(struct nvkm_fb *, int region, struct nvkm_fb_tile *);
64 void nvkm_fb_tile_prog(struct nvkm_fb *, int region, struct nvkm_fb_tile *);
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnv_accel.c296 void nvidiafb_copyarea(struct fb_info *info, const struct fb_copyarea *region) in nvidiafb_copyarea() argument
304 cfb_copyarea(info, region); in nvidiafb_copyarea()
309 NVDmaNext(par, (region->sy << 16) | region->sx); in nvidiafb_copyarea()
310 NVDmaNext(par, (region->dy << 16) | region->dx); in nvidiafb_copyarea()
311 NVDmaNext(par, (region->height << 16) | region->width); in nvidiafb_copyarea()
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_accel.c326 void i810fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) in i810fb_copyarea() argument
333 cfb_copyarea(info, region); in i810fb_copyarea()
337 dx = region->dx * par->depth; in i810fb_copyarea()
338 sx = region->sx * par->depth; in i810fb_copyarea()
339 width = region->width * par->depth; in i810fb_copyarea()
340 sy = region->sy; in i810fb_copyarea()
341 dy = region->dy; in i810fb_copyarea()
342 height = region->height; in i810fb_copyarea()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.c329 dst = chip->region.idx[bank+1].remap_addr + offset; in snd_cs46xx_download()
492 dst = chip->region.idx[bank+1].remap_addr + offset; in snd_cs46xx_clear_BA1()
2829 struct snd_cs46xx_region *region = entry->private_data; in snd_cs46xx_io_read() local
2831 if (copy_to_user_fromio(buf, region->remap_addr + pos, count)) in snd_cs46xx_io_read()
2846 struct snd_cs46xx_region *region = &chip->region.idx[idx]; in snd_cs46xx_proc_init() local
2847 if (! snd_card_proc_new(card, region->name, &entry)) { in snd_cs46xx_proc_init()
2851 entry->size = region->size; in snd_cs46xx_proc_init()
2940 if (chip->region.idx[0].resource) in snd_cs46xx_free()
2950 struct snd_cs46xx_region *region = &chip->region.idx[idx]; in snd_cs46xx_free() local
2952 iounmap(region->remap_addr); in snd_cs46xx_free()
[all …]
Dcs46xx_lib.h70 writel(val, chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_poke()
77 return readl(chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_peek()
82 writel(val, chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_pokeBA0()
87 return readl(chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_peekBA0()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dengine.c62 nvkm_engine_tile(struct nvkm_engine *engine, int region) in nvkm_engine_tile() argument
66 engine->func->tile(engine, region, &fb->tile.region[region]); in nvkm_engine_tile()
/linux-4.4.14/drivers/ipack/devices/
Dipoctal.c274 struct ipack_region *region; in ipoctal_inst_slot() local
281 region = &ipoctal->dev->region[IPACK_IO_SPACE]; in ipoctal_inst_slot()
283 region->start, region->size); in ipoctal_inst_slot()
296 region = &ipoctal->dev->region[IPACK_INT_SPACE]; in ipoctal_inst_slot()
299 region->start, region->size); in ipoctal_inst_slot()
307 region = &ipoctal->dev->region[IPACK_MEM8_SPACE]; in ipoctal_inst_slot()
310 region->start, 0x8000); in ipoctal_inst_slot()
/linux-4.4.14/drivers/gpu/drm/gma500/
Daccel_2d.c303 const struct fb_copyarea *region) in psbfb_copyarea() argument
309 if (region->width == 8 || region->height == 8 || in psbfb_copyarea()
311 return drm_fb_helper_cfb_copyarea(info, region); in psbfb_copyarea()
313 psbfb_copyarea_accel(info, region); in psbfb_copyarea()
/linux-4.4.14/drivers/pcmcia/
Di82092.c605 struct pci_bus_region region; in i82092aa_set_mem_map() local
611 pcibios_resource_to_bus(sock_info->dev->bus, &region, mem->res); in i82092aa_set_mem_map()
620 if ( (mem->card_start > 0x3ffffff) || (region.start > region.end) || in i82092aa_set_mem_map()
626 (unsigned long long)region.start, in i82092aa_set_mem_map()
627 (unsigned long long)region.end, in i82092aa_set_mem_map()
641 i = (region.start >> 12) & 0x0fff; in i82092aa_set_mem_map()
650 i= (region.end >> 12) & 0x0fff; in i82092aa_set_mem_map()
669 i = ((mem->card_start - region.start) >> 12) & 0x3fff; in i82092aa_set_mem_map()
Dyenta_socket.c442 struct pci_bus_region region; in yenta_set_mem_map() local
448 pcibios_resource_to_bus(socket->dev->bus, &region, mem->res); in yenta_set_mem_map()
451 start = region.start; in yenta_set_mem_map()
452 stop = region.end; in yenta_set_mem_map()
693 struct pci_bus_region region; in yenta_allocate_res() local
709 region.start = config_readl(socket, addr_start) & mask; in yenta_allocate_res()
710 region.end = config_readl(socket, addr_end) | ~mask; in yenta_allocate_res()
711 if (region.start && region.end > region.start && !override_bios) { in yenta_allocate_res()
712 pcibios_bus_to_resource(dev->bus, res, &region); in yenta_allocate_res()
1032 struct pci_bus_region region; in yenta_config_init() local
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_mem.c208 static struct mem_block **get_heap(drm_radeon_private_t * dev_priv, int region) in get_heap() argument
210 switch (region) { in get_heap()
231 heap = get_heap(dev_priv, alloc->region); in radeon_mem_alloc()
266 heap = get_heap(dev_priv, memfree->region); in radeon_mem_free()
292 heap = get_heap(dev_priv, initheap->region); in radeon_mem_init_heap()
/linux-4.4.14/drivers/usb/core/
Dhcd-pci.c248 int region; in usb_hcd_pci_probe() local
250 for (region = 0; region < PCI_ROM_RESOURCE; region++) { in usb_hcd_pci_probe()
251 if (!(pci_resource_flags(dev, region) & in usb_hcd_pci_probe()
255 hcd->rsrc_start = pci_resource_start(dev, region); in usb_hcd_pci_probe()
256 hcd->rsrc_len = pci_resource_len(dev, region); in usb_hcd_pci_probe()
261 if (region == PCI_ROM_RESOURCE) { in usb_hcd_pci_probe()
/linux-4.4.14/drivers/pnp/
Dquirks.c366 struct pci_bus_region region; in quirk_intel_mch() local
389 region.start = addr_lo & ~0x7fff; in quirk_intel_mch()
391 region.start |= (u64) addr_hi << 32; in quirk_intel_mch()
392 region.end = region.start + 32*1024 - 1; in quirk_intel_mch()
396 pcibios_bus_to_resource(host->bus, &mch, &region); in quirk_intel_mch()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Dengine.h22 void (*tile)(struct nvkm_engine *, int region, struct nvkm_fb_tile *);
48 void nvkm_engine_tile(struct nvkm_engine *, int region);
/linux-4.4.14/Documentation/ia64/
Daliasing.txt35 supported attributes for each region. At boot-time, the kernel uses
41 learn the attributes supported by each region of physical address
47 memory Linux is actually using and the attribute for each region.
90 mappings may be either WB or UC. If the region being mapped
95 If the region is not in kern_memmap, the user mapping should use
120 If WC is requested, and the region in kern_memmap is either WC
121 or UC, and the EFI memory map designates the region as WC, then
145 If the region is in kern_memmap, we should use the attribute
153 region safely with kernel page table mappings, we can use
167 on whether the region is in kern_memmap or the EFI memory map.
[all …]
/linux-4.4.14/sound/soc/intel/haswell/
Dsst-haswell-dsp.c617 const struct sst_adsp_memregion *region; in hsw_init() local
626 region = lp_region; in hsw_init()
634 region = wpt_region; in hsw_init()
666 offset = region[i].start; in hsw_init()
667 size = (region[i].end - region[i].start) / region[i].blocks; in hsw_init()
670 for (j = 0; j < region[i].blocks; j++) { in hsw_init()
672 region[i].type, &sst_hsw_ops, j, sst); in hsw_init()
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750.c165 const struct fb_fillrect *region) in lynxfb_ops_fillrect() argument
186 color = (Bpp == 1) ? region->color : in lynxfb_ops_fillrect()
187 ((u32 *)info->pseudo_palette)[region->color]; in lynxfb_ops_fillrect()
188 rop = (region->rop != ROP_COPY) ? HW_ROP2_XOR : HW_ROP2_COPY; in lynxfb_ops_fillrect()
199 region->dx, region->dy, in lynxfb_ops_fillrect()
200 region->width, region->height, in lynxfb_ops_fillrect()
207 const struct fb_copyarea *region) in lynxfb_ops_copyarea() argument
232 base, pitch, region->sx, region->sy, in lynxfb_ops_copyarea()
233 base, pitch, Bpp, region->dx, region->dy, in lynxfb_ops_copyarea()
234 region->width, region->height, in lynxfb_ops_copyarea()
/linux-4.4.14/arch/sparc/kernel/
Dpci.c382 struct pci_bus_region region; in apb_fake_ranges() local
391 region.start = (first << 21); in apb_fake_ranges()
392 region.end = (last << 21) + ((1 << 21) - 1); in apb_fake_ranges()
393 pcibios_bus_to_resource(dev->bus, res, &region); in apb_fake_ranges()
399 region.start = (first << 29); in apb_fake_ranges()
400 region.end = (last << 29) + ((1 << 29) - 1); in apb_fake_ranges()
401 pcibios_bus_to_resource(dev->bus, res, &region); in apb_fake_ranges()
417 struct pci_bus_region region; in of_scan_pci_bridge() local
518 region.start = start = GET_64BIT(ranges, 1); in of_scan_pci_bridge()
519 region.end = region.start + size - 1; in of_scan_pci_bridge()
[all …]
/linux-4.4.14/drivers/video/fbdev/omap/
Dlcdc.c632 static int alloc_fbmem(struct omapfb_mem_region *region) in alloc_fbmem() argument
642 if (region->size > frame_size) in alloc_fbmem()
643 frame_size = region->size; in alloc_fbmem()
651 region->size = frame_size; in alloc_fbmem()
652 region->paddr = lcdc.vram_phys; in alloc_fbmem()
653 region->vaddr = lcdc.vram_virt; in alloc_fbmem()
654 region->alloc = 1; in alloc_fbmem()
679 return alloc_fbmem(&req_md->region[0]); in setup_fbmem()
Domapfb_main.c150 fbdev->mem_desc.region[i].size = in ctrl_init()
165 fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); in ctrl_init()
178 fbdev->mem_desc.region[i].paddr, in ctrl_init()
179 fbdev->mem_desc.region[i].vaddr, in ctrl_init()
180 fbdev->mem_desc.region[i].size); in ctrl_init()
389 rg = &plane->fbdev->mem_desc.region[plane->idx]; in set_fb_fix()
535 max_frame_size = fbdev->mem_desc.region[plane->idx].size; in set_fb_var()
808 if (pi->enabled && !fbdev->mem_desc.region[plane->idx].size) { in omapfb_setup_plane()
847 struct omapfb_mem_region *rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_setup_mem()
925 rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_query_mem()
[all …]
/linux-4.4.14/arch/tile/include/hv/
Ddrv_trio_intf.h121 #define HV_TRIO_PIO_OFFSET(region) \ argument
122 (((unsigned long long)(region) + HV_TRIO_FIRST_PIO_REGION) \
/linux-4.4.14/Documentation/devicetree/bindings/pci/
Daltera-pcie-msi.txt6 the length of the memory mapped region.
9 "vector_slave": vectors slave port region
Daltera-pcie.txt7 "Txs": TX slave port region
8 "Cra": Control register access region
Dnvidia,tegra20-pcie.txt14 "cs": configuration space region
38 prefetchable PCI regions. The first cell determines the type of region
40 - 0x81000000: I/O memory region
41 - 0x82000000: non-prefetchable memory region
42 - 0xc2000000: prefetchable memory region
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dmm.c382 struct ps3_dma_region *region; member
395 c->region->dev->bus_id, c->region->dev->dev_id); in _dma_dump_chunk()
396 DBG("%s:%d: r.bus_addr %lxh\n", func, line, c->region->bus_addr); in _dma_dump_chunk()
397 DBG("%s:%d: r.page_size %u\n", func, line, c->region->page_size); in _dma_dump_chunk()
398 DBG("%s:%d: r.len %lxh\n", func, line, c->region->len); in _dma_dump_chunk()
399 DBG("%s:%d: r.offset %lxh\n", func, line, c->region->offset); in _dma_dump_chunk()
470 result = lv1_unmap_device_dma_region(c->region->dev->bus_id, in dma_sb_free_chunk()
471 c->region->dev->dev_id, c->bus_addr, c->len); in dma_sb_free_chunk()
484 struct ps3_dma_region *r = c->region; in dma_ioc0_free_chunk()
534 c->region = r; in dma_sb_map_pages()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dxen.txt10 - reg: specifies the base physical address and size of a region in
12 HYPERVISOR_memory_op hypercall. The memory region is large enough to map
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dsyscon.txt3 System controller node represents a register region containing a set
14 - reg: the register region can be accessed from syscon
Datmel-gpbr.txt8 region.
Datmel-smc.txt12 region.
/linux-4.4.14/Documentation/devicetree/bindings/display/
Dst,stih4xx.txt6 - reg: Physical base address of the IP registers and length of memory mapped region.
14 - reg: Physical base address of the IP registers and length of memory mapped region.
32 - reg: Physical base address of the IP registers and length of memory mapped region.
48 - reg: Physical base address of the IP registers and length of memory mapped region.
60 - reg: Physical base address of the IP registers and length of memory mapped region.
76 - reg: Physical base address of the IP registers and length of memory mapped region.
89 - reg: Physical base address of the IP registers and length of memory mapped region.
105 - reg: Physical base address of the IP registers and length of memory mapped region.
/linux-4.4.14/arch/x86/platform/uv/
Dbios_uv.c87 long *region, long *ssn) in uv_bios_get_sn_info() argument
105 if (region) in uv_bios_get_sn_info()
106 *region = part.region_size; in uv_bios_get_sn_info()
/linux-4.4.14/arch/arm/boot/dts/
Dk2hk-netcp.dtsi35 "region", "push", "pop";
47 "region", "push", "pop";
107 region-12 {
109 region-spec = <8192 128>; /* num_desc desc_size */
Datlas7-evb.dts49 memory-region = <&nanddisk_reserved>;
82 memory-region = <&vpp_reserved>;
Dk2l-netcp.dtsi35 "region", "push", "pop";
89 region-12 {
91 region-spec = <8192 128>; /* num_desc desc_size */
Dk2e-netcp.dtsi35 "region", "push", "pop";
90 region-12 {
92 region-spec = <8192 128>; /* num_desc desc_size */
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dcommon.c467 int region; in ixp4xx_sys_init() local
472 for (region = 0; region < 7; region++) { in ixp4xx_sys_init()
473 if((*(IXP4XX_EXP_REG(0x4 * region)) & 0x200)) { in ixp4xx_sys_init()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Ddcsr.txt57 This node represents the region of DCSR space allocated to the EPU
114 This node represents the region of DCSR space allocated to the NPC
151 This node represents the region of DCSR space allocated to the NXC
175 This node represents the region of DCSR space allocated to
209 This node represents the region of DCSR space allocated to
238 This node represents the region of DCSR space allocated to
266 This node represents the region of DCSR space allocated to
298 This node represents the region of DCSR space allocated to
327 This node represents the region of DCSR space allocated to
356 This node represents the region of DCSR space allocated to
Dmcm.txt8 The LAW node represents the region of CCSR space where local access
37 The MPX LAW node represents the region of CCSR space where MCM config
Decm.txt8 The LAW node represents the region of CCSR space where local access
37 The E500 LAW node represents the region of CCSR space where ECM config
/linux-4.4.14/Documentation/
Dio-mapping.txt12 'base' is the bus address of the region to be made
13 mappable, while 'size' indicates how large a mapping region to
26 'offset' is the offset within the defined mapping region.
27 Accessing addresses beyond the region specified in the
DDMA-API.txt39 This routine allocates a region of <size> bytes of consistent memory.
41 It returns a pointer to the allocated region (in the processor's virtual
46 the region.
69 Free a region of consistent memory you previously allocated. dev,
211 addressable region for the device, i.e., if the DMA address of
228 correctly, the mapped region must begin exactly on a cache line
238 of the memory region by the software and before it is handed off to
262 Unmaps the region previously mapped. All the parameters passed in
498 Declare region of memory to be handed out by dma_alloc_coherent() when
502 assigned (this will be ioremapped so the CPU can access the region).
[all …]
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dicp_qat_uclo.h117 struct icp_qat_uclo_region *region; member
127 struct icp_qat_uclo_region *region; member
260 char region; member
Dqat_uclo.c82 ae_slice->region = kzalloc(sizeof(*ae_slice->region), GFP_KERNEL); in qat_uclo_init_ae_data()
83 if (!ae_slice->region) in qat_uclo_init_ae_data()
90 ae_slice->page->region = ae_slice->region; in qat_uclo_init_ae_data()
94 kfree(ae_slice->region); in qat_uclo_init_ae_data()
95 ae_slice->region = NULL; in qat_uclo_init_ae_data()
109 kfree(ae_data->ae_slices[i].region); in qat_uclo_free_ae_data()
110 ae_data->ae_slices[i].region = NULL; in qat_uclo_free_ae_data()
362 switch (init_mem->region) { in qat_uclo_init_ae_memory()
373 init_mem->region); in qat_uclo_init_ae_memory()
/linux-4.4.14/Documentation/arm/
DPorting85 it must be located at 32768 bytes into a 128MB region. Previous
113 `pio' is the physical address of an 8MB region containing IO for
116 `vio' is the virtual address of the 8MB debugging region.
118 It is expected that the debugging region will be re-initialised
131 region above).
Dmemory.txt44 ffc00000 ffefffff Fixmap mapping region. Addresses provided
52 be dynamically placed in this region.
59 PAGE_OFFSET high_memory-1 Kernel direct-mapped RAM region.
DBooting112 The tagged list must be placed in a region of memory where neither
128 placed in a region of memory where the kernel decompressor will not
129 overwrite it, whilst remaining within the region which will be covered
141 a region of memory where the kernel decompressor will not overwrite it
142 while also with the region which will be covered by the kernel's
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Damlogic,meson8b-clkc.txt11 mapped region.
13 mapped region.
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c242 } region; member
390 struct __crb *crb = &entry->region.crb; in qlcnic_dump_crb()
407 struct __ctrl *ctr = &entry->region.ctrl; in qlcnic_dump_ctrl()
506 struct __mux *mux = &entry->region.mux; in qlcnic_dump_mux()
524 struct __queue *que = &entry->region.que; in qlcnic_dump_que()
548 struct __ocm *ocm = &entry->region.ocm; in qlcnic_dump_ocm()
564 struct __mem *rom = &entry->region.mem; in qlcnic_read_rom()
594 struct __cache *l1 = &entry->region.cache; in qlcnic_dump_l1_cache()
620 struct __cache *l2 = &entry->region.cache; in qlcnic_dump_l2_cache()
859 struct __mem *mem = &entry->region.mem; in qlcnic_read_memory()
[all …]
/linux-4.4.14/drivers/char/agp/
Dfrontend.c163 int agp_create_segment(struct agp_client *client, struct agp_region *region) in agp_create_segment() argument
170 seg = kzalloc((sizeof(struct agp_segment_priv) * region->seg_count), GFP_KERNEL); in agp_create_segment()
172 kfree(region->seg_list); in agp_create_segment()
173 region->seg_list = NULL; in agp_create_segment()
176 user_seg = region->seg_list; in agp_create_segment()
178 for (i = 0; i < region->seg_count; i++) { in agp_create_segment()
183 kfree(region->seg_list); in agp_create_segment()
184 region->seg_list = NULL; in agp_create_segment()
192 agp_add_seg_to_client(client, ret_seg, region->seg_count); in agp_create_segment()
/linux-4.4.14/Documentation/devicetree/bindings/soc/fsl/
Dbman-portals.txt27 Definition: Two regions. The first is the cache-enabled region of
28 the portal. The second is the cache-inhibited region of
/linux-4.4.14/sound/soc/codecs/
Dwm_adsp.c1012 const struct wmfw_region *region) in wm_adsp_parse_coeff() argument
1017 const u8 *data = region->data; in wm_adsp_parse_coeff()
1060 const struct wmfw_region *region; in wm_adsp_load() local
1163 pos - firmware->size > sizeof(*region)) { in wm_adsp_load()
1164 region = (void *)&(firmware->data[pos]); in wm_adsp_load()
1168 offset = le32_to_cpu(region->offset) & 0xffffff; in wm_adsp_load()
1169 type = be32_to_cpu(region->type) & 0xff; in wm_adsp_load()
1175 text = kzalloc(le32_to_cpu(region->len) + 1, in wm_adsp_load()
1180 ret = wm_adsp_parse_coeff(dsp, region); in wm_adsp_load()
1186 text = kzalloc(le32_to_cpu(region->len) + 1, in wm_adsp_load()
[all …]
/linux-4.4.14/kernel/power/
Dsnapshot.c845 struct nosave_region *region; in __register_nosave_region() local
852 region = list_entry(nosave_regions.prev, in __register_nosave_region()
854 if (region->end_pfn == start_pfn) { in __register_nosave_region()
855 region->end_pfn = end_pfn; in __register_nosave_region()
861 region = kmalloc(sizeof(struct nosave_region), GFP_KERNEL); in __register_nosave_region()
862 BUG_ON(!region); in __register_nosave_region()
865 region = memblock_virt_alloc(sizeof(struct nosave_region), 0); in __register_nosave_region()
866 region->start_pfn = start_pfn; in __register_nosave_region()
867 region->end_pfn = end_pfn; in __register_nosave_region()
868 list_add_tail(&region->list, &nosave_regions); in __register_nosave_region()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dbase.c29 nvkm_gr_tile(struct nvkm_engine *engine, int region, struct nvkm_fb_tile *tile) in nvkm_gr_tile() argument
33 gr->func->tile(gr, region, tile); in nvkm_gr_tile()
Dpriv.h20 void (*tile)(struct nvkm_gr *, int region, struct nvkm_fb_tile *);
/linux-4.4.14/arch/arm/mm/
Dproc-arm946.S336 mcr p15, 0, r0, c6, c3, 0 @ disable memory region 3~7
343 mcr p15, 0, r0, c6, c0, 0 @ set region 0, default
356 mcr p15, 0, r0, c2, c0, 0 @ region 1,2 d-cacheable
357 mcr p15, 0, r0, c2, c0, 1 @ region 1,2 i-cacheable
361 mov r0, #0x02 @ region 1 write bufferred
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_verbs.c2300 struct ib_umem *region; in nes_reg_user_mr() local
2321 region = ib_umem_get(pd->uobject->context, start, length, acc, 0); in nes_reg_user_mr()
2322 if (IS_ERR(region)) { in nes_reg_user_mr()
2323 return (struct ib_mr *)region; in nes_reg_user_mr()
2329 ib_umem_offset(region), region->page_size); in nes_reg_user_mr()
2331 skip_pages = ((u32)ib_umem_offset(region)) >> 12; in nes_reg_user_mr()
2334 ib_umem_release(region); in nes_reg_user_mr()
2358 ib_umem_release(region); in nes_reg_user_mr()
2364 ib_umem_release(region); in nes_reg_user_mr()
2368 nesmr->region = region; in nes_reg_user_mr()
[all …]
/linux-4.4.14/drivers/gpu/drm/udl/
Dudl_fb.c297 static void udl_fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) in udl_fb_copyarea() argument
301 drm_fb_helper_sys_copyarea(info, region); in udl_fb_copyarea()
303 udl_handle_damage(&ufbdev->ufb, region->dx, region->dy, region->width, in udl_fb_copyarea()
304 region->height); in udl_fb_copyarea()
/linux-4.4.14/Documentation/devicetree/bindings/bus/
Dmvebu-mbus.txt35 the memory region of the PCIe driver.
38 the PCIe memory region.
42 I/O region of the PCIe driver.
190 a region large enough available, and with the required alignment.
193 of 0xf0000000, or 0xd0000000 for the NOR device shown above, if such region is
209 loader at the address listed in the ranges property, since access to that region
/linux-4.4.14/Documentation/target/
Dtcmu-design.txt91 The core of the TCMU interface is a memory region that is shared
92 between kernel and userspace. Within this region is: a control area
101 userspace to determine how large the shared region is) and signaling
104 There are no embedded pointers in the memory region. Everything is
105 expressed as an offset from the region's starting address. This allows
107 the region mapped at a different virtual address.
113 The mailbox is always at the start of the shared memory region, and
122 of the memory region, to account for the mailbox size.
151 overall shared memory region, not the entry. The data in/out buffers
158 of the region.
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpci.c1190 struct resource *region = NULL; in fixup_u4_pcie() local
1208 if (!region || resource_size(r) > resource_size(region)) in fixup_u4_pcie()
1209 region = r; in fixup_u4_pcie()
1212 if (region == 0) in fixup_u4_pcie()
1216 printk(KERN_INFO "PCI: Fixup U4 PCIe bridge range: %pR\n", region); in fixup_u4_pcie()
1222 reg = ((region->start >> 16) & 0xfff0) | (region->end & 0xfff00000); in fixup_u4_pcie()
/linux-4.4.14/arch/cris/include/arch-v32/mach-fs/mach/
Darbiter.h21 int crisv32_arbiter_allocate_bandwidth(int client, int region,
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/
Darbiter.h27 int crisv32_arbiter_allocate_bandwidth(int client, int region,
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Darm,gic.txt50 first region is the GIC distributor register base and size. The 2nd region is
98 size of the VGIC registers. The first additional region is the GIC
100 region is the GIC virtual cpu interface register base and size.
Dlsi,zevio-intc.txt7 region.
/linux-4.4.14/Documentation/DocBook/
Dkernel-api.xml.db127 API-bitmap-find-free-region
128 API-bitmap-release-region
129 API-bitmap-allocate-region
385 API-region-intersects
392 API-release-mem-region-adjustable
397 API---request-region
398 API---release-region
435 API-pci-release-region
436 API-pci-request-region
437 API-pci-request-region-exclusive
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/rtc/
Dmaxim,ds1742.txt6 mapped region.
Dlpc32xx-rtc.txt6 region.
Ddigicolor-rtc.txt8 region.
Datmel,at91rm9200-rtc.txt6 region.
Dimxdi-rtc.txt8 region.
Dorion-rtc.txt9 region.
Dsunxi-rtc.txt8 region.
Dsun6i-rtc.txt8 memory mapped region.
Dstmp3xxx-rtc.txt7 region.
Dsa1100-rtc.txt6 region.
/linux-4.4.14/drivers/ps3/
Dps3av.c51 int region; member
661 if (ps3av->region & PS3AV_REGION_60) in ps3av_hdmi_get_id()
794 if (ps3av->region & PS3AV_REGION_60) in ps3av_auto_videomode()
798 if (ps3av->region & PS3AV_REGION_RGB) in ps3av_auto_videomode()
967 ps3av->region = PS3AV_REGION_60; in ps3av_probe()
971 ps3av->region = PS3AV_REGION_50; in ps3av_probe()
974 ps3av->region = PS3AV_REGION_50 | PS3AV_REGION_RGB; in ps3av_probe()
977 ps3av->region = PS3AV_REGION_60; in ps3av_probe()
/linux-4.4.14/drivers/staging/media/bcm2048/
Dradio-bcm2048.c277 u8 region; member
319 .region = 0,
327 .region = 1,
335 .region = 2,
343 .region = 3,
726 static int bcm2048_set_region(struct bcm2048_device *bdev, u8 region) in bcm2048_set_region() argument
731 if (region >= ARRAY_SIZE(region_configs)) in bcm2048_set_region()
735 bdev->region_info = region_configs[region]; in bcm2048_set_region()
737 if (region_configs[region].bottom_frequency < 87500) in bcm2048_set_region()
750 if (bdev->frequency < region_configs[region].bottom_frequency || in bcm2048_set_region()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dgpio-stericsson-coh901.txt6 region.
/linux-4.4.14/Documentation/devicetree/bindings/watchdog/
Dqca-ar7130-wdt.txt6 region.
Dpnx4008-wdt.txt6 region.
Dstericsson-coh901327.txt6 region.
/linux-4.4.14/arch/arm/
DKconfig-nommu42 placed at address 0x00000000. However, this region may be
45 If the region contains read-write memory, say 'n' here.
/linux-4.4.14/Documentation/devicetree/bindings/staging/iio/adc/
Dlpc32xx-adc.txt6 region.
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/
Dlpc32xx-tsc.txt6 region.
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-st-ddci2c.txt6 region.
Di2c-sirf.txt6 region.
Di2c-hix5hd2.txt6 region.
/linux-4.4.14/Documentation/devicetree/bindings/spi/
Dspi-xtensa-xtfpga.txt9 region.
/linux-4.4.14/Documentation/filesystems/
Dmandatory-locking.txt122 2. If a process has locked a region of a file with a mandatory read lock, then
123 other processes are permitted to read from that region. If any of these
124 processes attempts to write to the region it will block until the lock is
129 3. If a process has locked a region of a file with a mandatory write lock, all
130 attempts to read or write to that region block until the lock is released,
154 The affected region is usually defined as stretching from the current position
/linux-4.4.14/Documentation/powerpc/
Dfirmware-assisted-dump.txt50 or 256MB) of RAM to the previous registered region. It will
107 to hold CPU state, HPTE region, boot memory dump and elfcore
109 is *not* released: this region will be kept permanently reserved,
111 content in addition to CPU state and HPTE region, in the case a
173 the control files and debugfs file to display memory reserved region.
203 region that are held for saving crash dump. To release the
223 <region>: [<start>-<end>] <reserved-size> bytes, Dumped: <dump-size>
/linux-4.4.14/Documentation/arm64/
Dbooting.txt51 any 2M region which must be mapped with any specific attributes.
54 the 512 MB region starting at text_offset bytes below the kernel Image.
123 The region between the 2 MB aligned base address and the start of the
131 memreserve region in the device tree) will be considered as available to
218 memory (communicated to the kernel by a /memreserve/ region in the
220 contained in the reserved region. A wfe instruction may be inserted
231 to the kernel by a /memreserve/ region in the device tree). The
/linux-4.4.14/drivers/bus/
Darm-ccn.c1320 int (*callback)(struct arm_ccn *ccn, int region, in arm_ccn_for_each_valid_region() argument
1323 int region; in arm_ccn_for_each_valid_region() local
1325 for (region = 0; region < CCN_NUM_REGIONS; region++) { in arm_ccn_for_each_valid_region()
1331 4 * (region / 32)); in arm_ccn_for_each_valid_region()
1332 if (!(val & (1 << (region % 32)))) in arm_ccn_for_each_valid_region()
1335 base = ccn->base + region * CCN_REGION_SIZE; in arm_ccn_for_each_valid_region()
1342 err = callback(ccn, region, base, type, id); in arm_ccn_for_each_valid_region()
1350 static int arm_ccn_get_nodes_num(struct arm_ccn *ccn, int region, in arm_ccn_get_nodes_num() argument
1362 static int arm_ccn_init_nodes(struct arm_ccn *ccn, int region, in arm_ccn_init_nodes() argument
1367 dev_dbg(ccn->dev, "Region %d: id=%u, type=0x%02x\n", region, id, type); in arm_ccn_init_nodes()
/linux-4.4.14/Documentation/vm/
Dsoft-dirty.txt33 unmaps a previously mapped memory region and then maps a new one at exactly
36 memory region renewal the kernel always marks new memory regions (and
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/
Dcpm.txt11 - reg : A 48-byte region beginning with CPCR.
34 parameter RAM region (if it has one).
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Dehci-orion.txt6 region.
Dohci-nxp.txt6 region.
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dcdns,xtfpga-i2s.txt5 - reg: memory region (address and length) with device registers.
/linux-4.4.14/Documentation/mtd/nand/
Dpxa3xx-nand.txt101 searched within the 'data' region, and not in the usual OOB region.
104 position (since it belongs to the data region) and every used block is
/linux-4.4.14/Documentation/virtual/kvm/devices/
Darm-vgic.txt23 This address needs to be 4K aligned and the region covers 4 KByte.
28 This address needs to be 4K aligned and the region covers 4 KByte.
33 This address needs to be 64K aligned and the region covers 64 KByte.
/linux-4.4.14/drivers/nvdimm/
DMakefile20 libnvdimm-y += region.o
/linux-4.4.14/drivers/mtd/chips/
Dcfi_cmdset_0001.c2459 struct mtd_erase_region_info *region; in cfi_intelext_save_locks() local
2465 region = &mtd->eraseregions[i]; in cfi_intelext_save_locks()
2466 if (!region->lockmap) in cfi_intelext_save_locks()
2469 for (block = 0; block < region->numblocks; block++){ in cfi_intelext_save_locks()
2470 len = region->erasesize; in cfi_intelext_save_locks()
2471 adr = region->offset + block * len; in cfi_intelext_save_locks()
2476 set_bit(block, region->lockmap); in cfi_intelext_save_locks()
2478 clear_bit(block, region->lockmap); in cfi_intelext_save_locks()
2559 struct mtd_erase_region_info *region; in cfi_intelext_restore_locks() local
2565 region = &mtd->eraseregions[i]; in cfi_intelext_restore_locks()
[all …]
/linux-4.4.14/drivers/staging/speakup/
DDefaultKeyAssignments40 KeyPad-/ Mark and Cut screen region.
41 InsKeyPad-/ Paste screen region into any console.
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c356 static void vmw_fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) in vmw_fb_copyarea() argument
358 cfb_copyarea(info, region); in vmw_fb_copyarea()
359 vmw_fb_dirty_mark(info->par, region->dx, region->dy, in vmw_fb_copyarea()
360 region->width, region->height); in vmw_fb_copyarea()
/linux-4.4.14/Documentation/kdump/
Dkdump.txt31 region just before rebooting into the dump-capture kernel.
37 For s390x, when kdump is triggered, the crashkernel region is exchanged
38 with the region [0, crashkernel region size] and then the kdump kernel
39 runs in [0, crashkernel region size]. Therefore no relocatable kernel is
199 kexec boot loader will load it in memory region reserved for dump-capture
202 Otherwise it should be the start of memory region reserved for
204 start of memory region reserved for dump-capture kernel.
232 The crashkernel region can be automatically placed by the system
302 The region may be automatically placed on ia64, see the

123