Home
last modified time | relevance | path

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

/linux-6.15/drivers/input/misc/
H A Diqs269a.c359 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() local
384 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_get() local
403 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_base_set() local
446 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_base_get() local
481 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_target_set() local
506 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_target_get() local
582 ch_reg = &iqs269->sys_reg.ch_reg[reg]; in iqs269_parse_chan()
585 &ch_reg->rx_enable); in iqs269_parse_chan()
1516 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in hall_bin_show() local
1610 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in rx_enable_show() local
[all …]
/linux-6.15/drivers/dma/
H A Dtegra210-adma.c770 struct tegra_adma_chan_regs *ch_reg; in tegra_adma_runtime_suspend() local
786 ch_reg = &tdc->ch_regs; in tegra_adma_runtime_suspend()
787 ch_reg->cmd = tdma_ch_read(tdc, ADMA_CH_CMD); in tegra_adma_runtime_suspend()
789 if (!ch_reg->cmd) in tegra_adma_runtime_suspend()
791 ch_reg->tc = tdma_ch_read(tdc, ADMA_CH_TC); in tegra_adma_runtime_suspend()
794 ch_reg->ctrl = tdma_ch_read(tdc, ADMA_CH_CTRL); in tegra_adma_runtime_suspend()
808 struct tegra_adma_chan_regs *ch_reg; in tegra_adma_runtime_resume() local
831 ch_reg = &tdc->ch_regs; in tegra_adma_runtime_resume()
833 if (!ch_reg->cmd) in tegra_adma_runtime_resume()
835 tdma_ch_write(tdc, ADMA_CH_TC, ch_reg->tc); in tegra_adma_runtime_resume()
[all …]
/linux-6.15/sound/soc/intel/keembay/
H A Dkmb_platform.c554 u32 ch_reg; in kmb_i2s_config() local
558 for (ch_reg = 0; ch_reg < config->chan_nr / 2; ch_reg++) { in kmb_i2s_config()
561 kmb_i2s->i2s_base + TCR(ch_reg)); in kmb_i2s_config()
564 kmb_i2s->i2s_base + TFCR(ch_reg)); in kmb_i2s_config()
566 writel(1, kmb_i2s->i2s_base + TER(ch_reg)); in kmb_i2s_config()
569 kmb_i2s->i2s_base + RCR(ch_reg)); in kmb_i2s_config()
572 kmb_i2s->i2s_base + RFCR(ch_reg)); in kmb_i2s_config()
574 writel(1, kmb_i2s->i2s_base + RER(ch_reg)); in kmb_i2s_config()
/linux-6.15/sound/soc/dwc/
H A Ddwc-i2s.c248 u32 ch_reg; in dw_i2s_config() local
254 for (ch_reg = 0; ch_reg < (config->chan_nr / 2); ch_reg++) { in dw_i2s_config()
256 i2s_write_reg(dev->i2s_base, TCR(ch_reg), in dw_i2s_config()
258 i2s_write_reg(dev->i2s_base, TFCR(ch_reg), in dw_i2s_config()
260 i2s_write_reg(dev->i2s_base, TER(ch_reg), TER_TXCHEN | in dw_i2s_config()
263 i2s_write_reg(dev->i2s_base, RCR(ch_reg), in dw_i2s_config()
265 i2s_write_reg(dev->i2s_base, RFCR(ch_reg), in dw_i2s_config()
267 i2s_write_reg(dev->i2s_base, RER(ch_reg), RER_RXCHEN | in dw_i2s_config()
/linux-6.15/drivers/spmi/
H A Dspmi-mtk-pmif.c32 struct ch_reg { struct
49 struct ch_reg chan; argument
315 struct ch_reg *inf_reg; in pmif_spmi_read_cmd()
382 struct ch_reg *inf_reg; in pmif_spmi_write_cmd()
/linux-6.15/sound/soc/amd/
H A Dacp-pcm-dma.c361 u32 val, ch_reg, imr_reg, res_reg; in acp_dma_cap_channel_enable() local
365 ch_reg = mmACP_I2SMICSP_RER1; in acp_dma_cap_channel_enable()
371 ch_reg = mmACP_I2SMICSP_RER0; in acp_dma_cap_channel_enable()
379 acp_reg_write(0x0, acp_mmio, ch_reg); in acp_dma_cap_channel_enable()
387 acp_reg_write(0x1, acp_mmio, ch_reg); in acp_dma_cap_channel_enable()
393 u32 val, ch_reg, imr_reg; in acp_dma_cap_channel_disable() local
398 ch_reg = mmACP_I2SMICSP_RER1; in acp_dma_cap_channel_disable()
403 ch_reg = mmACP_I2SMICSP_RER0; in acp_dma_cap_channel_disable()
410 acp_reg_write(0x0, acp_mmio, ch_reg); in acp_dma_cap_channel_disable()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ioctl.h52 struct ch_reg { struct
H A Dcxgb3_main.c2300 struct ch_reg edata; in cxgb_siocdevprivate()
2333 struct ch_reg edata; in cxgb_siocdevprivate()
2335 memset(&edata, 0, sizeof(struct ch_reg)); in cxgb_siocdevprivate()