Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/input/misc/
Dadxl34x.c234 .fifo_mode = ADXL_FIFO_STREAM,
370 if (pdata->fifo_mode) in adxl34x_irq()
805 if (FIFO_MODE(pdata->fifo_mode) == FIFO_BYPASS) in adxl34x_probe()
806 ac->pdata.fifo_mode |= FIFO_STREAM; in adxl34x_probe()
814 if (FIFO_MODE(pdata->fifo_mode) == FIFO_BYPASS) in adxl34x_probe()
854 AC_WRITE(ac, FIFO_CTL, FIFO_MODE(pdata->fifo_mode) | in adxl34x_probe()
/linux-6.6.21/drivers/iio/accel/
Dbmc150-accel-core.c908 state = data->fifo_mode; in bmc150_accel_get_fifo_state()
1368 if (data->fifo_mode) { in bmc150_accel_irq_thread_handler()
1416 if (data->ev_enable_state || data->fifo_mode) in bmc150_accel_irq_handler()
1499 ret = regmap_write(data->regmap, reg, data->fifo_mode); in bmc150_accel_fifo_set_mode()
1505 if (!data->fifo_mode) in bmc150_accel_fifo_set_mode()
1541 data->fifo_mode = BMC150_ACCEL_FIFO_MODE_FIFO; in bmc150_accel_buffer_postenable()
1545 data->fifo_mode = 0; in bmc150_accel_buffer_postenable()
1565 if (!data->fifo_mode) in bmc150_accel_buffer_predisable()
1570 data->fifo_mode = 0; in bmc150_accel_buffer_predisable()
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()
1071 st->fifo_mode = ADXL372_FIFO_STREAMED; in adxl372_buffer_postenable()
1075 st->fifo_mode = ADXL372_FIFO_BYPASSED; in adxl372_buffer_postenable()
1090 st->fifo_mode = ADXL372_FIFO_BYPASSED; in adxl372_buffer_predisable()
Dbmc150-accel.h64 u8 fifo_mode, watermark; member
Dadxl367.c416 enum adxl367_fifo_mode *fifo_mode) in adxl367_get_fifo_mode() argument
425 *fifo_mode = FIELD_GET(ADXL367_FIFO_CTL_MODE_MASK, val); in adxl367_get_fifo_mode()
431 enum adxl367_fifo_mode fifo_mode) in adxl367_set_fifo_mode() argument
436 fifo_mode)); in adxl367_set_fifo_mode()
1162 enum adxl367_fifo_mode fifo_mode; in adxl367_get_fifo_enabled() local
1165 ret = adxl367_get_fifo_mode(st, &fifo_mode); in adxl367_get_fifo_enabled()
1169 return sysfs_emit(buf, "%d\n", fifo_mode != ADXL367_FIFO_MODE_DISABLED); in adxl367_get_fifo_enabled()
/linux-6.6.21/include/linux/input/
Dadxl34x.h259 u8 fifo_mode; member
/linux-6.6.21/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");
2315 fifo_mode, in proc_udc_show()
2670 switch (fifo_mode) { in omap_udc_setup()
2739 ERR("unsupported fifo_mode #%d\n", fifo_mode); in omap_udc_setup()
2743 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.6.21/drivers/usb/musb/
Dmusb_core.c1261 static ushort fifo_mode; variable
1264 module_param(fifo_mode, ushort, 0);
1265 MODULE_PARM_DESC(fifo_mode, "initial endpoint configuration");
1466 switch (fifo_mode) { in ep_config_from_table()
1468 fifo_mode = 0; in ep_config_from_table()
1496 pr_debug("%s: setup fifo_mode %d\n", musb_driver_name, fifo_mode); in ep_config_from_table()
2387 if (musb->ops->fifo_mode) in musb_init_controller()
2388 fifo_mode = musb->ops->fifo_mode; in musb_init_controller()
2390 fifo_mode = 4; in musb_init_controller()
Dmpfs.c135 .fifo_mode = 2,
Dux500.c183 .fifo_mode = 5,
Djz4740.c193 .fifo_mode = 2,
Dmusb_core.h166 u16 fifo_mode; member
Dda8xx.c476 .fifo_mode = 2,
/linux-6.6.21/drivers/crypto/starfive/
Djh7110-cryp.h111 u32 fifo_mode :1; member
/linux-6.6.21/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.6.21/drivers/net/ethernet/ti/
Dcpsw.c679 u32 fifo_mode; in cpsw_init_host_port() local
693 fifo_mode = (cpsw->data.dual_emac) ? CPSW_FIFO_DUAL_MAC_MODE : in cpsw_init_host_port()
695 writel(fifo_mode, &cpsw->host_port_regs->tx_in_ctl); in cpsw_init_host_port()
/linux-6.6.21/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()