Searched refs:num_zones (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | alienware-wmi.c | 53 u8 num_zones; member 63 .num_zones = 2, 70 .num_zones = 2, 77 .num_zones = 3, 84 .num_zones = 4, 91 .num_zones = 2, 98 .num_zones = 2, 105 .num_zones = 2, 267 for (zone = 0; zone < quirks->num_zones; zone++) { in match_zone() 451 kcalloc(quirks->num_zones + 1, sizeof(struct device_attribute), in alienware_zone_init() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 244 for (i = 0; i < glob->num_zones; ++i) { in ttm_zones_above_swap_target() 326 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_kernel_zone() 363 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_highmem_zone() 410 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_dma32_zone() 449 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_init() 474 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_release() 491 for (i = 0; i < glob->num_zones; ++i) { in ttm_check_swapping() 514 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_free_zone() 568 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_reserve() 581 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_reserve()
|
/kernel/linux/linux-5.10/drivers/thermal/tegra/ |
D | tegra-bpmp-thermal.c | 29 unsigned int num_zones; member 108 for (i = 0; i < tegra->num_zones; ++i) { in bpmp_mrq_thermal() 123 int *num_zones) in tegra_bpmp_thermal_get_num_zones() argument 144 *num_zones = reply.get_num_zones.num; in tegra_bpmp_thermal_get_num_zones() 211 tegra->zones[tegra->num_zones++] = zone; in tegra_bpmp_thermal_probe()
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
D | alauda.c | 288 unsigned int num_zones = media_info->capacity >> shift; in alauda_free_maps() local 292 for (i = 0; i < num_zones; i++) { in alauda_free_maps() 298 for (i = 0; i < num_zones; i++) { in alauda_free_maps() 384 unsigned int num_zones; in alauda_init_media() local 437 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift in alauda_init_media() 439 MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media() 440 MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media() 1143 unsigned int num_zones; in alauda_transport() local 1150 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift in alauda_transport() 1153 capacity = num_zones * MEDIA_INFO(us).uzonesize in alauda_transport()
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_memory.h | 73 unsigned int num_zones; member
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 23136 +static u32 num_zones; 23145 + for (i = 0; i < num_zones; i++) { 23158 + for (i = 0; i < num_zones; i++) { 23196 + if (num_zones >= ZONE_MAX) 23198 + hisi_zone[num_zones].pdev.coherent_dma_mask = DMA_BIT_MASK(64); 23200 + strlcpy(hisi_zone[num_zones].name, argv[0], NAME_LEN_MAX); 23201 + hisi_zone[num_zones].gfp = (uintptr_t)memparse(argv[1], NULL); 23202 + hisi_zone[num_zones].phys_start = (uintptr_t)memparse(argv[2], NULL); 23203 + hisi_zone[num_zones].nbytes = (uintptr_t)memparse(argv[3], NULL); 23207 + strlcpy(hisi_zone[num_zones].name, argv[0], NAME_LEN_MAX); [all …]
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 307752 +static u32 num_zones; 307761 + for (i = 0; i < num_zones; i++) { 307774 + for (i = 0; i < num_zones; i++) { 307812 + if (num_zones >= ZONE_MAX) 307814 + hisi_zone[num_zones].pdev.coherent_dma_mask = DMA_BIT_MASK(64); 307816 + strlcpy(hisi_zone[num_zones].name, argv[0], NAME_LEN_MAX); 307817 + hisi_zone[num_zones].gfp = (uintptr_t)memparse(argv[1], NULL); 307818 + hisi_zone[num_zones].phys_start = (uintptr_t)memparse(argv[2], NULL); 307819 + hisi_zone[num_zones].nbytes = (uintptr_t)memparse(argv[3], NULL); 307823 + strlcpy(hisi_zone[num_zones].name, argv[0], NAME_LEN_MAX); [all …]
|