Home
last modified time | relevance | path

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

/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_buffer.c123 unsigned int fifo_en) in inv_icm42600_buffer_set_fifo_en() argument
135 if (fifo_en & INV_ICM42600_SENSOR_GYRO) in inv_icm42600_buffer_set_fifo_en()
137 if (fifo_en & INV_ICM42600_SENSOR_ACCEL) in inv_icm42600_buffer_set_fifo_en()
139 if (fifo_en & INV_ICM42600_SENSOR_TEMP) in inv_icm42600_buffer_set_fifo_en()
146 st->fifo.en = fifo_en; in inv_icm42600_buffer_set_fifo_en()
152 static size_t inv_icm42600_get_packet_size(unsigned int fifo_en) in inv_icm42600_get_packet_size() argument
156 if ((fifo_en & INV_ICM42600_SENSOR_GYRO) && in inv_icm42600_get_packet_size()
157 (fifo_en & INV_ICM42600_SENSOR_ACCEL)) in inv_icm42600_get_packet_size()
Dinv_icm42600_accel.c103 unsigned int fifo_en = 0; in inv_icm42600_accel_update_scan_mode() local
116 fifo_en |= INV_ICM42600_SENSOR_TEMP; in inv_icm42600_accel_update_scan_mode()
125 fifo_en |= INV_ICM42600_SENSOR_ACCEL; in inv_icm42600_accel_update_scan_mode()
130 ret = inv_icm42600_buffer_set_fifo_en(st, fifo_en | st->fifo.en); in inv_icm42600_accel_update_scan_mode()
Dinv_icm42600_gyro.c103 unsigned int fifo_en = 0; in inv_icm42600_gyro_update_scan_mode() local
116 fifo_en |= INV_ICM42600_SENSOR_TEMP; in inv_icm42600_gyro_update_scan_mode()
125 fifo_en |= INV_ICM42600_SENSOR_GYRO; in inv_icm42600_gyro_update_scan_mode()
130 ret = inv_icm42600_buffer_set_fifo_en(st, fifo_en | st->fifo.en); in inv_icm42600_gyro_update_scan_mode()
Dinv_icm42600_buffer.h86 unsigned int fifo_en);
/drivers/isdn/hardware/mISDN/
Dhfcpci.c94 unsigned char fifo_en; member
226 hc->hw.fifo_en = 0x30; /* only D fifos enabled */ in reset_hfcpci()
239 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in reset_hfcpci()
330 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B2RX; in hfcpci_clear_fifo_rx()
333 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B1RX; in hfcpci_clear_fifo_rx()
336 hc->hw.fifo_en ^= fifo_state; in hfcpci_clear_fifo_rx()
337 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in hfcpci_clear_fifo_rx()
345 hc->hw.fifo_en |= fifo_state; in hfcpci_clear_fifo_rx()
346 Write_hfc(hc, HFCPCI_FIFO_EN, hc->hw.fifo_en); in hfcpci_clear_fifo_rx()
359 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B2TX; in hfcpci_clear_fifo_tx()
[all …]
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_trigger.c126 ret = regmap_write(st->map, st->reg->fifo_en, d); in inv_mpu6050_prepare_fifo()
141 ret = regmap_write(st->map, st->reg->fifo_en, 0); in inv_mpu6050_prepare_fifo()
Dinv_mpu_iio.h50 u8 fifo_en; member
Dinv_mpu_core.c41 .fifo_en = INV_MPU6050_REG_FIFO_EN,
64 .fifo_en = INV_MPU6050_REG_FIFO_EN,
86 .fifo_en = INV_MPU6050_REG_FIFO_EN,
/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c342 .fifo_en = {
508 .fifo_en = {
687 .fifo_en = {
2043 if (ts_settings->fifo_en.addr) { in st_lsm6dsx_init_hw_timer()
2044 val = ST_LSM6DSX_SHIFT_VAL(1, ts_settings->fifo_en.mask); in st_lsm6dsx_init_hw_timer()
2046 ts_settings->fifo_en.addr, in st_lsm6dsx_init_hw_timer()
2047 ts_settings->fifo_en.mask, val); in st_lsm6dsx_init_hw_timer()
Dst_lsm6dsx.h168 struct st_lsm6dsx_reg fifo_en; member