Home
last modified time | relevance | path

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

/linux/drivers/iio/accel/
H A Dbmc150-accel-core.c866 state = data->fifo_mode; in bmc150_accel_get_fifo_state()
1325 if (data->fifo_mode) { in bmc150_accel_irq_thread_handler()
1373 if (data->ev_enable_state || data->fifo_mode) in bmc150_accel_irq_handler()
1456 ret = regmap_write(data->regmap, reg, data->fifo_mode); in bmc150_accel_fifo_set_mode()
1462 if (!data->fifo_mode) in bmc150_accel_fifo_set_mode()
1498 data->fifo_mode = BMC150_ACCEL_FIFO_MODE_FIFO; in bmc150_accel_buffer_postenable()
1502 data->fifo_mode = 0; in bmc150_accel_buffer_postenable()
1522 if (!data->fifo_mode) in bmc150_accel_buffer_predisable()
1527 data->fifo_mode = 0; in bmc150_accel_buffer_predisable()
H A Dadxl372.c287 enum adxl372_fifo_mode fifo_mode; member
559 ADXL372_FIFO_CTL_MODE_MODE(st->fifo_mode) | in adxl372_configure_fifo()
648 if (st->fifo_mode != ADXL372_FIFO_BYPASSED && in adxl372_trigger_handler()
986 return sprintf(buf, "%d\n", st->fifo_mode); in adxl372_get_fifo_enabled()
1069 st->fifo_mode = ADXL372_FIFO_STREAMED; in adxl372_buffer_postenable()
1073 st->fifo_mode = ADXL372_FIFO_BYPASSED; in adxl372_buffer_postenable()
1088 st->fifo_mode = ADXL372_FIFO_BYPASSED; in adxl372_buffer_predisable()
H A Dadxl367.c411 enum adxl367_fifo_mode *fifo_mode) in adxl367_get_fifo_mode() argument
420 *fifo_mode = FIELD_GET(ADXL367_FIFO_CTL_MODE_MASK, val); in adxl367_get_fifo_mode()
426 enum adxl367_fifo_mode fifo_mode) in adxl367_set_fifo_mode() argument
431 fifo_mode)); in adxl367_set_fifo_mode()
1134 enum adxl367_fifo_mode fifo_mode; in adxl367_get_fifo_enabled() local
1137 ret = adxl367_get_fifo_mode(st, &fifo_mode); in adxl367_get_fifo_enabled()
1141 return sysfs_emit(buf, "%d\n", fifo_mode != ADXL367_FIFO_MODE_DISABLED); in adxl367_get_fifo_enabled()
H A Dbmc150-accel.h66 u8 fifo_mode, watermark; member
/linux/include/linux/input/
H A Dadxl34x.h259 u8 fifo_mode; member
/linux/drivers/usb/musb/
H A Dmusb_core.c1262 static ushort fifo_mode; variable
1265 module_param(fifo_mode, ushort, 0);
1266 MODULE_PARM_DESC(fifo_mode, "initial endpoint configuration");
1467 switch (fifo_mode) { in ep_config_from_table()
1469 fifo_mode = 0; in ep_config_from_table()
1497 pr_debug("%s: setup fifo_mode %d\n", musb_driver_name, fifo_mode); in ep_config_from_table()
2385 if (musb->ops->fifo_mode) in musb_init_controller()
2386 fifo_mode = musb->ops->fifo_mode; in musb_init_controller()
2388 fifo_mode = 4; in musb_init_controller()
H A Dmpfs.c245 .fifo_mode = 2,
H A Dmusb_core.h166 u16 fifo_mode; member
H A Dda8xx.c479 .fifo_mode = 2,
/linux/drivers/usb/gadget/udc/
H A DKconfig65 The fifo_mode parameter is used to select endpoint allocation mode.
66 fifo_mode = 0 is used to let the driver autoconfigure the endpoints.
71 fifo_mode = 1 is a generic maximum fifo size (1024 bytes) configuration
74 fifo_mode = 2 is a generic performance maximum fifo size (1024 bytes)
77 fifo_mode = 3 is a balanced performance configuration allowing the
H A Domap_udc.c86 static unsigned fifo_mode = 3; variable
88 static unsigned fifo_mode; variable
94 module_param(fifo_mode, uint, 0);
95 MODULE_PARM_DESC(fifo_mode, "endpoint configuration");
2312 fifo_mode, in proc_udc_show()
2667 switch (fifo_mode) { in omap_udc_setup()
2736 ERR("unsupported fifo_mode #%d\n", fifo_mode); in omap_udc_setup()
2740 INFO("fifo mode %d, %d bytes not used\n", fifo_mode, 2048 - buf); in omap_udc_setup()
H A Dnet2280.c130 static ushort fifo_mode; variable
133 module_param(fifo_mode, ushort, 0644);
2090 set_fifo_mode(dev, (fifo_mode <= 2) ? fifo_mode : 0); in usb_reset_228x()
/linux/drivers/crypto/starfive/
H A Djh7110-cryp.h111 u32 fifo_mode :1; member
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_buffer.c212 enum st_lsm6dsx_fifo_mode fifo_mode) in st_lsm6dsx_set_fifo_mode() argument
216 data = FIELD_PREP(ST_LSM6DSX_FIFO_MODE_MASK, fifo_mode); in st_lsm6dsx_set_fifo_mode()
/linux/drivers/scsi/aic7xxx/
H A Daic79xx_core.c1204 u_int fifo_mode; in ahd_flush_qoutfifo() local
1219 fifo_mode = 0; in ahd_flush_qoutfifo()
1223 fifo_mode ^= 1; in ahd_flush_qoutfifo()
1224 ahd_set_modes(ahd, fifo_mode, fifo_mode); in ahd_flush_qoutfifo()