Home
last modified time | relevance | path

Searched refs:channels (Results 451 – 475 of 2717) sorted by relevance

1...<<11121314151617181920>>...109

/openbmc/linux/sound/xen/
H A Dxen_snd_front_alsa.c265 struct snd_interval *channels = in alsa_hw_rule() local
288 req.channels.min = channels->min; in alsa_hw_rule()
289 req.channels.max = channels->max; in alsa_hw_rule()
329 interval.min = resp.channels.min; in alsa_hw_rule()
330 interval.max = resp.channels.max; in alsa_hw_rule()
331 ret = snd_interval_refine(channels, &interval); in alsa_hw_rule()
533 runtime->channels, in alsa_prepare()
/openbmc/linux/sound/soc/tegra/
H A Dtegra210_i2s.c541 unsigned int channels) in tegra210_i2s_set_timing_params() argument
554 bclk_rate = srate * channels * num_bclk; in tegra210_i2s_set_timing_params()
579 tegra210_i2s_set_slot_ctrl(i2s->regmap, channels, in tegra210_i2s_set_timing_params()
604 unsigned int sample_size, channels, srate, val, reg, path; in tegra210_i2s_hw_params() local
609 channels = params_channels(params); in tegra210_i2s_hw_params()
610 if (channels < 1) { in tegra210_i2s_hw_params()
612 channels); in tegra210_i2s_hw_params()
616 cif_conf.audio_ch = channels; in tegra210_i2s_hw_params()
617 cif_conf.client_ch = channels; in tegra210_i2s_hw_params()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c371 params = &priv->channels.params; in mlx5e_rx_reporter_diagnose_generic_rq()
429 struct mlx5e_rq *generic_rq = &priv->channels.c[0]->rq; in mlx5e_rx_reporter_diagnose_common_config()
430 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_rx_reporter_diagnose_common_config()
479 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_rx_reporter_diagnose()
495 for (i = 0; i < priv->channels.num; i++) { in mlx5e_rx_reporter_diagnose()
496 struct mlx5e_channel *c = priv->channels.c[i]; in mlx5e_rx_reporter_diagnose()
643 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_rx_reporter_dump_all_rqs()
668 for (i = 0; i < priv->channels.num; i++) { in mlx5e_rx_reporter_dump_all_rqs()
669 struct mlx5e_rq *rq = &priv->channels.c[i]->rq; in mlx5e_rx_reporter_dump_all_rqs()
/openbmc/linux/drivers/dma/sh/
H A Dusb-dmac.c103 struct usb_dmac_chan *channels; member
680 if (!dmac->channels[i].iomem) in usb_dmac_runtime_suspend()
682 usb_dmac_chan_halt(&dmac->channels[i]); in usb_dmac_runtime_suspend()
785 dmac->channels = devm_kcalloc(&pdev->dev, dmac->n_channels, in usb_dmac_probe()
786 sizeof(*dmac->channels), GFP_KERNEL); in usb_dmac_probe()
787 if (!dmac->channels) in usb_dmac_probe()
811 INIT_LIST_HEAD(&dmac->engine.channels); in usb_dmac_probe()
814 ret = usb_dmac_chan_probe(dmac, &dmac->channels[i], i); in usb_dmac_probe()
875 usb_dmac_chan_remove(dmac, &dmac->channels[i]); in usb_dmac_remove()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.c534 struct nv_device_info_v1_data channels; in nouveau_channels_init() member
539 .m.count = sizeof(args.v) / sizeof(args.v.channels), in nouveau_channels_init()
540 .v.channels.mthd = NV_DEVICE_HOST_CHANNELS, in nouveau_channels_init()
549 args.v.channels.mthd == NV_DEVICE_INFO_INVALID) in nouveau_channels_init()
552 drm->chan_nr = drm->chan_total = args.v.channels.data; in nouveau_channels_init()
563 args.v.channels.mthd = NV_DEVICE_HOST_RUNLIST_CHANNELS; in nouveau_channels_init()
564 args.v.channels.data = i; in nouveau_channels_init()
567 if (ret || args.v.channels.mthd == NV_DEVICE_INFO_INVALID) in nouveau_channels_init()
570 drm->runl[i].chan_nr = args.v.channels.data; in nouveau_channels_init()
/openbmc/linux/Documentation/devicetree/bindings/soc/ti/
H A Dkeystone-navigator-dma.txt5 channels and flows for the QMSS(Queue Manager SubSystem) who triggers
53 - ti,enable-all: Enable all DMA channels vs clients opening specific channels
55 case where the linux drivers enables the channels used by userland
/openbmc/linux/sound/soc/uniphier/
H A Daio-dma.c32 runtime->channels * samples_to_bytes(runtime, 1); in aiodma_pcm_irq()
115 runtime->channels * samples_to_bytes(runtime, 1); in uniphier_aiodma_prepare()
143 runtime->channels * samples_to_bytes(runtime, 1); in uniphier_aiodma_trigger()
178 runtime->channels * samples_to_bytes(runtime, 1); in uniphier_aiodma_pointer()
/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_driver.c286 if (brd->channels[i]) { in jsm_remove_one()
287 kfree(brd->channels[i]->ch_rqueue); in jsm_remove_one()
288 kfree(brd->channels[i]->ch_equeue); in jsm_remove_one()
289 kfree(brd->channels[i]); in jsm_remove_one()
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Drenesas,rcar-gyroadc.yaml69 12bit sampling, up to 4 channels can be sampled in round-robin
70 fashion. One Fujitsu chip supplies four GyroADC channels with
78 sampling, up to 8 channels can be sampled in round-robin
86 up to 8 channels can be sampled in round-robin fashion. One
/openbmc/linux/sound/soc/intel/avs/boards/
H A Dda7219.c149 struct snd_interval *rate, *channels; in avs_da7219_be_fixup() local
153 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_da7219_be_fixup()
158 channels->min = channels->max = 2; in avs_da7219_be_fixup()
/openbmc/linux/drivers/staging/greybus/
H A Daudio_codec.c50 u8 sig_bits, channels; in gbaudio_module_enable_tx() local
87 channels = params->channels; in gbaudio_module_enable_tx()
92 format, rate, channels, sig_bits); in gbaudio_module_enable_tx()
176 u8 sig_bits, channels; in gbaudio_module_enable_rx() local
213 channels = params->channels; in gbaudio_module_enable_rx()
218 format, rate, channels, sig_bits); in gbaudio_module_enable_rx()
397 u8 sig_bits, channels; in gbcodec_hw_params() local
423 channels = params_channels(hwparams); in gbcodec_hw_params()
489 params->channels = channels; in gbcodec_hw_params()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Ddce3_1_afmt.c96 if (sad->channels > max_channels) { in dce3_2_afmt_write_sad_regs()
97 value = MAX_CHANNELS(sad->channels) | in dce3_2_afmt_write_sad_regs()
100 max_channels = sad->channels; in dce3_2_afmt_write_sad_regs()
/openbmc/linux/drivers/staging/iio/Documentation/
H A Dinkernel.txt31 The driver must provide datasheet_name values for its channels and
54 There is also provision for retrieving all of the channels associated
56 iio_hwmon where the number and naming of channels is not known by the
/openbmc/linux/Documentation/admin-guide/media/
H A Dci.rst35 eg: $ szap -c channels.conf -r "TMC" -x
37 b) a channels.conf containing a valid PMT PID
47 eg: $ ca_zap channels.conf "TMC"
/openbmc/linux/Documentation/mhi/
H A Dtopology.rst18 channels and events based on the client device type.
32 MHI device is the logical device which binds to a maximum of two MHI channels
36 couple of channels.
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dfsl,audmix.txt6 modules (SAI). Each input serial interface carries 8 audio channels in its
7 frame in TDM manner. Mixer mixes audio samples of corresponding channels
21 input streams must have same audio sample rate with same number of channels
/openbmc/u-boot/drivers/pwm/
H A DKconfig18 used. It provides 5 channels which can be independently
33 This is a sandbox PWM used for testing. It provides 3 channels and
43 four channels with a programmable period and duty cycle. Only a
/openbmc/linux/drivers/iio/adc/
H A Dxilinx-xadc-events.c21 return &indio_dev->channels[0]; in xadc_event_to_channel()
24 return &indio_dev->channels[event]; in xadc_event_to_channel()
26 return &indio_dev->channels[event-1]; in xadc_event_to_channel()
H A Dti-adc161s626.c119 ret = ti_adc_read_measurement(data, &indio_dev->channels[0], in ti_adc_trigger_handler()
196 indio_dev->channels = ti_adc141s626_channels; in ti_adc_probe()
202 indio_dev->channels = ti_adc161s626_channels; in ti_adc_probe()
/openbmc/linux/Documentation/devicetree/bindings/iio/afe/
H A Dtemperature-sense-rtd.yaml51 io-channels:
85 - io-channels
95 io-channels = <&temp_adc1 0>;
/openbmc/linux/Documentation/devicetree/bindings/dma/
H A Dintel,ldma.yaml38 dma-channels:
62 for the descriptor fetching for all channels.
95 dma-channels = <16>;
/openbmc/linux/Documentation/input/devices/
H A Dpxrc.rst10 The adapter supports 7 analog channels and 1 digital input switch.
18 The driver is generating the following input event for analog channels:
/openbmc/linux/include/sound/sof/
H A Ddai-intel.h98 uint32_t channels; member
106 uint32_t channels; member
/openbmc/linux/drivers/dma/
H A Dtimb_dma.c91 struct timb_dma_chan channels[]; member
264 struct timb_dma_chan *td_chan = td->channels + i; in __td_ier_mask()
582 struct timb_dma_chan *td_chan = td->channels + i; in td_tasklet()
638 td = kzalloc(struct_size(td, channels, pdata->nr_channels), in td_probe()
681 INIT_LIST_HEAD(&td->dma.channels); in td_probe()
684 struct timb_dma_chan *td_chan = &td->channels[i]; in td_probe()
686 pdata->channels + i; in td_probe()
715 list_add_tail(&td_chan->chan.device_node, &td->dma.channels); in td_probe()
/openbmc/linux/drivers/power/supply/
H A Dcpcap-charger.c133 struct iio_channel *channels[CPCAP_CHARGER_IIO_NR]; member
181 channel = ddata->channels[CPCAP_CHARGER_IIO_VOLTAGE]; in cpcap_charger_get_charge_voltage()
197 channel = ddata->channels[CPCAP_CHARGER_IIO_CHRG_CURRENT]; in cpcap_charger_get_charge_current()
447 ddata->channels[CPCAP_CHARGER_IIO_VBUS]; in cpcap_charger_vbus_valid()
831 ddata->channels[i] = devm_iio_channel_get(ddata->dev, in cpcap_charger_init_iio()
833 if (IS_ERR(ddata->channels[i])) { in cpcap_charger_init_iio()
834 error = PTR_ERR(ddata->channels[i]); in cpcap_charger_init_iio()
838 if (!ddata->channels[i]->indio_dev) { in cpcap_charger_init_iio()

1...<<11121314151617181920>>...109