Home
last modified time | relevance | path

Searched refs:num_zones (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/platform/x86/dell/
H A Dalienware-wmi.c53 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()
450 kcalloc(quirks->num_zones + 1, sizeof(struct device_attribute), in alienware_zone_init()
[all …]
/linux/drivers/powercap/
H A Darm_scmi_powercap.c35 unsigned int num_zones; member
267 for (i = pr->num_zones - 1; i >= 0; i--) { in scmi_powercap_unregister_all_zones()
373 zones_stack = kcalloc(pr->num_zones, sizeof(spz), GFP_KERNEL); in scmi_zones_register()
444 pr->num_zones = ret; in scmi_powercap_probe()
446 pr->spzones = devm_kcalloc(dev, pr->num_zones, in scmi_powercap_probe()
452 pr->registered_zones = devm_kcalloc(dev, pr->num_zones, in scmi_powercap_probe()
460 for (i = 0, spz = pr->spzones; i < pr->num_zones; i++, spz++) { in scmi_powercap_probe()
/linux/drivers/thermal/tegra/
H A Dtegra-bpmp-thermal.c29 unsigned int num_zones; member
127 for (i = 0; i < tegra->num_zones; ++i) { in bpmp_mrq_thermal()
142 int *num_zones) in tegra_bpmp_thermal_get_num_zones() argument
165 *num_zones = reply.get_num_zones.num; in tegra_bpmp_thermal_get_num_zones()
287 tegra->zones[tegra->num_zones++] = zone; in tegra_bpmp_thermal_probe()
/linux/drivers/usb/storage/
H A Dalauda.c290 unsigned int num_zones = media_info->capacity >> shift; in alauda_free_maps() local
294 for (i = 0; i < num_zones; i++) { in alauda_free_maps()
300 for (i = 0; i < num_zones; i++) { in alauda_free_maps()
387 unsigned int num_zones; in alauda_init_media() local
440 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift in alauda_init_media()
442 MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
443 MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
1152 unsigned int num_zones; in alauda_transport() local
1159 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift in alauda_transport()
1162 capacity = num_zones * MEDIA_INFO(us).uzonesize in alauda_transport()