Home
last modified time | relevance | path

Searched refs:nchannels (Results 1 – 15 of 15) sorted by relevance

/drivers/iio/adc/
Dtwl6030-gpadc.c118 const int nchannels; member
444 i = twl6030_gpadc_lookup(ideal, channel, pdata->nchannels); in twl6030_channel_calibrated()
456 i = twl6030_gpadc_lookup(ideal, channel, gpadc->pdata->nchannels); in twl6030_gpadc_make_correction()
502 i = twl6030_gpadc_lookup(ideal, channel, gpadc->pdata->nchannels); in twl6030_gpadc_get_processed()
580 i = twl6030_gpadc_lookup(ideal, channel, gpadc->pdata->nchannels); in twl6030_calibrate_channel()
851 .nchannels = TWL6030_GPADC_USED_CHANNELS,
860 .nchannels = TWL6032_GPADC_USED_CHANNELS,
903 pdata->nchannels, GFP_KERNEL); in twl6030_gpadc_probe()
948 indio_dev->num_channels = pdata->nchannels; in twl6030_gpadc_probe()
/drivers/net/can/usb/
Dkvaser_usb.c151 u8 nchannels; member
291 unsigned int nchannels; member
492 dev->nchannels = msg.u.cardinfo.nchannels; in kvaser_usb_get_card_info()
493 if (dev->nchannels > MAX_NET_DEVICES) in kvaser_usb_get_card_info()
510 if (channel >= dev->nchannels) { in kvaser_usb_tx_acknowledge()
664 if (channel >= dev->nchannels) { in kvaser_usb_rx_error()
826 if (channel >= dev->nchannels) { in kvaser_usb_rx_can_msg()
904 if (channel >= dev->nchannels) { in kvaser_usb_start_chip_reply()
927 if (channel >= dev->nchannels) { in kvaser_usb_stop_chip_reply()
1029 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_read_bulk_callback()
[all …]
/drivers/gpu/drm/msm/hdmi/
Dhdmi_audio.c29 static int nchannels[] = { 2, 4, 6, 8 }; variable
247 if (num_of_channels >= ARRAY_SIZE(nchannels)) in hdmi_audio_info_setup()
251 audio->infoframe.channels = nchannels[num_of_channels]; in hdmi_audio_info_setup()
/drivers/net/wan/
Dcosa.c151 int nchannels; /* # of channels on this card */ member
416 for (i = 0; i < cosa->nchannels; i++) { in cosa_exit()
543 cosa->nchannels = 2; /* FIXME: how to determine this? */ in cosa_probe()
562 cosa->chan = kcalloc(cosa->nchannels, sizeof(struct channel_data), GFP_KERNEL); in cosa_probe()
568 for (i = 0; i < cosa->nchannels; i++) { in cosa_probe()
601 cosa->datareg, cosa->irq, cosa->dma, cosa->nchannels); in cosa_probe()
949 & ((1<<CARD_MINOR_BITS)-1)) >= cosa->nchannels) { in cosa_open()
1170 return cosa->nchannels; in cosa_ioctl_common()
1693 if (cosa->txchan >= cosa->nchannels) in tx_interrupt()
1700 if (i > cosa->nchannels) { in tx_interrupt()
[all …]
/drivers/misc/sgi-xp/
Dxpc_channel.c563 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_process_sent_chctl_flags()
633 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_partition_going_down()
885 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_send()
936 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_send_notify()
1007 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_received()
Dxpc_sn2.c1242 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_setup_ch_structures_sn2()
1268 xpc_vars_part_sn2[partid].nchannels = part->nchannels; in xpc_setup_ch_structures_sn2()
1426 if (part->nchannels > pulled_entry->nchannels) in xpc_pull_remote_vars_part_sn2()
1427 part->nchannels = pulled_entry->nchannels; in xpc_pull_remote_vars_part_sn2()
Dxpc.h158 u8 nchannels; /* #of defined channels supported */ member
757 u8 nchannels; /* #of defined channels supported */ member
Dxpc_main.c445 part->nchannels = XPC_MAX_NCHANNELS; in xpc_setup_ch_structures()
450 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_setup_ch_structures()
Dxpc_uv.c1017 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_setup_ch_structures_uv()
1416 if (unlikely(ch_number >= part->nchannels)) { in xpc_handle_notify_mq_msg_uv()
/drivers/atm/
Dfirestream.c800 if (channo < dev->nchannels) in process_incoming()
1780 dev->nchannels = FS50_NR_CHANNELS; in fs_init()
1798 dev->nchannels = FS155_NR_CHANNELS; in fs_init()
1800 dev->atm_vccs = kcalloc (dev->nchannels, sizeof (struct atm_vcc *), in fs_init()
1803 dev->atm_vccs, dev->nchannels * sizeof (struct atm_vcc *)); in fs_init()
1811 dev->tx_inuse = kzalloc (dev->nchannels / 8 /* bits/byte */ , GFP_KERNEL); in fs_init()
1813 dev->atm_vccs, dev->nchannels / 8); in fs_init()
1969 for (i=0;i < dev->nchannels;i++) { in firestream_remove_one()
Dfirestream.h487 int nchannels; member
/drivers/scsi/megaraid/
Dmbox_defs.h341 uint8_t nchannels; member
515 uint8_t nchannels; member
Dmegaraid_mbox.c3037 adapter->max_channel = pinfo->nchannels; in megaraid_mbox_product_info()
/drivers/scsi/
Dmegaraid.h235 u8 nchannels; /* Number of SCSI Channels detected */ member
332 u8 nchannels; /* Number of channels on HBA */ member
Dmegaraid.c284 adapter->product_info.nchannels + NVIRT_CHAN -1; in mega_query_adapter()
550 adapter->product_info.nchannels; in mega_build_cmd()
1784 product_info->nchannels = inquiry->adapter_info.nchannels; in mega_8_to_40ld()
2089 adapter->numldrv, adapter->product_info.nchannels); in proc_show_config()
2372 max_channels = adapter->product_info.nchannels; in proc_show_pdrv()
3684 for( i = 0; i < adapter->product_info.nchannels; i++ ) { in mega_enum_raid_scsi()
4425 j = adapter->product_info.nchannels; in megaraid_probe_one()