Searched refs:max_id (Results 1 - 103 of 103) sorted by relevance

/linux-4.1.27/arch/powerpc/mm/
H A Dicswx_pid.c29 static int new_cop_pid(struct ida *ida, int min_id, int max_id, new_cop_pid() argument
48 if (index > max_id) { new_cop_pid()
/linux-4.1.27/drivers/xen/
H A Dpcpu.c361 int cpu_id = 0, max_id = 0; xen_pcpu_id() local
365 while (cpu_id <= max_id) { xen_pcpu_id()
374 if (op.u.pcpu_info.max_present > max_id) xen_pcpu_id()
375 max_id = op.u.pcpu_info.max_present; xen_pcpu_id()
/linux-4.1.27/drivers/scsi/
H A Dstex.c336 unsigned int max_id; member in struct:st_card_info
596 if (hba->cardtype == st_shasta || id == host->max_id - 1) { stex_queuecommand_lck()
602 if (id == host->max_id - 1) { stex_queuecommand_lck()
614 if (id != host->max_id - 1) stex_queuecommand_lck()
635 ver.console_id = host->max_id - 1; stex_queuecommand_lck()
1409 .max_id = 17,
1422 .max_id = 129,
1435 .max_id = 2,
1448 .max_id = 129,
1461 .max_id = 129,
1630 host->max_id = ci->max_id; stex_probe()
H A Djazz_esp.c146 host->max_id = 8; esp_jazz_probe()
H A Dvmw_pvscsi.c1334 u32 max_id; pvscsi_probe() local
1398 max_id = pvscsi_get_max_targets(adapter); pvscsi_probe()
1399 printk(KERN_INFO "vmw_pvscsi: max_id: %u\n", max_id); pvscsi_probe()
1406 pvscsi_ring_pages = (max_id > 16) ? pvscsi_probe()
1441 host->max_id = max_id; pvscsi_probe()
H A Deata.c667 max_id : 5; member in struct:eata_info
687 unchar max_id : 5, /* Max SCSI target ID number */ member in struct:eata_info
1322 if (info.max_id > 7 && info.max_id < MAX_TARGET) port_detect()
1323 shost->max_id = info.max_id + 1; port_detect()
1389 if (shost->max_id > 8 || shost->max_lun > 8) port_detect()
1391 ("%s: wide SCSI support enabled, max_id %u, max_lun %llu.\n", port_detect()
1392 ha->board_name, shost->max_id, shost->max_lun); port_detect()
1405 printk("%s: isaena %u, forcaddr %u, max_id %u, max_chan %u, " port_detect()
1407 info.forcaddr, info.max_id, info.max_chan, info.large_sg, port_detect()
1929 for (k = 0; k < shost->max_id; k++) { eata2x_eh_host_reset()
2467 for (k = 0; k < shost->max_id; k++) ihdlr()
H A Dsun3x_esp.c209 host->max_id = 8; esp_sun3x_probe()
H A Du14-34f.c957 sh[j]->max_id = MAX_TARGET; port_detect()
1008 if (sh[j]->max_id > 8 || sh[j]->max_lun > 8) port_detect()
1009 printk("%s: wide SCSI support enabled, max_id %u, max_lun %llu.\n", port_detect()
1010 BN(j), sh[j]->max_id, sh[j]->max_lun); port_detect()
1424 for (k = 0; k < sh[j]->max_id; k++) { u14_34f_eh_host_reset()
1863 for (k = 0; k < sh[j]->max_id; k++) ihdlr()
H A Dps3rom.c395 host->max_id = 1; ps3rom_probe()
H A Dstorvsc_drv.c1828 host->max_id = STORVSC_FC_MAX_TARGETS; storvsc_probe()
1834 host->max_id = max_targets; storvsc_probe()
1840 host->max_id = STORVSC_IDE_MAX_TARGETS; storvsc_probe()
H A Dmac_esp.c504 host->max_id = 8; esp_mac_probe()
H A Dscsi_scan.c1685 for (id = 0; id < shost->max_id; ++id) { scsi_scan_channel()
1688 * could modify max_id to match the current max, scsi_scan_channel()
1699 order_id = shost->max_id - id - 1; scsi_scan_channel()
1718 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || scsi_scan_host_selected()
H A Dam53c974.c492 shost->max_id = 8; pci_esp_probe_one()
H A Dhosts.c400 shost->max_id = 8; scsi_host_alloc()
H A Dsun_esp.c503 host->max_id = (hme ? 16 : 8); esp_sbus_probe_one()
H A DFlashPoint.c6204 unsigned char i, k, max_id; FPT_inisci() local
6211 max_id = 0x08; FPT_inisci()
6214 max_id = 0x10; FPT_inisci()
6217 for (i = 0; i < max_id; i++) { FPT_inisci()
6233 for (i = 0; i < max_id; i++) { FPT_inisci()
6390 unsigned char i, k, max_id; FPT_scsavdi() local
6402 max_id = 0x08; FPT_scsavdi()
6405 max_id = 0x10; FPT_scsavdi()
6407 for (i = 0; i < max_id; i++) { FPT_scsavdi()
H A Datp870u.c2737 shpnt->max_id = 16; atp870u_probe()
2908 shpnt->max_id = 16; atp870u_probe()
2994 shpnt->max_id = 16; atp870u_probe()
2996 shpnt->max_id = 8; atp870u_probe()
H A Desp_scsi.h550 * 2) Set host->max_id as appropriate.
H A Ddc395x.c1096 if (cmd->device->id >= acb->scsi_host->max_id || dc395x_queue_command_lck()
4431 host->max_id = 16; adapter_init_scsi_host()
4432 if (host->max_id - 1 == eeprom->scsi_id) adapter_init_scsi_host()
4433 host->max_id--; adapter_init_scsi_host()
4638 seq_printf(m, "MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun); dc395x_show_info()
H A D3w-9xxx.c2078 host->max_id = TW_MAX_UNITS_9650SE; twa_probe()
2080 host->max_id = TW_MAX_UNITS; twa_probe()
H A Dqlogicpti.c1315 host->max_id = MAX_TARGETS; qpti_sbus_probe()
H A Dscsi_debug.c697 hpnt->max_id = scsi_debug_num_tgts + 1; sdebug_max_tgts_luns()
699 hpnt->max_id = scsi_debug_num_tgts; sdebug_max_tgts_luns()
5353 hpnt->max_id = scsi_debug_num_tgts + 1; sdebug_driver_probe()
5355 hpnt->max_id = scsi_debug_num_tgts; sdebug_driver_probe()
H A Deata_pio.c772 sh->max_id = 8; register_pio_HBA()
H A Discsi_tcp.c839 shost->max_id = 0; iscsi_sw_tcp_session_create()
H A Dvirtio_scsi.c1000 shost->max_id = num_targets; virtscsi_probe()
H A Dxen-scsifront.c863 host->max_id = VSCSIIF_MAX_TARGET; scsifront_probe()
H A Da100u2w.c1154 shost->max_id = host->max_targets; inia100_probe_one()
H A D3w-xxxx.c111 Set tw_host->max_id for 12 port cards.
2303 host->max_id = TW_MAX_UNITS; tw_probe()
H A Dscsi_transport_spi.c607 return sprintf(buf, "%s\n", shost->max_id == 16 ? "wide" : "narrow"); show_spi_host_width()
H A Dhptiop.c1395 host->max_id = le32_to_cpu(iop_config.max_devices); hptiop_probe()
H A Dgdth.c4783 shp->max_id = ha->tid_cnt; gdth_isa_probe_one()
4914 shp->max_id = ha->tid_cnt; gdth_eisa_probe_one()
5058 shp->max_id = ha->tid_cnt; gdth_pci_probe_one()
H A Dmvumi.c2452 host->max_id = mhba->max_target_id; mvumi_io_attach()
H A D3w-sas.c1630 host->max_id = TW_MAX_UNITS; twl_probe()
H A D53c700.c370 host->max_id = 8; NCR_700_detect()
H A Dmegaraid.c286 adapter->host->max_id = 16; /* max targets per channel */ mega_query_adapter()
1862 adapter->host->max_id, adapter->host->max_channel, megaraid_info()
H A Dscsi_transport_fc.c2134 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || fc_user_scan()
2148 tgthi = shost->max_id; fc_user_scan()
H A Ddpt_i2o.c2357 host->max_id = 16; adpt_scsi_host_alloc()
H A Dinitio.c2927 shost->max_id = host->max_tar; initio_probe_one()
H A Dadvansys.c3338 " host_busy %u, max_id %u, max_lun %llu, max_channel %u\n", asc_prt_driver_conf()
3339 atomic_read(&shost->host_busy), shost->max_id, asc_prt_driver_conf()
11631 shost->max_id = ASC_MAX_TID + 1; advansys_board_found()
11642 shost->max_id = ADV_MAX_TID + 1; advansys_board_found()
H A Dipr.c9596 host->max_id = IPR_MAX_SIS64_TARGETS_PER_BUS; ipr_init_ioa_cfg()
9604 host->max_id = IPR_MAX_NUM_TARGETS_PER_BUS; ipr_init_ioa_cfg()
H A Dqla1280.c4310 host->max_id = MAX_TARGETS; qla1280_probe_one()
H A DBusLogic.c2299 host->max_id = adapter->maxdev; blogic_inithoststruct()
H A Dpmcraid.c5870 host->max_id = PMCRAID_MAX_NUM_TARGETS_PER_BUS; pmcraid_probe()
H A Dips.c6740 sh->max_id = ha->ntargets; ips_register_scsi()
H A Dncr53c8xx.c8401 instance->max_id = np->maxwide ? 16 : 8; ncr_attach()
H A Dhpsa.c4254 sh->max_id = HPSA_MAX_LUN; hpsa_register_scsi()
/linux-4.1.27/drivers/staging/i2o/
H A Di2o_scsi.c133 scsi_host->max_id = i2o_scsi_max_id; i2o_scsi_host_alloc()
283 if (le32_to_cpu(id) >= scsi_host->max_id) { i2o_scsi_probe()
284 osm_warn("SCSI device id (%d) >= max_id of I2O host (%d)", i2o_scsi_probe()
285 le32_to_cpu(id), scsi_host->max_id); i2o_scsi_probe()
/linux-4.1.27/drivers/scsi/aacraid/
H A Dlinit.c910 class_to_shost(device)->max_id); aac_show_max_id()
999 .name = "max_id",
1278 shost->max_id = aac->maximum_num_containers; aac_probe_one()
1279 if (shost->max_id < aac->maximum_num_physicals) aac_probe_one()
1280 shost->max_id = aac->maximum_num_physicals; aac_probe_one()
1281 if (shost->max_id < MAXIMUM_NUM_CONTAINERS) aac_probe_one()
1282 shost->max_id = MAXIMUM_NUM_CONTAINERS; aac_probe_one()
1284 shost->this_id = shost->max_id; aac_probe_one()
/linux-4.1.27/drivers/s390/char/
H A Dsclp_cmd.c485 u16 max_id; member in struct:read_storage_sccb
549 sclp_max_storage_id = sccb->max_id; sclp_detect_standby_memory()
/linux-4.1.27/ipc/
H A Dmsg.c423 int max_id; msgctl_nolock() local
453 max_id = ipc_get_maxid(&msg_ids(ns)); msgctl_nolock()
457 return (max_id < 0) ? 0 : max_id; msgctl_nolock()
H A Dutil.c186 int max_id = -1; ipc_get_maxid() local
200 max_id = id; ipc_get_maxid()
204 return max_id; ipc_get_maxid()
H A Dsem.c1189 int max_id; semctl_nolock() local
1212 max_id = ipc_get_maxid(&sem_ids(ns)); semctl_nolock()
1216 return (max_id < 0) ? 0 : max_id; semctl_nolock()
/linux-4.1.27/drivers/input/touchscreen/
H A Datmel_mxt_ts.c1599 u8 min_id, max_id; mxt_get_object_table() local
1607 max_id = reportid - 1; mxt_get_object_table()
1610 max_id = 0; mxt_get_object_table()
1617 min_id, max_id); mxt_get_object_table()
1645 data->T9_reportid_max = max_id; mxt_get_object_table()
1658 data->T100_reportid_max = max_id; mxt_get_object_table()
H A Dcyttsp4_core.c856 dev_err(dev, "%s: tch=%d -> bad trk_id=%d max_id=%d\n", cyttsp4_get_mt_touches()
/linux-4.1.27/drivers/staging/rts5208/
H A Drtsx.c956 /* set the supported max_lun and max_id for the scsi host rtsx_probe()
957 * NOTE: the minimal value of max_id is 1 */ rtsx_probe()
958 host->max_id = 1; rtsx_probe()
/linux-4.1.27/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c85 static int max_id = 64; variable
108 module_param_named(max_id, max_id, int, S_IRUGO | S_IWUSR);
109 MODULE_PARM_DESC(max_id, "Largest ID value for each channel");
2293 host->max_id = max_id; ibmvscsi_probe()
H A Dibmvfc.c4765 shost->max_id = max_targets; ibmvfc_probe()
/linux-4.1.27/include/uapi/linux/
H A Dbtrfs.h183 __u64 max_id; /* out */ member in struct:btrfs_ioctl_fs_info_args
/linux-4.1.27/drivers/usb/storage/
H A Dusb.c1009 /* max_id is 8 initially, so no need to set it here */ usb_stor_probe2()
1012 us_to_host(us)->max_id = 1; usb_stor_probe2()
H A Dscsiglue.c432 for (i = 1; i < host->max_id; ++i) usb_stor_report_device_reset()
H A Duas.c928 shost->max_id = 1; uas_probe()
/linux-4.1.27/drivers/scsi/mvsas/
H A Dmv_init.c468 shost->max_id = MVS_MAX_DEVICES; mvs_prep_sas_ha_init()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_mid.c496 host->max_id = ha->max_fibre_devices; qla24xx_create_vhost()
H A Dqla_os.c2610 host->max_id = ha->max_fibre_devices; qla2x00_probe_one()
2628 "max_id=%d this_id=%d " qla2x00_probe_one()
2630 "max_lun=%llu transportt=%p, vendor_id=%llu.\n", host->max_id, qla2x00_probe_one()
/linux-4.1.27/drivers/scsi/isci/
H A Dinit.c596 shost->max_id = ~0; isci_host_alloc()
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_scsi.c330 adapter->scsi_host->max_id = 511; zfcp_scsi_adapter_register()
/linux-4.1.27/drivers/message/fusion/
H A Dmptspi.c1446 * max_id = 1 + actual max id, mptspi_probe()
1450 sh->max_id = ioc->devices_per_bus; mptspi_probe()
H A Dmptfc.c1259 sh->max_id = ioc->pfacts->MaxDevices; mptfc_probe()
H A Dmptbase.c3243 int max_id; GetPortFacts() local
3290 max_id = (ioc->bus_type == SAS) ? pfacts->PortSCSIID : GetPortFacts()
3292 ioc->devices_per_bus = (max_id > 255) ? 256 : max_id; GetPortFacts()
3293 ioc->number_of_buses = (ioc->devices_per_bus < 256) ? 1 : max_id/256; GetPortFacts()
3302 ioc->number_of_buses = (max_id > 255) ? 255 : max_id; GetPortFacts()
H A Dmptsas.c5211 sh->max_id = -1; mptsas_probe()
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_main.c407 host->max_id = ESAS2R_MAX_ID + 1; esas2r_probe()
416 host->this_id = host->max_id + 1; esas2r_probe()
/linux-4.1.27/drivers/staging/unisys/virthba/
H A Dvirthba.c472 scsihost->max_id = (unsigned)virtpcidev->scsi.max.max_id; virthba_probe()
/linux-4.1.27/drivers/scsi/cxgbi/
H A Dlibcxgbi.c334 unsigned int max_id, struct scsi_host_template *sht, cxgbi_hbas_add()
354 shost->max_id = max_id; cxgbi_hbas_add()
333 cxgbi_hbas_add(struct cxgbi_device *cdev, u64 max_lun, unsigned int max_id, struct scsi_host_template *sht, struct scsi_transport_template *stt) cxgbi_hbas_add() argument
/linux-4.1.27/drivers/scsi/pm8001/
H A Dpm8001_init.c564 shost->max_id = PM8001_MAX_DEVICES; pm8001_prep_sas_ha_init()
/linux-4.1.27/drivers/scsi/aic94xx/
H A Daic94xx_init.c768 shost->max_id = ~0; asd_pci_probe()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_im.c549 im_port->shost->max_id = MAX_FCP_TARGET; bfad_im_scsi_host_alloc()
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_init.c635 shost->max_id = min_t(uint32_t, csio_fcoe_rnodes, csio_shost_init()
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_main.c708 host->max_id = FNIC_MAX_FCP_TARGET; fnic_probe()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Diochannel.h257 u32 max_id; /* maximum SCSI ID for devices attached to this member in struct:vhba_config_max
/linux-4.1.27/drivers/staging/unisys/virtpci/
H A Dvirtpci.c1306 tmpvpcidev->scsi.max.max_id, info_debugfs_read()
/linux-4.1.27/drivers/target/loopback/
H A Dtcm_loop.c409 sh->max_id = 2; tcm_loop_driver_probe()
/linux-4.1.27/drivers/infiniband/ulp/iser/
H A Discsi_iser.c618 shost->max_id = 0; iscsi_iser_session_create()
/linux-4.1.27/include/scsi/
H A Dscsi_host.h602 unsigned int max_id; member in struct:Scsi_Host
/linux-4.1.27/drivers/scsi/be2iscsi/
H A Dbe_main.c588 shost->max_id = BE2_MAX_SESSIONS; beiscsi_hba_alloc()
5492 phba->shost->max_id = phba->params.cxns_per_ctrl; beiscsi_eeh_resume()
5641 phba->shost->max_id = phba->params.cxns_per_ctrl; beiscsi_dev_probe()
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c687 shost->max_id = BNX2FC_MAX_FCP_TGT; bnx2fc_shost_config()
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c796 shost->max_id = ISCSI_MAX_CONNS_PER_HBA; bnx2i_alloc_hba()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c1366 shost->max_id = np->maxwide ? 16 : 8; sym_attach()
/linux-4.1.27/fs/btrfs/
H A Dioctl.c2696 if (device->devid > fi_args->max_id) btrfs_ioctl_fs_info()
2697 fi_args->max_id = device->devid; btrfs_ioctl_fs_info()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c7371 u_int max_id; ahc_find_tmode_devs() local
7373 max_id = (ahc->features & AHC_WIDE) ? 16 : 8; ahc_find_tmode_devs()
7374 if (ccb->ccb_h.target_id >= max_id) ahc_find_tmode_devs()
H A Daic7xxx_osm.c1109 host->max_id = (ahc->features & AHC_WIDE) ? 16 : 8; ahc_linux_register_host()
H A Daic79xx_osm.c1245 host->max_id = (ahd->features & AHD_WIDE) ? 16 : 8; ahd_linux_register_host()
H A Daic79xx_core.c10296 u_int max_id; ahd_find_tmode_devs() local
10298 max_id = (ahd->features & AHD_WIDE) ? 16 : 8; ahd_find_tmode_devs()
10299 if (ccb->ccb_h.target_id >= max_id) ahd_find_tmode_devs()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c654 host->max_id = adapter->max_target; megaraid_io_attach()
H A Dmegaraid_sas_base.c5041 host->max_id = MEGASAS_MAX_DEV_PER_CHANNEL; megasas_io_attach()
/linux-4.1.27/drivers/scsi/fcoe/
H A Dfcoe.c737 lport->host->max_id = FCOE_MAX_FCP_TARGET; fcoe_shost_config()
/linux-4.1.27/drivers/infiniband/ulp/srp/
H A Dib_srp.c3151 target_host->max_id = 1; srp_create_target()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_base.c3617 ioc->shost->max_id = -1; _base_get_ioc_facts()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c3738 ioc->shost->max_id = -1; _base_get_ioc_facts()
/linux-4.1.27/drivers/scsi/arcmsr/
H A Darcmsr_hba.c717 host->max_id = ARCMSR_MAX_TARGETID; /*16:8*/ arcmsr_probe()
/linux-4.1.27/drivers/scsi/ufs/
H A Dufshcd.c5485 host->max_id = UFSHCD_MAX_ID; ufshcd_init()
/linux-4.1.27/drivers/ata/
H A Dlibata-scsi.c3678 shost->max_id = 16; ata_scsi_add_hosts()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_os.c8695 host->max_id = MAX_TARGETS; qla4xxx_probe_adapter()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_init.c3302 shost->max_id = LPFC_MAX_TARGET; lpfc_create_port()

Completed in 2153 milliseconds