Home
last modified time | relevance | path

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

123

/drivers/scsi/megaraid/
Dmega_common.h169 uint8_t max_channel; member
211 (SCP2CHANNEL(scp) == (adp)->max_channel) ? 1 : 0
214 (sdev->channel == (adp)->max_channel) ? 1 : 0
239 (adp)->device_ids[(adp)->max_channel][SCP2TARGET(scp)]; \
Dmegaraid_mbox.c636 host->max_channel = adapter->max_channel; in megaraid_io_attach()
810 adapter->device_ids[adapter->max_channel][i] += 0x80; in megaraid_init_mbox()
812 adapter->device_ids[adapter->max_channel][adapter->init_id] = in megaraid_init_mbox()
1775 (SCP2CHANNEL(scp) == adapter->max_channel -1)) { in DEF_SCSI_QCMD()
2950 adapter->max_channel = pinfo->nchannels; in megaraid_mbox_product_info()
3358 adapter->device_ids[adapter->max_channel][t] = in megaraid_mbox_setup_device_map()
3361 adapter->device_ids[adapter->max_channel][adapter->init_id] = 0xFF; in megaraid_mbox_setup_device_map()
3366 for (c = 0; c < adapter->max_channel; c++) in megaraid_mbox_setup_device_map()
/drivers/leds/
Dleds-lp55xx-common.c165 int max_channel = cfg->max_channel; in lp55xx_init_led() local
172 if (chan >= max_channel) { in lp55xx_init_led()
173 dev_err(dev, "invalid channel: %d / %d\n", chan, max_channel); in lp55xx_init_led()
218 if (led->chan_nr >= max_channel) { in lp55xx_init_led()
220 max_channel - 1); in lp55xx_init_led()
583 if (*chan_nr < 0 || *chan_nr > cfg->max_channel) in lp55xx_parse_common_child()
684 cfg->max_channel = chip->cfg->max_channel; in lp55xx_of_populate_pdata()
Dleds-lp55xx-common.h107 const int max_channel; member
Dleds-lp8501.c294 .max_channel = LP8501_MAX_LEDS,
Dleds-lp5521.c509 .max_channel = LP5521_MAX_LEDS,
Dleds-lp5562.c497 .max_channel = LP5562_MAX_LEDS,
Dleds-lp5523.c877 .max_channel = LP5523_MAX_LEDS,
/drivers/edac/
Di7300_edac.c751 int ch, branch, slot, channel, max_channel, max_branch; in i7300_init_csrows() local
760 max_channel = 1; in i7300_init_csrows()
763 max_channel = MAX_CH_PER_BRANCH; in i7300_init_csrows()
776 if (max_channel == 1) in i7300_init_csrows()
794 for (ch = 0; ch < max_channel; ch++) { in i7300_init_csrows()
/drivers/scsi/
Dstex.c359 unsigned int max_channel; member
1545 .max_channel = 0,
1558 .max_channel = 0,
1571 .max_channel = 0,
1584 .max_channel = 0,
1597 .max_channel = 3,
1610 .max_channel = 0,
1792 host->max_channel = ci->max_channel; in stex_probe()
Dstorvsc_drv.c2048 host->max_channel = STORVSC_FC_MAX_CHANNELS - 1; in storvsc_probe()
2057 host->max_channel = max_channels - 1; in storvsc_probe()
2063 host->max_channel = STORVSC_IDE_MAX_CHANNELS - 1; in storvsc_probe()
Dhosts.c406 shost->max_channel = 0; in scsi_host_alloc()
Dscsi_scan.c1741 if (((channel != SCAN_WILD_CARD) && (channel > shost->max_channel)) || in scsi_scan_host_selected()
1752 for (channel = 0; channel <= shost->max_channel; in scsi_scan_host_selected()
Dmyrs.c627 shost->max_channel = info->physchan_present + info->virtchan_present; in myrs_get_config()
1792 if (sdev->channel > sdev->host->max_channel) in myrs_slave_alloc()
1888 if (sdev->channel > sdev->host->max_channel) in myrs_slave_configure()
/drivers/comedi/drivers/
Dmite.h70 unsigned int max_channel);
Dmite.c571 unsigned int max_channel) in mite_request_channel_in_range() argument
582 for (i = min_channel; i <= max_channel; ++i) { in mite_request_channel_in_range()
/drivers/scsi/ibmvscsi/
Dibmvscsi.c72 static int max_channel = 3; variable
98 module_param_named(max_channel, max_channel, int, S_IRUGO | S_IWUSR);
99 MODULE_PARM_DESC(max_channel, "Largest channel value [Default=3]");
2273 host->max_channel = max_channel; in ibmvscsi_probe()
2278 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
/drivers/staging/unisys/include/
Diochannel.h178 u32 max_channel; member
/drivers/staging/vt6656/
Ddevice.h196 u8 max_channel; member
/drivers/scsi/aacraid/
Dlinit.c1325 class_to_shost(device)->max_channel); in aac_show_max_channel()
1748 shost->max_channel = aac->maximum_num_channels; in aac_probe_one()
1750 shost->max_channel = 0; in aac_probe_one()
/drivers/message/fusion/
Dmptspi.c1451 sh->max_channel = 1; in mptspi_probe()
1453 sh->max_channel = 0; in mptspi_probe()
/drivers/infiniband/ulp/iser/
Discsi_iser.c639 shost->max_channel = 0; in iscsi_iser_session_create()
/drivers/scsi/mvsas/
Dmv_init.c434 shost->max_channel = 1; in mvs_prep_sas_ha_init()
/drivers/s390/scsi/
Dzfcp_scsi.c491 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register()
/drivers/target/loopback/
Dtcm_loop.c344 sh->max_channel = 0; in tcm_loop_driver_probe()

123