/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 | rom.c | 28 struct pci_bus_region region; local 34 pcibios_resource_to_bus(pdev->bus, ®ion, res); 37 rom_addr |= region.start | PCI_ROM_ADDRESS_ENABLE;
|
H A D | setup-res.c | 31 struct pci_bus_region region; local 57 pcibios_resource_to_bus(dev->bus, ®ion, res); 59 new = region.start | (res->flags & PCI_REGION_FLAG_MASK); 95 new = region.start >> 16 >> 16;
|
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/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/gpu/drm/nouveau/ |
H A D | nv04_fbcon.c | 30 nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) argument 42 OUT_RING(chan, (region->sy << 16) | region->sx); 43 OUT_RING(chan, (region->dy << 16) | region->dx); 44 OUT_RING(chan, (region->height << 16) | region->width);
|
H A D | nv50_fbcon.c | 65 nv50_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) argument 79 OUT_RING(chan, region->dx); 80 OUT_RING(chan, region->dy); 81 OUT_RING(chan, region->width); 82 OUT_RING(chan, region->height); 85 OUT_RING(chan, region->sx); 87 OUT_RING(chan, region->sy);
|
H A D | nvc0_fbcon.c | 65 nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) argument 79 OUT_RING (chan, region->dx); 80 OUT_RING (chan, region->dy); 81 OUT_RING (chan, region->width); 82 OUT_RING (chan, region->height); 85 OUT_RING (chan, region->sx); 87 OUT_RING (chan, region->sy);
|
/drivers/mtd/maps/ |
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...] |
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...] |
/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/gpu/drm/radeon/ |
H A D | radeon_mem.c | 208 static struct mem_block **get_heap(drm_radeon_private_t * dev_priv, int region) argument 210 switch (region) { 231 heap = get_heap(dev_priv, alloc->region); 266 heap = get_heap(dev_priv, memfree->region); 292 heap = get_heap(dev_priv, initheap->region);
|
/drivers/media/radio/wl128x/ |
H A D | fmdrv_tx.c | 199 int fm_tx_set_region(struct fmdev *fmdev, u8 region) argument 204 if (region != FM_BAND_EUROPE_US && region != FM_BAND_JAPAN) { 210 payload = (u16)region;
|
/drivers/net/wireless/ath/ |
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);
|
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...] |
/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/gpu/drm/gma500/ |
H A D | accel_2d.c | 297 * @region: region to copy 303 const struct fb_copyarea *region) 309 if (region->width == 8 || region->height == 8 || 311 return cfb_copyarea(info, region); 313 psbfb_copyarea_accel(info, region); 302 psbfb_copyarea(struct fb_info *info, const struct fb_copyarea *region) argument
|
/drivers/gpu/drm/i915/ |
H A D | i915_ioc32.c | 156 int region; member in struct:drm_i915_mem_alloc32 173 || __put_user(req32.region, &request->region)
|
/drivers/misc/sgi-xp/ |
H A D | xpc_partition.c | 414 int region; local 438 * The term 'region' in this context refers to the minimum number of 461 for (region = 0; region < max_regions; region++) { 466 dev_dbg(xpc_part, "searching region %d\n", region); 468 for (nasid = (region * region_size * 2); 469 nasid < ((region + 1) * region_size * 2); nasid += 2) { 479 "region\ [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | cfp.c | 165 u8 region[IEEE80211_COUNTRY_STRING_LEN]; member in struct:region_code_mapping 179 /* This function converts integer code to region string */ 189 return region_code_mapping_t[i].region;
|
/drivers/pcmcia/ |
H A D | i82092.c | 605 struct pci_bus_region region; local 611 pcibios_resource_to_bus(sock_info->dev->bus, ®ion, mem->res); 620 if ( (mem->card_start > 0x3ffffff) || (region.start > region.end) || 626 (unsigned long long)region.start, 627 (unsigned long long)region.end, 637 /* printk("set_mem_map: Setting map %i range to %x - %x on socket %i, speed is %i, active = %i \n",map, region.start,region.end,sock,mem->speed,mem->flags & MAP_ACTIVE); */ 641 i = (region.start >> 12) & 0x0fff; 650 i= (region [all...] |
/drivers/pnp/ |
H A D | quirks.c | 34 dev_err(&dev->dev, "couldn't add ioport region to option set " 44 dev_info(&dev->dev, "added ioport region %#llx-%#llx to set %d\n", 267 * If the PNP region doesn't overlap the PCI 268 * region at all, there's no problem. 274 * If the PNP region completely encloses (or is 275 * at least as large as) the PCI region, that's 285 * Otherwise, the PNP region overlaps *part* of 286 * the PCI region, and that might prevent a PCI 363 struct pci_bus_region region; local 386 region [all...] |
/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/scsi/qla4xxx/ |
H A D | ql4_bsg.c | 347 uint32_t region = 0; local 366 region = bsg_req->rqst_data.h_vendor.vendor_cmd[1]; 370 rval = qla4xxx_restore_factory_defaults(ha, region, field0, field1);
|
/drivers/usb/core/ |
H A D | hcd-pci.c | 239 int region; local 241 for (region = 0; region < PCI_ROM_RESOURCE; region++) { 242 if (!(pci_resource_flags(dev, region) & 246 hcd->rsrc_start = pci_resource_start(dev, region); 247 hcd->rsrc_len = pci_resource_len(dev, region); 252 if (region == PCI_ROM_RESOURCE) {
|