Home
last modified time | relevance | path

Searched refs:watermark (Results 1 – 25 of 44) sorted by relevance

12

/drivers/net/wireless/intel/iwlwifi/mvm/
Dsf.c100 int i, j, watermark; in iwl_mvm_fill_sf_command() local
102 sf_cmd->watermark[SF_LONG_DELAY_ON] = cpu_to_le32(SF_W_MARK_SCAN); in iwl_mvm_fill_sf_command()
114 watermark = SF_W_MARK_SISO; in iwl_mvm_fill_sf_command()
117 watermark = SF_W_MARK_MIMO2; in iwl_mvm_fill_sf_command()
120 watermark = SF_W_MARK_MIMO3; in iwl_mvm_fill_sf_command()
124 watermark = SF_W_MARK_LEGACY; in iwl_mvm_fill_sf_command()
128 watermark = SF_W_MARK_MIMO2; in iwl_mvm_fill_sf_command()
130 sf_cmd->watermark[SF_FULL_ON] = cpu_to_le32(watermark); in iwl_mvm_fill_sf_command()
/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_buffer.c165 static unsigned int inv_icm42600_wm_truncate(unsigned int watermark, in inv_icm42600_wm_truncate() argument
171 wm_size = watermark * packet_size; in inv_icm42600_wm_truncate()
205 unsigned int wm_gyro, wm_accel, watermark; in inv_icm42600_buffer_update_watermark() local
215 wm_gyro = inv_icm42600_wm_truncate(st->fifo.watermark.gyro, packet_size); in inv_icm42600_buffer_update_watermark()
216 wm_accel = inv_icm42600_wm_truncate(st->fifo.watermark.accel, packet_size); in inv_icm42600_buffer_update_watermark()
225 watermark = wm_accel; in inv_icm42600_buffer_update_watermark()
227 watermark = wm_gyro; in inv_icm42600_buffer_update_watermark()
240 watermark = latency / period; in inv_icm42600_buffer_update_watermark()
241 if (watermark < 1) in inv_icm42600_buffer_update_watermark()
242 watermark = 1; in inv_icm42600_buffer_update_watermark()
[all …]
Dinv_icm42600_buffer.h35 } watermark; member
/drivers/iio/buffer/
Dindustrialio-buffer-cb.c110 size_t watermark) in iio_channel_cb_set_buffer_watermark() argument
112 if (!watermark) in iio_channel_cb_set_buffer_watermark()
114 cb_buff->buffer.watermark = watermark; in iio_channel_cb_set_buffer_watermark()
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dsorgv100.c27 gv100_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in gv100_sor_dp_watermark() argument
31 nvkm_mask(device, 0x616550 + hoff, 0x0c00003f, 0x08000000 | watermark); in gv100_sor_dp_watermark()
101 .watermark = gv100_sor_dp_watermark,
131 .watermark = gv100_sor_dp_watermark,
Dsorgp100.c46 .watermark = gf119_sor_dp_watermark,
77 .watermark = gf119_sor_dp_watermark,
Dsorgf119.c29 gf119_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in gf119_sor_dp_watermark() argument
33 nvkm_mask(device, 0x616610 + hoff, 0x0800003f, 0x08000000 | watermark); in gf119_sor_dp_watermark()
175 .watermark = gf119_sor_dp_watermark,
Dsortu102.c86 .watermark = gv100_sor_dp_watermark,
117 .watermark = gv100_sor_dp_watermark,
Dsorga102.c97 .watermark = gv100_sor_dp_watermark,
128 .watermark = gv100_sor_dp_watermark,
Dsorg94.c29 g94_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in g94_sor_dp_watermark() argument
33 nvkm_mask(device, 0x61c128 + loff, 0x0000003f, watermark); in g94_sor_dp_watermark()
275 .watermark = g94_sor_dp_watermark,
Dsorgm200.c113 .watermark = gf119_sor_dp_watermark,
144 .watermark = gf119_sor_dp_watermark,
Dsormcp77.c40 .watermark = g94_sor_dp_watermark,
Dsormcp89.c41 .watermark = g94_sor_dp_watermark,
Dsorgk104.c41 .watermark = gf119_sor_dp_watermark,
Dior.h85 void (*watermark)(struct nvkm_ior *, int head, u8 watermark); member
Dsorgm107.c55 .watermark = gf119_sor_dp_watermark,
Dsorgt215.c57 .watermark = g94_sor_dp_watermark,
/drivers/iio/
Dindustrialio-buffer.c135 to_wait = min_t(size_t, n / datum_size, rb->watermark); in iio_buffer_read()
184 if (iio_buffer_ready(indio_dev, rb, rb->watermark, 0)) in iio_buffer_poll()
240 if (!buffer->watermark) in iio_buffer_init()
241 buffer->watermark = 1; in iio_buffer_init()
573 if (buffer->length && buffer->length < buffer->watermark) in iio_buffer_write_length()
574 buffer->watermark = buffer->length; in iio_buffer_write_length()
722 unsigned int watermark; member
748 config->watermark = ~0; in iio_verify_update()
764 config->watermark = min(config->watermark, buffer->watermark); in iio_verify_update()
769 config->watermark = min(config->watermark, in iio_verify_update()
[all …]
/drivers/scsi/elx/efct/
Defct_lio.c1181 int watermark; in efct_lio_setup_session() local
1228 watermark = efct->tgt_efct.watermark_max - in efct_lio_setup_session()
1230 watermark = (efct->tgt_efct.watermark_min > watermark) ? in efct_lio_setup_session()
1231 efct->tgt_efct.watermark_min : watermark; in efct_lio_setup_session()
1232 atomic_set(&efct->tgt_efct.io_high_watermark, watermark); in efct_lio_setup_session()
1299 int watermark; in efct_scsi_del_initiator() local
1328 watermark = efct->tgt_efct.watermark_max - in efct_scsi_del_initiator()
1330 watermark = (efct->tgt_efct.watermark_min > watermark) ? in efct_scsi_del_initiator()
1331 efct->tgt_efct.watermark_min : watermark; in efct_scsi_del_initiator()
1332 atomic_set(&efct->tgt_efct.io_high_watermark, watermark); in efct_scsi_del_initiator()
/drivers/spi/
Dspi-fsl-lpspi.c110 u8 watermark; member
287 temp = fsl_lpspi->watermark >> 1 | in fsl_lpspi_set_watermark()
288 (fsl_lpspi->watermark >> 1) << 16; in fsl_lpspi_set_watermark()
290 temp = fsl_lpspi->watermark >> 1; in fsl_lpspi_set_watermark()
447 fsl_lpspi->watermark = t->len; in fsl_lpspi_setup_transfer()
449 fsl_lpspi->watermark = fsl_lpspi->txfifosize; in fsl_lpspi_setup_transfer()
/drivers/i2c/busses/
Di2c-fsi.c189 u32 mode = I2C_MODE_ENHANCED, extended_status, watermark; in fsi_i2c_dev_init() local
207 watermark = FIELD_PREP(I2C_WATERMARK_HI, in fsi_i2c_dev_init()
209 watermark |= FIELD_PREP(I2C_WATERMARK_LO, I2C_FIFO_LO_LVL); in fsi_i2c_dev_init()
211 return fsi_i2c_write_reg(i2c->fsi, I2C_FSI_WATER_MARK, &watermark); in fsi_i2c_dev_init()
/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c231 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor, u16 watermark) in st_lsm6dsx_update_watermark() argument
251 cur_watermark = (cur_sensor == sensor) ? watermark in st_lsm6dsx_update_watermark()
252 : cur_sensor->watermark; in st_lsm6dsx_update_watermark()
695 err = st_lsm6dsx_update_watermark(sensor, sensor->watermark); in st_lsm6dsx_update_fifo()
/drivers/iio/accel/
Dadxl372.c299 u16 watermark; member
557 fifo_samples = (st->watermark * st->fifo_set_size); in adxl372_configure_fifo()
998 return sprintf(buf, "%d\n", st->watermark); in adxl372_get_fifo_watermark()
1037 st->watermark = val; in adxl372_set_watermark()
1081 if ((st->watermark * st->fifo_set_size) > ADXL372_FIFO_SIZE) in adxl372_buffer_postenable()
1082 st->watermark = (ADXL372_FIFO_SIZE / st->fifo_set_size); in adxl372_buffer_postenable()
Dbmc150-accel.h64 u8 fifo_mode, watermark; member
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsf.h77 __le32 watermark[SF_TRANSIENT_STATES_NUMBER]; member

12