Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/
Dmcu_mpc8349emitx.c38 u8 reg_ctrl; member
53 mcu->reg_ctrl = ret; in shutdown_thread_fn()
56 if (mcu->reg_ctrl & MCU_CTRL_BTN) { in shutdown_thread_fn()
58 mcu->reg_ctrl & ~MCU_CTRL_BTN); in shutdown_thread_fn()
79 mcu->reg_ctrl = ret; in show_status()
92 mcu->reg_ctrl | MCU_CTRL_POFF); in mcu_power_off()
103 mcu->reg_ctrl &= ~bit; in mcu_gpio_set()
105 mcu->reg_ctrl |= bit; in mcu_gpio_set()
107 i2c_smbus_write_byte_data(mcu->client, MCU_REG_CTRL, mcu->reg_ctrl); in mcu_gpio_set()
161 mcu->reg_ctrl = ret; in mcu_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/arc/
Darcpgu_crtc.c35 u32 reg_ctrl; in arc_pgu_set_pxl_fmt() local
45 reg_ctrl = arc_pgu_read(arcpgu, ARCPGU_REG_CTRL); in arc_pgu_set_pxl_fmt()
47 reg_ctrl &= ~ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt()
49 reg_ctrl |= ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt()
50 arc_pgu_write(arcpgu, ARCPGU_REG_CTRL, reg_ctrl); in arc_pgu_set_pxl_fmt()
/kernel/linux/linux-5.10/drivers/net/can/
Dflexcan.c584 u32 reg_ctrl = (priv->reg_ctrl_default | FLEXCAN_CTRL_ERR_MSK); in flexcan_error_irq_enable() local
586 priv->write(reg_ctrl, &regs->ctrl); in flexcan_error_irq_enable()
592 u32 reg_ctrl = (priv->reg_ctrl_default & ~FLEXCAN_CTRL_ERR_MSK); in flexcan_error_irq_disable() local
594 priv->write(reg_ctrl, &regs->ctrl); in flexcan_error_irq_disable()
954 u32 reg_ctrl, reg_id, reg_iflag1; in flexcan_mailbox_read() local
963 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read()
964 } while (reg_ctrl & FLEXCAN_MB_CODE_RX_BUSY_BIT); in flexcan_mailbox_read()
967 code = reg_ctrl & FLEXCAN_MB_CODE_MASK; in flexcan_mailbox_read()
982 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read()
990 if (reg_ctrl & FLEXCAN_MB_CNT_EDL) in flexcan_mailbox_read()
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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.h150 u32 reg_ctrl; member
Dcx25821-core.c891 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx25821_dev_setup()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.h25 u32 reg_ctrl; member
Dcs-etm-decoder.c115 config->reg_ctrl = params->etmv3.reg_ctrl; in cs_etm_decoder__gen_etmv3_config()
/kernel/linux/linux-5.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()
553 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_set() local
564 reg_ctrl = RD_CH_CTRL(ch); in ade_rdma_set()
574 writel((fmt << 16) & 0x1f0000, base + reg_ctrl); in ade_rdma_set()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Dvi.c846 u32 reg_ctrl; in vi_set_vce_clocks() local
852 reg_ctrl = ixGNB_CLK3_DFS_CNTL; in vi_set_vce_clocks()
857 reg_ctrl = ixCG_ECLK_CNTL; in vi_set_vce_clocks()
878 tmp = RREG32_SMC(reg_ctrl); in vi_set_vce_clocks()
881 WREG32_SMC(reg_ctrl, tmp); in vi_set_vce_clocks()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/tools/perf/util/
Dcs-etm.c406 t_params[idx].etmv3.reg_ctrl = metadata[idx][CS_ETM_ETMCR]; in cs_etm__set_trace_param_etmv3()