Home
last modified time | relevance | path

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

/drivers/net/can/
Dflexcan.c488 u32 reg_ctrl, reg_id; in flexcan_read_fifo() local
490 reg_ctrl = flexcan_read(&mb->can_ctrl); in flexcan_read_fifo()
492 if (reg_ctrl & FLEXCAN_MB_CNT_IDE) in flexcan_read_fifo()
497 if (reg_ctrl & FLEXCAN_MB_CNT_RTR) in flexcan_read_fifo()
499 cf->can_dlc = get_can_dlc((reg_ctrl >> 16) & 0xf); in flexcan_read_fifo()
672 u32 reg_mcr, reg_ctrl; in flexcan_chip_start() local
726 reg_ctrl = flexcan_read(&regs->ctrl); in flexcan_chip_start()
727 reg_ctrl &= ~FLEXCAN_CTRL_TSYN; in flexcan_chip_start()
728 reg_ctrl |= FLEXCAN_CTRL_BOFF_REC | FLEXCAN_CTRL_LBUF | in flexcan_chip_start()
732 priv->reg_ctrl_default = reg_ctrl; in flexcan_chip_start()
[all …]
/drivers/media/video/cx23885/
Dcx23885-i2c.c98 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes()
121 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
143 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
177 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes()
203 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()
Dcx23885.h254 u32 reg_ctrl; member
Dcx23885-core.c913 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx23885_dev_setup()
923 dev->i2c_bus[1].reg_ctrl = I2C2_CTRL; in cx23885_dev_setup()
933 dev->i2c_bus[2].reg_ctrl = I2C3_CTRL; in cx23885_dev_setup()
/drivers/media/video/cx25821/
Dcx25821-i2c.c96 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes()
121 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
147 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
187 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes()
212 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()
Dcx25821.h222 u32 reg_ctrl; member
Dcx25821-core.c943 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx25821_dev_setup()
/drivers/spi/
Dspi-ath79.c36 u32 reg_ctrl; member
99 sp->reg_ctrl = ath79_spi_rr(sp, AR71XX_SPI_REG_CTRL); in ath79_spi_setup_cs()
139 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, sp->reg_ctrl); in ath79_spi_cleanup_cs()
/drivers/misc/lis3lv02d/
Dlis3lv02d.c375 if (lis3->reg_ctrl) in lis3lv02d_poweroff()
379 if (lis3->reg_ctrl) in lis3lv02d_poweroff()
380 lis3->reg_ctrl(lis3, LIS3_REG_OFF); in lis3lv02d_poweroff()
410 if (lis3->reg_ctrl) in lis3lv02d_poweron()
Dlis3lv02d.h249 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); member