Searched refs:num_zones (Results 1 – 4 of 4) sorted by relevance
/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 …]
|
/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() 569 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_reserve() 582 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_reserve()
|
/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()
|
/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() 1142 unsigned int num_zones; in alauda_transport() local 1149 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift in alauda_transport() 1152 capacity = num_zones * MEDIA_INFO(us).uzonesize in alauda_transport()
|