Home
last modified time | relevance | path

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

/drivers/net/can/
Dflexcan.c633 u32 reg_ctrl, reg_id; in flexcan_read_fifo() local
635 reg_ctrl = flexcan_read(&mb->can_ctrl); in flexcan_read_fifo()
637 if (reg_ctrl & FLEXCAN_MB_CNT_IDE) in flexcan_read_fifo()
642 if (reg_ctrl & FLEXCAN_MB_CNT_RTR) in flexcan_read_fifo()
644 cf->can_dlc = get_can_dlc((reg_ctrl >> 16) & 0xf); in flexcan_read_fifo()
819 u32 reg_mcr, reg_ctrl, reg_ctrl2, reg_mecr; in flexcan_chip_start() local
864 reg_ctrl = flexcan_read(&regs->ctrl); in flexcan_chip_start()
865 reg_ctrl &= ~FLEXCAN_CTRL_TSYN; in flexcan_chip_start()
866 reg_ctrl |= FLEXCAN_CTRL_BOFF_REC | FLEXCAN_CTRL_LBUF | in flexcan_chip_start()
875 reg_ctrl |= FLEXCAN_CTRL_ERR_MSK; in flexcan_chip_start()
[all …]
/drivers/media/pci/cx23885/
Dcx23885-i2c.c94 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes()
117 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
139 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
173 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes()
199 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()
Dcx23885.h245 u32 reg_ctrl; member
Dcx23885-core.c883 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx23885_dev_setup()
893 dev->i2c_bus[1].reg_ctrl = I2C2_CTRL; in cx23885_dev_setup()
903 dev->i2c_bus[2].reg_ctrl = I2C3_CTRL; in cx23885_dev_setup()
/drivers/media/pci/cx25821/
Dcx25821-i2c.c97 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes()
122 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
148 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
188 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes()
213 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()
Dcx25821.h167 u32 reg_ctrl; member
Dcx25821-core.c904 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx25821_dev_setup()
/drivers/spi/
Dspi-ath79.c39 u32 reg_ctrl; member
101 sp->reg_ctrl = ath79_spi_rr(sp, AR71XX_SPI_REG_CTRL); in ath79_spi_enable()
111 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, sp->reg_ctrl); in ath79_spi_disable()
/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c384 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_dump_regs() local
387 reg_ctrl = RD_CH_CTRL(ch); in ade_rdma_dump_regs()
396 val = readl(base + reg_ctrl); in ade_rdma_dump_regs()
615 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_set() local
627 reg_ctrl = RD_CH_CTRL(ch); in ade_rdma_set()
637 writel((fmt << 16) & 0x1f0000, base + reg_ctrl); in ade_rdma_set()
/drivers/net/wireless/ath/wcn36xx/
Ddxe.c133 wcn->dxe_tx_l_ch.reg_ctrl = WCN36XX_DXE_REG_CTL_TX_L; in wcn36xx_dxe_alloc_ctl_blks()
134 wcn->dxe_tx_h_ch.reg_ctrl = WCN36XX_DXE_REG_CTL_TX_H; in wcn36xx_dxe_alloc_ctl_blks()
689 ch->reg_ctrl, ch->def_ctrl); in wcn36xx_dxe_tx_frame()
Ddxe.h258 u32 reg_ctrl; member
/drivers/misc/lis3lv02d/
Dlis3lv02d.h280 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); member
Dlis3lv02d.c398 if (lis3->reg_ctrl) in lis3lv02d_poweroff()
402 if (lis3->reg_ctrl) in lis3lv02d_poweroff()
403 lis3->reg_ctrl(lis3, LIS3_REG_OFF); in lis3lv02d_poweroff()
441 if (lis3->reg_ctrl) in lis3lv02d_poweron()