Home
last modified time | relevance | path

Searched refs:max_channel (Results 1 – 72 of 72) sorted by relevance

/linux-4.1.27/drivers/scsi/megaraid/
Dmega_common.h173 uint8_t max_channel; member
215 (SCP2CHANNEL(scp) == (adp)->max_channel) ? 1 : 0
218 (sdev->channel == (adp)->max_channel) ? 1 : 0
243 (adp)->device_ids[(adp)->max_channel][SCP2TARGET(scp)]; \
Dmegaraid_mbox.c653 host->max_channel = adapter->max_channel; in megaraid_io_attach()
827 adapter->device_ids[adapter->max_channel][i] += 0x80; in megaraid_init_mbox()
829 adapter->device_ids[adapter->max_channel][adapter->init_id] = in megaraid_init_mbox()
1801 (SCP2CHANNEL(scp) == adapter->max_channel -1)) { in DEF_SCSI_QCMD()
3016 adapter->max_channel = pinfo->nchannels; in megaraid_mbox_product_info()
3436 adapter->device_ids[adapter->max_channel][t] = in megaraid_mbox_setup_device_map()
3439 adapter->device_ids[adapter->max_channel][adapter->init_id] = 0xFF; in megaraid_mbox_setup_device_map()
3444 for (c = 0; c < adapter->max_channel; c++) in megaraid_mbox_setup_device_map()
Dmegaraid_sas_base.c5040 host->max_channel = MEGASAS_MAX_CHANNELS - 1; in megasas_io_attach()
/linux-4.1.27/drivers/staging/i2o/
Di2o_scsi.c100 int max_channel = 0; in i2o_scsi_host_alloc() local
115 max_channel++; in i2o_scsi_host_alloc()
118 if (!max_channel) { in i2o_scsi_host_alloc()
123 size = max_channel * sizeof(struct i2o_device *) in i2o_scsi_host_alloc()
132 scsi_host->max_channel = max_channel - 1; in i2o_scsi_host_alloc()
150 if (i >= max_channel) in i2o_scsi_host_alloc()
268 for (i = 0; i <= i2o_shost->scsi_host->max_channel; i++) in i2o_scsi_probe()
/linux-4.1.27/drivers/leds/
Dleds-lp55xx-common.c154 int max_channel = cfg->max_channel; in lp55xx_init_led() local
156 if (chan >= max_channel) { in lp55xx_init_led()
157 dev_err(dev, "invalid channel: %d / %d\n", chan, max_channel); in lp55xx_init_led()
169 if (led->chan_nr >= max_channel) { in lp55xx_init_led()
171 max_channel - 1); in lp55xx_init_led()
Dleds-lp55xx-common.h107 const int max_channel; member
Dleds-lp8501.c297 .max_channel = LP8501_MAX_LEDS,
Dleds-lp5562.c495 .max_channel = LP5562_MAX_LEDS,
Dleds-lp5521.c502 .max_channel = LP5521_MAX_LEDS,
Dleds-lp5523.c720 .max_channel = LP5523_MAX_LEDS,
/linux-4.1.27/drivers/edac/
Di7300_edac.c753 int ch, branch, slot, channel, max_channel, max_branch; in i7300_init_csrows() local
762 max_channel = 1; in i7300_init_csrows()
765 max_channel = MAX_CH_PER_BRANCH; in i7300_init_csrows()
778 if (max_channel == 1) in i7300_init_csrows()
796 for (ch = 0; ch < max_channel; ch++) { in i7300_init_csrows()
/linux-4.1.27/include/uapi/linux/
Dvirtio_scsi.h113 __u16 max_channel; member
/linux-4.1.27/drivers/scsi/
Dstex.c338 unsigned int max_channel; member
1411 .max_channel = 0,
1424 .max_channel = 0,
1437 .max_channel = 0,
1450 .max_channel = 0,
1463 .max_channel = 3,
1632 host->max_channel = ci->max_channel; in stex_probe()
Dstorvsc_drv.c1829 host->max_channel = STORVSC_FC_MAX_CHANNELS - 1; in storvsc_probe()
1835 host->max_channel = max_channels - 1; in storvsc_probe()
1841 host->max_channel = STORVSC_IDE_MAX_CHANNELS - 1; in storvsc_probe()
Du14-34f.c956 sh[j]->max_channel = MAX_CHANNEL - 1; in port_detect()
1012 for (i = 0; i <= sh[j]->max_channel; i++) in port_detect()
1423 for (c = 0; c <= sh[j]->max_channel; c++) in u14_34f_eh_host_reset()
1862 for (c = 0; c <= sh[j]->max_channel; c++) in ihdlr()
Deata.c1320 shost->max_channel = info.max_chan; in port_detect()
1394 for (i = 0; i <= shost->max_channel; i++) in port_detect()
1928 for (c = 0; c <= shost->max_channel; c++) in eata2x_eh_host_reset()
2466 for (c = 0; c <= shost->max_channel; c++) in ihdlr()
Dhosts.c399 shost->max_channel = 0; in scsi_host_alloc()
Dscsi_scan.c1717 if (((channel != SCAN_WILD_CARD) && (channel > shost->max_channel)) || in scsi_scan_host_selected()
1728 for (channel = 0; channel <= shost->max_channel; in scsi_scan_host_selected()
Discsi_tcp.c840 shost->max_channel = 0; in iscsi_sw_tcp_session_create()
Dxen-scsifront.c864 host->max_channel = 0; in scsifront_probe()
Dvirtio_scsi.c1001 shost->max_channel = 0; in virtscsi_probe()
Dvmw_pvscsi.c1438 host->max_channel = 0; in pvscsi_probe()
Dmegaraid.c283 adapter->host->max_channel = in mega_query_adapter()
1862 adapter->host->max_id, adapter->host->max_channel, in megaraid_info()
D3w-sas.c1633 host->max_channel = 0; in twl_probe()
Dscsi_error.c1592 for (channel = 0; channel <= shost->max_channel; channel++) { in scsi_eh_bus_reset()
Dscsi_transport_fc.c2133 if (((channel != SCAN_WILD_CARD) && (channel > shost->max_channel)) || in fc_user_scan()
2140 chhi = shost->max_channel + 1; in fc_user_scan()
Dgdth.c4785 shp->max_channel = ha->bus_cnt; in gdth_isa_probe_one()
4916 shp->max_channel = ha->bus_cnt; in gdth_eisa_probe_one()
5060 shp->max_channel = ha->bus_cnt; in gdth_pci_probe_one()
D3w-xxxx.c2308 host->max_channel = 0; in tw_probe()
Dhptiop.c1340 host->max_channel = 0; in hptiop_probe()
D3w-9xxx.c2086 host->max_channel = 0; in twa_probe()
Ddpt_i2o.c2359 host->max_channel = pHba->top_scsi_channel + 1; in adpt_scsi_host_alloc()
DBusLogic.c2301 host->max_channel = 0; in blogic_inithoststruct()
Datp870u.c2910 shpnt->max_channel = 1; in atp870u_probe()
Dqla1280.c4308 host->max_channel = bdp->numPorts - 1; in qla1280_probe_one()
Dpmcraid.c5873 host->max_channel = PMCRAID_MAX_BUS_TO_SCAN; in pmcraid_probe()
Dadvansys.c3340 shost->max_lun, shost->max_channel); in asc_prt_driver_conf()
11629 shost->max_channel = 0; in advansys_board_found()
Dncr53c8xx.c8399 instance->max_channel = 0;
Dips.c6742 sh->max_channel = ha->nbus - 1; in ips_register_scsi()
Dhpsa.c4251 sh->max_channel = 3; in hpsa_register_scsi()
Dipr.c9613 host->max_channel = IPR_VSET_BUS; in ipr_init_ioa_cfg()
/linux-4.1.27/drivers/staging/comedi/drivers/
Dni_stc.h327 unsigned max_channel; in RTSI_Output_Bit() local
331 max_channel = 7; in RTSI_Output_Bit()
334 max_channel = 6; in RTSI_Output_Bit()
336 if (channel > max_channel) { in RTSI_Output_Bit()
Dmite.c221 unsigned max_channel) in mite_request_channel_in_range() argument
231 for (i = min_channel; i <= max_channel; ++i) { in mite_request_channel_in_range()
Dmite.h81 unsigned max_channel);
/linux-4.1.27/drivers/staging/vt6656/
Ddevice.h206 u8 max_channel; member
/linux-4.1.27/drivers/scsi/ibmvscsi/
Dibmvscsi.c86 static int max_channel = 3; variable
110 module_param_named(max_channel, max_channel, int, S_IRUGO | S_IWUSR);
111 MODULE_PARM_DESC(max_channel, "Largest channel value");
2294 host->max_channel = max_channel; in ibmvscsi_probe()
/linux-4.1.27/include/scsi/
Dscsi_host.h601 unsigned int max_channel; member
/linux-4.1.27/drivers/scsi/aacraid/
Dlinit.c903 class_to_shost(device)->max_channel); in aac_show_max_channel()
1270 shost->max_channel = aac->maximum_num_channels; in aac_probe_one()
1272 shost->max_channel = 0; in aac_probe_one()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
Diochannel.h255 u32 max_channel; /* maximum channel for devices attached to this member
/linux-4.1.27/drivers/message/fusion/
Dmptspi.c1457 sh->max_channel = 1; in mptspi_probe()
1459 sh->max_channel = 0; in mptspi_probe()
/linux-4.1.27/drivers/staging/unisys/virthba/
Dvirthba.c471 scsihost->max_channel = (unsigned)virtpcidev->scsi.max.max_channel; in virthba_probe()
/linux-4.1.27/drivers/infiniband/ulp/iser/
Discsi_iser.c619 shost->max_channel = 0; in iscsi_iser_session_create()
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_scsi.c332 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_mid.c493 host->max_channel = MAX_BUSES - 1; in qla24xx_create_vhost()
Dqla_os.c2617 host->max_channel = MAX_BUSES - 1; in qla2x00_probe_one()
2632 host->max_cmd_len, host->max_channel, host->max_lun, in qla2x00_probe_one()
/linux-4.1.27/drivers/scsi/mvsas/
Dmv_init.c470 shost->max_channel = 1; in mvs_prep_sas_ha_init()
/linux-4.1.27/drivers/staging/unisys/virtpci/
Dvirtpci.c1305 tmpvpcidev->scsi.max.max_channel, in info_debugfs_read()
/linux-4.1.27/drivers/target/loopback/
Dtcm_loop.c411 sh->max_channel = 0; in tcm_loop_driver_probe()
/linux-4.1.27/drivers/usb/storage/
Duas.c930 shost->max_channel = 0; in uas_probe()
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_init.c566 shost->max_channel = 0; in pm8001_prep_sas_ha_init()
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_main.c417 host->max_channel = 0; in esas2r_probe()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1364 shost->max_channel = 0; in sym_attach()
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1111 host->max_channel = (ahc->features & AHC_TWIN) ? 1 : 0; in ahc_linux_register_host()
Daic79xx_osm.c1247 host->max_channel = 0; in ahd_linux_register_host()
/linux-4.1.27/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c797 shost->max_channel = 0; in bnx2i_alloc_hba()
/linux-4.1.27/drivers/scsi/fcoe/
Dfcoe.c738 lport->host->max_channel = 0; in fcoe_shost_config()
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c688 shost->max_channel = 0; in bnx2fc_shost_config()
/linux-4.1.27/drivers/ata/
Dlibata-scsi.c3680 shost->max_channel = 1; in ata_scsi_add_hosts()
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.c355 shost->max_channel = 0; in cxgbi_hbas_add()
/linux-4.1.27/drivers/infiniband/ulp/srp/
Dib_srp.c3150 target_host->max_channel = 0; in srp_create_target()
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.c5487 host->max_channel = UFSHCD_MAX_CHANNEL; in ufshcd_init()
/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_main.c589 shost->max_channel = 0; in beiscsi_hba_alloc()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_os.c8693 host->max_channel = 0; in qla4xxx_probe_adapter()