/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | sf.c | 100 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/drivers/iio/imu/inv_icm42600/ |
A D | inv_icm42600_buffer.c | 171 wm_size = watermark * packet_size; in inv_icm42600_wm_truncate() 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() 246 wm_size = watermark * packet_size; in inv_icm42600_buffer_update_watermark() 377 unsigned int *watermark; in inv_icm42600_buffer_postdisable() local 387 watermark = &st->fifo.watermark.gyro; in inv_icm42600_buffer_postdisable() 391 watermark = &st->fifo.watermark.accel; in inv_icm42600_buffer_postdisable() [all …]
|
/linux/kernel/events/ |
A D | ring_buffer.c | 231 local_add(rb->watermark, &rb->wakeup); in __perf_output_begin() 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() 682 if (!watermark) in rb_alloc_aux() 689 max_order = get_order(watermark); in rb_alloc_aux() 696 watermark = 0; in rb_alloc_aux() 749 rb->aux_watermark = watermark; in rb_alloc_aux() 834 ring_buffer_init(rb, watermark, flags); in rb_alloc() [all …]
|
A 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);
|
/linux/arch/arm/mach-alpine/ |
A 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()
|
A D | alpine_cpu_resume.h | 20 uint32_t watermark; member
|
/linux/Documentation/devicetree/bindings/mmc/ |
A D | synopsys-dw-mshc-common.yaml | 51 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/drivers/iio/buffer/ |
A 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()
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A 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,
|
A D | sorgp100.c | 46 .watermark = gf119_sor_dp_watermark, 77 .watermark = gf119_sor_dp_watermark,
|
A 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,
|
A D | sorga102.c | 97 .watermark = gv100_sor_dp_watermark, 128 .watermark = gv100_sor_dp_watermark,
|
A D | sortu102.c | 86 .watermark = gv100_sor_dp_watermark, 117 .watermark = gv100_sor_dp_watermark,
|
A 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,
|
A D | sorgm200.c | 113 .watermark = gf119_sor_dp_watermark, 144 .watermark = gf119_sor_dp_watermark,
|
/linux/mm/ |
A D | page_counter.c | 84 if (new > READ_ONCE(c->watermark)) in page_counter_charge() 85 WRITE_ONCE(c->watermark, new); in page_counter_charge() 138 if (new > READ_ONCE(c->watermark)) in page_counter_try_charge() 139 WRITE_ONCE(c->watermark, new); in page_counter_try_charge()
|
A D | page_reporting.c | 232 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/tools/perf/arch/arm64/util/ |
A D | arm-spe.c | 349 u64 i, watermark; in arm_spe_buffer_has_wrapped() local 364 watermark = buf_size - 512; in arm_spe_buffer_has_wrapped() 377 if (head > watermark) in arm_spe_buffer_has_wrapped() 378 watermark = head; in arm_spe_buffer_has_wrapped() 383 watermark /= sizeof(u64); in arm_spe_buffer_has_wrapped() 390 for (i = watermark; i < buf_size; i++) in arm_spe_buffer_has_wrapped()
|
/linux/drivers/iio/ |
A D | industrialio-buffer.c | 334 if (!buffer->watermark) in iio_buffer_init() 335 buffer->watermark = 1; in iio_buffer_init() 668 buffer->watermark = buffer->length; in iio_buffer_write_length() 816 unsigned int watermark; member 842 config->watermark = ~0; in iio_verify_update() 858 config->watermark = min(config->watermark, buffer->watermark); in iio_verify_update() 863 config->watermark = min(config->watermark, in iio_verify_update() 864 insert_buffer->watermark); in iio_verify_update() 1096 config->watermark); in iio_enable_buffers() 1362 buffer->watermark = val; in iio_buffer_store_watermark() [all …]
|
/linux/include/linux/ |
A D | page_counter.h | 27 unsigned long watermark; member 79 counter->watermark = page_counter_read(counter); in page_counter_reset_watermark()
|
/linux/drivers/scsi/elx/efct/ |
A D | efct_lio.c | 1181 int watermark; in efct_lio_setup_session() local 1228 watermark = efct->tgt_efct.watermark_max - in efct_lio_setup_session() 1230 watermark = (efct->tgt_efct.watermark_min > watermark) ? in efct_lio_setup_session() 1231 efct->tgt_efct.watermark_min : watermark; in efct_lio_setup_session() 1232 atomic_set(&efct->tgt_efct.io_high_watermark, watermark); in efct_lio_setup_session() 1299 int watermark; in efct_scsi_del_initiator() local 1328 watermark = efct->tgt_efct.watermark_max - in efct_scsi_del_initiator() 1330 watermark = (efct->tgt_efct.watermark_min > watermark) ? in efct_scsi_del_initiator() 1331 efct->tgt_efct.watermark_min : watermark; in efct_scsi_del_initiator() 1332 atomic_set(&efct->tgt_efct.io_high_watermark, watermark); in efct_scsi_del_initiator()
|
/linux/Documentation/vm/ |
A 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.
|
/linux/drivers/spi/ |
A D | spi-fsl-lpspi.c | 110 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/mm/kasan/ |
A D | common.c | 79 asmlinkage void kasan_unpoison_task_stack_below(const void *watermark) in kasan_unpoison_task_stack_below() argument 86 void *base = (void *)((unsigned long)watermark & ~(THREAD_SIZE - 1)); in kasan_unpoison_task_stack_below() 88 kasan_unpoison(base, watermark - base, false); in kasan_unpoison_task_stack_below()
|
/linux/tools/perf/tests/attr/ |
A D | test-record-no-buffering | 8 watermark=0
|