/Linux-v6.6/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 | 565 int width, nchannels, channel; in snd_pcm_plug_client_channels_buf() local 582 nchannels = format->channels; in snd_pcm_plug_client_channels_buf() 586 for (channel = 0; channel < nchannels; channel++, v++) { in snd_pcm_plug_client_channels_buf() 592 v->area.step = nchannels * width; in snd_pcm_plug_client_channels_buf()
|
/Linux-v6.6/drivers/hwmon/ |
D | gsc-hwmon.c | 254 int nchannels; in gsc_hwmon_get_devtree_pdata() local 256 nchannels = device_get_child_node_count(dev); in gsc_hwmon_get_devtree_pdata() 257 if (nchannels == 0) in gsc_hwmon_get_devtree_pdata() 260 pdata = devm_kzalloc(dev, struct_size(pdata, channels, nchannels), in gsc_hwmon_get_devtree_pdata() 264 pdata->nchannels = nchannels; in gsc_hwmon_get_devtree_pdata() 342 for (i = 0, i_in = 0, i_temp = 0, i_fan = 0; i < hwmon->pdata->nchannels; i++) { in gsc_hwmon_probe()
|
/Linux-v6.6/drivers/iio/adc/ |
D | twl6030-gpadc.c | 116 const int nchannels; member 442 i = twl6030_gpadc_lookup(ideal, channel, pdata->nchannels); in twl6030_channel_calibrated() 454 i = twl6030_gpadc_lookup(ideal, channel, gpadc->pdata->nchannels); in twl6030_gpadc_make_correction() 500 i = twl6030_gpadc_lookup(ideal, channel, gpadc->pdata->nchannels); in twl6030_gpadc_get_processed() 578 i = twl6030_gpadc_lookup(ideal, channel, gpadc->pdata->nchannels); in twl6030_calibrate_channel() 848 .nchannels = TWL6030_GPADC_USED_CHANNELS, 857 .nchannels = TWL6032_GPADC_USED_CHANNELS, 900 pdata->nchannels, in twl6030_gpadc_probe() 966 indio_dev->num_channels = pdata->nchannels; in twl6030_gpadc_probe()
|
D | qcom-spmi-adc5.c | 149 unsigned int nchannels; member 412 for (i = 0; i < adc->nchannels; i++) in adc5_fwnode_xlate() 425 for (i = 0; i < adc->nchannels; i++) { in adc7_fwnode_xlate() 832 adc->nchannels = device_get_child_node_count(adc->dev); in adc5_get_fw_data() 833 if (!adc->nchannels) in adc5_get_fw_data() 836 adc->iio_chans = devm_kcalloc(adc->dev, adc->nchannels, in adc5_get_fw_data() 841 adc->chan_props = devm_kcalloc(adc->dev, adc->nchannels, in adc5_get_fw_data() 927 indio_dev->num_channels = adc->nchannels; in adc5_probe()
|
D | qcom-spmi-vadc.c | 118 unsigned int nchannels; member 294 for (i = 0; i < vadc->nchannels; i++) in vadc_get_channel() 493 for (i = 0; i < vadc->nchannels; i++) in vadc_fwnode_xlate() 761 vadc->nchannels = device_get_child_node_count(vadc->dev); in vadc_get_fw_data() 762 if (!vadc->nchannels) in vadc_get_fw_data() 765 vadc->iio_chans = devm_kcalloc(vadc->dev, vadc->nchannels, in vadc_get_fw_data() 770 vadc->chan_props = devm_kcalloc(vadc->dev, vadc->nchannels, in vadc_get_fw_data() 930 indio_dev->num_channels = vadc->nchannels; in vadc_probe()
|
/Linux-v6.6/drivers/clk/ |
D | clk-apple-nco.c | 264 unsigned int nchannels; in applnco_probe() local 273 nchannels = (resource_size(res) - NCO_CHANNEL_REGSIZE) in applnco_probe() 277 nchannels), GFP_KERNEL); in applnco_probe() 280 onecell_data->num = nchannels; in applnco_probe() 287 for (i = 0; i < nchannels; i++) { in applnco_probe()
|
/Linux-v6.6/arch/mips/lantiq/xway/ |
D | dma.c | 242 unsigned int id, nchannels; in ltq_dma_init() local 264 nchannels = ((id & DMA_ID_CHNR) >> 20); in ltq_dma_init() 265 for (i = 0; i < nchannels; i++) { in ltq_dma_init() 274 id & 0x1f, (id >> 16) & 0xf, nchannels); in ltq_dma_init()
|
/Linux-v6.6/drivers/dma/ |
D | apple-admac.c | 130 int nchannels; member 588 if (index >= ad->nchannels) { in admac_dma_of_xlate() 690 for (i = 0; i < ad->nchannels; i += 2) { in admac_interrupt() 696 for (i = 1; i < ad->nchannels; i += 2) { in admac_interrupt() 803 int nchannels; in admac_probe() local 806 err = of_property_read_u32(np, "dma-channels", &nchannels); in admac_probe() 807 if (err || nchannels > NCHANNELS_MAX) { in admac_probe() 812 ad = devm_kzalloc(&pdev->dev, struct_size(ad, channels, nchannels), GFP_KERNEL); in admac_probe() 818 ad->nchannels = nchannels; in admac_probe() 873 for (i = 0; i < nchannels; i++) { in admac_probe()
|
/Linux-v6.6/drivers/thermal/qcom/ |
D | qcom-spmi-adc-tm5.c | 234 unsigned int nchannels; member 274 for (i = 0; i < chip->nchannels; i++) { in adc_tm5_isr() 335 for (i = 0; i < chip->nchannels; i++) { in adc_tm5_gen2_isr() 673 for (i = 0; i < adc_tm->nchannels; i++) { in adc_tm5_register_tzd() 703 for (i = 0; i < chip->nchannels; i++) { in adc_tm_hc_init() 733 for (i = 0; i < chip->nchannels; i++) { in adc_tm5_init() 768 for (i = 0; i < chip->nchannels; i++) { in adc_tm5_gen2_init() 949 adc_tm->nchannels = of_get_available_child_count(node); in adc_tm5_get_dt_data() 950 if (!adc_tm->nchannels) in adc_tm5_get_dt_data() 953 adc_tm->channels = devm_kcalloc(dev, adc_tm->nchannels, in adc_tm5_get_dt_data()
|
/Linux-v6.6/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_audio.c | 11 static int nchannels[] = { 2, 4, 6, 8 }; variable 228 if (num_of_channels >= ARRAY_SIZE(nchannels)) in msm_hdmi_audio_info_setup() 232 audio->infoframe.channels = nchannels[num_of_channels]; in msm_hdmi_audio_info_setup()
|
/Linux-v6.6/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_leaf.c | 129 u8 nchannels; member 756 dev->nchannels = cmd.u.cardinfo.nchannels; in kvaser_usb_leaf_get_card_info() 757 if (dev->nchannels > KVASER_USB_MAX_NET_DEVICES || in kvaser_usb_leaf_get_card_info() 759 dev->nchannels > MAX_USBCAN_NET_DEVICES)) in kvaser_usb_leaf_get_card_info() 810 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_leaf_get_single_capability() 887 if (channel >= dev->nchannels) { in kvaser_usb_leaf_tx_acknowledge() 1057 if (es->channel >= dev->nchannels) { in kvaser_usb_leaf_rx_error() 1168 if (channel >= dev->nchannels) { in kvaser_usb_leaf_usbcan_conditionally_rx_error() 1222 if (dev->nchannels == MAX_USBCAN_NET_DEVICES) { in kvaser_usb_leaf_usbcan_rx_error() 1303 if (channel >= dev->nchannels) { in kvaser_usb_leaf_rx_can_msg() [all …]
|
D | kvaser_usb_core.c | 353 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_read_bulk_callback() 492 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_unlink_all_urbs() 771 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_remove_interfaces() 780 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_remove_interfaces() 967 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_probe()
|
D | kvaser_usb.h | 102 unsigned int nchannels; member
|
D | kvaser_usb_hydra.c | 119 u8 nchannels; member 516 if (channel >= dev->nchannels) in kvaser_usb_hydra_net_priv_from_cmd() 794 for (i = 0; i < dev->nchannels; i++) { in kvaser_usb_hydra_get_single_capability() 1902 dev->nchannels = cmd.card_info.nchannels; in kvaser_usb_hydra_get_card_info() 1903 if (dev->nchannels > KVASER_USB_MAX_NET_DEVICES) in kvaser_usb_hydra_get_card_info()
|
/Linux-v6.6/include/linux/platform_data/ |
D | gsc_hwmon.h | 39 int nchannels; member
|
/Linux-v6.6/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()
|
/Linux-v6.6/sound/soc/apple/ |
D | mca.c | 600 int nchannels = params_channels(params); in mca_fe_hw_params() local 602 if (nchannels > 2) { in mca_fe_hw_params() 607 if ((bclk_ratio % nchannels) != 0) { in mca_fe_hw_params() 609 bclk_ratio, nchannels); in mca_fe_hw_params() 613 tdm_slot_width = bclk_ratio / nchannels; in mca_fe_hw_params() 615 if (tdm_slot_width > 32 && nchannels == 1) in mca_fe_hw_params()
|
/Linux-v6.6/drivers/scsi/megaraid/ |
D | mbox_defs.h | 336 uint8_t nchannels; member 510 uint8_t nchannels; member
|
/Linux-v6.6/drivers/gpu/drm/vc4/tests/ |
D | vc4_test_pv_muxing.c | 50 size_t nchannels; member 57 .nchannels = sizeof((unsigned int[]) { __VA_ARGS__ }) / \ 75 for (j = 0; j < constraint->nchannels; j++) { in __check_encoder_constraints()
|
/Linux-v6.6/drivers/scsi/ |
D | megaraid.h | 237 u8 nchannels; /* Number of SCSI Channels detected */ member 334 u8 nchannels; /* Number of channels on HBA */ member
|
D | megaraid.c | 286 adapter->product_info.nchannels + NVIRT_CHAN -1; in mega_query_adapter() 549 adapter->product_info.nchannels; in mega_build_cmd() 1771 product_info->nchannels = inquiry->adapter_info.nchannels; in mega_8_to_40ld() 2077 adapter->numldrv, adapter->product_info.nchannels); in proc_show_config() 2361 max_channels = adapter->product_info.nchannels; in proc_show_pdrv() 3625 for( i = 0; i < adapter->product_info.nchannels; i++ ) { in mega_enum_raid_scsi() 4358 j = adapter->product_info.nchannels; in megaraid_probe_one()
|
/Linux-v6.6/drivers/iio/dac/ |
D | ad5064.c | 450 #define LTC2631_INFO(vref, pchannels, nchannels) \ argument 455 .num_channels = nchannels, \
|