Searched refs:regions (Results 51 - 75 of 169) sorted by relevance

1234567

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dnv44.c60 .tile.regions = 12,
H A Dnv41.c50 .tile.regions = 12,
H A Dnv10.c59 .tile.regions = 8,
H A Dbase.c201 for (i = 0; i < fb->tile.regions; i++)
240 for (i = 0; i < fb->tile.regions; i++)
277 fb->tile.regions = fb->func->tile.regions;
/linux-master/drivers/vfio/platform/reset/
H A Dvfio_platform_calxedaxgmac.c51 struct vfio_platform_region *reg = &vdev->regions[0];
H A Dvfio_platform_bcmflexrm.c73 struct vfio_platform_region *reg = &vdev->regions[0];
/linux-master/mm/damon/
H A Dsysfs-test.h54 sysfs_target->regions = damon_sysfs_regions_alloc();
/linux-master/tools/testing/nvdimm/test/
H A Dndtest.h72 struct ndtest_region *regions; member in struct:ndtest_config
/linux-master/drivers/fpga/
H A Ddfl-afu.h66 * @num_regions: num of mmio regions.
67 * @regions: the mmio region linked list of this afu feature device.
68 * @dma_regions: root of dma regions rb tree.
75 struct list_head regions; member in struct:dfl_afu
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dgm200.c288 desc->regions.no_regions = 2;
289 desc->regions.region_props[0].start_addr = acr->wpr_start >> 8;
290 desc->regions.region_props[0].end_addr = acr->wpr_end >> 8;
291 desc->regions.region_props[0].region_id = 1;
292 desc->regions.region_props[0].read_mask = 0xf;
293 desc->regions.region_props[0].write_mask = 0xc;
294 desc->regions.region_props[0].client_mask = 0x2;
/linux-master/tools/virtio/
H A Dvirtio_test.c141 dev->mem = malloc(offsetof(struct vhost_memory, regions) +
142 sizeof dev->mem->regions[0]);
144 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) +
145 sizeof dev->mem->regions[0]);
147 dev->mem->regions[0].guest_phys_addr = (long)dev->buf;
148 dev->mem->regions[0].userspace_addr = (long)dev->buf;
149 dev->mem->regions[0].memory_size = dev->buf_size;
/linux-master/drivers/soc/qcom/
H A Docmem.c63 struct ocmem_region *regions; member in struct:ocmem
118 struct ocmem_region *region = &ocmem->regions[i];
130 struct ocmem_region *region = &ocmem->regions[i];
168 struct ocmem_region *region = &ocmem->regions[i];
374 dev_info(dev, "%u ports, %u regions, %u macros, %sinterleaved\n",
378 ocmem->regions = devm_kcalloc(dev, ocmem->config->num_regions,
380 if (!ocmem->regions) {
386 struct ocmem_region *region = &ocmem->regions[i];
/linux-master/drivers/vfio/pci/pds/
H A Ddirty.c98 if (!dirty->regions)
102 struct pds_vfio_region *region = &dirty->regions[i];
132 if (!dirty->regions)
136 struct pds_vfio_region *region = &dirty->regions[i];
176 vfree(dirty->regions);
177 dirty->regions = NULL;
190 dirty->regions = vcalloc(num_regions, sizeof(struct pds_vfio_region));
191 if (!dirty->regions)
197 struct pds_vfio_region *region = &dirty->regions[i];
274 "Dirty tracking already enabled for %d regions\
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dga102.c226 u32 regions; member in struct:netlist_image_header
231 struct netlist_region regions[]; member in struct:netlist_image
288 nvkm_debug(subdev, "netlist version %d, %d regions\n",
289 net->header.version, net->header.regions);
291 for (i = 0; i < net->header.regions; i++) {
292 const struct netlist_region *reg = &net->regions[i];
/linux-master/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c130 * struct ne_phys_contig_mem_regions - Contiguous physical memory regions.
131 * @num: The number of regions that currently has.
132 * @regions: The array of physical memory regions.
136 struct range *regions; member in struct:ne_phys_contig_mem_regions
871 * regions if they are physically contiguous.
872 * @phys_contig_regions : Private data associated with the contiguous physical memory regions.
893 if (num && (phys_contig_regions->regions[num - 1].end + 1) == page_paddr) {
894 phys_contig_regions->regions[num - 1].end += page_size;
896 phys_contig_regions->regions[nu
[all...]
/linux-master/tools/testing/memblock/tests/
H A Dcommon.c26 "disallow allocations from regions marked as hotplugged\n\t\t\t"
41 memset(memblock.memory.regions, 0,
47 memset(memblock.reserved.regions, 0,
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex-layout.c21 * The UDS layout on storage media is divided into a number of fixed-size regions, the sizes of
23 * boundary. Save regions are further sub-divided into regions of their own.
43 * There are two save regions to preserve the old state in case saving the new state is incomplete.
44 * They are used in alternation. Each save region is further divided into sub-regions.
125 struct layout_region regions[]; member in struct:region_table
471 * Normal save regions: header, page map, volume index zones,
481 /* Empty save regions: header, page map, free space. */
493 lr = &table->regions[0];
532 encode_u64_le(buffer, offset, table->regions[
[all...]
/linux-master/arch/um/drivers/
H A Dvhost_user.h105 struct vhost_user_mem_region regions[2]; /* Currently supporting 2 */ member in struct:vhost_user_mem_regions
/linux-master/include/uapi/linux/
H A Dvhost_types.h126 struct vhost_memory_region regions[]; member in struct:vhost_memory
/linux-master/drivers/soc/ti/
H A Dknav_qmss.h302 struct list_head regions; member in struct:knav_device
349 list_for_each_entry(region, &kdev->regions, list)
352 list_first_entry_or_null(&kdev->regions, \
/linux-master/arch/arm/mm/
H A Dpmsa-v8.c244 /* How many regions are supported ? */
248 add_range(mem, ARRAY_SIZE(mem), 0, memblock.memory.regions[0].base,
249 memblock.memory.regions[0].base + memblock.memory.regions[0].size);
306 pr_info("Using ARM PMSAv8 Compliant MPU. Used %d of %d regions\n",
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c1072 * calc the root ba entries which could cover all regions
1073 * @regions: buf region array
1074 * @region_cnt: array size of @regions
1077 int hns_roce_hem_list_calc_root_ba(const struct hns_roce_buf_region *regions, argument
1086 r = (struct hns_roce_buf_region *)&regions[i];
1185 const struct hns_roce_buf_region *regions, int region_cnt)
1192 ba_num = hns_roce_hem_list_calc_root_ba(regions, region_cnt, unit);
1199 offset = regions[0].offset;
1201 r = &regions[region_cnt - 1];
1257 const struct hns_roce_buf_region *regions, in
1184 alloc_root_hem(struct hns_roce_dev *hr_dev, int unit, int *max_ba_num, const struct hns_roce_buf_region *regions, int region_cnt) argument
1255 setup_root_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem_list *hem_list, int unit, int max_ba_num, struct hns_roce_hem_head *head, const struct hns_roce_buf_region *regions, int region_cnt) argument
1305 hem_list_alloc_root_bt(struct hns_roce_dev *hr_dev, struct hns_roce_hem_list *hem_list, int unit, const struct hns_roce_buf_region *regions, int region_cnt) argument
1347 hns_roce_hem_list_request(struct hns_roce_dev *hr_dev, struct hns_roce_hem_list *hem_list, const struct hns_roce_buf_region *regions, int region_cnt, unsigned int bt_pg_shift) argument
[all...]
/linux-master/drivers/char/
H A Dps3flash.c90 dev->regions[dev->region_idx].size*dev->blk_size);
107 size = dev->regions[dev->region_idx].size*dev->blk_size;
176 size = dev->regions[dev->region_idx].size*dev->blk_size;
337 tmp = dev->regions[dev->region_idx].start*dev->blk_size;
344 tmp = dev->regions[dev->region_idx].size*dev->blk_size;
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-mmio-v2.c489 dev->regions = vgic_v2_dist_registers;
515 iodev.regions = vgic_v2_dist_registers;
520 iodev.regions = vgic_v2_cpu_registers;
543 .regions = vgic_v2_cpu_registers,
555 .regions = vgic_v2_dist_registers,
/linux-master/include/linux/
H A Dmemblock.h44 * not initialized (only for reserved regions).
72 * struct memblock_type - collection of memory regions of certain type
73 * @cnt: number of regions
75 * @total_size: size of all regions
76 * @regions: array of regions
83 struct memblock_region *regions; member in struct:memblock_type
91 * @memory: usable memory regions
92 * @reserved: reserved memory regions
568 * for_each_mem_region - itereate over memory regions
[all...]

Completed in 311 milliseconds

1234567