Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/codecs/
Dtlv320dac33.c89 enum dac33_fifo_modes fifo_mode;/* FIFO mode selection */ member
437 ucontrol->value.enumerated.item[0] = dac33->fifo_mode; in dac33_get_fifo_mode()
449 if (dac33->fifo_mode == ucontrol->value.enumerated.item[0]) in dac33_set_fifo_mode()
458 dac33->fifo_mode = ucontrol->value.enumerated.item[0]; in dac33_set_fifo_mode()
651 switch (dac33->fifo_mode) { in dac33_prefill_handler()
686 dac33->fifo_mode); in dac33_prefill_handler()
696 switch (dac33->fifo_mode) { in dac33_playback_handler()
711 dac33->fifo_mode); in dac33_playback_handler()
761 if (dac33->fifo_mode != DAC33_FIFO_MODE7) in dac33_interrupt_handler()
928 if (dac33->fifo_mode) { in dac33_prepare_chip()
[all …]
/linux-6.1.9/drivers/input/misc/
Dadxl34x.c234 .fifo_mode = ADXL_FIFO_STREAM,
370 if (pdata->fifo_mode) in adxl34x_irq()
799 if (FIFO_MODE(pdata->fifo_mode) == FIFO_BYPASS) in adxl34x_probe()
800 ac->pdata.fifo_mode |= FIFO_STREAM; in adxl34x_probe()
808 if (FIFO_MODE(pdata->fifo_mode) == FIFO_BYPASS) in adxl34x_probe()
849 AC_WRITE(ac, FIFO_CTL, FIFO_MODE(pdata->fifo_mode) | in adxl34x_probe()
/linux-6.1.9/drivers/iio/accel/
Dadxl372.c287 enum adxl372_fifo_mode fifo_mode; member
559 ADXL372_FIFO_CTL_MODE_MODE(st->fifo_mode) | in adxl372_configure_fifo()
649 if (st->fifo_mode != ADXL372_FIFO_BYPASSED && in adxl372_trigger_handler()
988 return sprintf(buf, "%d\n", st->fifo_mode); in adxl372_get_fifo_enabled()
1084 st->fifo_mode = ADXL372_FIFO_STREAMED; in adxl372_buffer_postenable()
1088 st->fifo_mode = ADXL372_FIFO_BYPASSED; in adxl372_buffer_postenable()
1103 st->fifo_mode = ADXL372_FIFO_BYPASSED; in adxl372_buffer_predisable()
Dbmc150-accel-core.c908 state = data->fifo_mode; in bmc150_accel_get_fifo_state()
1381 if (data->fifo_mode) { in bmc150_accel_irq_thread_handler()
1429 if (data->ev_enable_state || data->fifo_mode) in bmc150_accel_irq_handler()
1512 ret = regmap_write(data->regmap, reg, data->fifo_mode); in bmc150_accel_fifo_set_mode()
1518 if (!data->fifo_mode) in bmc150_accel_fifo_set_mode()
1554 data->fifo_mode = BMC150_ACCEL_FIFO_MODE_FIFO; in bmc150_accel_buffer_postenable()
1558 data->fifo_mode = 0; in bmc150_accel_buffer_postenable()
1578 if (!data->fifo_mode) in bmc150_accel_buffer_predisable()
1583 data->fifo_mode = 0; in bmc150_accel_buffer_predisable()
Dbmc150-accel.h64 u8 fifo_mode, watermark; member
Dadxl367.c418 enum adxl367_fifo_mode *fifo_mode) in adxl367_get_fifo_mode() argument
427 *fifo_mode = FIELD_GET(ADXL367_FIFO_CTL_MODE_MASK, val); in adxl367_get_fifo_mode()
433 enum adxl367_fifo_mode fifo_mode) in adxl367_set_fifo_mode() argument
438 fifo_mode)); in adxl367_set_fifo_mode()
1164 enum adxl367_fifo_mode fifo_mode; in adxl367_get_fifo_enabled() local
1167 ret = adxl367_get_fifo_mode(st, &fifo_mode); in adxl367_get_fifo_enabled()
1171 return sysfs_emit(buf, "%d\n", fifo_mode != ADXL367_FIFO_MODE_DISABLED); in adxl367_get_fifo_enabled()
/linux-6.1.9/include/linux/input/
Dadxl34x.h259 u8 fifo_mode; member
/linux-6.1.9/drivers/usb/gadget/udc/
Datmel_usba_udc.c273 static ushort fifo_mode; variable
275 module_param(fifo_mode, ushort, 0x0);
276 MODULE_PARM_DESC(fifo_mode, "Endpoint configuration mode");
328 switch (fifo_mode) { in usba_config_fifo_table()
330 fifo_mode = 0; in usba_config_fifo_table()
353 DBG(DBG_HW, "Setup fifo_mode %d\n", fifo_mode); in usba_config_fifo_table()
1056 if (fifo_mode == 0) { in atmel_usba_match_ep()
2171 if (fifo_mode == 0) { in atmel_udc_of_init()
2192 ep->index = fifo_mode ? udc->fifo_cfg[i].hw_ep_num : i; in atmel_udc_of_init()
2200 if (fifo_mode) { in atmel_udc_of_init()
[all …]
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
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");
2320 fifo_mode, in proc_udc_show()
2675 switch (fifo_mode) { in omap_udc_setup()
2744 ERR("unsupported fifo_mode #%d\n", fifo_mode); in omap_udc_setup()
2748 INFO("fifo mode %d, %d bytes not used\n", fifo_mode, 2048 - buf); in omap_udc_setup()
Dnet2272.h454 unsigned short fifo_mode; member
Dnet2272.c94 static ushort fifo_mode; variable
95 module_param(fifo_mode, ushort, 0644);
1356 net2272_set_fifo_mode(dev, (fifo_mode <= 3) ? fifo_mode : 0); in net2272_usb_reset()
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-6.1.9/drivers/usb/musb/
Dmusb_core.c1266 static ushort fifo_mode; variable
1269 module_param(fifo_mode, ushort, 0);
1270 MODULE_PARM_DESC(fifo_mode, "initial endpoint configuration");
1471 switch (fifo_mode) { in ep_config_from_table()
1473 fifo_mode = 0; in ep_config_from_table()
1501 pr_debug("%s: setup fifo_mode %d\n", musb_driver_name, fifo_mode); in ep_config_from_table()
2393 if (musb->ops->fifo_mode) in musb_init_controller()
2394 fifo_mode = musb->ops->fifo_mode; in musb_init_controller()
2396 fifo_mode = 4; in musb_init_controller()
Dmpfs.c134 .fifo_mode = 2,
Djz4740.c147 .fifo_mode = 2,
Dux500.c183 .fifo_mode = 5,
Dmusb_core.h166 u16 fifo_mode; member
Dda8xx.c474 .fifo_mode = 2,
/linux-6.1.9/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c189 enum st_lsm6dsx_fifo_mode fifo_mode) in st_lsm6dsx_set_fifo_mode() argument
193 data = FIELD_PREP(ST_LSM6DSX_FIFO_MODE_MASK, fifo_mode); in st_lsm6dsx_set_fifo_mode()
/linux-6.1.9/drivers/net/ethernet/ti/
Dcpsw.c677 u32 fifo_mode; in cpsw_init_host_port() local
691 fifo_mode = (cpsw->data.dual_emac) ? CPSW_FIFO_DUAL_MAC_MODE : in cpsw_init_host_port()
693 writel(fifo_mode, &cpsw->host_port_regs->tx_in_ctl); in cpsw_init_host_port()
/linux-6.1.9/drivers/scsi/aic7xxx/
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()