/kernel/linux/linux-5.10/drivers/input/misc/ |
H A D | iqs269a.c | 273 struct iqs269_ch_reg ch_reg[IQS269_NUM_CH]; member 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() local 312 engine_a = be16_to_cpu(ch_reg[ch_num].engine_a); in iqs269_ati_mode_set() 317 ch_reg[ch_num].engine_a = cpu_to_be16(engine_a); in iqs269_ati_mode_set() 328 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_get() local 335 engine_a = be16_to_cpu(ch_reg[ch_num].engine_a); in iqs269_ati_mode_get() 347 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_base_set() local 392 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; iqs269_ati_base_get() local 427 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; iqs269_ati_target_set() local 454 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; iqs269_ati_target_get() local 503 struct iqs269_ch_reg *ch_reg; iqs269_parse_chan() local 1296 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; hall_bin_show() local 1392 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; rx_enable_show() local 1403 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; rx_enable_store() local [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | iqs269a.c | 273 struct iqs269_ch_reg ch_reg[IQS269_NUM_CH]; member 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() local 312 engine_a = be16_to_cpu(ch_reg[ch_num].engine_a); in iqs269_ati_mode_set() 317 ch_reg[ch_num].engine_a = cpu_to_be16(engine_a); in iqs269_ati_mode_set() 328 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_get() local 335 engine_a = be16_to_cpu(ch_reg[ch_num].engine_a); in iqs269_ati_mode_get() 347 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_base_set() local 392 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; iqs269_ati_base_get() local 427 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; iqs269_ati_target_set() local 454 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; iqs269_ati_target_get() local 503 struct iqs269_ch_reg *ch_reg; iqs269_parse_chan() local 1296 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; hall_bin_show() local 1392 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; rx_enable_show() local 1403 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; rx_enable_store() local [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A 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 in tegra_adma_runtime_suspend() 748 struct tegra_adma_chan_regs *ch_reg; tegra_adma_runtime_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | tegra210-adma.c | 734 struct tegra_adma_chan_regs *ch_reg; in tegra_adma_runtime_suspend() local 744 ch_reg = &tdc->ch_regs; in tegra_adma_runtime_suspend() 745 ch_reg->cmd = tdma_ch_read(tdc, ADMA_CH_CMD); in tegra_adma_runtime_suspend() 747 if (!ch_reg->cmd) in tegra_adma_runtime_suspend() 749 ch_reg->tc = tdma_ch_read(tdc, ADMA_CH_TC); in tegra_adma_runtime_suspend() 750 ch_reg->src_addr = tdma_ch_read(tdc, ADMA_CH_LOWER_SRC_ADDR); in tegra_adma_runtime_suspend() 751 ch_reg->trg_addr = tdma_ch_read(tdc, ADMA_CH_LOWER_TRG_ADDR); in tegra_adma_runtime_suspend() 752 ch_reg->ctrl = tdma_ch_read(tdc, ADMA_CH_CTRL); in tegra_adma_runtime_suspend() 753 ch_reg->fifo_ctrl = tdma_ch_read(tdc, ADMA_CH_FIFO_CTRL); in tegra_adma_runtime_suspend() 754 ch_reg in tegra_adma_runtime_suspend() 766 struct tegra_adma_chan_regs *ch_reg; tegra_adma_runtime_resume() local [all...] |
/kernel/linux/linux-5.10/sound/soc/dwc/ |
H A D | dwc-i2s.c | 188 u32 ch_reg; in dw_i2s_config() local 194 for (ch_reg = 0; ch_reg < (config->chan_nr / 2); ch_reg++) { in dw_i2s_config() 196 i2s_write_reg(dev->i2s_base, TCR(ch_reg), in dw_i2s_config() 198 i2s_write_reg(dev->i2s_base, TFCR(ch_reg), in dw_i2s_config() 200 i2s_write_reg(dev->i2s_base, TER(ch_reg), 1); in dw_i2s_config() 202 i2s_write_reg(dev->i2s_base, RCR(ch_reg), in dw_i2s_config() 204 i2s_write_reg(dev->i2s_base, RFCR(ch_reg), in dw_i2s_config() 206 i2s_write_reg(dev->i2s_base, RER(ch_reg), in dw_i2s_config() [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/keembay/ |
H A 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() [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/keembay/ |
H A D | kmb_platform.c | 555 u32 ch_reg; in kmb_i2s_config() local 559 for (ch_reg = 0; ch_reg < config->chan_nr / 2; ch_reg++) { in kmb_i2s_config() 562 kmb_i2s->i2s_base + TCR(ch_reg)); in kmb_i2s_config() 565 kmb_i2s->i2s_base + TFCR(ch_reg)); in kmb_i2s_config() 567 writel(1, kmb_i2s->i2s_base + TER(ch_reg)); in kmb_i2s_config() 570 kmb_i2s->i2s_base + RCR(ch_reg)); in kmb_i2s_config() 573 kmb_i2s->i2s_base + RFCR(ch_reg)); in kmb_i2s_config() 575 writel(1, kmb_i2s->i2s_base + RER(ch_reg)); in kmb_i2s_config() [all...] |
/kernel/linux/linux-6.6/sound/soc/dwc/ |
H A D | dwc-i2s.c | 249 u32 ch_reg; in dw_i2s_config() local 255 for (ch_reg = 0; ch_reg < (config->chan_nr / 2); ch_reg++) { in dw_i2s_config() 257 i2s_write_reg(dev->i2s_base, TCR(ch_reg), in dw_i2s_config() 259 i2s_write_reg(dev->i2s_base, TFCR(ch_reg), in dw_i2s_config() 261 i2s_write_reg(dev->i2s_base, TER(ch_reg), TER_TXCHEN | in dw_i2s_config() 264 i2s_write_reg(dev->i2s_base, RCR(ch_reg), in dw_i2s_config() 266 i2s_write_reg(dev->i2s_base, RFCR(ch_reg), in dw_i2s_config() 268 i2s_write_reg(dev->i2s_base, RER(ch_reg), RER_RXCHE in dw_i2s_config() [all...] |
/kernel/linux/linux-5.10/sound/soc/amd/ |
H A 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()
|
/kernel/linux/linux-6.6/sound/soc/amd/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/spmi/ |
H A D | spmi-mtk-pmif.c | 32 struct ch_reg { struct 49 struct ch_reg chan; 315 struct ch_reg *inf_reg; in pmif_spmi_read_cmd() 382 struct ch_reg *inf_reg; in pmif_spmi_write_cmd()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_ioctl.h | 52 struct ch_reg { struct
|
H A D | cxgb3_main.c | 2301 struct ch_reg edata; in cxgb_extension_ioctl() 2334 struct ch_reg edata; in cxgb_extension_ioctl() 2336 memset(&edata, 0, sizeof(struct ch_reg)); in cxgb_extension_ioctl()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_ioctl.h | 52 struct ch_reg { struct
|
H A D | cxgb3_main.c | 2301 struct ch_reg edata; in cxgb_siocdevprivate() 2334 struct ch_reg edata; in cxgb_siocdevprivate() 2336 memset(&edata, 0, sizeof(struct ch_reg)); in cxgb_siocdevprivate()
|