/Linux-v4.19/sound/core/oss/ |
D | copy.c | 33 unsigned int nchannels; in copy_transfer() local 39 nchannels = plugin->src_format.channels; in copy_transfer() 40 for (channel = 0; channel < nchannels; channel++) { in copy_transfer()
|
D | mulaw.c | 175 int nchannels = plugin->src_format.channels; in mulaw_decode() local 176 for (channel = 0; channel < nchannels; ++channel) { in mulaw_decode() 221 int nchannels = plugin->src_format.channels; in mulaw_encode() local 222 for (channel = 0; channel < nchannels; ++channel) { in mulaw_encode()
|
D | linear.c | 62 int nchannels = plugin->src_format.channels; in convert() local 63 for (channel = 0; channel < nchannels; ++channel) { in convert()
|
D | pcm_plugin.c | 557 int width, nchannels, channel; in snd_pcm_plug_client_channels_buf() local 573 nchannels = format->channels; in snd_pcm_plug_client_channels_buf() 577 for (channel = 0; channel < nchannels; channel++, v++) { in snd_pcm_plug_client_channels_buf() 583 v->area.step = nchannels * width; in snd_pcm_plug_client_channels_buf()
|
/Linux-v4.19/drivers/iio/adc/ |
D | twl6030-gpadc.c | 118 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() 850 .nchannels = TWL6030_GPADC_USED_CHANNELS, 859 .nchannels = TWL6032_GPADC_USED_CHANNELS, 902 pdata->nchannels, in twl6030_gpadc_probe() 949 indio_dev->num_channels = pdata->nchannels; in twl6030_gpadc_probe()
|
D | qcom-spmi-vadc.c | 124 unsigned int nchannels; member 300 for (i = 0; i < vadc->nchannels; i++) in vadc_get_channel() 499 for (i = 0; i < vadc->nchannels; i++) in vadc_of_xlate() 752 vadc->nchannels = of_get_available_child_count(node); in vadc_get_dt_data() 753 if (!vadc->nchannels) in vadc_get_dt_data() 756 vadc->iio_chans = devm_kcalloc(vadc->dev, vadc->nchannels, in vadc_get_dt_data() 761 vadc->chan_props = devm_kcalloc(vadc->dev, vadc->nchannels, in vadc_get_dt_data() 924 indio_dev->num_channels = vadc->nchannels; in vadc_probe()
|
/Linux-v4.19/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_leaf.c | 127 u8 nchannels; member 533 dev->nchannels = cmd.u.cardinfo.nchannels; in kvaser_usb_leaf_get_card_info() 534 if (dev->nchannels > KVASER_USB_MAX_NET_DEVICES || in kvaser_usb_leaf_get_card_info() 536 dev->nchannels > MAX_USBCAN_NET_DEVICES)) in kvaser_usb_leaf_get_card_info() 554 if (channel >= dev->nchannels) { in kvaser_usb_leaf_tx_acknowledge() 703 if (es->channel >= dev->nchannels) { in kvaser_usb_leaf_rx_error() 797 if (channel >= dev->nchannels) { in kvaser_usb_leaf_usbcan_conditionally_rx_error() 851 if (dev->nchannels == MAX_USBCAN_NET_DEVICES) { in kvaser_usb_leaf_usbcan_rx_error() 932 if (channel >= dev->nchannels) { in kvaser_usb_leaf_rx_can_msg() 1018 if (channel >= dev->nchannels) { in kvaser_usb_leaf_start_chip_reply() [all …]
|
D | kvaser_usb_core.c | 298 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_read_bulk_callback() 440 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_unlink_all_urbs() 616 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_remove_interfaces() 625 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_remove_interfaces() 800 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_probe()
|
D | kvaser_usb.h | 98 unsigned int nchannels; member
|
D | kvaser_usb_hydra.c | 115 u8 nchannels; member 475 if (channel >= dev->nchannels) in kvaser_usb_hydra_net_priv_from_cmd() 748 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_hydra_get_single_capability() 1753 dev->nchannels = cmd.card_info.nchannels; in kvaser_usb_hydra_get_card_info() 1754 if (dev->nchannels > KVASER_USB_MAX_NET_DEVICES) in kvaser_usb_hydra_get_card_info()
|
/Linux-v4.19/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_audio.c | 22 static int nchannels[] = { 2, 4, 6, 8 }; variable 239 if (num_of_channels >= ARRAY_SIZE(nchannels)) in msm_hdmi_audio_info_setup() 243 audio->infoframe.channels = nchannels[num_of_channels]; in msm_hdmi_audio_info_setup()
|
/Linux-v4.19/drivers/net/wan/ |
D | cosa.c | 151 int nchannels; /* # of channels on this card */ member 416 for (i = 0; i < cosa->nchannels; i++) { in cosa_exit() 542 cosa->nchannels = 2; /* FIXME: how to determine this? */ in cosa_probe() 561 cosa->chan = kcalloc(cosa->nchannels, sizeof(struct channel_data), GFP_KERNEL); in cosa_probe() 567 for (i = 0; i < cosa->nchannels; i++) { in cosa_probe() 602 cosa->datareg, cosa->irq, cosa->dma, cosa->nchannels); in cosa_probe() 950 & ((1<<CARD_MINOR_BITS)-1)) >= cosa->nchannels) { in cosa_open() 1171 return cosa->nchannels; in cosa_ioctl_common() 1694 if (cosa->txchan >= cosa->nchannels) in tx_interrupt() 1701 if (i > cosa->nchannels) { in tx_interrupt() [all …]
|
/Linux-v4.19/drivers/misc/sgi-xp/ |
D | xpc_channel.c | 563 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() 882 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_send() 933 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_send_notify() 1004 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_received()
|
D | xpc.h | 158 u8 nchannels; /* #of defined channels supported */ member 757 u8 nchannels; /* #of defined channels supported */ member
|
D | xpc_sn2.c | 1239 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_setup_ch_structures_sn2() 1265 xpc_vars_part_sn2[partid].nchannels = part->nchannels; in xpc_setup_ch_structures_sn2() 1423 if (part->nchannels > pulled_entry->nchannels) in xpc_pull_remote_vars_part_sn2() 1424 part->nchannels = pulled_entry->nchannels; in xpc_pull_remote_vars_part_sn2()
|
D | xpc_main.c | 445 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()
|
D | xpc_uv.c | 1017 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()
|
/Linux-v4.19/drivers/atm/ |
D | firestream.c | 804 if (channo < dev->nchannels) in process_incoming() 1784 dev->nchannels = FS50_NR_CHANNELS; in fs_init() 1802 dev->nchannels = FS155_NR_CHANNELS; in fs_init() 1804 dev->atm_vccs = kcalloc (dev->nchannels, sizeof (struct atm_vcc *), in fs_init() 1807 dev->atm_vccs, dev->nchannels * sizeof (struct atm_vcc *)); in fs_init() 1815 dev->tx_inuse = kzalloc (dev->nchannels / 8 /* bits/byte */ , GFP_KERNEL); in fs_init() 1817 dev->atm_vccs, dev->nchannels / 8); in fs_init() 1971 for (i=0;i < dev->nchannels;i++) { in firestream_remove_one()
|
D | firestream.h | 487 int nchannels; member
|
/Linux-v4.19/drivers/scsi/megaraid/ |
D | mbox_defs.h | 341 uint8_t nchannels; member 515 uint8_t nchannels; member
|
D | megaraid_mbox.c | 3014 adapter->max_channel = pinfo->nchannels; in megaraid_mbox_product_info()
|
/Linux-v4.19/drivers/scsi/ |
D | megaraid.h | 236 u8 nchannels; /* Number of SCSI Channels detected */ member 333 u8 nchannels; /* Number of channels on HBA */ member
|
D | megaraid.c | 284 adapter->product_info.nchannels + NVIRT_CHAN -1; in mega_query_adapter() 552 adapter->product_info.nchannels; in mega_build_cmd() 1785 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() 3651 for( i = 0; i < adapter->product_info.nchannels; i++ ) { in mega_enum_raid_scsi() 4391 j = adapter->product_info.nchannels; in megaraid_probe_one()
|
/Linux-v4.19/drivers/iio/dac/ |
D | ad5064.c | 449 #define LTC2631_INFO(vref, pchannels, nchannels) \ argument 454 .num_channels = nchannels, \
|