Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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
955 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read()
956 } while (reg_ctrl & FLEXCAN_MB_CODE_RX_BUSY_BIT); in flexcan_mailbox_read()
959 code = reg_ctrl & FLEXCAN_MB_CODE_MASK; in flexcan_mailbox_read()
974 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-5.19.10/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-5.19.10/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-5.19.10/drivers/gpu/drm/tiny/
Darcpgu.c120 u32 reg_ctrl; in arc_pgu_set_pxl_fmt() local
130 reg_ctrl = arc_pgu_read(arcpgu, ARCPGU_REG_CTRL); in arc_pgu_set_pxl_fmt()
132 reg_ctrl &= ~ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt()
134 reg_ctrl |= ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt()
135 arc_pgu_write(arcpgu, ARCPGU_REG_CTRL, reg_ctrl); in arc_pgu_set_pxl_fmt()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/sound/soc/fsl/
Dfsl_xcvr.c1057 void __iomem *reg_ctrl, *reg_buff; in irq0_isr() local
1071 reg_ctrl = xcvr->ram_addr + FSL_XCVR_RX_CS_CTRL_0; in irq0_isr()
1073 memcpy_fromio(&val, reg_ctrl, sizeof(val)); in irq0_isr()
1075 reg_ctrl = xcvr->ram_addr + FSL_XCVR_RX_CS_CTRL_1; in irq0_isr()
1077 memcpy_fromio(&val, reg_ctrl, sizeof(val)); in irq0_isr()
1090 memset_io(reg_ctrl, 0, sizeof(val)); in irq0_isr()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/gpu/drm/msm/dsi/
Ddsi_host.c918 u32 reg, intf_width, reg_ctrl, reg_ctrl2; in dsi_update_dsc_timing() local
961 reg_ctrl = dsi_read(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL); in dsi_update_dsc_timing()
964 reg_ctrl &= ~0xffff; in dsi_update_dsc_timing()
965 reg_ctrl |= reg; in dsi_update_dsc_timing()
970 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL, reg_ctrl); in dsi_update_dsc_timing()
/linux-5.19.10/tools/perf/util/
Dcs-etm.c443 t_params[idx].etmv3.reg_ctrl = metadata[idx][CS_ETM_ETMCR]; in cs_etm__set_trace_param_etmv3()