/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sf.c | 100 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/ |
D | inv_icm42600_buffer.c | 165 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 …]
|
D | inv_icm42600_buffer.h | 35 } watermark; member
|
/drivers/iio/buffer/ |
D | industrialio-buffer-cb.c | 110 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/ |
D | sorgv100.c | 27 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,
|
D | sorgp100.c | 46 .watermark = gf119_sor_dp_watermark, 77 .watermark = gf119_sor_dp_watermark,
|
D | sorgf119.c | 29 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,
|
D | sortu102.c | 86 .watermark = gv100_sor_dp_watermark, 117 .watermark = gv100_sor_dp_watermark,
|
D | sorga102.c | 97 .watermark = gv100_sor_dp_watermark, 128 .watermark = gv100_sor_dp_watermark,
|
D | sorg94.c | 29 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,
|
D | sorgm200.c | 113 .watermark = gf119_sor_dp_watermark, 144 .watermark = gf119_sor_dp_watermark,
|
D | sormcp77.c | 40 .watermark = g94_sor_dp_watermark,
|
D | sormcp89.c | 41 .watermark = g94_sor_dp_watermark,
|
D | sorgk104.c | 41 .watermark = gf119_sor_dp_watermark,
|
D | ior.h | 85 void (*watermark)(struct nvkm_ior *, int head, u8 watermark); member
|
D | sorgm107.c | 55 .watermark = gf119_sor_dp_watermark,
|
D | sorgt215.c | 57 .watermark = g94_sor_dp_watermark,
|
/drivers/iio/ |
D | industrialio-buffer.c | 135 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/ |
D | efct_lio.c | 1181 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/ |
D | spi-fsl-lpspi.c | 110 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/ |
D | i2c-fsi.c | 189 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/ |
D | st_lsm6dsx_buffer.c | 231 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/ |
D | adxl372.c | 299 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()
|
D | bmc150-accel.h | 64 u8 fifo_mode, watermark; member
|
/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | sf.h | 77 __le32 watermark[SF_TRANSIENT_STATES_NUMBER]; member
|