Home
last modified time | relevance | path

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

12

/openbmc/u-boot/arch/arm/mach-exynos/
H A Dspl_boot.c73 setbits_le32(&regs->ch_cfg, SPI_CH_RST); in spi_rx_tx()
74 clrbits_le32(&regs->ch_cfg, SPI_CH_RST); in spi_rx_tx()
123 clrbits_le32(&regs->ch_cfg, SPI_CH_CPOL_L); /* CPOL: active high */ in exynos_spi_copy()
126 clrbits_le32(&regs->ch_cfg, SPI_RX_CH_ON | SPI_TX_CH_ON); in exynos_spi_copy()
133 setbits_le32(&regs->ch_cfg, SPI_CH_RST); in exynos_spi_copy()
134 clrbits_le32(&regs->ch_cfg, SPI_CH_RST); in exynos_spi_copy()
137 setbits_le32(&regs->ch_cfg, SPI_RX_CH_ON | SPI_TX_CH_ON | SPI_CH_HS_EN); in exynos_spi_copy()
172 clrsetbits_le32(&regs->ch_cfg, SPI_CH_HS_EN, SPI_CH_RST); in exynos_spi_copy()
173 clrbits_le32(&regs->ch_cfg, SPI_CH_RST); in exynos_spi_copy()
174 clrbits_le32(&regs->ch_cfg, SPI_TX_CH_ON | SPI_RX_CH_ON); in exynos_spi_copy()
/openbmc/u-boot/drivers/spi/
H A Dexynos_spi.c47 clrsetbits_le32(&regs->ch_cfg, SPI_CH_HS_EN, SPI_CH_RST); in spi_flush_fifo()
48 clrbits_le32(&regs->ch_cfg, SPI_CH_RST); in spi_flush_fifo()
49 setbits_le32(&regs->ch_cfg, SPI_TX_CH_ON | SPI_RX_CH_ON); in spi_flush_fifo()
89 setbits_le32(&regs->ch_cfg, SPI_CH_RST); in spi_request_bytes()
90 clrbits_le32(&regs->ch_cfg, SPI_CH_RST); in spi_request_bytes()
388 reg = readl(&priv->regs->ch_cfg); in exynos_spi_set_mode()
397 writel(reg, &priv->regs->ch_cfg); in exynos_spi_set_mode()
/openbmc/linux/drivers/bus/mhi/host/
H A Dinit.c751 const struct mhi_channel_config *ch_cfg; in parse_ch_cfg() local
774 ch_cfg = &config->ch_cfg[i]; in parse_ch_cfg()
776 chan = ch_cfg->num; in parse_ch_cfg()
783 mhi_chan->name = ch_cfg->name; in parse_ch_cfg()
786 mhi_chan->tre_ring.elements = ch_cfg->num_elements; in parse_ch_cfg()
797 mhi_chan->buf_ring.elements = ch_cfg->local_elements; in parse_ch_cfg()
800 mhi_chan->er_index = ch_cfg->event_ring; in parse_ch_cfg()
801 mhi_chan->dir = ch_cfg->dir; in parse_ch_cfg()
808 mhi_chan->type = ch_cfg->type; in parse_ch_cfg()
812 mhi_chan->ee_mask = ch_cfg->ee_mask; in parse_ch_cfg()
[all …]
H A Dpci_generic.c276 .ch_cfg = modem_qcom_v1_mhi_channels,
340 .ch_cfg = mhi_quectel_em1xx_channels,
389 .ch_cfg = mhi_foxconn_sdx55_channels,
445 .ch_cfg = mhi_mv3x_channels,
493 .ch_cfg = mhi_sierra_em919x_channels,
525 .ch_cfg = mhi_telit_fn980_hw_v1_channels,
567 .ch_cfg = mhi_telit_fn990_channels,
/openbmc/linux/drivers/iio/adc/
H A Dti-tsc2046.c181 struct tsc2046_adc_ch_cfg ch_cfg[TI_TSC2046_MAX_CHAN]; member
275 struct tsc2046_adc_ch_cfg *ch = &priv->ch_cfg[ch_idx]; in tsc2046_adc_read_one()
354 struct tsc2046_adc_ch_cfg *ch = &priv->ch_cfg[ch_idx]; in tsc2046_adc_group_set_layout()
716 for (i = 0; i < ARRAY_SIZE(priv->ch_cfg); i++) { in tsc2046_adc_parse_fwnode()
717 priv->ch_cfg[i].settling_time_us = 1; in tsc2046_adc_parse_fwnode()
718 priv->ch_cfg[i].oversampling_ratio = 1; in tsc2046_adc_parse_fwnode()
732 if (reg >= ARRAY_SIZE(priv->ch_cfg)) { in tsc2046_adc_parse_fwnode()
734 child, reg, ARRAY_SIZE(priv->ch_cfg)); in tsc2046_adc_parse_fwnode()
740 priv->ch_cfg[reg].settling_time_us = stl; in tsc2046_adc_parse_fwnode()
745 priv->ch_cfg[reg].oversampling_ratio = overs; in tsc2046_adc_parse_fwnode()
/openbmc/u-boot/arch/arm/mach-exynos/include/mach/
H A Dspi.h14 unsigned int ch_cfg; /* 0x00 */ member
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-messages.c456 base_cfg->audio_fmt.ch_cfg = format->ch_cfg; in skl_set_base_module_format()
461 format->ch_cfg); in skl_set_base_module_format()
480 pin_fmt->ch_cfg = format->ch_cfg; in fill_pin_params()
739 out_fmt->ch_cfg = format->ch_cfg; in skl_setup_out_format()
783 mixer_mconfig->out_ch_cfg = fmt->ch_cfg; in skl_set_updown_mixer_format()
H A Dskl-topology.h97 enum skl_ch_cfg ch_cfg; member
217 u32 ch_cfg; member
H A Dskl-debug.c62 fmt->valid_bit_depth, fmt->ch_cfg, in skl_print_fmt()
H A Dskl-topology.c122 dev_dbg(skl->dev, "ch_cfg = %d\n", iface->inputs[0].fmt.ch_cfg); in skl_dump_mconfig()
130 dev_dbg(skl->dev, "ch_cfg = %d\n", iface->outputs[0].fmt.ch_cfg); in skl_dump_mconfig()
2179 dst_fmt->ch_cfg = value; in skl_tplg_fill_fmt()
2762 dst_fmt[i].fmt.ch_cfg = src_fmt[i].ch_cfg; in skl_tplg_fill_fmt_v4()
/openbmc/linux/drivers/bus/mhi/ep/
H A Dmain.c1388 const struct mhi_ep_channel_config *ch_cfg; in mhi_ep_chan_init() local
1407 ch_cfg = &config->ch_cfg[i]; in mhi_ep_chan_init()
1409 chan = ch_cfg->num; in mhi_ep_chan_init()
1417 if (ch_cfg->dir == DMA_BIDIRECTIONAL || ch_cfg->dir == DMA_NONE) { in mhi_ep_chan_init()
1419 ch_cfg->dir, chan); in mhi_ep_chan_init()
1424 mhi_chan->name = ch_cfg->name; in mhi_ep_chan_init()
1426 mhi_chan->dir = ch_cfg->dir; in mhi_ep_chan_init()
/openbmc/linux/drivers/dma/sh/
H A Drz-dmac.c726 u32 ch_cfg; in rz_dmac_chan_filter() local
729 ch_cfg = (dma_spec->args[0] & CHCFG_MASK) >> 10; in rz_dmac_chan_filter()
730 channel->chcfg = CHCFG_FILL_TM(ch_cfg) | CHCFG_FILL_AM(ch_cfg) | in rz_dmac_chan_filter()
731 CHCFG_FILL_LVL(ch_cfg) | CHCFG_FILL_HIEN(ch_cfg); in rz_dmac_chan_filter()
/openbmc/u-boot/doc/driver-model/
H A Dspi-howto.txt374 reg = readl(&regs->ch_cfg);
383 writel(reg, &regs->ch_cfg);
425 reg = readl(&priv->regs->ch_cfg);
434 writel(reg, &priv->regs->ch_cfg);
476 clrsetbits_le32(&regs->ch_cfg, SPI_CH_HS_EN, SPI_CH_RST);
477 clrbits_le32(&regs->ch_cfg, SPI_CH_RST);
478 setbits_le32(&regs->ch_cfg, SPI_TX_CH_ON | SPI_RX_CH_ON);
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dmhi.c110 .ch_cfg = ath11k_mhi_channels_qca6390,
203 .ch_cfg = ath11k_mhi_channels_qcn9074,
/openbmc/linux/include/uapi/sound/
H A Dskl-tplg-interface.h180 __u32 ch_cfg; member
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dmhi.c105 .ch_cfg = ath12k_mhi_channels_qcn9274,
198 .ch_cfg = ath12k_mhi_channels_wcn7850,
/openbmc/linux/include/linux/
H A Dmhi_ep.h39 const struct mhi_ep_channel_config *ch_cfg; member
H A Dmhi.h282 const struct mhi_channel_config *ch_cfg; member
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.h46 u16 ch_cfg; member
H A Dq6asm-dai.c724 flac_cfg.ch_cfg = codec->ch_in; in __q6asm_dai_compr_set_codec_params()
/openbmc/linux/include/sound/sof/ipc4/
H A Dheader.h271 uint32_t ch_cfg; /* sof_ipc4_channel_config */ member
/openbmc/linux/drivers/accel/qaic/
H A Dmhi_controller.c398 .ch_cfg = aic100_channels,
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac.c766 if (param_ini.ch_cfg) in hfc_reset_param()
767 param->ch_cfg = param_ini.ch_cfg; in hfc_reset_param()
779 const struct rtw89_hfc_ch_cfg *ch_cfg = param->ch_cfg; in hfc_ch_cfg_chk() local
786 if ((ch_cfg[ch].min && ch_cfg[ch].min < prec_cfg->ch011_prec) || in hfc_ch_cfg_chk()
787 ch_cfg[ch].max > pub_cfg->pub_max) in hfc_ch_cfg_chk()
789 if (ch_cfg[ch].grp >= grp_num) in hfc_ch_cfg_chk()
827 const struct rtw89_hfc_ch_cfg *cfg = param->ch_cfg; in hfc_ch_ctrl()
856 const struct rtw89_hfc_ch_cfg *cfg = param->ch_cfg; in hfc_upd_ch_info()
/openbmc/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-mhi.c79 .ch_cfg = mhi_v1_channels,
/openbmc/linux/sound/soc/sof/
H A Dipc4-topology.c67 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_cfg)},
87 offsetof(struct sof_ipc4_pin_format, audio_fmt.ch_cfg)},
178 fmt->ch_cfg, fmt->interleaving_style, fmt->fmt_cfg, in sof_ipc4_dbg_audio_format()

12