/linux-4.1.27/arch/powerpc/mm/ |
H A D | icswx_pid.c | 29 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 D | pcpu.c | 361 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 D | stex.c | 336 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 D | jazz_esp.c | 146 host->max_id = 8; esp_jazz_probe()
|
H A D | vmw_pvscsi.c | 1334 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 D | eata.c | 667 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 D | sun3x_esp.c | 209 host->max_id = 8; esp_sun3x_probe()
|
H A D | u14-34f.c | 957 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 D | ps3rom.c | 395 host->max_id = 1; ps3rom_probe()
|
H A D | storvsc_drv.c | 1828 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 D | mac_esp.c | 504 host->max_id = 8; esp_mac_probe()
|
H A D | scsi_scan.c | 1685 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 D | am53c974.c | 492 shost->max_id = 8; pci_esp_probe_one()
|
H A D | hosts.c | 400 shost->max_id = 8; scsi_host_alloc()
|
H A D | sun_esp.c | 503 host->max_id = (hme ? 16 : 8); esp_sbus_probe_one()
|
H A D | FlashPoint.c | 6204 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 D | atp870u.c | 2737 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 D | esp_scsi.h | 550 * 2) Set host->max_id as appropriate.
|
H A D | dc395x.c | 1096 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 D | 3w-9xxx.c | 2078 host->max_id = TW_MAX_UNITS_9650SE; twa_probe() 2080 host->max_id = TW_MAX_UNITS; twa_probe()
|
H A D | qlogicpti.c | 1315 host->max_id = MAX_TARGETS; qpti_sbus_probe()
|
H A D | scsi_debug.c | 697 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 D | eata_pio.c | 772 sh->max_id = 8; register_pio_HBA()
|
H A D | iscsi_tcp.c | 839 shost->max_id = 0; iscsi_sw_tcp_session_create()
|
H A D | virtio_scsi.c | 1000 shost->max_id = num_targets; virtscsi_probe()
|
H A D | xen-scsifront.c | 863 host->max_id = VSCSIIF_MAX_TARGET; scsifront_probe()
|
H A D | a100u2w.c | 1154 shost->max_id = host->max_targets; inia100_probe_one()
|
H A D | 3w-xxxx.c | 111 Set tw_host->max_id for 12 port cards. 2303 host->max_id = TW_MAX_UNITS; tw_probe()
|
H A D | scsi_transport_spi.c | 607 return sprintf(buf, "%s\n", shost->max_id == 16 ? "wide" : "narrow"); show_spi_host_width()
|
H A D | hptiop.c | 1395 host->max_id = le32_to_cpu(iop_config.max_devices); hptiop_probe()
|
H A D | gdth.c | 4783 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 D | mvumi.c | 2452 host->max_id = mhba->max_target_id; mvumi_io_attach()
|
H A D | 3w-sas.c | 1630 host->max_id = TW_MAX_UNITS; twl_probe()
|
H A D | 53c700.c | 370 host->max_id = 8; NCR_700_detect()
|
H A D | megaraid.c | 286 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 D | scsi_transport_fc.c | 2134 ((id != SCAN_WILD_CARD) && (id >= shost->max_id)) || fc_user_scan() 2148 tgthi = shost->max_id; fc_user_scan()
|
H A D | dpt_i2o.c | 2357 host->max_id = 16; adpt_scsi_host_alloc()
|
H A D | initio.c | 2927 shost->max_id = host->max_tar; initio_probe_one()
|
H A D | advansys.c | 3338 " 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 D | ipr.c | 9596 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 D | qla1280.c | 4310 host->max_id = MAX_TARGETS; qla1280_probe_one()
|
H A D | BusLogic.c | 2299 host->max_id = adapter->maxdev; blogic_inithoststruct()
|
H A D | pmcraid.c | 5870 host->max_id = PMCRAID_MAX_NUM_TARGETS_PER_BUS; pmcraid_probe()
|
H A D | ips.c | 6740 sh->max_id = ha->ntargets; ips_register_scsi()
|
H A D | ncr53c8xx.c | 8401 instance->max_id = np->maxwide ? 16 : 8; ncr_attach()
|
H A D | hpsa.c | 4254 sh->max_id = HPSA_MAX_LUN; hpsa_register_scsi()
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | i2o_scsi.c | 133 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 D | linit.c | 910 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 D | sclp_cmd.c | 485 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 D | msg.c | 423 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 D | util.c | 186 int max_id = -1; ipc_get_maxid() local 200 max_id = id; ipc_get_maxid() 204 return max_id; ipc_get_maxid()
|
H A D | sem.c | 1189 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 D | atmel_mxt_ts.c | 1599 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 D | cyttsp4_core.c | 856 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 D | rtsx.c | 956 /* 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 D | ibmvscsi.c | 85 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 D | ibmvfc.c | 4765 shost->max_id = max_targets; ibmvfc_probe()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | btrfs.h | 183 __u64 max_id; /* out */ member in struct:btrfs_ioctl_fs_info_args
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | usb.c | 1009 /* 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 D | scsiglue.c | 432 for (i = 1; i < host->max_id; ++i) usb_stor_report_device_reset()
|
H A D | uas.c | 928 shost->max_id = 1; uas_probe()
|
/linux-4.1.27/drivers/scsi/mvsas/ |
H A D | mv_init.c | 468 shost->max_id = MVS_MAX_DEVICES; mvs_prep_sas_ha_init()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_mid.c | 496 host->max_id = ha->max_fibre_devices; qla24xx_create_vhost()
|
H A D | qla_os.c | 2610 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 D | init.c | 596 shost->max_id = ~0; isci_host_alloc()
|
/linux-4.1.27/drivers/s390/scsi/ |
H A D | zfcp_scsi.c | 330 adapter->scsi_host->max_id = 511; zfcp_scsi_adapter_register()
|
/linux-4.1.27/drivers/message/fusion/ |
H A D | mptspi.c | 1446 * max_id = 1 + actual max id, mptspi_probe() 1450 sh->max_id = ioc->devices_per_bus; mptspi_probe()
|
H A D | mptfc.c | 1259 sh->max_id = ioc->pfacts->MaxDevices; mptfc_probe()
|
H A D | mptbase.c | 3243 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 D | mptsas.c | 5211 sh->max_id = -1; mptsas_probe()
|
/linux-4.1.27/drivers/scsi/esas2r/ |
H A D | esas2r_main.c | 407 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 D | virthba.c | 472 scsihost->max_id = (unsigned)virtpcidev->scsi.max.max_id; virthba_probe()
|
/linux-4.1.27/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 334 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 D | pm8001_init.c | 564 shost->max_id = PM8001_MAX_DEVICES; pm8001_prep_sas_ha_init()
|
/linux-4.1.27/drivers/scsi/aic94xx/ |
H A D | aic94xx_init.c | 768 shost->max_id = ~0; asd_pci_probe()
|
/linux-4.1.27/drivers/scsi/bfa/ |
H A D | bfad_im.c | 549 im_port->shost->max_id = MAX_FCP_TARGET; bfad_im_scsi_host_alloc()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
H A D | csio_init.c | 635 shost->max_id = min_t(uint32_t, csio_fcoe_rnodes, csio_shost_init()
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | fnic_main.c | 708 host->max_id = FNIC_MAX_FCP_TARGET; fnic_probe()
|
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/ |
H A D | iochannel.h | 257 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 D | virtpci.c | 1306 tmpvpcidev->scsi.max.max_id, info_debugfs_read()
|
/linux-4.1.27/drivers/target/loopback/ |
H A D | tcm_loop.c | 409 sh->max_id = 2; tcm_loop_driver_probe()
|
/linux-4.1.27/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.c | 618 shost->max_id = 0; iscsi_iser_session_create()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_host.h | 602 unsigned int max_id; member in struct:Scsi_Host
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 588 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 D | bnx2fc_fcoe.c | 687 shost->max_id = BNX2FC_MAX_FCP_TGT; bnx2fc_shost_config()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
H A D | bnx2i_iscsi.c | 796 shost->max_id = ISCSI_MAX_CONNS_PER_HBA; bnx2i_alloc_hba()
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 1366 shost->max_id = np->maxwide ? 16 : 8; sym_attach()
|
/linux-4.1.27/fs/btrfs/ |
H A D | ioctl.c | 2696 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 D | aic7xxx_core.c | 7371 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 D | aic7xxx_osm.c | 1109 host->max_id = (ahc->features & AHC_WIDE) ? 16 : 8; ahc_linux_register_host()
|
H A D | aic79xx_osm.c | 1245 host->max_id = (ahd->features & AHD_WIDE) ? 16 : 8; ahd_linux_register_host()
|
H A D | aic79xx_core.c | 10296 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 D | megaraid_mbox.c | 654 host->max_id = adapter->max_target; megaraid_io_attach()
|
H A D | megaraid_sas_base.c | 5041 host->max_id = MEGASAS_MAX_DEV_PER_CHANNEL; megasas_io_attach()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
H A D | fcoe.c | 737 lport->host->max_id = FCOE_MAX_FCP_TARGET; fcoe_shost_config()
|
/linux-4.1.27/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 3151 target_host->max_id = 1; srp_create_target()
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_base.c | 3617 ioc->shost->max_id = -1; _base_get_ioc_facts()
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.c | 3738 ioc->shost->max_id = -1; _base_get_ioc_facts()
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 717 host->max_id = ARCMSR_MAX_TARGETID; /*16:8*/ arcmsr_probe()
|
/linux-4.1.27/drivers/scsi/ufs/ |
H A D | ufshcd.c | 5485 host->max_id = UFSHCD_MAX_ID; ufshcd_init()
|
/linux-4.1.27/drivers/ata/ |
H A D | libata-scsi.c | 3678 shost->max_id = 16; ata_scsi_add_hosts()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_os.c | 8695 host->max_id = MAX_TARGETS; qla4xxx_probe_adapter()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 3302 shost->max_id = LPFC_MAX_TARGET; lpfc_create_port()
|