Home
last modified time | relevance | path

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

/drivers/net/can/
Dflexcan.c662 u32 reg_ctrl = (priv->reg_ctrl_default | FLEXCAN_CTRL_ERR_MSK); in flexcan_error_irq_enable() local
664 priv->write(reg_ctrl, &regs->ctrl); in flexcan_error_irq_enable()
670 u32 reg_ctrl = (priv->reg_ctrl_default & ~FLEXCAN_CTRL_ERR_MSK); in flexcan_error_irq_disable() local
672 priv->write(reg_ctrl, &regs->ctrl); in flexcan_error_irq_disable()
1036 u32 reg_ctrl, reg_id, reg_iflag1; in flexcan_mailbox_read() local
1045 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read()
1046 } while (reg_ctrl & FLEXCAN_MB_CODE_RX_BUSY_BIT); in flexcan_mailbox_read()
1049 code = reg_ctrl & FLEXCAN_MB_CODE_MASK; in flexcan_mailbox_read()
1064 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read()
1072 if (reg_ctrl & FLEXCAN_MB_CNT_EDL) in flexcan_mailbox_read()
[all …]
/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()
/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.c891 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx25821_dev_setup()
/drivers/gpu/drm/tiny/
Darcpgu.c119 u32 reg_ctrl; in arc_pgu_set_pxl_fmt() local
129 reg_ctrl = arc_pgu_read(arcpgu, ARCPGU_REG_CTRL); in arc_pgu_set_pxl_fmt()
131 reg_ctrl &= ~ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt()
133 reg_ctrl |= ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt()
134 arc_pgu_write(arcpgu, ARCPGU_REG_CTRL, reg_ctrl); in arc_pgu_set_pxl_fmt()
/drivers/spi/
Dspi-ath79.c42 u32 reg_ctrl; member
89 sp->reg_ctrl = ath79_spi_rr(sp, AR71XX_SPI_REG_CTRL); in ath79_spi_enable()
102 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, sp->reg_ctrl); in ath79_spi_disable()
/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()
/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()
/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
/drivers/gpu/drm/amd/amdgpu/
Dvi.c1062 u32 reg_ctrl; in vi_set_vce_clocks() local
1068 reg_ctrl = ixGNB_CLK3_DFS_CNTL; in vi_set_vce_clocks()
1073 reg_ctrl = ixCG_ECLK_CNTL; in vi_set_vce_clocks()
1094 tmp = RREG32_SMC(reg_ctrl); in vi_set_vce_clocks()
1097 WREG32_SMC(reg_ctrl, tmp); in vi_set_vce_clocks()