Searched refs:ch_reg (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/input/misc/ |
D | iqs269a.c | 295 struct iqs269_ch_reg ch_reg[IQS269_NUM_CH]; member 320 engine_a = be16_to_cpu(iqs269->ch_reg[ch_num].engine_a); in iqs269_ati_mode_set() 325 iqs269->ch_reg[ch_num].engine_a = cpu_to_be16(engine_a); in iqs269_ati_mode_set() 342 engine_a = be16_to_cpu(iqs269->ch_reg[ch_num].engine_a); in iqs269_ati_mode_get() 382 engine_b = be16_to_cpu(iqs269->ch_reg[ch_num].engine_b); in iqs269_ati_base_set() 387 iqs269->ch_reg[ch_num].engine_b = cpu_to_be16(engine_b); in iqs269_ati_base_set() 404 engine_b = be16_to_cpu(iqs269->ch_reg[ch_num].engine_b); in iqs269_ati_base_get() 442 engine_b = be16_to_cpu(iqs269->ch_reg[ch_num].engine_b); in iqs269_ati_target_set() 447 iqs269->ch_reg[ch_num].engine_b = cpu_to_be16(engine_b); in iqs269_ati_target_set() 464 engine_b = be16_to_cpu(iqs269->ch_reg[ch_num].engine_b); in iqs269_ati_target_get() [all …]
|
/Linux-v5.10/drivers/dma/ |
D | tegra210-adma.c | 716 struct tegra_adma_chan_regs *ch_reg; in tegra_adma_runtime_suspend() local 726 ch_reg = &tdc->ch_regs; in tegra_adma_runtime_suspend() 727 ch_reg->cmd = tdma_ch_read(tdc, ADMA_CH_CMD); in tegra_adma_runtime_suspend() 729 if (!ch_reg->cmd) in tegra_adma_runtime_suspend() 731 ch_reg->tc = tdma_ch_read(tdc, ADMA_CH_TC); in tegra_adma_runtime_suspend() 732 ch_reg->src_addr = tdma_ch_read(tdc, ADMA_CH_LOWER_SRC_ADDR); in tegra_adma_runtime_suspend() 733 ch_reg->trg_addr = tdma_ch_read(tdc, ADMA_CH_LOWER_TRG_ADDR); in tegra_adma_runtime_suspend() 734 ch_reg->ctrl = tdma_ch_read(tdc, ADMA_CH_CTRL); in tegra_adma_runtime_suspend() 735 ch_reg->fifo_ctrl = tdma_ch_read(tdc, ADMA_CH_FIFO_CTRL); in tegra_adma_runtime_suspend() 736 ch_reg->config = tdma_ch_read(tdc, ADMA_CH_CONFIG); in tegra_adma_runtime_suspend() [all …]
|
/Linux-v5.10/sound/soc/intel/keembay/ |
D | kmb_platform.c | 449 u32 ch_reg; in kmb_i2s_config() local 453 for (ch_reg = 0; ch_reg < config->chan_nr / 2; ch_reg++) { in kmb_i2s_config() 456 kmb_i2s->i2s_base + TCR(ch_reg)); in kmb_i2s_config() 459 kmb_i2s->i2s_base + TFCR(ch_reg)); in kmb_i2s_config() 461 writel(1, kmb_i2s->i2s_base + TER(ch_reg)); in kmb_i2s_config() 464 kmb_i2s->i2s_base + RCR(ch_reg)); in kmb_i2s_config() 467 kmb_i2s->i2s_base + RFCR(ch_reg)); in kmb_i2s_config() 469 writel(1, kmb_i2s->i2s_base + RER(ch_reg)); in kmb_i2s_config()
|
/Linux-v5.10/sound/soc/dwc/ |
D | dwc-i2s.c | 212 u32 ch_reg; in dw_i2s_config() local 218 for (ch_reg = 0; ch_reg < (config->chan_nr / 2); ch_reg++) { in dw_i2s_config() 220 i2s_write_reg(dev->i2s_base, TCR(ch_reg), in dw_i2s_config() 222 i2s_write_reg(dev->i2s_base, TFCR(ch_reg), in dw_i2s_config() 224 i2s_write_reg(dev->i2s_base, TER(ch_reg), 1); in dw_i2s_config() 226 i2s_write_reg(dev->i2s_base, RCR(ch_reg), in dw_i2s_config() 228 i2s_write_reg(dev->i2s_base, RFCR(ch_reg), in dw_i2s_config() 230 i2s_write_reg(dev->i2s_base, RER(ch_reg), 1); in dw_i2s_config()
|
/Linux-v5.10/sound/soc/amd/ |
D | acp-pcm-dma.c | 361 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-v5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_ioctl.h | 52 struct ch_reg { struct
|
D | cxgb3_main.c | 2300 struct ch_reg edata; in cxgb_extension_ioctl() 2333 struct ch_reg edata; in cxgb_extension_ioctl() 2335 memset(&edata, 0, sizeof(struct ch_reg)); in cxgb_extension_ioctl()
|