| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | mapping.c | 17 unsigned long max_id; member 56 err = xa_alloc(&ctx->xarray, &mi->id, mi, XA_LIMIT(1, ctx->max_id), in mapping_add() 187 mapping_create(size_t data_size, u32 max_id, bool delayed_removal) in mapping_create() argument 195 ctx->max_id = max_id ? max_id : UINT_MAX; in mapping_create()
|
| H A D | mapping.h | 23 struct mapping_ctx *mapping_create(size_t data_size, u32 max_id,
|
| /OK3568_Linux_fs/kernel/drivers/soc/ti/ |
| H A D | ti_sci_pm_domains.c | 125 u32 max_id = 0; in ti_sci_pm_domain_probe() local 156 if (args.args[0] > max_id) in ti_sci_pm_domain_probe() 157 max_id = args.args[0]; in ti_sci_pm_domain_probe() 183 devm_kcalloc(dev, max_id + 1, in ti_sci_pm_domain_probe() 189 pd_provider->data.num_domains = max_id + 1; in ti_sci_pm_domain_probe()
|
| /OK3568_Linux_fs/kernel/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() 157 int index, max_id; in radix__init_new_context() local 159 max_id = (1 << mmu_pid_bits) - 1; in radix__init_new_context() 160 index = alloc_context_id(mmu_base_pid, max_id); in radix__init_new_context()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_debugfs.c | 566 int aura, rc, max_id; in rvu_dbg_npa_ctx_display() local 606 max_id = pfvf->aura_ctx->qsize; in rvu_dbg_npa_ctx_display() 609 max_id = pfvf->pool_ctx->qsize; in rvu_dbg_npa_ctx_display() 613 if (id < 0 || id >= max_id) { in rvu_dbg_npa_ctx_display() 616 max_id - 1); in rvu_dbg_npa_ctx_display() 623 max_id = id + 1; in rvu_dbg_npa_ctx_display() 625 for (aura = id; aura < max_id; aura++) { in rvu_dbg_npa_ctx_display() 644 int max_id = 0; in write_npa_ctx() local 657 max_id = pfvf->aura_ctx->qsize; in write_npa_ctx() 663 max_id = pfvf->pool_ctx->qsize; in write_npa_ctx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/tegra/ |
| H A 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()
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xcmisc.c | 71 XID min_id, max_id; in ProcXCMiscGetXIDRange() local 74 GetXIDRange(client->index, FALSE, &min_id, &max_id); in ProcXCMiscGetXIDRange() 80 .count = max_id - min_id + 1 in ProcXCMiscGetXIDRange()
|
| /OK3568_Linux_fs/kernel/drivers/thermal/intel/ |
| H A 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() 499 max_id = topology_max_packages() * topology_max_die_per_package(); in pkg_temp_thermal_init() 500 zones = kcalloc(max_id, sizeof(struct zone_device *), in pkg_temp_thermal_init()
|
| /OK3568_Linux_fs/kernel/drivers/clk/tegra/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/s390/char/ |
| H A D | sclp_early_core.c | 303 int rc, id, max_id = 0; in sclp_early_read_storage_info() local 317 for (id = 0; id <= max_id; id++) { in sclp_early_read_storage_info() 325 max_id = sccb->max_id; in sclp_early_read_storage_info()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A 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() 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 | 1365 u32 max_id; in pvscsi_probe() local 1427 max_id = pvscsi_get_max_targets(adapter); in pvscsi_probe() 1428 printk(KERN_INFO "vmw_pvscsi: max_id: %u\n", max_id); in pvscsi_probe() 1435 pvscsi_ring_pages = (max_id > 16) ? in pvscsi_probe() 1470 host->max_id = max_id; in pvscsi_probe()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | syscalltbl.h | 8 int max_id; member
|
| H A D | syscalltbl.c | 82 tbl->syscalls.max_id = syscalltbl_native_max_id; in syscalltbl__init_native()
|
| /OK3568_Linux_fs/u-boot/drivers/ata/ |
| H A D | ahci.c | 1175 uc_plat->max_id = 2; in ahci_probe_scsi() 1190 uc_plat->max_id = max_t(unsigned long, uc_priv->n_ports, in ahci_probe_scsi() 1191 uc_plat->max_id); in ahci_probe_scsi() 1193 if (uc_priv->n_ports < uc_plat->max_id) in ahci_probe_scsi() 1194 uc_plat->max_id = uc_priv->n_ports; in ahci_probe_scsi()
|
| H A D | sata_ceva.c | 138 plat->max_id = 2; in sata_ceva_ofdata_to_platdata()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ulp.c | 444 unsigned long *events_bmap, u16 max_id) in bnxt_register_async_events() argument 457 ulp->max_async_event_id = max_id; in bnxt_register_async_events() 458 bnxt_hwrm_func_drv_rgtr(bp, events_bmap, max_id + 1, true); in bnxt_register_async_events()
|
| /OK3568_Linux_fs/kernel/drivers/tee/ |
| H A D | tee_core.c | 891 int rc, max_id; in tee_device_alloc() local 905 max_id = TEE_NUM_DEVICES / 2; in tee_device_alloc() 909 max_id = TEE_NUM_DEVICES; in tee_device_alloc() 913 teedev->id = find_next_zero_bit(dev_mask, max_id, offs); in tee_device_alloc() 914 if (teedev->id < max_id) in tee_device_alloc() 918 if (teedev->id >= max_id) { in tee_device_alloc()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | fs-writeback.c | 640 int max_id; in wbc_detach_inode() local 651 max_id = wbc->wb_id; in wbc_detach_inode() 654 max_id = wbc->wb_lcand_id; in wbc_detach_inode() 657 max_id = wbc->wb_tcand_id; in wbc_detach_inode() 690 if (wbc->wb_id != max_id) in wbc_detach_inode() 704 inode_switch_wbs(inode, max_id); in wbc_detach_inode() 711 inode->i_wb_frn_winner = max_id; in wbc_detach_inode()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/aacraid/ |
| H A D | linit.c | 1332 class_to_shost(device)->max_id); in aac_show_max_id() 1756 shost->max_id = aac->maximum_num_containers; in aac_probe_one() 1757 if (shost->max_id < aac->maximum_num_physicals) in aac_probe_one() 1758 shost->max_id = aac->maximum_num_physicals; in aac_probe_one() 1759 if (shost->max_id < MAXIMUM_NUM_CONTAINERS) in aac_probe_one() 1760 shost->max_id = MAXIMUM_NUM_CONTAINERS; in aac_probe_one() 1762 shost->this_id = shost->max_id; in aac_probe_one()
|
| /OK3568_Linux_fs/kernel/include/soc/tegra/ |
| H A D | bpmp-abi.h | 950 uint32_t max_id; member 1232 uint32_t max_id; member 1594 uint32_t max_id; member
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | scsi.h | 175 unsigned long max_id; member
|
| /OK3568_Linux_fs/kernel/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]"); 2273 host->max_id = max_id; in ibmvscsi_probe() 2279 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
|