Home
last modified time | relevance | path

Searched full:watermark (Results 1 – 25 of 715) sorted by relevance

12345678910>>...29

/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()
181 * inv_icm42600_buffer_update_watermark - update watermark FIFO threshold
186 * FIFO watermark threshold is computed based on the required watermark values
187 * set for gyro and accel sensors. Since watermark is all about acceptable data
189 * smallest latency but this is not as simple as choosing the smallest watermark
190 * value. Latency depends on watermark and ODR. It requires several steps:
197 * 3) Since all periods are multiple of each others, watermark is computed by
205 unsigned int wm_gyro, wm_accel, watermark; in inv_icm42600_buffer_update_watermark() local
214 /* compute sensors latency, depending on sensor watermark and odr */ in inv_icm42600_buffer_update_watermark()
[all …]
Dinv_icm42600_buffer.h23 * @watermark: watermark configuration values for accel and gyro.
35 } watermark; member
/kernel/linux/linux-6.6/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()
182 * inv_icm42600_buffer_update_watermark - update watermark FIFO threshold
187 * FIFO watermark threshold is computed based on the required watermark values
188 * set for gyro and accel sensors. Since watermark is all about acceptable data
190 * smallest latency but this is not as simple as choosing the smallest watermark
191 * value. Latency depends on watermark and ODR. It requires several steps:
198 * 3) Since all periods are multiple of each others, watermark is computed by
206 unsigned int wm_gyro, wm_accel, watermark; in inv_icm42600_buffer_update_watermark() local
215 /* compute sensors latency, depending on sensor watermark and odr */ in inv_icm42600_buffer_update_watermark()
[all …]
Dinv_icm42600_buffer.h23 * @watermark: watermark configuration values for accel and gyro.
35 } watermark; member
/kernel/linux/linux-6.6/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()
110 * capabilities of the AP station, and choose the watermark accordingly. 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()
145 /* default watermark value for unassociated mode. */ 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()
/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()
162 * capabilities of the AP station, and choose the watermark accordingly. 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()
182 /* default watermark value for unassociated mode. */ 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-6.6/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.
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-6.6/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()
/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()
/kernel/linux/linux-6.6/kernel/events/
Dring_buffer.c234 if (unlikely(head - local_read(&rb->wakeup) > rb->watermark)) in __perf_output_begin()
235 local_add(rb->watermark, &rb->wakeup); in __perf_output_begin()
311 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init() argument
315 if (watermark) in ring_buffer_init()
316 rb->watermark = min(max_size, watermark); in ring_buffer_init()
318 if (!rb->watermark) in ring_buffer_init()
319 rb->watermark = max_size / 2; in ring_buffer_init()
675 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() argument
686 * Watermark defaults to half the buffer, and so does the in rb_alloc_aux()
689 if (!watermark) in rb_alloc_aux()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mmhubbub.c58 * unsigned int cli_watermark[4]; //4 group urgent watermark
59 * unsigned int pstate_watermark[4]; //4 group pstate watermark
161 /* Programming dwb watermark */ in mmhubbub2_config_mcif_arb()
162 …/* Watermark to generate urgent in MCIF_WB_CLI, value is determined by MCIF_WB_CLI_WATERMARK_MASK.… in mmhubbub2_config_mcif_arb()
177 /* Programming nb pstate watermark */ in mmhubbub2_config_mcif_arb()
237 /* set which group of pstate watermark to use and set wbif watermark change request */
250 /* Set watermark change interrupt disable bit */
259 /* Read watermark change interrupt status */
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mmhubbub.c58 * unsigned int cli_watermark[4]; //4 group urgent watermark
59 * unsigned int pstate_watermark[4]; //4 group pstate watermark
161 /* Programming dwb watermark */ in mmhubbub2_config_mcif_arb()
162 …/* Watermark to generate urgent in MCIF_WB_CLI, value is determined by MCIF_WB_CLI_WATERMARK_MASK.… in mmhubbub2_config_mcif_arb()
177 /* Programming nb pstate watermark */ in mmhubbub2_config_mcif_arb()
238 /* set which group of pstate watermark to use and set wbif watermark change request */
251 /* Set watermark change interrupt disable bit */
260 /* Read watermark change interrupt status */
/kernel/linux/linux-6.6/mm/
Dpage_counter.c81 * inaccuracy in the watermark. in page_counter_charge()
83 if (new > READ_ONCE(c->watermark)) in page_counter_charge()
84 WRITE_ONCE(c->watermark, new); in page_counter_charge()
134 * inaccuracy in the watermark. in page_counter_try_charge()
136 if (new > READ_ONCE(c->watermark)) in page_counter_try_charge()
137 WRITE_ONCE(c->watermark, new); in page_counter_try_charge()
/kernel/linux/linux-5.10/mm/
Dpage_counter.c78 * inaccuracy in the watermark. in page_counter_charge()
80 if (new > READ_ONCE(c->watermark)) in page_counter_charge()
81 WRITE_ONCE(c->watermark, new); in page_counter_charge()
132 * inaccuracy in the watermark. in page_counter_try_charge()
134 if (new > READ_ONCE(c->watermark)) in page_counter_try_charge()
135 WRITE_ONCE(c->watermark, new); in page_counter_try_charge()
/kernel/linux/linux-6.6/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/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/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/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()
673 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() argument
755 rb->aux_watermark = watermark; in rb_alloc_aux()
814 struct perf_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc() argument
[all …]
/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.
/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,
/kernel/linux/linux-6.6/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.
/kernel/linux/linux-6.6/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.
/kernel/linux/linux-6.6/kernel/cgroup/
Dpids.c50 int64_t watermark; member
93 * the watermark, and this lets us avoid extra atomic overhead. in pids_update_watermark()
95 if (nr_pids > READ_ONCE(p->watermark)) in pids_update_watermark()
96 WRITE_ONCE(p->watermark, nr_pids); in pids_update_watermark()
176 * the hierarchy, but that's tolerable for the watermark. in pids_try_charge()
339 return READ_ONCE(pids->watermark); in pids_peak_read()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_mem_input_v.c664 /*Write mask to enable reading/writing of watermark set A*/ in program_urgency_watermark()
687 /*Write mask to enable reading/writing of watermark set B*/ in program_urgency_watermark()
746 /*Write mask to enable reading/writing of watermark set A*/ in program_stutter_watermark()
774 /*Write watermark set A*/ in program_stutter_watermark()
781 /*Write mask to enable reading/writing of watermark set B*/ in program_stutter_watermark()
790 /*Write watermark set B*/ in program_stutter_watermark()
826 /* Write mask to enable reading/writing of watermark set A */ in program_nbp_watermark()
856 /* Write watermark set A */ in program_nbp_watermark()
865 /* Write mask to enable reading/writing of watermark set B */ in program_nbp_watermark()
892 /* Write watermark set B */ in program_nbp_watermark()

12345678910>>...29