Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.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
/Linux-v5.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()
/Linux-v5.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.
/Linux-v5.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.h19 /* Watermark for validating the CPU resume struct */
20 uint32_t watermark; member
/Linux-v5.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 */
/Linux-v5.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()
/Linux-v5.10/drivers/iio/buffer/
Dindustrialio-buffer-cb.c105 size_t watermark) in iio_channel_cb_set_buffer_watermark() argument
107 if (!watermark) in iio_channel_cb_set_buffer_watermark()
109 cb_buff->buffer.watermark = watermark; in iio_channel_cb_set_buffer_watermark()
/Linux-v5.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);
/Linux-v5.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 …]
/Linux-v5.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.
/Linux-v5.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,
/Linux-v5.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()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_mmhubbub.c58 * unsigned int cli_watermark[4]; //4 group urgent watermark
59 * unsigned int pstate_watermark[4]; //4 group pstate watermark
164 /* Programming dwb watermark */ in mmhubbub3_config_mcif_arb()
165 …/* Watermark to generate urgent in MCIF_WB_CLI, value is determined by MCIF_WB_CLI_WATERMARK_MASK.… in mmhubbub3_config_mcif_arb()
180 /* Programming nb pstate watermark */ in mmhubbub3_config_mcif_arb()
/Linux-v5.10/include/linux/amba/
Dpl022.h106 * enum ssp_rx_level_trig - receive FIFO watermark level which triggers
118 * Transmit FIFO watermark level which triggers (IT Interrupt fires
261 * @rx_lev_trig: Rx FIFO watermark level (for IT & DMA mode)
262 * @tx_lev_trig: Tx FIFO watermark level (for IT & DMA mode)
/Linux-v5.10/include/linux/iio/
Dbuffer_impl.h13 * INDIO_BUFFER_FLAG_FIXED_WATERMARK - Watermark level of the buffer can not be
93 /** @watermark: Number of datums to wait for poll/read. */
94 unsigned int watermark; member
Dconsumer.h116 * iio_channel_cb_set_buffer_watermark() - set the buffer watermark.
119 * @watermark: buffer watermark in bytes.
121 * This function allows to configure the buffer watermark.
124 size_t watermark);
/Linux-v5.10/include/linux/
Dpage_counter.h28 unsigned long watermark; member
72 counter->watermark = page_counter_read(counter); in page_counter_reset_watermark()
/Linux-v5.10/drivers/tty/serial/
Dsifive.c332 * __ssp_enable_txwm() - enable transmit watermark interrupts
335 * Enable interrupt generation when the transmit FIFO watermark is reached
348 * __ssp_enable_rxwm() - enable receive watermark interrupts
351 * Enable interrupt generation when the receive FIFO watermark is reached
364 * __ssp_disable_txwm() - disable transmit watermark interrupts
367 * Disable interrupt generation when the transmit FIFO watermark is reached
380 * __ssp_disable_rxwm() - disable receive watermark interrupts
383 * Disable interrupt generation when the receive FIFO watermark is reached
634 * The TX watermark is always set to 1 by this driver, which in sifive_serial_clk_notifier()
1006 /* Enable transmits and set the watermark level to 1 */ in sifive_serial_probe()
[all …]
/Linux-v5.10/include/linux/input/
Dadxl34x.h262 * watermark:
263 * The Watermark feature can be used to reduce the interrupt load
264 * of the system. The FIFO fills up to the value stored in watermark
266 * A '0' disables the watermark feature.
269 u8 watermark; member
/Linux-v5.10/drivers/net/ethernet/apple/
Dmace.h117 #define XMTFW_8 0x00 /* xmit fifo watermark = 8 words free */
120 #define RCVFW_16 0x00 /* recv fifo watermark = 16 bytes avail */
123 #define XMTFWU 0x08 /* xmit fifo watermark update enable */
124 #define RCVFWU 0x04 /* recv fifo watermark update enable */
/Linux-v5.10/Documentation/admin-guide/device-mapper/
Dwritecache.rst29 watermark
32 this watermark

12345678910>>...13