Home
last modified time | relevance | path

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

12345

/linux-6.1.9/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()
/linux-6.1.9/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 …]
/linux-6.1.9/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
/linux-6.1.9/kernel/events/
Dring_buffer.c232 if (unlikely(head - local_read(&rb->wakeup) > rb->watermark)) in __perf_output_begin()
233 local_add(rb->watermark, &rb->wakeup); in __perf_output_begin()
309 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init() argument
313 if (watermark) in ring_buffer_init()
314 rb->watermark = min(max_size, watermark); in ring_buffer_init()
316 if (!rb->watermark) in ring_buffer_init()
317 rb->watermark = max_size / 2; in ring_buffer_init()
671 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() argument
685 if (!watermark) in rb_alloc_aux()
686 watermark = nr_pages << (PAGE_SHIFT - 1); in rb_alloc_aux()
[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);
/linux-6.1.9/Documentation/devicetree/bindings/mmc/
Dsynopsys-dw-mshc-common.yaml51 fifo-watermark-aligned:
54 watermark in PIO mode. But fifo watermark is requested to be aligned
56 data done irq. Add this watermark quirk to mark this requirement and
57 force fifo watermark setting accordingly.
/linux-6.1.9/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()
/linux-6.1.9/mm/
Dpage_counter.c83 if (new > READ_ONCE(c->watermark)) in page_counter_charge()
84 WRITE_ONCE(c->watermark, new); in page_counter_charge()
136 if (new > READ_ONCE(c->watermark)) in page_counter_try_charge()
137 WRITE_ONCE(c->watermark, new); in page_counter_try_charge()
Dpage_reporting.c232 unsigned long watermark; in page_reporting_process_zone() local
236 watermark = low_wmark_pages(zone) + in page_reporting_process_zone()
243 if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA)) in page_reporting_process_zone()
/linux-6.1.9/tools/perf/arch/arm64/util/
Darm-spe.c366 u64 i, watermark; in arm_spe_buffer_has_wrapped() local
381 watermark = buf_size - 512; in arm_spe_buffer_has_wrapped()
394 if (head > watermark) in arm_spe_buffer_has_wrapped()
395 watermark = head; in arm_spe_buffer_has_wrapped()
400 watermark /= sizeof(u64); in arm_spe_buffer_has_wrapped()
407 for (i = watermark; i < buf_size; i++) in arm_spe_buffer_has_wrapped()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-devices-hisi_ptt45 Description: (RW) Control the allocated buffer watermark for inbound packets.
47 either when the watermark reached or when timed out.
56 Description: (RW) Control the allocated buffer watermark of outbound packets.
58 either when the watermark reached or when timed out.
/linux-6.1.9/include/linux/
Dpage_counter.h28 unsigned long watermark; member
81 counter->watermark = page_counter_read(counter); in page_counter_reset_watermark()
/linux-6.1.9/drivers/iio/
Dindustrialio-buffer.c138 to_wait = min_t(size_t, n / datum_size, rb->watermark); in iio_buffer_read()
249 if (iio_buffer_ready(indio_dev, rb, rb->watermark, 0)) in iio_buffer_poll()
334 if (!buffer->watermark) in iio_buffer_init()
335 buffer->watermark = 1; in iio_buffer_init()
665 if (buffer->length && buffer->length < buffer->watermark) in length_store()
666 buffer->watermark = buffer->length; in length_store()
813 unsigned int watermark; member
839 config->watermark = ~0; in iio_verify_update()
855 config->watermark = min(config->watermark, buffer->watermark); in iio_verify_update()
860 config->watermark = min(config->watermark, in iio_verify_update()
[all …]
/linux-6.1.9/kernel/cgroup/
Dpids.c50 int64_t watermark; member
95 if (nr_pids > READ_ONCE(p->watermark)) in pids_update_watermark()
96 WRITE_ONCE(p->watermark, nr_pids); in pids_update_watermark()
339 return READ_ONCE(pids->watermark); in pids_peak_read()
/linux-6.1.9/tools/perf/tests/attr/
Dtest-record-no-buffering8 watermark=0
Dbase-record-spe26 watermark=*
Dbase-stat27 watermark=0
Dbase-record27 watermark=0
/linux-6.1.9/mm/kasan/
Dcommon.c85 asmlinkage void kasan_unpoison_task_stack_below(const void *watermark) in kasan_unpoison_task_stack_below() argument
92 void *base = (void *)((unsigned long)watermark & ~(THREAD_SIZE - 1)); in kasan_unpoison_task_stack_below()
94 kasan_unpoison(base, watermark - base, false); in kasan_unpoison_task_stack_below()
/linux-6.1.9/drivers/scsi/elx/efct/
Defct_lio.c1178 int watermark; in efct_lio_setup_session() local
1225 watermark = efct->tgt_efct.watermark_max - in efct_lio_setup_session()
1227 watermark = (efct->tgt_efct.watermark_min > watermark) ? in efct_lio_setup_session()
1228 efct->tgt_efct.watermark_min : watermark; in efct_lio_setup_session()
1229 atomic_set(&efct->tgt_efct.io_high_watermark, watermark); in efct_lio_setup_session()
1296 int watermark; in efct_scsi_del_initiator() local
1325 watermark = efct->tgt_efct.watermark_max - in efct_scsi_del_initiator()
1327 watermark = (efct->tgt_efct.watermark_min > watermark) ? in efct_scsi_del_initiator()
1328 efct->tgt_efct.watermark_min : watermark; in efct_scsi_del_initiator()
1329 atomic_set(&efct->tgt_efct.io_high_watermark, watermark); in efct_scsi_del_initiator()
/linux-6.1.9/Documentation/mm/
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.
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dg94.c34 g94_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in g94_sor_dp_watermark() argument
39 nvkm_mask(device, 0x61c128 + loff, 0x0000003f, watermark); in g94_sor_dp_watermark()
149 .watermark = g94_sor_dp_watermark,
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsf.h77 __le32 watermark[SF_TRANSIENT_STATES_NUMBER]; member

12345