Home
last modified time | relevance | path

Searched refs:reg_ctrl (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/arch/powerpc/platforms/83xx/
Dmcu_mpc8349emitx.c37 u8 reg_ctrl; member
52 mcu->reg_ctrl = ret; in shutdown_thread_fn()
55 if (mcu->reg_ctrl & MCU_CTRL_BTN) { in shutdown_thread_fn()
57 mcu->reg_ctrl & ~MCU_CTRL_BTN); in shutdown_thread_fn()
78 mcu->reg_ctrl = ret; in show_status()
91 mcu->reg_ctrl | MCU_CTRL_POFF); in mcu_power_off()
102 mcu->reg_ctrl &= ~bit; in mcu_gpio_set()
104 mcu->reg_ctrl |= bit; in mcu_gpio_set()
106 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, mcu->reg_ctrl); in mcu_gpio_set()
155 mcu->reg_ctrl = ret; in mcu_probe()
/linux-6.1.9/sound/soc/tegra/
Dtegra210_peq.c59 static void tegra210_peq_read_ram(struct regmap *regmap, unsigned int reg_ctrl, in tegra210_peq_read_ram() argument
71 regmap_write(regmap, reg_ctrl, val); in tegra210_peq_read_ram()
81 static void tegra210_peq_write_ram(struct regmap *regmap, unsigned int reg_ctrl, in tegra210_peq_write_ram() argument
93 regmap_write(regmap, reg_ctrl, val); in tegra210_peq_write_ram()
152 u32 i, reg_ctrl = params->soc.base; in tegra210_peq_ram_get() local
153 u32 reg_data = reg_ctrl + cmpnt->val_bytes; in tegra210_peq_ram_get()
158 tegra210_peq_read_ram(ope->peq_regmap, reg_ctrl, reg_data, in tegra210_peq_ram_get()
175 u32 i, reg_ctrl = params->soc.base; in tegra210_peq_ram_put() local
176 u32 reg_data = reg_ctrl + cmpnt->val_bytes; in tegra210_peq_ram_put()
184 tegra210_peq_write_ram(ope->peq_regmap, reg_ctrl, reg_data, in tegra210_peq_ram_put()
Dtegra210_mbdrc.c215 static void tegra210_mbdrc_write_ram(struct regmap *regmap, unsigned int reg_ctrl, in tegra210_mbdrc_write_ram() argument
227 regmap_write(regmap, reg_ctrl, val); in tegra210_mbdrc_write_ram()
429 u32 reg_ctrl = params->soc.base; in tegra210_mbdrc_biquad_coeffs_put() local
430 u32 reg_data = reg_ctrl + cmpnt->val_bytes; in tegra210_mbdrc_biquad_coeffs_put()
433 tegra210_mbdrc_write_ram(ope->mbdrc_regmap, reg_ctrl, reg_data, in tegra210_mbdrc_biquad_coeffs_put()
/linux-6.1.9/drivers/net/can/flexcan/
Dflexcan-core.c569 u32 reg_ctrl = (priv->reg_ctrl_default | FLEXCAN_CTRL_ERR_MSK); in flexcan_error_irq_enable() local
571 priv->write(reg_ctrl, &regs->ctrl); in flexcan_error_irq_enable()
577 u32 reg_ctrl = (priv->reg_ctrl_default & ~FLEXCAN_CTRL_ERR_MSK); in flexcan_error_irq_disable() local
579 priv->write(reg_ctrl, &regs->ctrl); in flexcan_error_irq_disable()
941 u32 reg_ctrl, reg_id, reg_iflag1; in flexcan_mailbox_read() local
950 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read()
951 } while (reg_ctrl & FLEXCAN_MB_CODE_RX_BUSY_BIT); in flexcan_mailbox_read()
954 code = reg_ctrl & FLEXCAN_MB_CODE_MASK; in flexcan_mailbox_read()
969 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read()
977 if (reg_ctrl & FLEXCAN_MB_CNT_EDL) in flexcan_mailbox_read()
[all …]
/linux-6.1.9/drivers/media/pci/cx23885/
Dcx23885-i2c.c84 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes()
107 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
129 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
163 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes()
189 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()
Dcx23885.h241 u32 reg_ctrl; member
Dcx23885-core.c949 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx23885_dev_setup()
959 dev->i2c_bus[1].reg_ctrl = I2C2_CTRL; in cx23885_dev_setup()
969 dev->i2c_bus[2].reg_ctrl = I2C3_CTRL; in cx23885_dev_setup()
/linux-6.1.9/drivers/media/pci/cx25821/
Dcx25821-i2c.c83 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes()
108 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
134 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
174 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes()
199 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()
Dcx25821.h149 u32 reg_ctrl; member
Dcx25821-core.c884 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx25821_dev_setup()
/linux-6.1.9/drivers/gpu/drm/tiny/
Darcpgu.c122 u32 reg_ctrl; in arc_pgu_set_pxl_fmt() local
132 reg_ctrl = arc_pgu_read(arcpgu, ARCPGU_REG_CTRL); in arc_pgu_set_pxl_fmt()
134 reg_ctrl &= ~ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt()
136 reg_ctrl |= ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt()
137 arc_pgu_write(arcpgu, ARCPGU_REG_CTRL, reg_ctrl); in arc_pgu_set_pxl_fmt()
/linux-6.1.9/drivers/spi/
Dspi-ath79.c43 u32 reg_ctrl; member
90 sp->reg_ctrl = ath79_spi_rr(sp, AR71XX_SPI_REG_CTRL); in ath79_spi_enable()
103 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, sp->reg_ctrl); in ath79_spi_disable()
/linux-6.1.9/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c350 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_dump_regs() local
353 reg_ctrl = RD_CH_CTRL(ch); in ade_rdma_dump_regs()
362 val = readl(base + reg_ctrl); in ade_rdma_dump_regs()
552 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_set() local
563 reg_ctrl = RD_CH_CTRL(ch); in ade_rdma_set()
573 writel((fmt << 16) & 0x1f0000, base + reg_ctrl); in ade_rdma_set()
/linux-6.1.9/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.h25 u32 reg_ctrl; member
Dcs-etm-decoder.c119 config->reg_ctrl = params->etmv3.reg_ctrl; in cs_etm_decoder__gen_etmv3_config()
/linux-6.1.9/sound/soc/fsl/
Dfsl_xcvr.c1058 void __iomem *reg_ctrl, *reg_buff; in irq0_isr() local
1072 reg_ctrl = xcvr->ram_addr + FSL_XCVR_RX_CS_CTRL_0; in irq0_isr()
1074 memcpy_fromio(&val, reg_ctrl, sizeof(val)); in irq0_isr()
1076 reg_ctrl = xcvr->ram_addr + FSL_XCVR_RX_CS_CTRL_1; in irq0_isr()
1078 memcpy_fromio(&val, reg_ctrl, sizeof(val)); in irq0_isr()
1091 memset_io(reg_ctrl, 0, sizeof(val)); in irq0_isr()
/linux-6.1.9/drivers/misc/lis3lv02d/
Dlis3lv02d.h267 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); member
Dlis3lv02d.c394 if (lis3->reg_ctrl) in lis3lv02d_poweroff()
398 if (lis3->reg_ctrl) in lis3lv02d_poweroff()
399 lis3->reg_ctrl(lis3, LIS3_REG_OFF); in lis3lv02d_poweroff()
437 if (lis3->reg_ctrl) in lis3lv02d_poweron()
/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/
Ddxe.c124 wcn->dxe_tx_l_ch.reg_ctrl = WCN36XX_DXE_REG_CTL_TX_L; in wcn36xx_dxe_alloc_ctl_blks()
125 wcn->dxe_tx_h_ch.reg_ctrl = WCN36XX_DXE_REG_CTL_TX_H; in wcn36xx_dxe_alloc_ctl_blks()
843 ch->reg_ctrl, ch->def_ctrl); in wcn36xx_dxe_tx_frame()
Ddxe.h443 u32 reg_ctrl; member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dvi.c1059 u32 reg_ctrl; in vi_set_vce_clocks() local
1065 reg_ctrl = ixGNB_CLK3_DFS_CNTL; in vi_set_vce_clocks()
1070 reg_ctrl = ixCG_ECLK_CNTL; in vi_set_vce_clocks()
1091 tmp = RREG32_SMC(reg_ctrl); in vi_set_vce_clocks()
1094 WREG32_SMC(reg_ctrl, tmp); in vi_set_vce_clocks()
/linux-6.1.9/drivers/gpu/drm/msm/dsi/
Ddsi_host.c846 u32 reg, reg_ctrl, reg_ctrl2; in dsi_update_dsc_timing() local
882 reg_ctrl = dsi_read(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL); in dsi_update_dsc_timing()
885 reg_ctrl &= ~0xffff; in dsi_update_dsc_timing()
886 reg_ctrl |= reg; in dsi_update_dsc_timing()
891 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL, reg_ctrl); in dsi_update_dsc_timing()
/linux-6.1.9/tools/perf/util/
Dcs-etm.c443 t_params[idx].etmv3.reg_ctrl = metadata[idx][CS_ETM_ETMCR]; in cs_etm__set_trace_param_etmv3()