Home
last modified time | relevance | path

Searched refs:max_id (Results 1 – 25 of 105) sorted by relevance

12345

/drivers/soc/tegra/
Dpowergate-bpmp.c113 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/
Dx86_pkg_temp_thermal.c62 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/
Dpcpu.c361 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/
Dclk-bpmp.c323 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/
Dsclp_early_core.c308 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()
Dsclp.h207 u16 max_id; member
/drivers/misc/ocxl/
Dpasid.c24 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/
Dstex.c353 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 …]
Dvmw_pvscsi.c1342 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()
Djazz_esp.c119 host->max_id = 8; in esp_jazz_probe()
Dsun3x_esp.c182 host->max_id = 8; in esp_sun3x_probe()
Dscsi_scan.c1633 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()
Dstorvsc_drv.c1810 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()
Dmac_esp.c310 host->max_id = 8; in esp_mac_probe()
Dps3rom.c381 host->max_id = 1; in ps3rom_probe()
Dhosts.c400 shost->max_id = 8; in scsi_host_alloc()
/drivers/tee/
Dtee_core.c712 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/
Dbnxt_ulp.c428 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/
Dlinit.c1361 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/
Dibmvscsi.c71 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/
Diochannel.h179 u32 max_id; member
/drivers/scsi/snic/
Dsnic_disc.c95 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/
Dvisorhba_main.c1066 scsihost->max_id = (unsigned int)max.max_id; in visorhba_probe()
/drivers/usb/storage/
Dscsiglue.c491 for (i = 1; i < host->max_id; ++i) in usb_stor_report_device_reset()
/drivers/input/touchscreen/
Datmel_mxt_ts.c1628 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()

12345