/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sf.c | 156 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/ |
D | inv_icm42600_buffer.c | 165 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/ |
D | alpine_cpu_pm.c | 47 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()
|
D | alpine_cpu_resume.h | 20 uint32_t watermark; member
|
/kernel/linux/linux-5.10/kernel/events/ |
D | ring_buffer.c | 230 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 …]
|
D | internal.h | 32 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/ |
D | industrialio-buffer-cb.c | 110 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/ |
D | sorgv100.c | 27 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,
|
D | sorgp100.c | 46 .watermark = gf119_sor_dp_watermark, 77 .watermark = gf119_sor_dp_watermark,
|
D | sortu102.c | 86 .watermark = gv100_sor_dp_watermark, 117 .watermark = gv100_sor_dp_watermark,
|
D | sorgf119.c | 29 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,
|
D | sorgm200.c | 113 .watermark = gf119_sor_dp_watermark, 144 .watermark = gf119_sor_dp_watermark,
|
D | sormcp77.c | 40 .watermark = g94_sor_dp_watermark,
|
D | sorg94.c | 29 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,
|
D | sormcp89.c | 41 .watermark = g94_sor_dp_watermark,
|
D | sorgk104.c | 41 .watermark = gf119_sor_dp_watermark,
|
/kernel/linux/linux-5.10/mm/ |
D | page_counter.c | 80 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()
|
D | page_reporting.c | 227 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/ |
D | industrialio-buffer.c | 132 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/ |
D | page_counter.h | 28 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/ |
D | cs-etm.c | 721 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/ |
D | test-record-no-buffering | 8 watermark=0
|
D | base-stat | 27 watermark=0
|
D | base-record | 27 watermark=0
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | balance.rst | 84 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.
|