| /linux/arch/powerpc/mm/book3s64/ |
| H A D | mmu_context.c | 29 static int alloc_context_id(int min_id, int max_id) in alloc_context_id() argument 31 return ida_alloc_range(&mmu_context_ida, min_id, max_id, GFP_KERNEL); in alloc_context_id() 165 int index, max_id; in radix__init_new_context() local 167 max_id = (1 << mmu_pid_bits) - 1; in radix__init_new_context() 168 index = alloc_context_id(mmu_base_pid, max_id); in radix__init_new_context()
|
| /linux/drivers/pmdomain/tegra/ |
| H A D | powergate-bpmp.c | 112 return response.get_max_id.max_id; in tegra_bpmp_powergate_get_max_id() 217 unsigned int max_id, id, count = 0; in tegra_bpmp_probe_powergates() local 225 max_id = err; in tegra_bpmp_probe_powergates() 227 dev_dbg(bpmp->dev, "maximum powergate ID: %u\n", max_id); in tegra_bpmp_probe_powergates() 229 powergates = kcalloc(max_id + 1, sizeof(*powergates), GFP_KERNEL); in tegra_bpmp_probe_powergates() 233 for (id = 0; id <= max_id; id++) { in tegra_bpmp_probe_powergates()
|
| /linux/drivers/pmdomain/bcm/ |
| H A D | bcm-pmb.c | 279 int max_id; in bcm_pmb_probe() local 300 max_id = 0; in bcm_pmb_probe() 302 max_id = max(max_id, e->id); in bcm_pmb_probe() 304 pmb->genpd_onecell_data.num_domains = max_id + 1; in bcm_pmb_probe()
|
| /linux/drivers/thermal/intel/ |
| H A D | x86_pkg_temp_thermal.c | 65 static int max_id __read_mostly; 103 if (id >= 0 && id < max_id) in pkg_temp_thermal_get_dev() 320 if (id >= max_id) in pkg_temp_thermal_device_add() 491 max_id = topology_max_packages() * topology_max_dies_per_package(); in pkg_temp_thermal_init() 492 zones = kcalloc(max_id, sizeof(struct zone_device *), in pkg_temp_thermal_init()
|
| /linux/drivers/clk/tegra/ |
| H A D | clk-bpmp.c | 346 if (response.max_id > INT_MAX) in tegra_bpmp_clk_get_max_id() 349 return response.max_id; in tegra_bpmp_clk_get_max_id() 425 unsigned int max_id, id, count = 0; in tegra_bpmp_probe_clocks() local 433 max_id = err; in tegra_bpmp_probe_clocks() 435 dev_dbg(bpmp->dev, "maximum clock ID: %u\n", max_id); in tegra_bpmp_probe_clocks() 437 clocks = kcalloc(max_id + 1, sizeof(*clocks), GFP_KERNEL); in tegra_bpmp_probe_clocks() 441 for (id = 0; id <= max_id; id++) { in tegra_bpmp_probe_clocks()
|
| /linux/drivers/misc/ocxl/ |
| H A D | pasid.c | 24 static int range_alloc(struct list_head *head, u32 size, int max_id, in range_alloc() argument 47 if (new->end > max_id) { in range_alloc()
|
| /linux/drivers/s390/char/ |
| H A D | sclp_early_core.c | 357 int rc, id, max_id = 0; in sclp_early_read_storage_info() local 371 for (id = 0; id <= max_id; id++) { in sclp_early_read_storage_info() 379 max_id = sccb->max_id; in sclp_early_read_storage_info()
|
| /linux/sound/soc/intel/avs/ |
| H A D | utils.c | 196 int ret, idx, max_id; in avs_module_id_alloc() local 206 max_id = adev->mods_info->entries[idx].instance_max_count - 1; in avs_module_id_alloc() 207 ret = ida_alloc_max(adev->mod_idas[idx], max_id, GFP_KERNEL); in avs_module_id_alloc()
|
| /linux/drivers/scsi/ |
| H A D | stex.c | 356 unsigned int max_id; member 640 if (hba->cardtype == st_shasta || id == host->max_id - 1) { in stex_queuecommand_lck() 646 if (id == host->max_id - 1) { in stex_queuecommand_lck() 658 if (id != host->max_id - 1) in stex_queuecommand_lck() 677 .console_id = host->max_id - 1, in stex_queuecommand_lck() 1540 .max_id = 17, 1553 .max_id = 129, 1566 .max_id = 2, 1579 .max_id = 129, 1592 .max_id = 129, [all …]
|
| H A D | vmw_pvscsi.c | 1356 u32 max_id; in pvscsi_probe() local 1418 max_id = pvscsi_get_max_targets(adapter); in pvscsi_probe() 1419 printk(KERN_INFO "vmw_pvscsi: max_id: %u\n", max_id); in pvscsi_probe() 1426 pvscsi_ring_pages = (max_id > 16) ? in pvscsi_probe() 1461 host->max_id = max_id; in pvscsi_probe()
|
| H A D | scsi_scan.c | 1860 for (id = 0; id < shost->max_id; ++id) { in scsi_scan_channel() 1874 order_id = shost->max_id - id - 1; in scsi_scan_channel() 1894 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || in scsi_scan_host_selected() 2142 starget = scsi_alloc_target(&shost->shost_gendev, 0, shost->max_id); in scsi_get_pseudo_sdev()
|
| H A D | ps3rom.c | 377 host->max_id = 1; in ps3rom_probe()
|
| H A D | storvsc_drv.c | 1996 host->max_id = STORVSC_FC_MAX_TARGETS; in storvsc_probe() 2005 host->max_id = STORVSC_MAX_TARGETS; in storvsc_probe() 2011 host->max_id = STORVSC_IDE_MAX_TARGETS; in storvsc_probe()
|
| H A D | am53c974.c | 463 shost->max_id = 8; in pci_esp_probe_one()
|
| H A D | FlashPoint.c | 6175 unsigned char i, k, max_id; in FPT_inisci() local 6182 max_id = 0x08; in FPT_inisci() 6185 max_id = 0x10; in FPT_inisci() 6188 for (i = 0; i < max_id; i++) { in FPT_inisci() 6204 for (i = 0; i < max_id; i++) { in FPT_inisci() 6361 unsigned char i, k, max_id; in FPT_scsavdi() local 6373 max_id = 0x08; in FPT_scsavdi() 6376 max_id = 0x10; in FPT_scsavdi() 6378 for (i = 0; i < max_id; i++) { in FPT_scsavdi()
|
| /linux/drivers/scsi/aacraid/ |
| H A D | linit.c | 1335 class_to_shost(device)->max_id); in aac_show_max_id() 1762 shost->max_id = aac->maximum_num_containers; in aac_probe_one() 1763 if (shost->max_id < aac->maximum_num_physicals) in aac_probe_one() 1764 shost->max_id = aac->maximum_num_physicals; in aac_probe_one() 1765 if (shost->max_id < MAXIMUM_NUM_CONTAINERS) in aac_probe_one() 1766 shost->max_id = MAXIMUM_NUM_CONTAINERS; in aac_probe_one() 1768 shost->this_id = shost->max_id; in aac_probe_one()
|
| /linux/fs/ |
| H A D | fs-writeback.c | 877 int max_id; in wbc_detach_inode() local 888 max_id = wbc->wb_id; in wbc_detach_inode() 891 max_id = wbc->wb_lcand_id; in wbc_detach_inode() 894 max_id = wbc->wb_tcand_id; in wbc_detach_inode() 927 if (wbc->wb_id != max_id) in wbc_detach_inode() 941 inode_switch_wbs(inode, max_id); in wbc_detach_inode() 948 inode->i_wb_frn_winner = max_id; in wbc_detach_inode()
|
| /linux/include/soc/tegra/ |
| H A D | bpmp-abi.h | 935 uint32_t max_id; member 1289 uint32_t max_id; member 1602 uint32_t max_id; member
|
| /linux/drivers/scsi/ibmvscsi/ |
| H A D | ibmvscsi.c | 71 static int max_id = 64; variable 96 module_param_named(max_id, max_id, int, S_IRUGO | S_IWUSR); 97 MODULE_PARM_DESC(max_id, "Largest ID value for each channel [Default=64]"); 2278 host->max_id = max_id; in ibmvscsi_probe() 2284 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_disc.c | 81 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req() 83 ntgts = snic->shost->max_id; in snic_queue_report_tgt_req()
|
| /linux/include/scsi/ |
| H A D | scsi_host.h | 607 unsigned int max_id; member
|
| /linux/drivers/usb/storage/ |
| H A D | scsiglue.c | 498 for (i = 1; i < host->max_id; ++i) in usb_stor_report_device_reset()
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_xport.c | 401 shost->max_id = 0xffff; in efct_scsi_new_device() 918 shost->max_id = 0xffff; in efct_scsi_new_vport()
|
| /linux/arch/x86/kvm/ |
| H A D | lapic.c | 353 u32 max_id = 255; /* enough space for any xAPIC ID */ in kvm_recalculate_apic_map() local 392 max_id = max(max_id, kvm_x2apic_id(vcpu->arch.apic)); in kvm_recalculate_apic_map() 395 sizeof(struct kvm_lapic *) * ((u64)max_id + 1), in kvm_recalculate_apic_map() 401 new->max_apic_id = max_id; in kvm_recalculate_apic_map()
|
| /linux/tools/power/x86/intel-speed-select/ |
| H A D | isst-config.c | 698 int max_id = 0; in get_max_punit_core_id() local 707 cpu_map[i].punit_cpu_core > max_id) in get_max_punit_core_id() 708 max_id = cpu_map[i].punit_cpu_core; in get_max_punit_core_id() 711 return max_id; in get_max_punit_core_id()
|