Home
last modified time | relevance | path

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

123

/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.c674 host->max_channel = adapter->max_channel; in megaraid_io_attach()
848 adapter->device_ids[adapter->max_channel][i] += 0x80; in megaraid_init_mbox()
850 adapter->device_ids[adapter->max_channel][adapter->init_id] = in megaraid_init_mbox()
1822 (SCP2CHANNEL(scp) == adapter->max_channel -1)) { in DEF_SCSI_QCMD()
3037 adapter->max_channel = pinfo->nchannels; in megaraid_mbox_product_info()
3457 adapter->device_ids[adapter->max_channel][t] = in megaraid_mbox_setup_device_map()
3460 adapter->device_ids[adapter->max_channel][adapter->init_id] = 0xFF; in megaraid_mbox_setup_device_map()
3465 for (c = 0; c < adapter->max_channel; c++) in megaraid_mbox_setup_device_map()
/drivers/message/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()
/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-lp5521.c502 .max_channel = LP5521_MAX_LEDS,
Dleds-lp5562.c495 .max_channel = LP5562_MAX_LEDS,
/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()
/drivers/scsi/
Dstex.c338 unsigned int max_channel; member
1433 .max_channel = 0,
1446 .max_channel = 0,
1459 .max_channel = 0,
1472 .max_channel = 0,
1485 .max_channel = 3,
1654 host->max_channel = ci->max_channel; in stex_probe()
Dstorvsc_drv.c1825 host->max_channel = STORVSC_FC_MAX_CHANNELS - 1; in storvsc_probe()
1831 host->max_channel = STORVSC_MAX_CHANNELS - 1; in storvsc_probe()
1837 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.c1322 shost->max_channel = info.max_chan; in port_detect()
1396 for (i = 0; i <= shost->max_channel; i++) in port_detect()
1930 for (c = 0; c <= shost->max_channel; c++) in eata2x_eh_host_reset()
2468 for (c = 0; c <= shost->max_channel; c++) in ihdlr()
Dhosts.c399 shost->max_channel = 0; in scsi_host_alloc()
Dscsi_scan.c1734 if (((channel != SCAN_WILD_CARD) && (channel > shost->max_channel)) || in scsi_scan_host_selected()
1745 for (channel = 0; channel <= shost->max_channel; in scsi_scan_host_selected()
/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.c223 unsigned max_channel) in mite_request_channel_in_range() argument
233 for (i = min_channel; i <= max_channel; ++i) { in mite_request_channel_in_range()
Dmite.h82 unsigned max_channel);
/drivers/staging/vt6656/
Ddevice.h206 u8 max_channel; member
/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");
2301 host->max_channel = max_channel; in ibmvscsi_probe()
/drivers/staging/unisys/virthba/
Dvirthba.c505 (unsigned) virtpcidev->scsi.max.max_channel - 1, in virthba_probe()
510 scsihost->max_channel = (unsigned) virtpcidev->scsi.max.max_channel; in virthba_probe()
521 scsihost->max_channel, scsihost->max_id, scsihost->max_lun, in virthba_probe()
/drivers/scsi/aacraid/
Dlinit.c917 class_to_shost(device)->max_channel); in aac_show_max_channel()
1253 shost->max_channel = aac->maximum_num_channels; in aac_probe_one()
1255 shost->max_channel = 0; in aac_probe_one()
/drivers/staging/unisys/virtpci/
Dvirtpci.c340 scsi.max.max_channel, scsi.max.max_id, scsi.max.max_lun, in add_vhba()
1463 tmpvpcidev->scsi.max.max_channel, in info_debugfs_read()
/drivers/staging/unisys/common-spar/include/channels/
Diochannel.h272 u32 max_channel; /* maximum channel for devices attached to this member
/drivers/message/fusion/
Dmptspi.c1457 sh->max_channel = 1; in mptspi_probe()
1459 sh->max_channel = 0; in mptspi_probe()

123