/drivers/soc/tegra/ |
D | powergate-bpmp.c | 113 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()
|
/drivers/thermal/intel/ |
D | x86_pkg_temp_thermal.c | 62 static int max_id __read_mostly; 100 if (id >= 0 && id < max_id) in pkg_temp_thermal_get_dev() 336 if (id >= max_id) in pkg_temp_thermal_device_add() 493 max_id = topology_max_packages() * topology_max_die_per_package(); in pkg_temp_thermal_init() 494 zones = kcalloc(max_id, sizeof(struct zone_device *), in pkg_temp_thermal_init()
|
/drivers/xen/ |
D | pcpu.c | 361 int cpu_id = 0, max_id = 0; in xen_pcpu_id() local 365 while (cpu_id <= max_id) { in xen_pcpu_id() 374 if (op.u.pcpu_info.max_present > max_id) in xen_pcpu_id() 375 max_id = op.u.pcpu_info.max_present; in xen_pcpu_id()
|
/drivers/clk/tegra/ |
D | clk-bpmp.c | 323 if (response.max_id > INT_MAX) in tegra_bpmp_clk_get_max_id() 326 return response.max_id; in tegra_bpmp_clk_get_max_id() 402 unsigned int max_id, id, count = 0; in tegra_bpmp_probe_clocks() local 410 max_id = err; in tegra_bpmp_probe_clocks() 412 dev_dbg(bpmp->dev, "maximum clock ID: %u\n", max_id); in tegra_bpmp_probe_clocks() 414 clocks = kcalloc(max_id + 1, sizeof(*clocks), GFP_KERNEL); in tegra_bpmp_probe_clocks() 418 for (id = 0; id <= max_id; id++) { in tegra_bpmp_probe_clocks()
|
/drivers/s390/char/ |
D | sclp_early_core.c | 308 int rc, id, max_id = 0; in sclp_early_read_storage_info() local 322 for (id = 0; id <= max_id; id++) { in sclp_early_read_storage_info() 330 max_id = sccb->max_id; in sclp_early_read_storage_info()
|
D | sclp.h | 207 u16 max_id; member
|
/drivers/misc/ocxl/ |
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()
|
/drivers/scsi/ |
D | stex.c | 353 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() 679 ver.console_id = host->max_id - 1; in stex_queuecommand_lck() 1539 .max_id = 17, 1552 .max_id = 129, 1565 .max_id = 2, 1578 .max_id = 129, 1591 .max_id = 129, [all …]
|
D | vmw_pvscsi.c | 1342 u32 max_id; in pvscsi_probe() local 1404 max_id = pvscsi_get_max_targets(adapter); in pvscsi_probe() 1405 printk(KERN_INFO "vmw_pvscsi: max_id: %u\n", max_id); in pvscsi_probe() 1412 pvscsi_ring_pages = (max_id > 16) ? in pvscsi_probe() 1447 host->max_id = max_id; in pvscsi_probe()
|
D | jazz_esp.c | 119 host->max_id = 8; in esp_jazz_probe()
|
D | sun3x_esp.c | 182 host->max_id = 8; in esp_sun3x_probe()
|
D | scsi_scan.c | 1633 for (id = 0; id < shost->max_id; ++id) { in scsi_scan_channel() 1647 order_id = shost->max_id - id - 1; in scsi_scan_channel() 1667 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || in scsi_scan_host_selected()
|
D | storvsc_drv.c | 1810 host->max_id = STORVSC_FC_MAX_TARGETS; in storvsc_probe() 1819 host->max_id = max_targets; in storvsc_probe() 1825 host->max_id = STORVSC_IDE_MAX_TARGETS; in storvsc_probe()
|
D | mac_esp.c | 310 host->max_id = 8; in esp_mac_probe()
|
D | ps3rom.c | 381 host->max_id = 1; in ps3rom_probe()
|
D | hosts.c | 400 shost->max_id = 8; in scsi_host_alloc()
|
/drivers/tee/ |
D | tee_core.c | 712 int rc, max_id; in tee_device_alloc() local 726 max_id = TEE_NUM_DEVICES / 2; in tee_device_alloc() 730 max_id = TEE_NUM_DEVICES; in tee_device_alloc() 734 teedev->id = find_next_zero_bit(dev_mask, max_id, offs); in tee_device_alloc() 735 if (teedev->id < max_id) in tee_device_alloc() 739 if (teedev->id >= max_id) { in tee_device_alloc()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 428 unsigned long *events_bmap, u16 max_id) in bnxt_register_async_events() argument 441 ulp->max_async_event_id = max_id; in bnxt_register_async_events() 442 bnxt_hwrm_func_rgtr_async_events(bp, events_bmap, max_id + 1); in bnxt_register_async_events()
|
/drivers/scsi/aacraid/ |
D | linit.c | 1361 class_to_shost(device)->max_id); in aac_show_max_id() 1767 shost->max_id = aac->maximum_num_containers; in aac_probe_one() 1768 if (shost->max_id < aac->maximum_num_physicals) in aac_probe_one() 1769 shost->max_id = aac->maximum_num_physicals; in aac_probe_one() 1770 if (shost->max_id < MAXIMUM_NUM_CONTAINERS) in aac_probe_one() 1771 shost->max_id = MAXIMUM_NUM_CONTAINERS; in aac_probe_one() 1773 shost->this_id = shost->max_id; in aac_probe_one()
|
/drivers/scsi/ibmvscsi/ |
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]"); 2255 host->max_id = max_id; in ibmvscsi_probe() 2261 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
|
/drivers/staging/unisys/include/ |
D | iochannel.h | 179 u32 max_id; member
|
/drivers/scsi/snic/ |
D | snic_disc.c | 95 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req() 97 ntgts = snic->shost->max_id; in snic_queue_report_tgt_req()
|
/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 1066 scsihost->max_id = (unsigned int)max.max_id; in visorhba_probe()
|
/drivers/usb/storage/ |
D | scsiglue.c | 491 for (i = 1; i < host->max_id; ++i) in usb_stor_report_device_reset()
|
/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 1628 u8 min_id, max_id; in mxt_parse_object_table() local 1636 max_id = reportid - 1; in mxt_parse_object_table() 1639 max_id = 0; in mxt_parse_object_table() 1646 min_id, max_id); in mxt_parse_object_table() 1691 data->T100_reportid_max = max_id; in mxt_parse_object_table()
|