Home
last modified time | relevance | path

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

123

/Linux-v5.4/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.c637 host->max_channel = adapter->max_channel; in megaraid_io_attach()
811 adapter->device_ids[adapter->max_channel][i] += 0x80; in megaraid_init_mbox()
813 adapter->device_ids[adapter->max_channel][adapter->init_id] = in megaraid_init_mbox()
1778 (SCP2CHANNEL(scp) == adapter->max_channel -1)) { in DEF_SCSI_QCMD()
2958 adapter->max_channel = pinfo->nchannels; in megaraid_mbox_product_info()
3369 adapter->device_ids[adapter->max_channel][t] = in megaraid_mbox_setup_device_map()
3372 adapter->device_ids[adapter->max_channel][adapter->init_id] = 0xFF; in megaraid_mbox_setup_device_map()
3377 for (c = 0; c < adapter->max_channel; c++) in megaraid_mbox_setup_device_map()
/Linux-v5.4/drivers/leds/
Dleds-lp55xx-common.c152 int max_channel = cfg->max_channel; in lp55xx_init_led() local
154 if (chan >= max_channel) { in lp55xx_init_led()
155 dev_err(dev, "invalid channel: %d / %d\n", chan, max_channel); in lp55xx_init_led()
167 if (led->chan_nr >= max_channel) { in lp55xx_init_led()
169 max_channel - 1); in lp55xx_init_led()
Dleds-lp55xx-common.h104 const int max_channel; member
Dleds-lp8501.c294 .max_channel = LP8501_MAX_LEDS,
Dleds-lp5521.c490 .max_channel = LP5521_MAX_LEDS,
Dleds-lp5562.c497 .max_channel = LP5562_MAX_LEDS,
/Linux-v5.4/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()
/Linux-v5.4/drivers/staging/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()
/Linux-v5.4/include/uapi/linux/
Dvirtio_scsi.h113 __u16 max_channel; member
/Linux-v5.4/drivers/scsi/
Dstex.c355 unsigned int max_channel; member
1541 .max_channel = 0,
1554 .max_channel = 0,
1567 .max_channel = 0,
1580 .max_channel = 0,
1593 .max_channel = 3,
1606 .max_channel = 0,
1788 host->max_channel = ci->max_channel; in stex_probe()
Dstorvsc_drv.c1811 host->max_channel = STORVSC_FC_MAX_CHANNELS - 1; in storvsc_probe()
1820 host->max_channel = max_channels - 1; in storvsc_probe()
1826 host->max_channel = STORVSC_IDE_MAX_CHANNELS - 1; in storvsc_probe()
Dhosts.c399 shost->max_channel = 0; in scsi_host_alloc()
Dscsi_scan.c1666 if (((channel != SCAN_WILD_CARD) && (channel > shost->max_channel)) || in scsi_scan_host_selected()
1677 for (channel = 0; channel <= shost->max_channel; in scsi_scan_host_selected()
Discsi_tcp.c848 shost->max_channel = 0; in iscsi_sw_tcp_session_create()
/Linux-v5.4/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]");
2256 host->max_channel = max_channel; in ibmvscsi_probe()
2261 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
/Linux-v5.4/drivers/staging/unisys/include/
Diochannel.h178 u32 max_channel; member
/Linux-v5.4/drivers/staging/vt6656/
Ddevice.h193 u8 max_channel; member
/Linux-v5.4/include/scsi/
Dscsi_host.h574 unsigned int max_channel; member
/Linux-v5.4/drivers/scsi/aacraid/
Dlinit.c1354 class_to_shost(device)->max_channel); in aac_show_max_channel()
1759 shost->max_channel = aac->maximum_num_channels; in aac_probe_one()
1761 shost->max_channel = 0; in aac_probe_one()
/Linux-v5.4/drivers/message/fusion/
Dmptspi.c1451 sh->max_channel = 1; in mptspi_probe()
1453 sh->max_channel = 0; in mptspi_probe()
/Linux-v5.4/drivers/infiniband/ulp/iser/
Discsi_iser.c624 shost->max_channel = 0; in iscsi_iser_session_create()
/Linux-v5.4/drivers/scsi/mvsas/
Dmv_init.c433 shost->max_channel = 1; in mvs_prep_sas_ha_init()
/Linux-v5.4/drivers/s390/scsi/
Dzfcp_scsi.c478 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register()

123