Searched refs:reg_ctrl (Results 1 – 10 of 10) sorted by relevance
/drivers/net/can/ |
D | flexcan.c | 488 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(®s->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/ |
D | cx23885-i2c.c | 98 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()
|
D | cx23885.h | 254 u32 reg_ctrl; member
|
D | cx23885-core.c | 913 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/ |
D | cx25821-i2c.c | 96 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()
|
D | cx25821.h | 222 u32 reg_ctrl; member
|
D | cx25821-core.c | 943 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx25821_dev_setup()
|
/drivers/spi/ |
D | spi-ath79.c | 36 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/ |
D | lis3lv02d.c | 375 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()
|
D | lis3lv02d.h | 249 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); member
|