/drivers/mtd/maps/ |
H A D | pismo.c | 92 struct pismo_mem *region, const char *name, 97 phys_addr_t base = region->base; 104 res.end = base + region->size - 1; 134 struct pismo_mem *region) 137 .width = region->width, 143 return pismo_add_device(pismo, i, region, "physmap-flash", 148 struct pismo_mem *region) 151 .bankwidth = region->width, 154 return pismo_add_device(pismo, i, region, "mtd-ram", 162 struct pismo_mem region; local 91 pismo_add_device(struct pismo_data *pismo, int i, struct pismo_mem *region, const char *name, void *pdata, size_t psize) argument 133 pismo_add_nor(struct pismo_data *pismo, int i, struct pismo_mem *region) argument 147 pismo_add_sram(struct pismo_data *pismo, int i, struct pismo_mem *region) argument [all...] |
H A D | scb2_flash.c | 12 * The BIOS marks its own memory region as 'reserved' in the e820 map. We 17 * * a 1 MiB memory region 41 * offset 0xf0000 ty 0xfffff (64k): Boot Block region 105 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; local 106 region->erasesize /= 2; 112 * the chip, so all our erase-region info is wrong. Start cutting from 116 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; local 118 if (region->numblocks * region->erasesize > mtd->size) { 119 region [all...] |
/drivers/pci/ |
H A D | host-bridge.c | 34 void pcibios_resource_to_bus(struct pci_bus *bus, struct pci_bus_region *region, argument 48 region->start = res->start - offset; 49 region->end = res->end - offset; 60 struct pci_bus_region *region) 75 if (region_contains(&bus_region, region)) { 81 res->start = region->start + offset; 82 res->end = region->end + offset; 59 pcibios_bus_to_resource(struct pci_bus *bus, struct resource *res, struct pci_bus_region *region) argument
|
H A D | bus.c | 110 * on @bus are entirely within @region. This is used to control the bus 116 struct pci_bus_region *region) 121 if (r.start < region->start) 122 r.start = region->start; 123 if (r.end > region->end) 124 r.end = region->end; 140 struct pci_bus_region *region) 163 pci_clip_resource_to_region(bus, &avail, region); 114 pci_clip_resource_to_region(struct pci_bus *bus, struct resource *res, struct pci_bus_region *region) argument 132 pci_bus_alloc_from_region(struct pci_bus *bus, struct resource *res, resource_size_t size, resource_size_t align, resource_size_t min, unsigned long type_mask, resource_size_t (*alignf)(void *, const struct resource *, resource_size_t, resource_size_t), void *alignf_data, struct pci_bus_region *region) argument
|
/drivers/video/fbdev/savage/ |
H A D | savagefb_accel.c | 31 void savagefb_copyarea(struct fb_info *info, const struct fb_copyarea *region) argument 34 int sx = region->sx, dx = region->dx; 35 int sy = region->sy, dy = region->dy; 38 if (!region->width || !region->height) 47 sx += region->width - 1; 48 dx += region->width - 1; 54 sy += region [all...] |
/drivers/acpi/acpica/ |
H A D | evregion.c | 73 * an installed default region handler. 117 * PARAMETERS: region_obj - Internal region object 120 * region_offset - Where in the region to read or write 127 * DESCRIPTION: Dispatch an address space or operation region access to 154 /* Ensure that there is a handler associated with this region */ 156 handler_desc = region_obj->region.handler; 160 acpi_ut_get_node_name(region_obj->region.node), 162 acpi_ut_get_region_name(region_obj->region. 171 * It may be the case that the region has never been initialized. 174 if (!(region_obj->region [all...] |
H A D | exfield.c | 61 * PARAMETERS: accessor_type - The type of the protocol indicated by region 63 * access_length - The access length of the region field 163 (obj_desc->field.region_obj->region.space_id == 165 || obj_desc->field.region_obj->region.space_id == 167 || obj_desc->field.region_obj->region.space_id == 171 * the data and then directly access the region handler. 175 if (obj_desc->field.region_obj->region.space_id == 180 } else if (obj_desc->field.region_obj->region.space_id == 212 /* Call the region handler for the read */ 257 (obj_desc->field.region_obj->region [all...] |
H A D | dsargs.c | 72 * DESCRIPTION: Late (deferred) execution of region or field arguments 257 status = acpi_ut_add_address_range(obj_desc->region.space_id, 258 obj_desc->region.address, 259 obj_desc->region.length, node); 355 * PARAMETERS: obj_desc - A valid region object 359 * DESCRIPTION: Get region address and length. This implements the late 360 * evaluation of these region attributes. 372 if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { 383 node = obj_desc->region.node; 401 status = acpi_ut_add_address_range(obj_desc->region [all...] |
H A D | evrgnini.c | 66 * DESCRIPTION: Setup a system_memory operation region 108 /* Save the region length and address for use in the handler */ 110 local_region_context->length = region_desc->region.length; 111 local_region_context->address = region_desc->region.address; 128 * DESCRIPTION: Setup a IO operation region 159 * DESCRIPTION: Setup a PCI_Config operation region 182 handler_obj = region_obj->region.handler; 189 "Attempting to init a region %p, with no handler\n", 202 parent_node = region_obj->region.node->parent; 236 * for the new PCI_Config operation region, howeve [all...] |
/drivers/acpi/ |
H A D | nvs.c | 2 * nvs.c - Routines for saving and restoring ACPI NVS memory region 39 struct nvs_region *region; local 41 region = kmalloc(sizeof(*region), GFP_KERNEL); 42 if (!region) 44 region->phys_start = start; 45 region->size = size; 46 list_add_tail(®ion->node, &nvs_region_list); 55 struct nvs_region *region; local 57 list_for_each_entry(region, [all...] |
/drivers/net/wireless/ath/ |
H A D | dfs_pattern_detector.c | 37 enum nl80211_dfs_regions region; member in struct:radar_types 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) argument 134 if (dfs_domains[i]->region == region) 270 if (dpd->region == NL80211_DFS_UNSET) 306 enum nl80211_dfs_regions region) 311 if (dpd->region 305 dpd_set_domain(struct dfs_pattern_detector *dpd, enum nl80211_dfs_regions region) argument 340 dfs_pattern_detector_init(struct ath_common *common, enum nl80211_dfs_regions region) argument [all...] |
H A D | dfs_pattern_detector.h | 80 * @region: active DFS region, NL80211_DFS_UNSET until set 89 enum nl80211_dfs_regions region); 94 enum nl80211_dfs_regions region; member in struct:dfs_pattern_detector 106 * @param region: DFS domain to be used, can be NL80211_DFS_UNSET at creation 111 enum nl80211_dfs_regions region);
|
/drivers/soc/ti/ |
H A D | knav_qmss_queue.c | 670 struct knav_region *region; local 673 region = pool->region; 674 pool->desc_size = region->desc_size; 679 dma_addr = region->dma_start + (region->desc_size * index); 718 return pool->region->dma_start + (virt - pool->region->virt_start); 724 return pool->region->virt_start + (dma - pool->region 740 struct knav_region *reg_itr, *region = NULL; local 952 knav_queue_setup_region(struct knav_device *kdev, struct knav_region *region) argument 1052 struct knav_region *region; local 1307 struct knav_region *region; local [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fbcon.h | 52 int nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); 58 int nv50_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); 63 int nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region);
|
/drivers/scsi/pm8001/ |
H A D | pm8001_init.c | 152 if (pm8001_ha->memoryMap.region[i].virt_ptr != NULL) { 154 (pm8001_ha->memoryMap.region[i].total_len + 155 pm8001_ha->memoryMap.region[i].alignment), 156 pm8001_ha->memoryMap.region[i].virt_ptr, 157 pm8001_ha->memoryMap.region[i].phys_addr); 264 /* MPI Memory region 1 for AAP Event Log for fw */ 265 pm8001_ha->memoryMap.region[AAP1].num_elements = 1; 266 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; 267 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; 268 pm8001_ha->memoryMap.region[AAP [all...] |
/drivers/media/platform/omap3isp/ |
H A D | isphist.c | 107 reg_hor[c] = (conf->region[c].h_start << 109 | (conf->region[c].h_end << 111 reg_ver[c] = (conf->region[c].v_start << 113 | (conf->region[c].v_end << 313 if (user_cfg->region[c].h_start & ~ISPHIST_REG_START_END_MASK) 315 if (user_cfg->region[c].h_end & ~ISPHIST_REG_START_END_MASK) 317 if (user_cfg->region[c].v_start & ~ISPHIST_REG_START_END_MASK) 319 if (user_cfg->region[c].v_end & ~ISPHIST_REG_START_END_MASK) 321 if (user_cfg->region[c].h_start > user_cfg->region[ [all...] |
/drivers/md/ |
H A D | dm-region-hash.c | 9 #include <linux/dm-region-hash.h> 19 #define DM_MSG_PREFIX "region hash" 25 * region can be in one of three states: clean, dirty, 28 * In addition to being present in the hash table a region _may_ 43 * io, up the recovery_count, and remove the region from the 61 /* holds persistent region state */ 121 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) argument 123 return region << rh->region_shift; 184 DMERR("unable to allocate region hash memory"); 206 DMERR("unable to allocate region has 266 rh_hash(struct dm_region_hash *rh, region_t region) argument 271 __rh_lookup(struct dm_region_hash *rh, region_t region) argument 288 __rh_alloc(struct dm_region_hash *rh, region_t region) argument 324 __rh_find(struct dm_region_hash *rh, region_t region) argument 338 dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block) argument 400 region_t region = dm_rh_bio_to_region(rh, bio); local 503 rh_inc(struct dm_region_hash *rh, region_t region) argument 538 dm_rh_dec(struct dm_region_hash *rh, region_t region) argument 590 region_t region; local [all...] |
H A D | dm-log-userspace-base.c | 21 region_t region; member in struct:flush_entry 46 * represents the first region that needs recovery. IOW, the 64 * Workqueue for flush of clear region requests. 271 /* Since the region size does not change, get it now */ 277 DMERR("Failed to get region size of dirty log"); 396 * Check whether a region is clean. If there is any sort of 401 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) argument 404 uint64_t region64 = (uint64_t)region; 420 * Check if the region is in-sync. If there is any sort 422 * the region i 428 userspace_in_sync(struct dm_dirty_log *log, region_t region, int can_block) argument 641 userspace_mark_region(struct dm_dirty_log *log, region_t region) argument 670 userspace_clear_region(struct dm_dirty_log *log, region_t region) argument 705 userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) argument 732 userspace_set_region_sync(struct dm_dirty_log *log, region_t region, int in_sync) argument 826 userspace_is_remote_recovering(struct dm_dirty_log *log, region_t region) argument [all...] |
/drivers/media/radio/wl128x/ |
H A D | fmdrv_rx.c | 54 if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) { 75 payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; 120 curr_frq_in_khz = (fmdev->rx.region.bot_freq + ((u32)curr_frq * FM_FREQ_MUL)); 164 fmdev->rx.region.chanl_space = spacing * FM_FREQ_MUL; 193 last_frq = (fmdev->rx.region.top_freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; 196 space_idx = fmdev->rx.region.chanl_space / FM_FREQ_MUL; 270 fmdev->rx.region.top_freq : 271 fmdev->rx.region 354 fm_rx_get_region(struct fmdev *fmdev, u8 *region) argument [all...] |
/drivers/video/console/ |
H A D | bitblit.c | 65 struct fb_fillrect region; local 67 region.color = attr_bgcol_ec(bgshift, vc, info); 68 region.dx = sx * vc->vc_font.width; 69 region.dy = sy * vc->vc_font.height; 70 region.width = width * vc->vc_font.width; 71 region.height = height * vc->vc_font.height; 72 region.rop = ROP_COPY; 74 info->fbops->fb_fillrect(info, ®ion); 214 struct fb_fillrect region; local 216 region [all...] |
H A D | fbcon_ccw.c | 84 struct fb_fillrect region; local 88 region.color = attr_bgcol_ec(bgshift,vc,info); 89 region.dx = sy * vc->vc_font.height; 90 region.dy = vyres - ((sx + width) * vc->vc_font.width); 91 region.height = width * vc->vc_font.width; 92 region.width = height * vc->vc_font.height; 93 region.rop = ROP_COPY; 95 info->fbops->fb_fillrect(info, ®ion); 199 struct fb_fillrect region; local 201 region [all...] |
H A D | fbcon_cw.c | 69 struct fb_fillrect region; local 73 region.color = attr_bgcol_ec(bgshift,vc,info); 74 region.dx = vxres - ((sy + height) * vc->vc_font.height); 75 region.dy = sx * vc->vc_font.width; 76 region.height = width * vc->vc_font.width; 77 region.width = height * vc->vc_font.height; 78 region.rop = ROP_COPY; 80 info->fbops->fb_fillrect(info, ®ion); 182 struct fb_fillrect region; local 184 region [all...] |
H A D | fbcon_ud.c | 70 struct fb_fillrect region; local 75 region.color = attr_bgcol_ec(bgshift,vc,info); 76 region.dy = vyres - ((sy + height) * vc->vc_font.height); 77 region.dx = vxres - ((sx + width) * vc->vc_font.width); 78 region.width = width * vc->vc_font.width; 79 region.height = height * vc->vc_font.height; 80 region.rop = ROP_COPY; 82 info->fbops->fb_fillrect(info, ®ion); 229 struct fb_fillrect region; local 231 region [all...] |
/drivers/video/fbdev/aty/ |
H A D | radeon_accel.c | 43 const struct fb_fillrect *region) 52 OUTREG(DP_BRUSH_FRGD_CLR, rinfo->pseudo_palette[region->color]); 54 OUTREG(DP_BRUSH_FRGD_CLR, region->color); 63 OUTREG(DST_Y_X, (region->dy << 16) | region->dx); 64 OUTREG(DST_WIDTH_HEIGHT, (region->width << 16) | region->height); 67 void radeonfb_fillrect(struct fb_info *info, const struct fb_fillrect *region) argument 76 cfb_fillrect(info, region); 85 memcpy(&modded, region, sizeo 42 radeonfb_prim_fillrect(struct radeonfb_info *rinfo, const struct fb_fillrect *region) argument [all...] |
/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-sysfs.c | 70 rg = omapfb_get_mem_region(ofbi->region); 120 omapfb_get_mem_region(ofbi->region); 136 omapfb_put_mem_region(ofbi->region); 276 omapfb_get_mem_region(ofbi->region); 283 omapfb_put_mem_region(ofbi->region); 317 omapfb_get_mem_region(ofbi->region); 321 omapfb_put_mem_region(ofbi->region); 410 omapfb_get_mem_region(ofbi->region); 414 omapfb_put_mem_region(ofbi->region); 435 return snprintf(buf, PAGE_SIZE, "%lu\n", ofbi->region [all...] |