/openbmc/linux/sound/xen/ |
H A D | xen_snd_front_alsa.c | 265 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 D | tegra210_i2s.c | 541 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 D | reporter_rx.c | 371 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 D | usb-dmac.c | 103 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 D | nouveau_chan.c | 534 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 D | keystone-navigator-dma.txt | 5 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 D | aio-dma.c | 32 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 D | jsm_driver.c | 286 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 D | renesas,rcar-gyroadc.yaml | 69 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 D | da7219.c | 149 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 D | audio_codec.c | 50 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 D | dce3_1_afmt.c | 96 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 D | inkernel.txt | 31 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 D | ci.rst | 35 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 D | topology.rst | 18 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 D | fsl,audmix.txt | 6 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 D | Kconfig | 18 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 D | xilinx-xadc-events.c | 21 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 D | ti-adc161s626.c | 119 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 D | temperature-sense-rtd.yaml | 51 io-channels: 85 - io-channels 95 io-channels = <&temp_adc1 0>;
|
/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | intel,ldma.yaml | 38 dma-channels: 62 for the descriptor fetching for all channels. 95 dma-channels = <16>;
|
/openbmc/linux/Documentation/input/devices/ |
H A D | pxrc.rst | 10 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 D | dai-intel.h | 98 uint32_t channels; member 106 uint32_t channels; member
|
/openbmc/linux/drivers/dma/ |
H A D | timb_dma.c | 91 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 D | cpcap-charger.c | 133 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()
|