| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | mapping.c | 21 unsigned long max_id; member 64 err = xa_alloc(&ctx->xarray, &mi->id, mi, XA_LIMIT(1, ctx->max_id), in mapping_add() 195 mapping_create(size_t data_size, u32 max_id, bool delayed_removal) in mapping_create() argument 203 ctx->max_id = max_id ? max_id : UINT_MAX; in mapping_create() 223 mapping_create_for_id(u64 id, u8 type, size_t data_size, u32 max_id, bool delayed_removal) in mapping_create_for_id() argument 236 ctx = mapping_create(data_size, max_id, delayed_removal); in mapping_create_for_id()
|
| A D | mapping.h | 23 struct mapping_ctx *mapping_create(size_t data_size, u32 max_id, 30 mapping_create_for_id(u64 id, u8 type, size_t data_size, u32 max_id, bool delayed_removal);
|
| /drivers/pmdomain/ti/ |
| A D | ti_sci_pm_domains.c | 210 u32 max_id = 0; in ti_sci_pm_domain_probe() local 235 if (args.args[0] > max_id) { in ti_sci_pm_domain_probe() 236 max_id = args.args[0]; in ti_sci_pm_domain_probe() 279 devm_kcalloc(dev, max_id + 1, in ti_sci_pm_domain_probe() 285 pd_provider->data.num_domains = max_id + 1; in ti_sci_pm_domain_probe()
|
| /drivers/pmdomain/tegra/ |
| A D | powergate-bpmp.c | 112 return response.get_max_id.max_id; in tegra_bpmp_powergate_get_max_id() 216 unsigned int max_id, id, count = 0; in tegra_bpmp_probe_powergates() local 224 max_id = err; in tegra_bpmp_probe_powergates() 226 dev_dbg(bpmp->dev, "maximum powergate ID: %u\n", max_id); in tegra_bpmp_probe_powergates() 228 powergates = kcalloc(max_id + 1, sizeof(*powergates), GFP_KERNEL); in tegra_bpmp_probe_powergates() 232 for (id = 0; id <= max_id; id++) { in tegra_bpmp_probe_powergates()
|
| /drivers/thermal/intel/ |
| 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()
|
| /drivers/pmdomain/bcm/ |
| 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()
|
| /drivers/clk/tegra/ |
| 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()
|
| /drivers/s390/char/ |
| 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()
|
| A D | sclp.h | 200 u16 max_id; member
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | adf_rl.c | 483 int max_id, i, step, rp_per_leaf; in get_next_free_node_id() local 498 max_id = i + rp_per_leaf; in get_next_free_node_id() 504 max_id = RL_CLUSTER_MAX; in get_next_free_node_id() 513 while (i < max_id && sla_list[i]) in get_next_free_node_id() 516 if (i >= max_id) in get_next_free_node_id() 1029 u32 max_id; in adf_rl_remove_sla_all() local 1036 max_id = adf_rl_get_sla_arr_of_type(rl_data, j, &sla_type_arr); in adf_rl_remove_sla_all() 1038 for (i = 0; i < max_id; i++) { in adf_rl_remove_sla_all()
|
| /drivers/misc/ocxl/ |
| 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()
|
| /drivers/scsi/ |
| A D | stex.c | 356 unsigned int max_id; member 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, 1605 .max_id = 129, [all …]
|
| 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()
|
| A D | jazz_esp.c | 119 host->max_id = 8; in esp_jazz_probe()
|
| A D | sun3x_esp.c | 182 host->max_id = 8; in esp_sun3x_probe()
|
| A D | scsi_scan.c | 1847 for (id = 0; id < shost->max_id; ++id) { in scsi_scan_channel() 1861 order_id = shost->max_id - id - 1; in scsi_scan_channel() 1881 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || in scsi_scan_host_selected()
|
| A D | mac_esp.c | 310 host->max_id = 8; in esp_mac_probe()
|
| /drivers/net/ethernet/marvell/octeontx2/af/ |
| A D | rvu_debugfs.c | 1200 int aura, rc, max_id; in rvu_dbg_npa_ctx_display() local 1247 if (id < 0 || id >= max_id) { in rvu_dbg_npa_ctx_display() 1250 max_id - 1); in rvu_dbg_npa_ctx_display() 1257 max_id = id + 1; in rvu_dbg_npa_ctx_display() 1283 int max_id = 0; in write_npa_ctx() local 1305 if (id < 0 || id >= max_id) { in write_npa_ctx() 1308 max_id - 1); in write_npa_ctx() 1691 max_id = pfvf->sq_ctx->qsize; in rvu_dbg_nix_tm_tree_display() 2279 int qidx, rc, max_id = 0; in rvu_dbg_nix_queue_ctx_display() local 2343 max_id = id + 1; in rvu_dbg_nix_queue_ctx_display() [all …]
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_ulp.c | 373 unsigned long *events_bmap, u16 max_id) in bnxt_register_async_events() argument 383 ulp->max_async_event_id = max_id; in bnxt_register_async_events() 384 bnxt_hwrm_func_drv_rgtr(bp, events_bmap, max_id + 1, true); in bnxt_register_async_events()
|
| A D | bnxt_ulp.h | 128 unsigned long *events_bmap, u16 max_id);
|
| /drivers/tee/ |
| A D | tee_core.c | 887 int rc, max_id; in tee_device_alloc() local 901 max_id = TEE_NUM_DEVICES / 2; in tee_device_alloc() 905 max_id = TEE_NUM_DEVICES; in tee_device_alloc() 909 teedev->id = find_next_zero_bit(dev_mask, max_id, offs); in tee_device_alloc() 910 if (teedev->id < max_id) in tee_device_alloc() 914 if (teedev->id >= max_id) { in tee_device_alloc()
|
| /drivers/scsi/aacraid/ |
| 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()
|
| /drivers/scsi/ibmvscsi/ |
| 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()
|
| /drivers/scsi/snic/ |
| 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()
|
| /drivers/input/touchscreen/ |
| A D | atmel_mxt_ts.c | 1750 u8 min_id, max_id; in mxt_parse_object_table() local 1758 max_id = reportid - 1; in mxt_parse_object_table() 1761 max_id = 0; in mxt_parse_object_table() 1768 min_id, max_id); in mxt_parse_object_table() 1806 data->T15_reportid_max = max_id; in mxt_parse_object_table() 1819 data->T97_reportid_max = max_id; in mxt_parse_object_table() 1824 data->T100_reportid_max = max_id; in mxt_parse_object_table()
|