Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ !
Dsf.c100 int i, j, watermark; in iwl_mvm_fill_sf_command() local
106 sf_cmd->watermark[SF_LONG_DELAY_ON] = cpu_to_le32(SF_W_MARK_SCAN); in iwl_mvm_fill_sf_command()
133 watermark = SF_W_MARK_SISO; in iwl_mvm_fill_sf_command()
136 watermark = SF_W_MARK_MIMO2; in iwl_mvm_fill_sf_command()
139 watermark = SF_W_MARK_MIMO3; in iwl_mvm_fill_sf_command()
143 watermark = SF_W_MARK_LEGACY; in iwl_mvm_fill_sf_command()
147 watermark = SF_W_MARK_MIMO2; in iwl_mvm_fill_sf_command()
149 sf_cmd->watermark[SF_FULL_ON] = cpu_to_le32(watermark); in iwl_mvm_fill_sf_command()
/linux-6.6.21/drivers/iio/imu/inv_icm42600/ !
Dinv_icm42600_buffer.c166 static unsigned int inv_icm42600_wm_truncate(unsigned int watermark, in inv_icm42600_wm_truncate() argument
172 wm_size = watermark * packet_size; in inv_icm42600_wm_truncate()
206 unsigned int wm_gyro, wm_accel, watermark; in inv_icm42600_buffer_update_watermark() local
216 wm_gyro = inv_icm42600_wm_truncate(st->fifo.watermark.gyro, packet_size); in inv_icm42600_buffer_update_watermark()
217 wm_accel = inv_icm42600_wm_truncate(st->fifo.watermark.accel, packet_size); in inv_icm42600_buffer_update_watermark()
226 watermark = wm_accel; in inv_icm42600_buffer_update_watermark()
228 watermark = wm_gyro; in inv_icm42600_buffer_update_watermark()
241 watermark = latency / period; in inv_icm42600_buffer_update_watermark()
242 if (watermark < 1) in inv_icm42600_buffer_update_watermark()
243 watermark = 1; in inv_icm42600_buffer_update_watermark()
[all …]
/linux-6.6.21/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.6.21/kernel/events/ !
Dring_buffer.c233 if (unlikely(head - local_read(&rb->wakeup) > rb->watermark)) in __perf_output_begin()
234 local_add(rb->watermark, &rb->wakeup); in __perf_output_begin()
310 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init() argument
314 if (watermark) in ring_buffer_init()
315 rb->watermark = min(max_size, watermark); in ring_buffer_init()
317 if (!rb->watermark) in ring_buffer_init()
318 rb->watermark = max_size / 2; in ring_buffer_init()
672 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() argument
686 if (!watermark) in rb_alloc_aux()
687 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.6.21/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.6.21/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.6.21/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.c264 unsigned long watermark; in page_reporting_process_zone() local
268 watermark = low_wmark_pages(zone) + in page_reporting_process_zone()
275 if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA)) in page_reporting_process_zone()
/linux-6.6.21/tools/perf/arch/arm64/util/ !
Darm-spe.c344 u64 i, watermark; in arm_spe_buffer_has_wrapped() local
359 watermark = buf_size - 512; in arm_spe_buffer_has_wrapped()
372 if (head > watermark) in arm_spe_buffer_has_wrapped()
373 watermark = head; in arm_spe_buffer_has_wrapped()
378 watermark /= sizeof(u64); in arm_spe_buffer_has_wrapped()
385 for (i = watermark; i < buf_size; i++) in arm_spe_buffer_has_wrapped()
/linux-6.6.21/include/linux/ !
Dpage_counter.h28 unsigned long watermark; member
81 counter->watermark = page_counter_read(counter); in page_counter_reset_watermark()
/linux-6.6.21/drivers/iio/ !
Dindustrialio-buffer.c138 to_wait = min_t(size_t, n / datum_size, rb->watermark); in iio_buffer_read()
252 if (iio_buffer_ready(indio_dev, rb, rb->watermark, 0)) in iio_buffer_poll()
337 if (!buffer->watermark) in iio_buffer_init()
338 buffer->watermark = 1; in iio_buffer_init()
670 if (buffer->length && buffer->length < buffer->watermark) in length_store()
671 buffer->watermark = buffer->length; in length_store()
818 unsigned int watermark; member
845 config->watermark = ~0; in iio_verify_update()
861 config->watermark = min(config->watermark, buffer->watermark); in iio_verify_update()
866 config->watermark = min(config->watermark, in iio_verify_update()
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/tools/perf/tests/attr/ !
Dtest-record-no-buffering8 watermark=0
Dbase-record-spe26 watermark=*
Dbase-record27 watermark=0
Dbase-stat27 watermark=0
/linux-6.6.21/drivers/scsi/elx/efct/ !
Defct_lio.c1164 int watermark; in efct_lio_setup_session() local
1211 watermark = efct->tgt_efct.watermark_max - in efct_lio_setup_session()
1213 watermark = (efct->tgt_efct.watermark_min > watermark) ? in efct_lio_setup_session()
1214 efct->tgt_efct.watermark_min : watermark; in efct_lio_setup_session()
1215 atomic_set(&efct->tgt_efct.io_high_watermark, watermark); in efct_lio_setup_session()
1282 int watermark; in efct_scsi_del_initiator() local
1311 watermark = efct->tgt_efct.watermark_max - in efct_scsi_del_initiator()
1313 watermark = (efct->tgt_efct.watermark_min > watermark) ? in efct_scsi_del_initiator()
1314 efct->tgt_efct.watermark_min : watermark; in efct_scsi_del_initiator()
1315 atomic_set(&efct->tgt_efct.io_high_watermark, watermark); in efct_scsi_del_initiator()
/linux-6.6.21/Documentation/mm/ !
Dbalance.rst82 its watermark.
86 the number of pages falls below watermark[WMARK_MIN], the hysteric field
88 watermark[WMARK_HIGH]. When low_on_memory is set, page allocation requests will
92 pages is below watermark[WMARK_LOW]; in which case zone_wake_kswapd is also set.
/linux-6.6.21/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.6.21/Documentation/devicetree/bindings/net/ !
Dcdns,macb.yaml112 cdns,rx-watermark:
118 rx-watermark corresponds to the number of SRAM buffer locations,
179 cdns,rx-watermark = <0x44>;
/linux-6.6.21/drivers/spi/ !
Dspi-fsl-lpspi.c109 u8 watermark; member
286 temp = fsl_lpspi->watermark >> 1 | in fsl_lpspi_set_watermark()
287 (fsl_lpspi->watermark >> 1) << 16; in fsl_lpspi_set_watermark()
289 temp = fsl_lpspi->watermark >> 1; in fsl_lpspi_set_watermark()
452 fsl_lpspi->watermark = t->len; in fsl_lpspi_setup_transfer()
454 fsl_lpspi->watermark = fsl_lpspi->txfifosize; in fsl_lpspi_setup_transfer()

12345