Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dsf.c156 int i, j, watermark; in iwl_mvm_fill_sf_command() local
158 sf_cmd->watermark[SF_LONG_DELAY_ON] = cpu_to_le32(SF_W_MARK_SCAN); in iwl_mvm_fill_sf_command()
170 watermark = SF_W_MARK_SISO; in iwl_mvm_fill_sf_command()
173 watermark = SF_W_MARK_MIMO2; in iwl_mvm_fill_sf_command()
176 watermark = SF_W_MARK_MIMO3; in iwl_mvm_fill_sf_command()
180 watermark = SF_W_MARK_LEGACY; in iwl_mvm_fill_sf_command()
184 watermark = SF_W_MARK_MIMO2; in iwl_mvm_fill_sf_command()
186 sf_cmd->watermark[SF_FULL_ON] = cpu_to_le32(watermark); in iwl_mvm_fill_sf_command()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/arm/mach-alpine/
Dalpine_cpu_pm.c47 uint32_t watermark; in alpine_cpu_pm_init() local
57 watermark = readl(&al_cpu_resume_regs->watermark); in alpine_cpu_pm_init()
58 wakeup_supported = (watermark & AL_CPU_RESUME_MAGIC_NUM_MASK) in alpine_cpu_pm_init()
Dalpine_cpu_resume.h20 uint32_t watermark; member
/kernel/linux/linux-5.10/kernel/events/
Dring_buffer.c230 if (unlikely(head - local_read(&rb->wakeup) > rb->watermark)) in __perf_output_begin()
231 local_add(rb->watermark, &rb->wakeup); in __perf_output_begin()
306 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init() argument
310 if (watermark) in ring_buffer_init()
311 rb->watermark = min(max_size, watermark); in ring_buffer_init()
313 if (!rb->watermark) in ring_buffer_init()
314 rb->watermark = max_size / 2; in ring_buffer_init()
668 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() argument
744 rb->aux_watermark = watermark; in rb_alloc_aux()
803 struct perf_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc() argument
[all …]
Dinternal.h32 long watermark; /* wakeup watermark */ member
80 rb_alloc(int nr_pages, long watermark, int cpu, int flags);
83 pgoff_t pgoff, int nr_pages, long watermark, int flags);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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,
Dsortu102.c86 .watermark = gv100_sor_dp_watermark,
117 .watermark = gv100_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,
Dsorgm200.c113 .watermark = gf119_sor_dp_watermark,
144 .watermark = gf119_sor_dp_watermark,
Dsormcp77.c40 .watermark = g94_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,
Dsormcp89.c41 .watermark = g94_sor_dp_watermark,
Dsorgk104.c41 .watermark = gf119_sor_dp_watermark,
/kernel/linux/linux-5.10/mm/
Dpage_counter.c80 if (new > READ_ONCE(c->watermark)) in page_counter_charge()
81 WRITE_ONCE(c->watermark, new); in page_counter_charge()
134 if (new > READ_ONCE(c->watermark)) in page_counter_try_charge()
135 WRITE_ONCE(c->watermark, new); in page_counter_try_charge()
Dpage_reporting.c227 unsigned long watermark; in page_reporting_process_zone() local
231 watermark = low_wmark_pages(zone) + in page_reporting_process_zone()
238 if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA)) in page_reporting_process_zone()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-buffer.c132 to_wait = min_t(size_t, n / datum_size, rb->watermark); in iio_buffer_read_outer()
180 if (iio_buffer_ready(indio_dev, rb, rb->watermark, 0)) in iio_buffer_poll()
208 if (!buffer->watermark) in iio_buffer_init()
209 buffer->watermark = 1; in iio_buffer_init()
537 if (buffer->length && buffer->length < buffer->watermark) in iio_buffer_write_length()
538 buffer->watermark = buffer->length; in iio_buffer_write_length()
685 unsigned int watermark; member
711 config->watermark = ~0; in iio_verify_update()
727 config->watermark = min(config->watermark, buffer->watermark); in iio_verify_update()
732 config->watermark = min(config->watermark, in iio_verify_update()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpage_counter.h28 unsigned long watermark; member
72 counter->watermark = page_counter_read(counter); in page_counter_reset_watermark()
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/
Dcs-etm.c721 u64 i, watermark; in cs_etm_buffer_has_wrapped() local
729 watermark = buf_size - 512; in cs_etm_buffer_has_wrapped()
749 if (head > watermark) in cs_etm_buffer_has_wrapped()
750 watermark = head; in cs_etm_buffer_has_wrapped()
755 watermark >>= 3; in cs_etm_buffer_has_wrapped()
762 for (i = watermark; i < buf_size; i++) in cs_etm_buffer_has_wrapped()
/kernel/linux/linux-5.10/tools/perf/tests/attr/
Dtest-record-no-buffering8 watermark=0
Dbase-stat27 watermark=0
Dbase-record27 watermark=0
/kernel/linux/linux-5.10/Documentation/vm/
Dbalance.rst84 its watermark.
88 the number of pages falls below watermark[WMARK_MIN], the hysteric field
90 watermark[WMARK_HIGH]. When low_on_memory is set, page allocation requests will
94 pages is below watermark[WMARK_LOW]; in which case zone_wake_kswapd is also set.

1234