/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | otp.h | 27 /* From h/w region to end of OTP including checksum */ 33 extern int otp_read_region(struct si_pub *sih, int region, u16 *data,
|
/drivers/mtd/maps/ |
H A D | pismo.c | 92 struct pismo_mem *region, const char *name, void *pdata, size_t psize) 96 phys_addr_t base = region->base; 103 res.end = base + region->size - 1; 133 struct pismo_mem *region) 136 .width = region->width, 142 return pismo_add_device(pismo, i, region, "physmap-flash", 147 struct pismo_mem *region) 150 .bankwidth = region->width, 153 return pismo_add_device(pismo, i, region, "mtd-ram", 161 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 132 pismo_add_nor(struct pismo_data *pismo, int i, struct pismo_mem *region) argument 146 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 107 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; local 108 region->erasesize /= 2; 114 * the chip, so all our erase-region info is wrong. Start cutting from 118 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; local 120 if (region->numblocks * region->erasesize > mtd->size) { 121 region [all...] |
/drivers/video/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/ |
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/acpi/acpica/ |
H A D | evregion.c | 202 * an installed default region handler. 251 * DESCRIPTION: Execute _REG method for a region 290 * Operation region space ID Same value as region_obj->Region.space_id 297 acpi_ut_create_integer_object((u64) region_obj->region.space_id); 331 * PARAMETERS: region_obj - Internal region object 334 * region_offset - Where in the region to read or write 341 * DESCRIPTION: Dispatch an address space or operation region access to 367 /* Ensure that there is a handler associated with this region */ 369 handler_desc = region_obj->region.handler; 373 acpi_ut_get_node_name(region_obj->region [all...] |
H A D | exfield.c | 100 (obj_desc->field.region_obj->region.space_id == 102 || obj_desc->field.region_obj->region.space_id == 104 || obj_desc->field.region_obj->region.space_id == 108 * the data and then directly access the region handler. 112 if (obj_desc->field.region_obj->region.space_id == 117 } else if (obj_desc->field.region_obj->region.space_id == 137 /* Call the region handler for the read */ 255 (obj_desc->field.region_obj->region.space_id == 257 || obj_desc->field.region_obj->region.space_id == 259 || 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; 237 * for the new PCI_Config operation region, howeve [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fbcon.h | 43 int nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); 49 int nv50_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); 54 int nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region);
|
/drivers/scsi/pm8001/ |
H A D | pm8001_init.c | 142 if (pm8001_ha->memoryMap.region[i].virt_ptr != NULL) { 144 pm8001_ha->memoryMap.region[i].element_size, 145 pm8001_ha->memoryMap.region[i].virt_ptr, 146 pm8001_ha->memoryMap.region[i].phys_addr); 213 /* MPI Memory region 1 for AAP Event Log for fw */ 214 pm8001_ha->memoryMap.region[AAP1].num_elements = 1; 215 pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; 216 pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; 217 pm8001_ha->memoryMap.region[AAP1].alignment = 32; 219 /* MPI Memory region [all...] |
/drivers/media/video/omap3isp/ |
H A D | isphist.c | 112 reg_hor[c] = conf->region[c].h_start << 114 reg_hor[c] = conf->region[c].h_end << 116 reg_ver[c] = conf->region[c].v_start << 118 reg_ver[c] = conf->region[c].v_end << 320 if (user_cfg->region[c].h_start & ~ISPHIST_REG_START_END_MASK) 322 if (user_cfg->region[c].h_end & ~ISPHIST_REG_START_END_MASK) 324 if (user_cfg->region[c].v_start & ~ISPHIST_REG_START_END_MASK) 326 if (user_cfg->region[c].v_end & ~ISPHIST_REG_START_END_MASK) 328 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; 183 DMERR("unable to allocate region hash memory"); 205 DMERR("unable to allocate region has 265 rh_hash(struct dm_region_hash *rh, region_t region) argument 270 __rh_lookup(struct dm_region_hash *rh, region_t region) argument 287 __rh_alloc(struct dm_region_hash *rh, region_t region) argument 323 __rh_find(struct dm_region_hash *rh, region_t region) argument 337 dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block) argument 399 region_t region = dm_rh_bio_to_region(rh, bio); local 499 rh_inc(struct dm_region_hash *rh, region_t region) argument 534 dm_rh_dec(struct dm_region_hash *rh, region_t region) argument 586 region_t region; local [all...] |
H A D | dm-log-userspace-base.c | 20 region_t region; member in struct:flush_entry 45 * represents the first region that needs recovery. IOW, the 224 /* Since the region size does not change, get it now */ 230 DMERR("Failed to get region size of dirty log"); 327 * Check whether a region is clean. If there is any sort of 332 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) argument 335 uint64_t region64 = (uint64_t)region; 351 * Check if the region is in-sync. If there is any sort 353 * the region is not in sync. 359 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, argument 527 userspace_mark_region(struct dm_dirty_log *log, region_t region) argument 556 userspace_clear_region(struct dm_dirty_log *log, region_t region) argument 591 userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) argument 619 userspace_set_region_sync(struct dm_dirty_log *log, region_t region, int in_sync) argument 714 userspace_is_remote_recovering(struct dm_dirty_log *log, region_t region) argument [all...] |
H A D | dm-io.c | 85 * We need to keep track of which region a bio is doing io for. 88 * always zero and then combine it with the region number directly in 92 unsigned region) 99 bio->bi_private = (void *)((unsigned long)io | region); 103 unsigned *region) 108 *region = val & (DM_IO_MAX_REGIONS - 1); 115 static void dec_count(struct io *io, unsigned int region, int error) argument 118 set_bit(region, &io->error_bits); 142 unsigned region; local 150 retrieve_io_and_region_from_bio(bio, &io, ®ion); 91 store_io_and_region_in_bio(struct bio *bio, struct io *io, unsigned region) argument 102 retrieve_io_and_region_from_bio(struct bio *bio, struct io **io, unsigned *region) argument 254 unsigned region; local 290 do_region(int rw, unsigned region, struct dm_io_region *where, struct dpages *dp, struct io *io) 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); 215 struct fb_fillrect region; local 217 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 202 region [all...] |
H A D | fbcon_cw.c | 70 struct fb_fillrect region; local 74 region.color = attr_bgcol_ec(bgshift,vc,info); 75 region.dx = vxres - ((sy + height) * vc->vc_font.height); 76 region.dy = sx * vc->vc_font.width; 77 region.height = width * vc->vc_font.width; 78 region.width = height * vc->vc_font.height; 79 region.rop = ROP_COPY; 81 info->fbops->fb_fillrect(info, ®ion); 183 struct fb_fillrect region; local 186 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 232 region [all...] |
/drivers/video/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/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...] |
/drivers/staging/media/go7007/ |
H A D | go7007.h | 87 __u16 region; member in struct:go7007_md_params 95 __u16 region; member in struct:go7007_md_region
|
/drivers/scsi/ |
H A D | NCR_D700.c | 178 int slot, u32 region, int differential) 191 if (!request_region(region, 64, "NCR_D700")) { 192 printk(KERN_ERR "NCR D700: Failed to reserve IO region 0x%x\n", 193 region); 199 hostdata->base = ioport_map(region, 64); 215 host->base = region; 221 release_region(region, 64); 177 NCR_D700_probe_one(struct NCR_D700_private *p, int siop, int irq, int slot, u32 region, int differential) argument
|
/drivers/pci/ |
H A D | probe.c | 69 void pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region, argument 86 region->start = res->start - offset; 87 region->end = res->end - offset; 98 struct pci_bus_region *region) 112 if (region_contains(&bus_region, region)) { 118 res->start = region->start + offset; 119 res->end = region->end + offset; 216 struct pci_bus_region region; local 296 region.start = 0; 297 region 97 pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res, struct pci_bus_region *region) argument 351 struct pci_bus_region region; local 387 struct pci_bus_region region; local 409 struct pci_bus_region region; local 994 struct pci_bus_region region; local [all...] |