| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | mapping.c | 22 unsigned long max_id; member 66 err = xa_alloc(&ctx->xarray, &mi->id, mi, XA_LIMIT(1, ctx->max_id), in mapping_add() 197 mapping_create(size_t data_size, u32 max_id, bool delayed_removal) in mapping_create() argument 205 ctx->max_id = max_id ? max_id : UINT_MAX; in mapping_create() 225 mapping_create_for_id(u8 *id, u8 id_len, u8 type, size_t data_size, u32 max_id, in mapping_create_for_id() argument 240 ctx = mapping_create(data_size, max_id, delayed_removal); in mapping_create_for_id()
|
| /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() 163 int index, max_id; in radix__init_new_context() local 165 max_id = (1 << mmu_pid_bits) - 1; in radix__init_new_context() 166 index = alloc_context_id(mmu_base_pid, max_id); in radix__init_new_context()
|
| /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/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/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() 433 unsigned int max_id, id, count = 0; in tegra_bpmp_probe_clocks() local 441 max_id = err; in tegra_bpmp_probe_clocks() 443 dev_dbg(bpmp->dev, "maximum clock ID: %u\n", max_id); in tegra_bpmp_probe_clocks() 445 clocks = kzalloc_objs(*clocks, max_id + 1); in tegra_bpmp_probe_clocks() 449 for (id = 0; id <= max_id; id++) { in tegra_bpmp_probe_clocks()
|
| /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/drivers/crypto/intel/qat/qat_common/ |
| H 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()
|
| /linux/sound/soc/intel/avs/ |
| H A D | utils.c | 190 int idx, max_id; in avs_module_info_free() 199 max_id = adev->mods_info->entries[idx].instance_max_count - 1; in avs_module_id_alloc() 201 return ida_alloc_max(adev->mod_idas[idx], max_id, GFP_KERNEL); in avs_module_id_alloc() 196 int ret, idx, max_id; avs_module_id_alloc() local
|
| /linux/fs/ntfs3/ |
| H A D | record.c | 36 u16 free_id, max_id, t16; in mi_new_attt_id() local 50 max_id = 0; in mi_new_attt_id() 57 rec->next_attr_id = cpu_to_le16(max_id + 1); in mi_new_attt_id() 66 } else if (max_id < t16) in mi_new_attt_id() 67 max_id = t16; in mi_new_attt_id()
|
| /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 | mac_esp.c | 310 host->max_id = 8; in esp_mac_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/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_debugfs.c | 1206 int aura, rc, max_id; in rvu_dbg_npa_ctx_display() local 1246 max_id = pfvf->aura_ctx->qsize; in rvu_dbg_npa_ctx_display() 1249 max_id = pfvf->pool_ctx->qsize; in rvu_dbg_npa_ctx_display() 1253 if (id < 0 || id >= max_id) { in rvu_dbg_npa_ctx_display() 1256 max_id - 1); in rvu_dbg_npa_ctx_display() 1263 max_id = id + 1; in rvu_dbg_npa_ctx_display() 1265 for (aura = id; aura < max_id; aura++) { in rvu_dbg_npa_ctx_display() 1289 int max_id = 0; in write_npa_ctx() local 1302 max_id = pfvf->aura_ctx->qsize; in write_npa_ctx() 1308 max_id = pfvf->pool_ctx->qsize; in write_npa_ctx() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ulp.c | 439 unsigned long *events_bmap, u16 max_id) in bnxt_register_async_events() argument 449 ulp->max_async_event_id = max_id; in bnxt_register_async_events() 450 bnxt_hwrm_func_drv_rgtr(bp, events_bmap, max_id + 1, true); in bnxt_register_async_events()
|
| /linux/drivers/scsi/aacraid/ |
| H A D | linit.c | 1335 class_to_shost(device)->max_id); in aac_show_max_id() 1760 shost->max_id = aac->maximum_num_containers; in aac_probe_one() 1761 if (shost->max_id < aac->maximum_num_physicals) in aac_probe_one() 1762 shost->max_id = aac->maximum_num_physicals; in aac_probe_one() 1763 if (shost->max_id < MAXIMUM_NUM_CONTAINERS) in aac_probe_one() 1764 shost->max_id = MAXIMUM_NUM_CONTAINERS; in aac_probe_one() 1766 shost->this_id = shost->max_id; in aac_probe_one()
|
| /linux/drivers/tee/ |
| H A D | tee_core.c | 1038 int rc, max_id; in tee_device_alloc() local 1052 max_id = TEE_NUM_DEVICES / 2; in tee_device_alloc() 1056 max_id = TEE_NUM_DEVICES; in tee_device_alloc() 1060 teedev->id = find_next_zero_bit(dev_mask, max_id, offs); in tee_device_alloc() 1061 if (teedev->id < max_id) in tee_device_alloc() 1065 if (teedev->id >= max_id) { in tee_device_alloc()
|
| /linux/fs/ |
| H A D | fs-writeback.c | 910 int max_id; in wbc_detach_inode() local 921 max_id = wbc->wb_id; in wbc_detach_inode() 924 max_id = wbc->wb_lcand_id; in wbc_detach_inode() 927 max_id = wbc->wb_tcand_id; in wbc_detach_inode() 960 if (wbc->wb_id != max_id) in wbc_detach_inode() 974 inode_switch_wbs(inode, max_id); in wbc_detach_inode() 981 inode->i_wb_frn_winner = max_id; in wbc_detach_inode()
|
| /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]"); 2279 host->max_id = max_id; in ibmvscsi_probe() 2285 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/drivers/input/touchscreen/ |
| H A D | atmel_mxt_ts.c | 1740 u8 min_id, max_id; in mxt_parse_object_table() local 1748 max_id = reportid - 1; in mxt_parse_object_table() 1751 max_id = 0; in mxt_parse_object_table() 1758 min_id, max_id); in mxt_parse_object_table() 1796 data->T15_reportid_max = max_id; in mxt_parse_object_table() 1809 data->T97_reportid_max = max_id; in mxt_parse_object_table() 1814 data->T100_reportid_max = max_id; in mxt_parse_object_table()
|
| /linux/include/scsi/ |
| H A D | scsi_host.h | 611 unsigned int max_id; member
|
| /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/drivers/media/platform/renesas/rcar-vin/ |
| H A D | rcar-core.c | 407 unsigned int max_id) in rvin_group_notifier_init() argument 446 for (id = 0; id < max_id; id++) { in rvin_group_notifier_init()
|