Home
last modified time | relevance | path

Searched refs:ch_cfg (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/iio/adc/
H A Dti-tsc2046.c182 struct tsc2046_adc_ch_cfg ch_cfg[TI_TSC2046_MAX_CHAN]; member
276 struct tsc2046_adc_ch_cfg *ch = &priv->ch_cfg[ch_idx]; in tsc2046_adc_read_one()
346 struct tsc2046_adc_ch_cfg *ch = &priv->ch_cfg[ch_idx]; in tsc2046_adc_group_set_layout()
707 for (i = 0; i < ARRAY_SIZE(priv->ch_cfg); i++) { in tsc2046_adc_parse_fwnode()
708 priv->ch_cfg[i].settling_time_us = 1; in tsc2046_adc_parse_fwnode()
709 priv->ch_cfg[i].oversampling_ratio = 1; in tsc2046_adc_parse_fwnode()
723 if (reg >= ARRAY_SIZE(priv->ch_cfg)) { in tsc2046_adc_parse_fwnode()
725 child, reg, ARRAY_SIZE(priv->ch_cfg)); in tsc2046_adc_parse_fwnode()
731 priv->ch_cfg[reg].settling_time_us = stl; in tsc2046_adc_parse_fwnode()
736 priv->ch_cfg[reg].oversampling_ratio = overs; in tsc2046_adc_parse_fwnode()
/linux/drivers/bus/mhi/host/
H A Dinit.c777 const struct mhi_channel_config *ch_cfg; in parse_ch_cfg() local
800 ch_cfg = &config->ch_cfg[i]; in parse_ch_cfg()
802 chan = ch_cfg->num; in parse_ch_cfg()
809 mhi_chan->name = ch_cfg->name; in parse_ch_cfg()
812 mhi_chan->tre_ring.elements = ch_cfg->num_elements; in parse_ch_cfg()
823 mhi_chan->buf_ring.elements = ch_cfg->local_elements; in parse_ch_cfg()
826 mhi_chan->er_index = ch_cfg->event_ring; in parse_ch_cfg()
827 mhi_chan->dir = ch_cfg->dir; in parse_ch_cfg()
834 mhi_chan->type = ch_cfg->type; in parse_ch_cfg()
838 mhi_chan->ee_mask = ch_cfg->ee_mask; in parse_ch_cfg()
[all …]
/linux/include/linux/
H A Dmhi_ep.h39 const struct mhi_ep_channel_config *ch_cfg; member
H A Dmhi.h298 const struct mhi_channel_config *ch_cfg; member
/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.h45 u16 ch_cfg; member
H A Dq6asm-dai.c732 flac_cfg.ch_cfg = codec->ch_in; in __q6asm_dai_compr_set_codec_params()
H A Dq6asm.c1144 fmt->num_channels = cfg->ch_cfg; in q6asm_stream_media_format_block_flac()
/linux/sound/soc/sof/
H A Dipc4-topology.c103 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_cfg)},
123 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_cfg)},
266 "Pin #%d: %uHz, %ubit (type: %u), %luch (ch_map %#x ch_cfg %u interleaving_style %u fmt_cfg %#x) buffer size %d\n", in sof_ipc4_dbg_module_audio_format()
270 fmt->ch_map, fmt->ch_cfg, fmt->interleaving_style, fmt->fmt_cfg, in sof_ipc4_dbg_module_audio_format()