Searched refs:region (Results 276 - 300 of 465) sorted by relevance

<<111213141516171819

/linux-master/arch/powerpc/kernel/
H A Dpci-common.c709 struct pci_bus_region region; local
712 pcibios_resource_to_bus(dev->bus, &region,
714 *start = region.start;
715 *end = region.end;
771 /* If we failed translation or got a zero-sized region
938 struct pci_bus_region region; local
948 pcibios_resource_to_bus(dev->bus, &region, res);
951 if (region.start != 0)
1124 * addresses to be allocated in the 0x000-0x0ff region
1128 * the low 10 bits of the IO address. The 0x00-0xff region
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dpapr_scm.c89 /* private struct associated with each region */
106 struct nd_region *region; member in struct:papr_scm_priv
246 /* Make sure the full region is bound. */
1286 /* now add the region */
1311 p->region = nvdimm_volatile_region_create(p->bus, &ndr_desc);
1314 p->region = nvdimm_pmem_region_create(p->bus, &ndr_desc);
1316 if (!p->region) {
1317 dev_err(dev, "Error registering region %pR from %pOF\n",
1336 static void papr_scm_add_badblock(struct nd_region *region, argument
1349 nvdimm_region_notify(region, NVDIMM_REVALIDATE_POISO
[all...]
/linux-master/drivers/cxl/core/
H A Dregion.c17 * DOC: cxl core region
250 * Before region teardown attempt to flush, and if the flush
251 * fails cancel the region teardown for data consistency
292 /* all decoders associated with this region have been torn down */
389 * Invalidate caches before region setup to drop any speculative
414 * decoders associated with this region, or move forward
503 * Even for x3, x6, and x12 interleaves the region interleave must be a
570 * When the host-bridge is interleaved, disallow region granularity !=
810 if (!cxld->region)
896 struct cxl_region_params *ip = &iter->region
2488 DEVICE_ATTR_RO(region); variable
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c1138 * bypass the 32-bit region and be usable for 64-bit DMAs.
1985 struct pci_bus_region region; local
1994 region.start = res->start - phb->ioda.io_pci_base;
1995 region.end = res->end - phb->ioda.io_pci_base;
1996 index = region.start / phb->ioda.io_segsize;
1999 region.start <= region.end) {
2009 region.start += phb->ioda.io_segsize;
2014 region.start = res->start -
2017 region
[all...]
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek.c1343 struct devlink_region *region; local
1351 region = dsa_devlink_region_create(ds, ops, 1, size);
1352 if (IS_ERR(region))
1353 return PTR_ERR(region);
1355 hellcreek->vlan_region = region;
1361 region = dsa_devlink_region_create(ds, ops, 1, size);
1362 if (IS_ERR(region)) {
1363 ret = PTR_ERR(region);
1367 hellcreek->fdb_region = region;
1991 dev_err(dev, "No memory region provide
[all...]
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c657 if (buf_size > 0 && idx < ARRAY_SIZE(buf_attr->region)) {
658 buf_attr->region[idx].size = buf_size;
659 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_sq_hop_num;
668 if (buf_size > 0 && idx < ARRAY_SIZE(buf_attr->region)) {
669 buf_attr->region[idx].size = buf_size;
670 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_sge_hop_num;
679 if (buf_size > 0 && idx < ARRAY_SIZE(buf_attr->region)) {
680 buf_attr->region[idx].size = buf_size;
681 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_rq_hop_num;
/linux-master/tools/testing/memblock/tests/
H A Dalloc_exact_nid_api.c23 * A test that tries to allocate a memory region in a specific NUMA node that
24 * has enough memory to allocate a region of the requested size.
25 * Expect to allocate an aligned region at the end of the requested node.
65 * A test that tries to allocate a memory region in a specific NUMA node that
66 * is partially reserved but has enough memory for the allocated region:
76 * Expect to allocate an aligned region at the end of the requested node. The
77 * region count and total size get updated.
85 struct region r1;
121 * A test that tries to allocate a memory region that spans over the min_addr
137 * Expect to drop the lower limit and allocate a memory region tha
[all...]
/linux-master/drivers/dma/
H A Daltera-msgdma.c769 struct resource *region; local
784 region = devm_request_mem_region(device, (*res)->start,
786 if (region == NULL) {
791 *ptr = devm_ioremap(device, region->start,
792 resource_size(region));
/linux-master/include/uapi/drm/
H A Di915_drm.h308 /* Each region is a minimum of 16k, and there are at most 255 of them.
851 int region; member in struct:drm_i915_mem_alloc
858 int region; member in struct:drm_i915_mem_free
863 int region; member in struct:drm_i915_mem_init_heap
872 int region; member in struct:drm_i915_mem_destroy_heap
3412 * struct drm_i915_gem_memory_class_instance - Identify particular memory region
3423 * struct drm_i915_memory_region_info - Describes one region as known to the
3431 /** @region: The class:instance pair encoding */
3432 struct drm_i915_gem_memory_class_instance region; member in struct:drm_i915_memory_region_info
3441 * here, also note that no current region typ
[all...]
H A Dradeon_drm.h317 /* There are 2 heaps (local/GART). Each region within a heap is a
735 int region; member in struct:drm_radeon_mem_alloc
742 int region; member in struct:drm_radeon_mem_free
747 int region; member in struct:drm_radeon_mem_init_heap
/linux-master/tools/include/uapi/drm/
H A Di915_drm.h308 /* Each region is a minimum of 16k, and there are at most 255 of them.
851 int region; member in struct:drm_i915_mem_alloc
858 int region; member in struct:drm_i915_mem_free
863 int region; member in struct:drm_i915_mem_init_heap
872 int region; member in struct:drm_i915_mem_destroy_heap
3412 * struct drm_i915_gem_memory_class_instance - Identify particular memory region
3423 * struct drm_i915_memory_region_info - Describes one region as known to the
3431 /** @region: The class:instance pair encoding */
3432 struct drm_i915_gem_memory_class_instance region; member in struct:drm_i915_memory_region_info
3441 * here, also note that no current region typ
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c2299 int region; local
2303 * PF <-> AF mailbox region. Whereas for Octeontx2 it is read from
2307 for (region = 0; region < num; region++) {
2308 if (!test_bit(region, pf_bmap))
2315 bar4 += region * MBOX_SIZE;
2318 bar4 += region * MBOX_SIZE;
2320 mbox_addr[region] = (void *)ioremap_wc(bar4, MBOX_SIZE);
2321 if (!mbox_addr[region])
[all...]
/linux-master/sound/soc/sh/
H A Dsiu_dai.c719 struct resource *res, *region; local
745 region = devm_request_mem_region(&pdev->dev, res->start,
747 if (!region) {
748 dev_err(&pdev->dev, "SIU region already claimed\n");
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_pages.c330 resource_size_t iomap = obj->mm.region->iomap.base -
331 obj->mm.region->region.start;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_bloom_filter.c20 * blocks, eRP ID and region ID. In Spectrum-2 and above, region key is combined
22 * key, depending on the actual number of key blocks used in the region.
35 * 36 bits, 2 bytes which hold eRP ID and region ID, and 3 bytes of zero
44 * | 0 | region ID | eRP ID | 4 Key blocks (18 Bytes) |
52 * 3 bytes of zero padding and 16 bits of region ID and eRP ID.
101 * eRP ID and region ID.
109 * | region ID | eRP ID | 4 Key blocks (18 Bytes) |
118 * 16 bits of region ID and eRP ID.
237 struct mlxsw_afk_key_info *key_info = aregion->region
[all...]
/linux-master/drivers/media/radio/wl128x/
H A Dfmdrv_common.c243 fmdev->rx.region = region_configs[region_to_set];
629 u8 reg_idx = fmdev->rx.region.fm_band;
648 freq = fmdev->rx.region.bot_freq + (af * 100);
912 fmdev->rx.region.bot_freq) / FM_FREQ_MUL;
982 curr_freq = fmdev->rx.region.bot_freq + ((u32)read_freq * FM_FREQ_MUL);
1557 fmdev->rx.region = region_configs[default_radio_region];
/linux-master/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmcu.c370 const struct mt76_connac2_fw_region *region; local
402 region = (const void *)((const u8 *)hdr -
403 (hdr->n_region - i) * sizeof(*region));
404 len = le32_to_cpu(region->len);
408 dev_err(mdev->dev, "Invalid firmware region\n");
413 if ((region->feature_set & FW_FEATURE_NON_DL) &&
414 region->type == FW_TYPE_CLC) {
/linux-master/net/dsa/
H A Ddevlink.c285 void dsa_devlink_region_destroy(struct devlink_region *region) argument
287 devlink_region_destroy(region);
/linux-master/include/linux/
H A Dioport.h276 #define rename_region(region, newname) do { (region)->name = (newname); } while (0)
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Deeprom.c206 if (dev->region < ARRAY_SIZE(region_names))
207 region_name = region_names[dev->region];
/linux-master/tools/testing/selftests/kvm/s390x/
H A Dcmma_test.c146 ucall_init(vm, slot0->region.guest_phys_addr + slot0->region.memory_size);
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-drv.c640 const struct iwl_fw_ini_region_tlv *region; local
644 if (length < offsetof(typeof(*region), special_mem) +
645 sizeof(region->special_mem))
648 region = (const void *)tlv->data;
649 addr = le32_to_cpu(region->special_mem.base_addr);
650 addr += le32_to_cpu(region->special_mem.offset);
653 if (region->type != IWL_FW_INI_REGION_SPECIAL_DEVICE_MEMORY)
656 switch (region->sub_type) {
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_tlb.c95 ce->engine->name, va->obj->mm.region->name ?: "smem",
151 ce->engine->name, va->obj->mm.region->name ?: "smem",
/linux-master/drivers/ipack/
H A Dipack.c351 idmem = ioremap(dev->region[IPACK_ID_SPACE].start,
352 dev->region[IPACK_ID_SPACE].size);
/linux-master/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c179 temp = (u32 *)pm8001_ha->memoryMap.region[FORENSIC_MEM].virt_ptr;
198 pm8001_ha->memoryMap.region[FORENSIC_MEM].virt_ptr,
355 pm8001_ha->fatal_forensic_shift_offset = 0; /* location in 64k region */
403 temp = (u32 *)pm8001_ha->memoryMap.region[FORENSIC_MEM].virt_ptr;
418 pm8001_ha->memoryMap.region[FORENSIC_MEM].phys_addr_lo);
422 pm8001_ha->memoryMap.region[FORENSIC_MEM].phys_addr_hi);
754 pm8001_ha->memoryMap.region[AAP1].phys_addr_hi;
756 pm8001_ha->memoryMap.region[AAP1].phys_addr_lo;
761 pm8001_ha->memoryMap.region[IOP].phys_addr_hi;
763 pm8001_ha->memoryMap.region[IO
[all...]

Completed in 360 milliseconds

<<111213141516171819