Home
last modified time | relevance | path

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

123

/linux-4.1.27/arch/um/kernel/
Dphysmem.c131 struct iomem_region *region = iomem_regions; in phys_mapping() local
133 while (region != NULL) { in phys_mapping()
134 if ((phys >= region->phys) && in phys_mapping()
135 (phys < region->phys + region->size)) { in phys_mapping()
136 fd = region->fd; in phys_mapping()
137 *offset_out = phys - region->phys; in phys_mapping()
140 region = region->next; in phys_mapping()
186 struct iomem_region *region = iomem_regions; in find_iomem() local
188 while (region != NULL) { in find_iomem()
189 if (!strcmp(region->driver, driver)) { in find_iomem()
[all …]
/linux-4.1.27/sound/soc/codecs/
Dwm_adsp.c232 struct wm_adsp_alg_region region; member
343 static unsigned int wm_adsp_region_to_reg(struct wm_adsp_region const *region, in wm_adsp_region_to_reg() argument
346 if (WARN_ON(!region)) in wm_adsp_region_to_reg()
348 switch (region->type) { in wm_adsp_region_to_reg()
350 return region->base + (offset * 3); in wm_adsp_region_to_reg()
352 return region->base + (offset * 2); in wm_adsp_region_to_reg()
354 return region->base + (offset * 2); in wm_adsp_region_to_reg()
356 return region->base + (offset * 2); in wm_adsp_region_to_reg()
358 return region->base + (offset * 2); in wm_adsp_region_to_reg()
379 struct wm_adsp_alg_region *region = &ctl->region; in wm_coeff_write_control() local
[all …]
/linux-4.1.27/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()
542 obj_desc->region.address = ACPI_PTR_TO_PHYSADDR(table); in acpi_ds_eval_table_region_operands()
543 obj_desc->region.length = table->length; in acpi_ds_eval_table_region_operands()
547 ACPI_FORMAT_UINT64(obj_desc->region.address), in acpi_ds_eval_table_region_operands()
548 obj_desc->region.length)); in acpi_ds_eval_table_region_operands()
552 obj_desc->region.flags |= AOPOBJ_DATA_VALID; in acpi_ds_eval_table_region_operands()
Dutdelete.c223 if (!(object->region.node->flags & ANOBJ_TEMPORARY)) { in acpi_ut_delete_internal_obj()
224 acpi_ut_remove_address_range(object->region.space_id, in acpi_ut_delete_internal_obj()
225 object->region.node); in acpi_ut_delete_internal_obj()
235 handler_desc = object->region.handler; in acpi_ut_delete_internal_obj()
248 next_desc->region.next; in acpi_ut_delete_internal_obj()
254 last_obj_ptr = &next_desc->region.next; in acpi_ut_delete_internal_obj()
255 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"}
545 while (next->region.next) { in acpi_ex_dump_object()
551 next = next->region.next; in acpi_ex_dump_object()
758 acpi_ut_get_region_name(obj_desc->region. in acpi_ex_dump_operand()
[all …]
Dnsdump.c345 acpi_ut_get_region_name(obj_desc->region. in acpi_ns_dump_one_object()
347 if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { in acpi_ns_dump_one_object()
350 region. in acpi_ns_dump_one_object()
352 obj_desc->region.length); in acpi_ns_dump_one_object()
383 region_obj->region. in acpi_ns_dump_one_object()
392 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.1.27/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.1.27/mm/
Dnommu.c589 struct vm_region *region, *last; in validate_nommu_regions() local
601 region = rb_entry(p, struct vm_region, vm_rb); in validate_nommu_regions()
604 BUG_ON(unlikely(region->vm_end <= region->vm_start)); in validate_nommu_regions()
605 BUG_ON(unlikely(region->vm_top < region->vm_end)); in validate_nommu_regions()
606 BUG_ON(unlikely(region->vm_start < last->vm_top)); in validate_nommu_regions()
620 static void add_nommu_region(struct vm_region *region) in add_nommu_region() argument
632 if (region->vm_start < pregion->vm_start) in add_nommu_region()
634 else if (region->vm_start > pregion->vm_start) in add_nommu_region()
636 else if (pregion == region) in add_nommu_region()
642 rb_link_node(&region->vm_rb, parent, p); in add_nommu_region()
[all …]
Dbootmem.c543 void *region; in alloc_bootmem_bdata() local
580 region = phys_to_virt(PFN_PHYS(bdata->node_min_pfn) + in alloc_bootmem_bdata()
582 memset(region, 0, size); in alloc_bootmem_bdata()
587 kmemleak_alloc(region, size, 0, 0); in alloc_bootmem_bdata()
588 return region; in alloc_bootmem_bdata()
606 void *region; in alloc_bootmem_core() local
617 region = alloc_bootmem_bdata(bdata, size, align, goal, limit); in alloc_bootmem_core()
618 if (region) in alloc_bootmem_core()
619 return region; in alloc_bootmem_core()
/linux-4.1.27/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.1.27/drivers/soc/ti/
Dknav_qmss_queue.c672 struct knav_region *region; in kdesc_fill_pool() local
675 region = pool->region; in kdesc_fill_pool()
676 pool->desc_size = region->desc_size; in kdesc_fill_pool()
681 dma_addr = region->dma_start + (region->desc_size * index); in kdesc_fill_pool()
720 return pool->region->dma_start + (virt - pool->region->virt_start); in knav_pool_desc_virt_to_dma()
727 return pool->region->virt_start + (dma - pool->region->dma_start); in knav_pool_desc_dma_to_virt()
744 struct knav_region *reg_itr, *region = NULL; in knav_pool_create() local
763 region = reg_itr; in knav_pool_create()
767 if (!region) { in knav_pool_create()
788 if (num_desc > (region->num_desc - region->used_desc)) { in knav_pool_create()
[all …]
Dknav_qmss.h227 struct knav_region *region; member
347 #define for_each_region(kdev, region) \ argument
348 list_for_each_entry(region, &kdev->regions, list)
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/net/wireless/ath/
Ddfs_pattern_detector.c37 enum nl80211_dfs_regions region; member
71 .region = NL80211_DFS_ETSI,
94 .region = NL80211_DFS_FCC,
113 .region = NL80211_DFS_JP,
130 get_dfs_domain_radar_types(enum nl80211_dfs_regions region) in get_dfs_domain_radar_types() argument
134 if (dfs_domains[i]->region == region) in get_dfs_domain_radar_types()
270 if (dpd->region == NL80211_DFS_UNSET) in dpd_add_pulse()
306 enum nl80211_dfs_regions region) in dpd_set_domain() argument
311 if (dpd->region == region) in dpd_set_domain()
314 dpd->region = NL80211_DFS_UNSET; in dpd_set_domain()
[all …]
Ddfs_pattern_detector.h89 enum nl80211_dfs_regions region);
94 enum nl80211_dfs_regions region; member
111 enum nl80211_dfs_regions region);
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_init.c153 if (pm8001_ha->memoryMap.region[i].virt_ptr != NULL) { in pm8001_free()
155 (pm8001_ha->memoryMap.region[i].total_len + in pm8001_free()
156 pm8001_ha->memoryMap.region[i].alignment), in pm8001_free()
157 pm8001_ha->memoryMap.region[i].virt_ptr, in pm8001_free()
158 pm8001_ha->memoryMap.region[i].phys_addr); in pm8001_free()
266 pm8001_ha->memoryMap.region[AAP1].num_elements = 1; in pm8001_alloc()
267 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
268 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; in pm8001_alloc()
269 pm8001_ha->memoryMap.region[AAP1].alignment = 32; in pm8001_alloc()
272 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.1.27/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.1.27/arch/arm64/kernel/
Dalternative.c39 struct alt_region *region = alt_region; in __apply_alternatives() local
42 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives()
62 struct alt_region region = { in apply_alternatives_all() local
68 stop_machine(__apply_alternatives, &region, NULL); in apply_alternatives_all()
73 struct alt_region region = { in apply_alternatives() local
78 __apply_alternatives(&region); in apply_alternatives()
Dsetup.c345 struct memblock_region *region; in request_standard_resources() local
353 for_each_memblock(memory, region) { in request_standard_resources()
356 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in request_standard_resources()
357 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in request_standard_resources()
/linux-4.1.27/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.h354 #define for_each_memblock(memblock_type, region) \ argument
355 for (region = memblock.memblock_type.regions; \
356 region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \
357 region++)
Ddm-io.h81 struct dm_io_region *region, unsigned long *sync_error_bits);
/linux-4.1.27/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()
266 static unsigned rh_hash(struct dm_region_hash *rh, region_t region) in rh_hash() argument
268 return (unsigned) ((region * rh->prime) >> rh->shift) & rh->mask; in rh_hash()
271 static struct dm_region *__rh_lookup(struct dm_region_hash *rh, region_t region) in __rh_lookup() argument
274 struct list_head *bucket = rh->buckets + rh_hash(rh, region); in __rh_lookup()
277 if (reg->key == region) in __rh_lookup()
288 static struct dm_region *__rh_alloc(struct dm_region_hash *rh, region_t region) in __rh_alloc() argument
296 nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? in __rh_alloc()
299 nreg->key = region; in __rh_alloc()
[all …]
Ddm-log-userspace-base.c24 region_t region; member
409 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean() argument
412 uint64_t region64 = (uint64_t)region; in userspace_is_clean()
436 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync() argument
440 uint64_t region64 = region; in userspace_in_sync()
475 (char *)&fe->region, in flush_one_by_one()
476 sizeof(fe->region), in flush_one_by_one()
502 group[count] = fe->region; in flush_by_group()
650 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() argument
662 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.c91 unsigned region) in store_io_and_region_in_bio() argument
98 bio->bi_private = (void *)((unsigned long)io | region); in store_io_and_region_in_bio()
102 unsigned *region) in retrieve_io_and_region_from_bio() argument
107 *region = val & (DM_IO_MAX_REGIONS - 1); in retrieve_io_and_region_from_bio()
128 static void dec_count(struct io *io, unsigned int region, int error) in dec_count() argument
131 set_bit(region, &io->error_bits); in dec_count()
140 unsigned region; in endio() local
148 retrieve_io_and_region_from_bio(bio, &io, &region); in endio()
152 dec_count(io, region, error); in endio()
280 static void do_region(int rw, unsigned region, struct dm_io_region *where, in do_region() argument
[all …]
Ddm-raid1.c432 region_t region = dm_rh_bio_to_region(ms->rh, bio); in mirror_available() local
434 if (log->type->in_sync(log, region, 0)) in mirror_available()
541 static inline int region_in_sync(struct mirror_set *ms, region_t region, in region_in_sync() argument
544 int state = dm_rh_get_state(ms->rh, region, may_block); in region_in_sync()
550 region_t region; in do_reads() local
555 region = dm_rh_bio_to_region(ms->rh, bio); in do_reads()
561 if (likely(region_in_sync(ms, region, 1))) in do_reads()
673 region_t region; in do_writes() local
693 region = dm_rh_bio_to_region(ms->rh, bio); in do_writes()
696 log->type->is_remote_recovering(log, region)) { in do_writes()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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 …]
Dprobe.c177 struct pci_bus_region region, inverted_region; in __pci_read_base() local
278 region.start = l64; in __pci_read_base()
279 region.end = l64 + sz64; in __pci_read_base()
281 pcibios_bus_to_resource(dev->bus, res, &region); in __pci_read_base()
295 if (inverted_region.start != region.start) { in __pci_read_base()
298 res->end = region.end - region.start; in __pci_read_base()
300 pos, (unsigned long long)region.start); in __pci_read_base()
343 struct pci_bus_region region; in pci_read_bridge_io() local
371 region.start = base; in pci_read_bridge_io()
372 region.end = limit + io_granularity - 1; in pci_read_bridge_io()
[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()
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
57 pcibios_resource_to_bus(dev->bus, &region, res); in pci_update_resource()
59 new = region.start | (res->flags & PCI_REGION_FLAG_MASK); in pci_update_resource()
95 new = region.start >> 16 >> 16; in pci_update_resource()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/video/console/
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_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_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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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
176 mov \tmp, \rgnr @ Use static region numbers
208 ands r5, r0, #MPUIR_DREGION_SZMASK @ 0 size d region => No MPU
228 mov r0, #0 @ BG region starts at 0x0
230 mov r6, #MPU_RSR_ALL_MEM @ 4GB region, enabled
232 setup_region r0, r5, r6, MPU_DATA_SIDE @ 0x0, BG region, enabled
234 setup_region r0, r5, r6, MPU_INSTR_SIDE @ 0x0, BG region, enabled
Dperf_event_v7.c1255 static u32 krait_get_pmresrn_event(unsigned int region) in krait_get_pmresrn_event() argument
1260 return pmresrn_table[region]; in krait_get_pmresrn_event()
1268 unsigned int region = EVENT_REGION(config_base); in krait_evt_setup() local
1281 val = krait_get_pmresrn_event(region); in krait_evt_setup()
1296 val = krait_read_pmresrn(region); in krait_evt_setup()
1300 krait_write_pmresrn(region, val); in krait_evt_setup()
1324 unsigned int region = EVENT_REGION(config_base); in krait_clearpmu() local
1335 val = krait_read_pmresrn(region); in krait_clearpmu()
1337 krait_write_pmresrn(region, val); in krait_clearpmu()
1428 static int krait_event_to_bit(struct perf_event *event, unsigned int region, in krait_event_to_bit() argument
[all …]
/linux-4.1.27/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.1.27/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.1.27/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()
213 struct pci_bus_region region; in of_scan_pci_bridge() local
282 region.start = of_read_number(&ranges[1], 2); in of_scan_pci_bridge()
283 region.end = region.start + size - 1; in of_scan_pci_bridge()
284 pcibios_bus_to_resource(dev->bus, res, &region); in of_scan_pci_bridge()
/linux-4.1.27/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.1.27/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
20 Each region has a corresponding unique identifier, which we call a
21 region_id, that is assigned when the region is created. The region_id
22 must be supplied when querying statistics about the region, deleting the
23 region, etc. Unique region_ids enable multiple userspace programs to
38 Create a new region and return the region_id.
67 Delete the region with the specified id.
94 Print counters for each step-sized area of a region.
107 Output format 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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/ia64/include/asm/
Dparavirt.h113 int (*reserve_memory)(struct rsvd_region *region);
138 static inline int paravirt_reserve_memory(struct rsvd_region *region) in paravirt_reserve_memory() argument
141 return pv_init_ops.reserve_memory(region); in paravirt_reserve_memory()
306 #define paravirt_reserve_memory(region) 0 argument
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/Documentation/devicetree/bindings/net/
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.1.27/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 cfb_copyarea(info, region); in psbfb_copyarea()
313 psbfb_copyarea_accel(info, region); in psbfb_copyarea()
/linux-4.1.27/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()
1034 struct pci_bus_region region; in yenta_config_init() local
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/sparc/kernel/
Dpci.c385 struct pci_bus_region region; in apb_fake_ranges() local
394 region.start = (first << 21); in apb_fake_ranges()
395 region.end = (last << 21) + ((1 << 21) - 1); in apb_fake_ranges()
396 pcibios_bus_to_resource(dev->bus, res, &region); in apb_fake_ranges()
402 region.start = (first << 29); in apb_fake_ranges()
403 region.end = (last << 29) + ((1 << 29) - 1); in apb_fake_ranges()
404 pcibios_bus_to_resource(dev->bus, res, &region); in apb_fake_ranges()
420 struct pci_bus_region region; in of_scan_pci_bridge() local
521 region.start = start = GET_64BIT(ranges, 1); in of_scan_pci_bridge()
522 region.end = region.start + size - 1; in of_scan_pci_bridge()
[all …]
/linux-4.1.27/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()
394 rg = &plane->fbdev->mem_desc.region[plane->idx]; in set_fb_fix()
540 max_frame_size = fbdev->mem_desc.region[plane->idx].size; in set_fb_var()
813 if (pi->enabled && !fbdev->mem_desc.region[plane->idx].size) { in omapfb_setup_plane()
852 struct omapfb_mem_region *rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_setup_mem()
930 rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_query_mem()
[all …]
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_fb.c305 const struct fb_copyarea *region) in qxl_fb_copyarea_internal() argument
310 region->width, region->height, in qxl_fb_copyarea_internal()
311 region->sx, region->sy, in qxl_fb_copyarea_internal()
312 region->dx, region->dy); in qxl_fb_copyarea_internal()
316 const struct fb_copyarea *region) in qxl_fb_copyarea() argument
322 qxl_fb_delayed_copyarea(qfbdev, region); in qxl_fb_copyarea()
328 qxl_fb_copyarea_internal(info, region); in qxl_fb_copyarea()
/linux-4.1.27/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.1.27/drivers/staging/sm750fb/
Dsm750.c186 const struct fb_fillrect *region) in lynxfb_ops_fillrect() argument
205 color = (Bpp == 1)?region->color:((u32 *)info->pseudo_palette)[region->color]; in lynxfb_ops_fillrect()
206 rop = (region->rop != ROP_COPY) ? HW_ROP2_XOR:HW_ROP2_COPY; in lynxfb_ops_fillrect()
217 region->dx, region->dy, in lynxfb_ops_fillrect()
218 region->width, region->height, in lynxfb_ops_fillrect()
225 const struct fb_copyarea *region) in lynxfb_ops_copyarea() argument
248 base, pitch, region->sx, region->sy, in lynxfb_ops_copyarea()
249 base, pitch, Bpp, region->dx, region->dy, in lynxfb_ops_copyarea()
250 region->width, region->height, HW_ROP2_COPY); in lynxfb_ops_copyarea()
/linux-4.1.27/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.1.27/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
Dgic.txt49 first region is the GIC distributor register base and size. The 2nd region is
82 size of the VGIC registers. The first additional region is the GIC
84 region is the GIC virtual cpu interface register base and size.
/linux-4.1.27/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.
Datmel-matrix.txt17 memory region.
/linux-4.1.27/Documentation/devicetree/bindings/gpu/
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.
61 - reg: Physical base address of the IP registers and length of memory mapped region.
77 - reg: Physical base address of the IP registers and length of memory mapped region.
90 - reg: Physical base address of the IP registers and length of memory mapped region.
106 - reg: Physical base address of the IP registers and length of memory mapped region.
/linux-4.1.27/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.1.27/sound/soc/tegra/
Dtegra20_das.c136 struct resource *res, *region; in tegra20_das_probe() local
158 region = devm_request_mem_region(&pdev->dev, res->start, in tegra20_das_probe()
160 if (!region) { in tegra20_das_probe()
Dtegra30_ahub.c524 struct resource *res0, *res1, *region; in tegra30_ahub_probe() local
594 region = devm_request_mem_region(&pdev->dev, res0->start, in tegra30_ahub_probe()
596 if (!region) { in tegra30_ahub_probe()
627 region = devm_request_mem_region(&pdev->dev, res1->start, in tegra30_ahub_probe()
629 if (!region) { in tegra30_ahub_probe()
/linux-4.1.27/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.1.27/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
Dmsi-pic.txt13 - reg : It may contain one or two regions. The first region should contain
15 The second region should contain the address of aliased MSIIR or MSIIR1
17 region must be added because different MSI group has different MSIIR1 offset.
/linux-4.1.27/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,
217 addressable region for the device, i.e., if the DMA address of
234 correctly, the mapped region must begin exactly on a cache line
244 of the memory region by the software and before it is handed off to
268 Unmaps the region previously mapped. All the parameters passed in
504 Declare region of memory to be handed out by dma_alloc_coherent() when
508 assigned (this will be ioremapped so the CPU can access the region).
[all …]
/linux-4.1.27/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()
369 switch (init_mem->region) { in qat_uclo_init_ae_memory()
394 init_mem->region); in qat_uclo_init_ae_memory()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_ioc32.c156 int region; member
173 || __put_user(req32.region, &request->region) in compat_i915_alloc()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/arm/boot/dts/
Datlas7-evb.dts46 memory-region = <&nanddisk_reserved>;
79 memory-region = <&vpp_reserved>;
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/infiniband/hw/nes/
Dnes_verbs.c2315 struct ib_umem *region; in nes_reg_user_mr() local
2336 region = ib_umem_get(pd->uobject->context, start, length, acc, 0); in nes_reg_user_mr()
2337 if (IS_ERR(region)) { in nes_reg_user_mr()
2338 return (struct ib_mr *)region; in nes_reg_user_mr()
2344 ib_umem_offset(region), region->page_size); in nes_reg_user_mr()
2346 skip_pages = ((u32)ib_umem_offset(region)) >> 12; in nes_reg_user_mr()
2349 ib_umem_release(region); in nes_reg_user_mr()
2373 ib_umem_release(region); in nes_reg_user_mr()
2379 ib_umem_release(region); in nes_reg_user_mr()
2383 nesmr->region = region; in nes_reg_user_mr()
[all …]
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dbase.c84 pfb->tile.prog(pfb, i, &pfb->tile.region[i]); in _nvkm_fb_init()
96 pfb->tile.fini(pfb, i, &pfb->tile.region[i]); in _nvkm_fb_dtor()
/linux-4.1.27/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.1.27/arch/cris/include/arch-v32/mach-fs/mach/
Darbiter.h21 int crisv32_arbiter_allocate_bandwidth(int client, int region,
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/
Darbiter.h27 int crisv32_arbiter_allocate_bandwidth(int client, int region,
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c343 static void vmw_fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) in vmw_fb_copyarea() argument
345 cfb_copyarea(info, region); in vmw_fb_copyarea()
346 vmw_fb_dirty_mark(info->par, region->dx, region->dy, in vmw_fb_copyarea()
347 region->width, region->height); in vmw_fb_copyarea()
/linux-4.1.27/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 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.1.27/drivers/bus/
Darm-ccn.c1162 int (*callback)(struct arm_ccn *ccn, int region, in arm_ccn_for_each_valid_region() argument
1165 int region; in arm_ccn_for_each_valid_region() local
1167 for (region = 0; region < CCN_NUM_REGIONS; region++) { in arm_ccn_for_each_valid_region()
1173 4 * (region / 32)); in arm_ccn_for_each_valid_region()
1174 if (!(val & (1 << (region % 32)))) in arm_ccn_for_each_valid_region()
1177 base = ccn->base + region * CCN_REGION_SIZE; in arm_ccn_for_each_valid_region()
1184 err = callback(ccn, region, base, type, id); in arm_ccn_for_each_valid_region()
1192 static int arm_ccn_get_nodes_num(struct arm_ccn *ccn, int region, in arm_ccn_get_nodes_num() argument
1204 static int arm_ccn_init_nodes(struct arm_ccn *ccn, int region, in arm_ccn_init_nodes() argument
1209 dev_dbg(ccn->dev, "Region %d: id=%u, type=0x%02x\n", region, id, type); in arm_ccn_init_nodes()
/linux-4.1.27/Documentation/devicetree/bindings/rtc/
Dmaxim,ds1742.txt6 mapped region.
Dlpc32xx-rtc.txt6 region.
Datmel,at91rm9200-rtc.txt6 region.
Ddigicolor-rtc.txt8 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.
Dxgene-rtc.txt8 region.
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/watchdog/
Dqca-ar7130-wdt.txt6 region.
Dpnx4008-wdt.txt6 region.
Dstericsson-coh901327.txt6 region.
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
Dgpio-stericsson-coh901.txt6 region.
/linux-4.1.27/drivers/staging/media/bcm2048/
Dradio-bcm2048.c277 u8 region; member
319 .region = 0,
327 .region = 1,
335 .region = 2,
343 .region = 3,
351 .region = 4,
734 static int bcm2048_set_region(struct bcm2048_device *bdev, u8 region) in bcm2048_set_region() argument
739 if (region >= ARRAY_SIZE(region_configs)) in bcm2048_set_region()
743 bdev->region_info = region_configs[region]; in bcm2048_set_region()
746 if (bdev->frequency < region_configs[region].bottom_frequency || in bcm2048_set_region()
[all …]
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/staging/iio/adc/
Dlpc32xx-adc.txt6 region.
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/
Dlpc32xx-tsc.txt6 region.
/linux-4.1.27/Documentation/devicetree/bindings/spi/
Dspi-xtensa-xtfpga.txt9 region.
/linux-4.1.27/Documentation/devicetree/bindings/i2c/
Di2c-st-ddci2c.txt6 region.
Di2c-sirf.txt6 region.
Di2c-hix5hd2.txt6 region.
Di2c-at91.txt8 region.
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dsamsung-usbphy.txt16 region.
24 region.
77 region.
Dehci-orion.txt6 region.
Dohci-nxp.txt6 region.
/linux-4.1.27/drivers/vfio/platform/
Dvfio_platform_common.c417 static int vfio_platform_mmap_mmio(struct vfio_platform_region region, in vfio_platform_mmap_mmio() argument
427 if (region.size < PAGE_SIZE || req_start + req_len > region.size) in vfio_platform_mmap_mmio()
431 vma->vm_pgoff = (region.addr >> PAGE_SHIFT) + pgoff; in vfio_platform_mmap_mmio()
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/
Dlsi,zevio-intc.txt7 region.
/linux-4.1.27/Documentation/devicetree/bindings/pci/
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.1.27/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.1.27/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.1.27/Documentation/devicetree/bindings/serial/
Dqcom,msm-uartdm.txt18 register location shall specify the GSBI control region.
20 need the GSBI control region.
/linux-4.1.27/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.1.27/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.1.27/Documentation/devicetree/bindings/crypto/
Dmv_cesa.txt6 region, followed by base physical address of sram and its memory
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Dcdns,xtfpga-i2s.txt5 - reg: memory region (address and length) with device registers.
/linux-4.1.27/drivers/pci/host/
Dpci-xgene.c351 int region; in xgene_pcie_setup_ib_reg() local
353 region = xgene_pcie_select_ib_reg(ib_reg_mask, range->size); in xgene_pcie_setup_ib_reg()
354 if (region < 0) { in xgene_pcie_setup_ib_reg()
363 switch (region) { in xgene_pcie_setup_ib_reg()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/staging/speakup/
DDefaultKeyAssignments40 KeyPad-/ Mark and Cut screen region.
41 InsKeyPad-/ Paste screen region into any console.
/linux-4.1.27/Documentation/devicetree/bindings/c6x/
Dtimer64.txt9 - reg: base address and size of register region
/linux-4.1.27/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
/linux-4.1.27/include/uapi/drm/
Di915_drm.h376 int region; member
383 int region; member
388 int region; member
397 int region; member
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dhi3620-clock.txt13 region.
/linux-4.1.27/arch/tile/include/gxio/
Dmpipe.h467 offset.region = in gxio_mpipe_push_buffer()
496 offset.region = in gxio_mpipe_pop_buffer()
788 offset.region = in gxio_mpipe_credit()
/linux-4.1.27/drivers/firewire/
Dcore-transaction.c568 const struct fw_address_region *region) in fw_core_add_address_handler() argument
573 if (region->start & 0xffff000000000003ULL || in fw_core_add_address_handler()
574 region->start >= region->end || in fw_core_add_address_handler()
575 region->end > 0x0001000000000000ULL || in fw_core_add_address_handler()
582 handler->offset = region->start; in fw_core_add_address_handler()
583 while (handler->offset + handler->length <= region->end) { in fw_core_add_address_handler()

123