Home
last modified time | relevance | path

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

1234

/Linux-v6.6/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.c639 host->max_channel = adapter->max_channel; in megaraid_io_attach()
813 adapter->device_ids[adapter->max_channel][i] += 0x80; in megaraid_init_mbox()
815 adapter->device_ids[adapter->max_channel][adapter->init_id] = in megaraid_init_mbox()
1776 (SCP2CHANNEL(scp) == adapter->max_channel -1)) { in DEF_SCSI_QCMD()
2951 adapter->max_channel = pinfo->nchannels; in megaraid_mbox_product_info()
3359 adapter->device_ids[adapter->max_channel][t] = in megaraid_mbox_setup_device_map()
3362 adapter->device_ids[adapter->max_channel][adapter->init_id] = 0xFF; in megaraid_mbox_setup_device_map()
3367 for (c = 0; c < adapter->max_channel; c++) in megaraid_mbox_setup_device_map()
/Linux-v6.6/drivers/leds/
Dleds-lp55xx-common.c166 int max_channel = cfg->max_channel; in lp55xx_init_led() local
173 if (chan >= max_channel) { in lp55xx_init_led()
174 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.c296 .max_channel = LP8501_MAX_LEDS,
Dleds-lp5562.c497 .max_channel = LP5562_MAX_LEDS,
Dleds-lp5521.c508 .max_channel = LP5521_MAX_LEDS,
/Linux-v6.6/include/linux/platform_data/
Dleds-lp55xx.h32 unsigned int max_channel; member
/Linux-v6.6/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-v6.6/drivers/comedi/drivers/
Dmite.h70 unsigned int max_channel);
Dmite.c570 unsigned int max_channel) in mite_request_channel_in_range() argument
581 for (i = min_channel; i <= max_channel; ++i) { in mite_request_channel_in_range()
/Linux-v6.6/include/uapi/linux/
Dvirtio_scsi.h113 __virtio16 max_channel; member
/Linux-v6.6/drivers/scsi/
Dstex.c359 unsigned int max_channel; member
1543 .max_channel = 0,
1556 .max_channel = 0,
1569 .max_channel = 0,
1582 .max_channel = 0,
1595 .max_channel = 3,
1608 .max_channel = 0,
1790 host->max_channel = ci->max_channel; in stex_probe()
Dstorvsc_drv.c1987 host->max_channel = STORVSC_FC_MAX_CHANNELS - 1; in storvsc_probe()
1996 host->max_channel = STORVSC_MAX_CHANNELS - 1; in storvsc_probe()
2002 host->max_channel = STORVSC_IDE_MAX_CHANNELS - 1; in storvsc_probe()
Dhosts.c422 shost->max_channel = 0; in scsi_host_alloc()
Dscsi_scan.c1797 if (((channel != SCAN_WILD_CARD) && (channel > shost->max_channel)) || in scsi_scan_host_selected()
1808 for (channel = 0; channel <= shost->max_channel; in scsi_scan_host_selected()
/Linux-v6.6/drivers/hwmon/
Demc2305.c361 int max_channel = emc2305_get_max_channel(data); in emc2305_is_visible() local
364 if (channel >= max_channel) in emc2305_is_visible()
/Linux-v6.6/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]");
2276 host->max_channel = max_channel; in ibmvscsi_probe()
2281 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
/Linux-v6.6/drivers/staging/vt6656/
Ddevice.h196 u8 max_channel; member
/Linux-v6.6/include/scsi/
Dscsi_host.h587 unsigned int max_channel; member
/Linux-v6.6/drivers/scsi/aacraid/
Dlinit.c1336 class_to_shost(device)->max_channel); in aac_show_max_channel()
1763 shost->max_channel = aac->maximum_num_channels; in aac_probe_one()
1765 shost->max_channel = 0; in aac_probe_one()
/Linux-v6.6/sound/soc/fsl/
Dfsl_easrc.h582 int max_channel; member
/Linux-v6.6/drivers/message/fusion/
Dmptspi.c1451 sh->max_channel = 1; in mptspi_probe()
1453 sh->max_channel = 0; in mptspi_probe()
/Linux-v6.6/drivers/infiniband/ulp/iser/
Discsi_iser.c622 shost->max_channel = 0; in iscsi_iser_session_create()
/Linux-v6.6/drivers/scsi/mvsas/
Dmv_init.c428 shost->max_channel = 1; in mvs_prep_sas_ha_init()

1234