Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/platforms/83xx/
A 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.3-rc2/sound/soc/tegra/
A 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()
A 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.3-rc2/drivers/net/can/flexcan/
A Dflexcan-core.c591 priv->write(reg_ctrl, &regs->ctrl); in flexcan_error_irq_enable()
599 priv->write(reg_ctrl, &regs->ctrl); in flexcan_error_irq_disable()
961 u32 reg_ctrl, reg_id, reg_iflag1; in flexcan_mailbox_read() local
997 if (reg_ctrl & FLEXCAN_MB_CNT_EDL) in flexcan_mailbox_read()
1007 *timestamp = reg_ctrl << 16; in flexcan_mailbox_read()
1010 if (reg_ctrl & FLEXCAN_MB_CNT_IDE) in flexcan_mailbox_read()
1027 if (reg_ctrl & FLEXCAN_MB_CNT_ESI) in flexcan_mailbox_read()
1101 reg_ctrl << 16, NULL); in flexcan_irq()
1526 reg_ctrl &= ~FLEXCAN_CTRL_TSYN; in flexcan_chip_start()
1536 reg_ctrl |= FLEXCAN_CTRL_ERR_MSK; in flexcan_chip_start()
[all …]
/linux-6.3-rc2/drivers/media/pci/cx23885/
A 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()
A Dcx23885.h241 u32 reg_ctrl; member
A 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.3-rc2/drivers/media/pci/cx25821/
A 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()
A Dcx25821.h149 u32 reg_ctrl; member
A Dcx25821-core.c884 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx25821_dev_setup()
/linux-6.3-rc2/drivers/gpu/drm/tiny/
A 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.3-rc2/drivers/spi/
A 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.3-rc2/drivers/gpu/drm/hisilicon/kirin/
A 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.3-rc2/tools/perf/util/cs-etm-decoder/
A Dcs-etm-decoder.h25 u32 reg_ctrl; member
A Dcs-etm-decoder.c142 config->reg_ctrl = params->etmv3.reg_ctrl; in cs_etm_decoder__gen_etmv3_config()
/linux-6.3-rc2/sound/soc/fsl/
A Dfsl_xcvr.c1144 void __iomem *reg_ctrl, *reg_buff; in irq0_isr() local
1159 reg_ctrl = xcvr->ram_addr + FSL_XCVR_RX_CS_CTRL_0; in irq0_isr()
1161 memcpy_fromio(&val, reg_ctrl, sizeof(val)); in irq0_isr()
1163 reg_ctrl = xcvr->ram_addr + FSL_XCVR_RX_CS_CTRL_1; in irq0_isr()
1165 memcpy_fromio(&val, reg_ctrl, sizeof(val)); in irq0_isr()
1178 memset_io(reg_ctrl, 0, sizeof(val)); in irq0_isr()
/linux-6.3-rc2/drivers/misc/lis3lv02d/
A Dlis3lv02d.h267 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); member
A 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.3-rc2/drivers/net/wireless/ath/wcn36xx/
A 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()
A Ddxe.h443 u32 reg_ctrl; member
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A 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.3-rc2/drivers/gpu/drm/msm/dsi/
A Ddsi_host.c847 u32 reg, reg_ctrl, reg_ctrl2; in dsi_update_dsc_timing() local
884 reg_ctrl = dsi_read(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL); in dsi_update_dsc_timing()
887 reg_ctrl &= ~0xffff; in dsi_update_dsc_timing()
888 reg_ctrl |= reg; in dsi_update_dsc_timing()
893 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL, reg_ctrl); in dsi_update_dsc_timing()
/linux-6.3-rc2/tools/perf/util/
A Dcs-etm.c446 t_params[idx].etmv3.reg_ctrl = metadata[idx][CS_ETM_ETMCR]; in cs_etm__set_trace_param_etmv3()

Completed in 78 milliseconds