watermark 47 arch/arm/mach-alpine/alpine_cpu_pm.c uint32_t watermark; watermark 57 arch/arm/mach-alpine/alpine_cpu_pm.c watermark = readl(&al_cpu_resume_regs->watermark); watermark 58 arch/arm/mach-alpine/alpine_cpu_pm.c wakeup_supported = (watermark & AL_CPU_RESUME_MAGIC_NUM_MASK) watermark 20 arch/arm/mach-alpine/alpine_cpu_resume.h uint32_t watermark; watermark 3272 arch/x86/events/intel/core.c if (!(event->attr.freq || (event->attr.wakeup_events && !event->attr.watermark))) { watermark 85 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h void (*watermark)(struct nvkm_ior *, int head, u8 watermark); watermark 427 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c ior->func->dp.watermark(ior, head->id, unk); watermark 29 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c g94_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) watermark 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c nvkm_mask(device, 0x61c128 + loff, 0x0000003f, watermark); watermark 275 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c .watermark = g94_sor_dp_watermark, watermark 29 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c gf119_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) watermark 33 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c nvkm_mask(device, 0x616610 + hoff, 0x0800003f, 0x08000000 | watermark); watermark 175 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c .watermark = gf119_sor_dp_watermark, watermark 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgk104.c .watermark = gf119_sor_dp_watermark, watermark 55 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm107.c .watermark = gf119_sor_dp_watermark, watermark 113 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c .watermark = gf119_sor_dp_watermark, watermark 57 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgt215.c .watermark = g94_sor_dp_watermark, watermark 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c gv100_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) watermark 31 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c nvkm_mask(device, 0x616550 + hoff, 0x0c00003f, 0x08000000 | watermark); watermark 101 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c .watermark = gv100_sor_dp_watermark, watermark 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/sormcp77.c .watermark = g94_sor_dp_watermark, watermark 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/sormcp89.c .watermark = g94_sor_dp_watermark, watermark 86 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c .watermark = gv100_sor_dp_watermark, watermark 457 drivers/gpu/drm/tegra/sor.c u32 watermark; watermark 910 drivers/gpu/drm/tegra/sor.c u64 input, output, watermark, num; watermark 956 drivers/gpu/drm/tegra/sor.c watermark = params.ratio * config->tu_size * (f - params.ratio); watermark 957 drivers/gpu/drm/tegra/sor.c watermark = div_u64(watermark, f); watermark 959 drivers/gpu/drm/tegra/sor.c watermark = div_u64(watermark + params.error, f); watermark 960 drivers/gpu/drm/tegra/sor.c config->watermark = watermark + (config->bits_per_pixel / 8) + 2; watermark 964 drivers/gpu/drm/tegra/sor.c if (config->watermark > 30) { watermark 965 drivers/gpu/drm/tegra/sor.c config->watermark = 30; watermark 968 drivers/gpu/drm/tegra/sor.c config->watermark); watermark 969 drivers/gpu/drm/tegra/sor.c } else if (config->watermark > num_syms_per_line) { watermark 970 drivers/gpu/drm/tegra/sor.c config->watermark = num_syms_per_line; watermark 972 drivers/gpu/drm/tegra/sor.c config->watermark); watermark 1007 drivers/gpu/drm/tegra/sor.c value |= SOR_DP_CONFIG_WATERMARK(config->watermark); watermark 189 drivers/i2c/busses/i2c-fsi.c u32 mode = I2C_MODE_ENHANCED, extended_status, watermark; watermark 207 drivers/i2c/busses/i2c-fsi.c watermark = FIELD_PREP(I2C_WATERMARK_HI, watermark 209 drivers/i2c/busses/i2c-fsi.c watermark |= FIELD_PREP(I2C_WATERMARK_LO, I2C_FIFO_LO_LVL); watermark 211 drivers/i2c/busses/i2c-fsi.c return fsi_i2c_write_reg(i2c->fsi, I2C_FSI_WATER_MARK, &watermark); watermark 266 drivers/iio/accel/adxl372.c u16 watermark; watermark 482 drivers/iio/accel/adxl372.c fifo_samples = (st->watermark * st->fifo_set_size); watermark 761 drivers/iio/accel/adxl372.c return sprintf(buf, "%d\n", st->watermark); watermark 787 drivers/iio/accel/adxl372.c st->watermark = val; watermark 827 drivers/iio/accel/adxl372.c if ((st->watermark * st->fifo_set_size) > ADXL372_FIFO_SIZE) watermark 828 drivers/iio/accel/adxl372.c st->watermark = (ADXL372_FIFO_SIZE / st->fifo_set_size); watermark 190 drivers/iio/accel/bmc150-accel-core.c u8 fifo_mode, watermark; watermark 771 drivers/iio/accel/bmc150-accel-core.c wm = data->watermark; watermark 830 drivers/iio/accel/bmc150-accel-core.c data->watermark = val; watermark 1394 drivers/iio/accel/bmc150-accel-core.c data->watermark); watermark 1418 drivers/iio/accel/bmc150-accel-core.c if (!data->watermark) watermark 364 drivers/iio/adc/at91-sama5d2_adc.c int watermark; watermark 853 drivers/iio/adc/at91-sama5d2_adc.c st->dma_st.rx_buf_sz *= st->dma_st.watermark; watermark 1064 drivers/iio/adc/at91-sama5d2_adc.c sample_size = div_s64(st->dma_st.rx_buf_sz, st->dma_st.watermark); watermark 1542 drivers/iio/adc/at91-sama5d2_adc.c st->dma_st.watermark = val; watermark 1608 drivers/iio/adc/at91-sama5d2_adc.c return scnprintf(buf, PAGE_SIZE, "%d\n", st->dma_st.watermark); watermark 1805 drivers/iio/adc/at91-sama5d2_adc.c st->dma_st.watermark = 1; watermark 1249 drivers/iio/adc/stm32-adc.c unsigned int watermark = STM32_DMA_BUFFER_SIZE / 2; watermark 1258 drivers/iio/adc/stm32-adc.c watermark = min(watermark, val * (unsigned)(sizeof(u16))); watermark 1259 drivers/iio/adc/stm32-adc.c adc->rx_buf_sz = min(rx_buf_sz, watermark * 2 * adc->num_conv); watermark 781 drivers/iio/adc/stm32-dfsdm-adc.c unsigned int watermark = DFSDM_DMA_BUFFER_SIZE / 2; watermark 790 drivers/iio/adc/stm32-dfsdm-adc.c watermark = min(watermark, val * (unsigned int)(sizeof(u32))); watermark 791 drivers/iio/adc/stm32-dfsdm-adc.c adc->buf_sz = min(rx_buf_sz, watermark * 2 * adc->nconv); watermark 105 drivers/iio/buffer/industrialio-buffer-cb.c size_t watermark) watermark 107 drivers/iio/buffer/industrialio-buffer-cb.c if (!watermark) watermark 109 drivers/iio/buffer/industrialio-buffer-cb.c cb_buff->buffer.watermark = watermark; watermark 595 drivers/iio/buffer/industrialio-buffer-dma.c buffer->watermark = length / 2; watermark 616 drivers/iio/buffer/industrialio-buffer-dma.c queue->buffer.watermark = queue->buffer.length / 2; watermark 282 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h u16 watermark; watermark 342 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h u16 watermark); watermark 232 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor, u16 watermark) watermark 252 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c cur_watermark = (cur_sensor == sensor) ? watermark watermark 253 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c : cur_sensor->watermark; watermark 638 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c err = st_lsm6dsx_update_watermark(sensor, sensor->watermark); watermark 1188 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c sensor->watermark = val; watermark 1461 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c sensor->watermark = 1; watermark 614 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c sensor->watermark = 1; watermark 130 drivers/iio/industrialio-buffer.c to_wait = min_t(size_t, n / datum_size, rb->watermark); watermark 178 drivers/iio/industrialio-buffer.c if (iio_buffer_ready(indio_dev, rb, rb->watermark, 0)) watermark 204 drivers/iio/industrialio-buffer.c if (!buffer->watermark) watermark 205 drivers/iio/industrialio-buffer.c buffer->watermark = 1; watermark 530 drivers/iio/industrialio-buffer.c if (buffer->length && buffer->length < buffer->watermark) watermark 531 drivers/iio/industrialio-buffer.c buffer->watermark = buffer->length; watermark 673 drivers/iio/industrialio-buffer.c unsigned int watermark; watermark 691 drivers/iio/industrialio-buffer.c config->watermark = ~0; watermark 707 drivers/iio/industrialio-buffer.c config->watermark = min(config->watermark, buffer->watermark); watermark 712 drivers/iio/industrialio-buffer.c config->watermark = min(config->watermark, watermark 713 drivers/iio/industrialio-buffer.c insert_buffer->watermark); watermark 943 drivers/iio/industrialio-buffer.c config->watermark); watermark 1161 drivers/iio/industrialio-buffer.c return sprintf(buf, "%u\n", buffer->watermark); watermark 1192 drivers/iio/industrialio-buffer.c buffer->watermark = val; watermark 1217 drivers/iio/industrialio-buffer.c static DEVICE_ATTR(watermark, S_IRUGO | S_IWUSR, watermark 1219 drivers/iio/industrialio-buffer.c static struct device_attribute dev_attr_watermark_ro = __ATTR(watermark, watermark 235 drivers/input/misc/adxl34x.c .watermark = 0, watermark 797 drivers/input/misc/adxl34x.c if (pdata->watermark) { watermark 850 drivers/input/misc/adxl34x.c SAMPLES(pdata->watermark)); watermark 635 drivers/md/bcache/alloc.c unsigned int watermark = write_prio watermark 641 drivers/md/bcache/alloc.c if (bch_bucket_alloc_set(c, watermark, &alloc.key, 1, wait)) watermark 2513 drivers/net/ethernet/marvell/skge.c u32 watermark = 0x600; watermark 2518 drivers/net/ethernet/marvell/skge.c watermark /= 2; watermark 2521 drivers/net/ethernet/marvell/skge.c skge_write32(hw, Q_ADDR(q, Q_F), watermark); watermark 133 drivers/net/wireless/intel/iwlwifi/fw/api/sf.h __le32 watermark[SF_TRANSIENT_STATES_NUMBER]; watermark 156 drivers/net/wireless/intel/iwlwifi/mvm/sf.c int i, j, watermark; watermark 158 drivers/net/wireless/intel/iwlwifi/mvm/sf.c sf_cmd->watermark[SF_LONG_DELAY_ON] = cpu_to_le32(SF_W_MARK_SCAN); watermark 168 drivers/net/wireless/intel/iwlwifi/mvm/sf.c watermark = SF_W_MARK_SISO; watermark 171 drivers/net/wireless/intel/iwlwifi/mvm/sf.c watermark = SF_W_MARK_MIMO2; watermark 174 drivers/net/wireless/intel/iwlwifi/mvm/sf.c watermark = SF_W_MARK_MIMO3; watermark 178 drivers/net/wireless/intel/iwlwifi/mvm/sf.c watermark = SF_W_MARK_LEGACY; watermark 182 drivers/net/wireless/intel/iwlwifi/mvm/sf.c watermark = SF_W_MARK_MIMO2; watermark 184 drivers/net/wireless/intel/iwlwifi/mvm/sf.c sf_cmd->watermark[SF_FULL_ON] = cpu_to_le32(watermark); watermark 114 drivers/spi/spi-fsl-lpspi.c u8 watermark; watermark 309 drivers/spi/spi-fsl-lpspi.c temp = fsl_lpspi->watermark >> 1 | watermark 310 drivers/spi/spi-fsl-lpspi.c (fsl_lpspi->watermark >> 1) << 16; watermark 312 drivers/spi/spi-fsl-lpspi.c temp = fsl_lpspi->watermark >> 1; watermark 467 drivers/spi/spi-fsl-lpspi.c fsl_lpspi->watermark = t->len; watermark 469 drivers/spi/spi-fsl-lpspi.c fsl_lpspi->watermark = fsl_lpspi->txfifosize; watermark 1103 drivers/tty/serial/msm_serial.c unsigned int rxstale, watermark, mask; watermark 1123 drivers/tty/serial/msm_serial.c watermark = UART_IPR_STALE_LSB & rxstale; watermark 1127 drivers/tty/serial/msm_serial.c watermark |= UART_IPR_RXSTALE_LAST; watermark 1131 drivers/tty/serial/msm_serial.c watermark |= mask & (rxstale << 2); watermark 1133 drivers/tty/serial/msm_serial.c msm_write(port, watermark, UART_IPR); watermark 1136 drivers/tty/serial/msm_serial.c watermark = (port->fifosize * 3) / 4; watermark 1137 drivers/tty/serial/msm_serial.c msm_write(port, watermark, UART_RFWR); watermark 273 drivers/video/fbdev/i810/i810.h u32 watermark; watermark 330 drivers/video/fbdev/i810/i810_main.c i810_writel(FW_BLC, mmio, par->watermark); watermark 1182 drivers/video/fbdev/i810/i810_main.c par->watermark = i810_get_watermark(var, par); watermark 96 include/linux/iio/buffer_impl.h unsigned int watermark; watermark 142 include/linux/iio/consumer.h size_t watermark); watermark 269 include/linux/input/adxl34x.h u8 watermark; watermark 41 include/linux/kasan.h void kasan_unpoison_stack_above_sp_to(const void *watermark); watermark 94 include/linux/kasan.h static inline void kasan_unpoison_stack_above_sp_to(const void *watermark) {} watermark 27 include/linux/page_counter.h unsigned long watermark; watermark 64 include/linux/page_counter.h counter->watermark = page_counter_read(counter); watermark 349 include/uapi/linux/perf_event.h watermark : 1, /* wakeup_watermark */ watermark 5873 kernel/events/core.c event->attr.watermark ? event->attr.wakeup_watermark : 0, watermark 6509 kernel/events/core.c if (!event->attr.watermark) { watermark 32 kernel/events/internal.h long watermark; /* wakeup watermark */ watermark 79 kernel/events/internal.h rb_alloc(int nr_pages, long watermark, int cpu, int flags); watermark 82 kernel/events/internal.h pgoff_t pgoff, int nr_pages, long watermark, int flags); watermark 229 kernel/events/ring_buffer.c if (unlikely(head - local_read(&rb->wakeup) > rb->watermark)) watermark 230 kernel/events/ring_buffer.c local_add(rb->watermark, &rb->wakeup); watermark 304 kernel/events/ring_buffer.c ring_buffer_init(struct ring_buffer *rb, long watermark, int flags) watermark 308 kernel/events/ring_buffer.c if (watermark) watermark 309 kernel/events/ring_buffer.c rb->watermark = min(max_size, watermark); watermark 311 kernel/events/ring_buffer.c if (!rb->watermark) watermark 312 kernel/events/ring_buffer.c rb->watermark = max_size / 2; watermark 630 kernel/events/ring_buffer.c pgoff_t pgoff, int nr_pages, long watermark, int flags) watermark 706 kernel/events/ring_buffer.c rb->aux_watermark = watermark; watermark 757 kernel/events/ring_buffer.c struct ring_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) watermark 785 kernel/events/ring_buffer.c ring_buffer_init(rb, watermark, flags); watermark 866 kernel/events/ring_buffer.c struct ring_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) watermark 892 kernel/events/ring_buffer.c ring_buffer_init(rb, watermark, flags); watermark 1963 mm/compaction.c unsigned long watermark; watermark 1968 mm/compaction.c watermark = wmark_pages(zone, alloc_flags & ALLOC_WMARK_MASK); watermark 1973 mm/compaction.c if (zone_watermark_ok(zone, order, watermark, classzone_idx, watermark 1991 mm/compaction.c watermark = (order > PAGE_ALLOC_COSTLY_ORDER) ? watermark 1993 mm/compaction.c watermark += compact_gap(order); watermark 1994 mm/compaction.c if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx, watermark 278 mm/hugetlb_cgroup.c return (u64)counter->watermark * PAGE_SIZE; watermark 187 mm/kasan/common.c asmlinkage void kasan_unpoison_task_stack_below(const void *watermark) watermark 194 mm/kasan/common.c void *base = (void *)((unsigned long)watermark & ~(THREAD_SIZE - 1)); watermark 196 mm/kasan/common.c kasan_unpoison_shadow(base, watermark - base); watermark 204 mm/kasan/common.c void kasan_unpoison_stack_above_sp_to(const void *watermark) watermark 207 mm/kasan/common.c size_t size = watermark - sp; watermark 209 mm/kasan/common.c if (WARN_ON(sp > watermark)) watermark 211 mm/kasan/kasan.h asmlinkage void kasan_unpoison_task_stack_below(const void *watermark); watermark 3463 mm/memcontrol.c return (u64)counter->watermark * PAGE_SIZE; watermark 3139 mm/page_alloc.c unsigned long watermark; watermark 3155 mm/page_alloc.c watermark = zone->_watermark[WMARK_MIN] + (1UL << order); watermark 3156 mm/page_alloc.c if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA)) watermark 85 mm/page_counter.c if (new > c->watermark) watermark 86 mm/page_counter.c c->watermark = new; watermark 138 mm/page_counter.c if (new > c->watermark) watermark 139 mm/page_counter.c c->watermark = new; watermark 2920 mm/vmscan.c unsigned long watermark; watermark 2940 mm/vmscan.c watermark = high_wmark_pages(zone) + compact_gap(sc->order); watermark 2942 mm/vmscan.c return zone_watermark_ok_safe(zone, 0, watermark, sc->reclaim_idx); watermark 349 tools/include/uapi/linux/perf_event.h watermark : 1, /* wakeup_watermark */ watermark 719 tools/perf/arch/arm/util/cs-etm.c u64 i, watermark; watermark 727 tools/perf/arch/arm/util/cs-etm.c watermark = buf_size - 512; watermark 747 tools/perf/arch/arm/util/cs-etm.c if (head > watermark) watermark 748 tools/perf/arch/arm/util/cs-etm.c watermark = head; watermark 753 tools/perf/arch/arm/util/cs-etm.c watermark >>= 3; watermark 760 tools/perf/arch/arm/util/cs-etm.c for (i = watermark; i < buf_size; i++) watermark 1051 tools/perf/builtin-kvm.c attr->watermark = 0; watermark 120 tools/perf/tests/attr.c WRITE_ASS(watermark, "d"); watermark 100 tools/perf/tests/task-exit.c evsel->core.attr.watermark = 0; watermark 428 tools/perf/util/bpf-event.c .watermark = 1, watermark 1066 tools/perf/util/evsel.c attr->watermark = 0; watermark 117 tools/perf/util/perf_event_attr_fprintf.c PRINT_ATTRf(watermark, p_unsigned); watermark 747 tools/perf/util/python.c watermark = 0, watermark 761 tools/perf/util/python.c &enable_on_exec, &task, &watermark, watermark 790 tools/perf/util/python.c attr.watermark = watermark;