/drivers/soc/tegra/fuse/ |
D | speedo-tegra124.c | 62 int *threshold) in rev_sku_to_speedo_ids() argument 70 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids() 88 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids() 96 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids() 104 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids() 115 int i, threshold, cpu_speedo_0_value, soc_speedo_0_value; in tegra124_init_speedo_data() local 144 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra124_init_speedo_data() 150 gpu_process_speedos[threshold][i]) in tegra124_init_speedo_data() 156 cpu_process_speedos[threshold][i]) in tegra124_init_speedo_data() 162 soc_process_speedos[threshold][i]) in tegra124_init_speedo_data()
|
D | speedo-tegra114.c | 45 int *threshold) in rev_sku_to_speedo_ids() argument 58 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids() 65 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids() 72 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids() 88 int threshold; in tegra114_init_speedo_data() local 96 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra114_init_speedo_data() 102 if (cpu_speedo_val < cpu_process_speedos[threshold][i]) in tegra114_init_speedo_data() 107 if (soc_speedo_val < soc_process_speedos[threshold][i]) in tegra114_init_speedo_data()
|
D | speedo-tegra210.c | 69 u8 speedo_rev, int *threshold) in rev_sku_to_speedo_ids() argument 77 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids()
|
/drivers/cpuidle/governors/ |
D | ladder.c | 33 } threshold; member 88 last_residency > last_state->threshold.promotion_time && in ladder_select_state() 92 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state() 114 last_residency < last_state->threshold.demotion_time) { in ladder_select_state() 117 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { in ladder_select_state() 149 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device() 150 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device() 153 lstate->threshold.promotion_time = state->exit_latency; in ladder_enable_device() 155 lstate->threshold.demotion_time = state->exit_latency; in ladder_enable_device()
|
/drivers/iio/humidity/ |
D | dht11.c | 79 static unsigned char dht11_decode_byte(int *timing, int threshold) in dht11_decode_byte() argument 86 if (timing[i] >= threshold) in dht11_decode_byte() 95 int i, t, timing[DHT11_BITS_PER_READ], threshold; in dht11_decode() local 98 threshold = DHT11_DATA_BIT_HIGH / timeres; in dht11_decode() 99 if (DHT11_DATA_BIT_LOW / timeres + 1 >= threshold) in dht11_decode() 111 hum_int = dht11_decode_byte(timing, threshold); in dht11_decode() 112 hum_dec = dht11_decode_byte(&timing[8], threshold); in dht11_decode() 113 temp_int = dht11_decode_byte(&timing[16], threshold); in dht11_decode() 114 temp_dec = dht11_decode_byte(&timing[24], threshold); in dht11_decode() 115 checksum = dht11_decode_byte(&timing[32], threshold); in dht11_decode()
|
/drivers/iio/adc/ |
D | xilinx-xadc-events.c | 174 *val = xadc->threshold[offset]; in xadc_read_event_value() 206 xadc->threshold[offset] = val; in xadc_write_event_value() 230 if (xadc->threshold[offset] < xadc->temp_hysteresis) in xadc_write_event_value() 231 xadc->threshold[offset + 4] = 0; in xadc_write_event_value() 233 xadc->threshold[offset + 4] = xadc->threshold[offset] - in xadc_write_event_value() 236 xadc->threshold[offset + 4]); in xadc_write_event_value()
|
/drivers/watchdog/ |
D | intel_scu_watchdog.c | 126 static int watchdog_set_ipc(int soft_threshold, int threshold) in watchdog_set_ipc() argument 134 ipc_wbuf[1] = threshold; in watchdog_set_ipc() 175 iowrite32(watchdog_device.threshold, in watchdog_timer_interrupt() 217 watchdog_device.threshold = in intel_scu_set_heartbeat() 229 watchdog_device.threshold); in intel_scu_set_heartbeat() 235 watchdog_device.threshold = in intel_scu_set_heartbeat() 236 watchdog_device.threshold / FREQ_ADJUSTMENT; in intel_scu_set_heartbeat() 245 watchdog_device.threshold); in intel_scu_set_heartbeat() 498 watchdog_device.threshold = in intel_scu_watchdog_init()
|
/drivers/md/persistent-data/ |
D | dm-space-map-metadata.c | 22 struct threshold { struct 25 dm_block_t threshold; member 31 static void threshold_init(struct threshold *t) in threshold_init() argument 37 static void set_threshold(struct threshold *t, dm_block_t value, in set_threshold() 41 t->threshold = value; in set_threshold() 46 static bool below_threshold(struct threshold *t, dm_block_t value) in below_threshold() 48 return t->threshold_set && value <= t->threshold; in below_threshold() 51 static bool threshold_already_triggered(struct threshold *t) in threshold_already_triggered() 56 static void check_threshold(struct threshold *t, dm_block_t value) in check_threshold() 177 struct threshold threshold; member [all …]
|
D | dm-space-map.h | 70 dm_block_t threshold, 146 dm_block_t threshold, in dm_sm_register_threshold_callback() argument 151 return sm->register_threshold_callback(sm, threshold, fn, context); in dm_sm_register_threshold_callback()
|
/drivers/gpu/host1x/hw/ |
D | host1x01_hardware.h | 30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 33 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 40 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
D | host1x02_hardware.h | 30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 33 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 40 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
D | host1x04_hardware.h | 30 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 33 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 37 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 40 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_sreset.c | 84 u8 threshold; in sreset_restore_network_station() local 92 threshold = 1; in sreset_restore_network_station() 94 threshold = 0; in sreset_restore_network_station() 96 threshold = 1; in sreset_restore_network_station() 98 rtl8723a_set_rxdma_agg_pg_th(padapter, threshold); in sreset_restore_network_station()
|
/drivers/input/misc/ |
D | gpio_tilt_polled.c | 36 int threshold; member 48 if (tdev->count < tdev->threshold) { in gpio_tilt_polled_poll() 85 tdev->count = tdev->threshold; in gpio_tilt_polled_open() 154 tdev->threshold = DIV_ROUND_UP(pdata->debounce_interval, in gpio_tilt_polled_probe()
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_mtl.c | 107 int threshold) in sxgbe_mtl_fc_active() argument 113 reg_val |= (threshold << RX_FC_ACTIVE); in sxgbe_mtl_fc_active() 128 int threshold) in sxgbe_mtl_fc_deactive() argument 134 reg_val |= (threshold << RX_FC_DEACTIVE); in sxgbe_mtl_fc_deactive()
|
D | sxgbe_mtl.h | 86 int threshold); 89 int threshold);
|
/drivers/gpu/drm/i915/ |
D | intel_fbc.c | 197 int threshold = dev_priv->fbc.threshold; in ilk_fbc_enable() local 204 threshold++; in ilk_fbc_enable() 206 switch (threshold) { in ilk_fbc_enable() 266 int threshold = dev_priv->fbc.threshold; in gen7_fbc_enable() local 275 threshold++; in gen7_fbc_enable() 277 switch (threshold) { in gen7_fbc_enable() 635 dev_priv->fbc.threshold = ret; in intel_fbc_alloc_cfb() 663 dev_priv->fbc.threshold); in intel_fbc_alloc_cfb()
|
/drivers/md/bcache/ |
D | io.c | 114 unsigned threshold = bio->bi_rw & REQ_WRITE in bch_bbio_count_io_errors() local 118 if (threshold) { in bch_bbio_count_io_errors() 124 if (us > (int) threshold) { in bch_bbio_count_io_errors()
|
/drivers/spi/ |
D | spi-pxa2xx.h | 91 u32 threshold; member 175 u32 *threshold); 195 u32 *threshold) in pxa2xx_spi_set_dma_burst_and_threshold() argument
|
/drivers/gpu/drm/bridge/ |
D | dw_hdmi-ahb-audio.c | 409 u8 threshold, conf0, conf1, layout, ca; in dw_hdmi_prepare() local 417 threshold = 126; in dw_hdmi_prepare() 419 threshold = 124; in dw_hdmi_prepare() 424 threshold = 128; in dw_hdmi_prepare() 434 runtime->hw.fifo_size = threshold * 32; in dw_hdmi_prepare() 449 writeb_relaxed(threshold, dw->data.base + HDMI_AHB_DMA_THRSLD); in dw_hdmi_prepare()
|
/drivers/i2c/busses/ |
D | i2c-omap.c | 206 u8 threshold; member 592 omap->threshold = clamp(size, (u8) 1, omap->fifo_size); in omap_i2c_resize_fifo() 599 buf |= ((omap->threshold - 1) << 8) | OMAP_I2C_BUF_RXFIF_CLR; in omap_i2c_resize_fifo() 603 buf |= (omap->threshold - 1) | OMAP_I2C_BUF_TXFIF_CLR; in omap_i2c_resize_fifo() 613 omap->latency = (1000000 * omap->threshold) / in omap_i2c_resize_fifo() 1089 if (omap->threshold) in omap_i2c_isr_thread() 1090 num_bytes = omap->threshold; in omap_i2c_isr_thread() 1116 if (omap->threshold) in omap_i2c_isr_thread() 1117 num_bytes = omap->threshold; in omap_i2c_isr_thread()
|
/drivers/crypto/caam/ |
D | Kconfig | 55 int "Job Ring interrupt coalescing count threshold" 66 int "Job Ring interrupt coalescing timer threshold" 73 threshold. Range is 1-65535.
|
/drivers/irqchip/ |
D | irq-omap-intc.c | 63 u32 threshold; member 94 intc_context.threshold = in omap_intc_save_context() 112 intc_writel(INTC_THRESHOLD, intc_context.threshold); in omap_intc_restore_context()
|
/drivers/input/touchscreen/ |
D | rohm_bu21023.c | 540 unsigned int threshold; in rohm_ts_soft_irq() local 577 threshold = untouch_threshold[prev_finger_count]; in rohm_ts_soft_irq() 578 if (++ts->contact_count[0] >= threshold) in rohm_ts_soft_irq() 583 threshold = single_touch_threshold[prev_finger_count]; in rohm_ts_soft_irq() 584 if (++ts->contact_count[1] >= threshold) in rohm_ts_soft_irq() 598 threshold = dual_touch_threshold[prev_finger_count]; in rohm_ts_soft_irq() 599 if (++ts->contact_count[2] >= threshold) in rohm_ts_soft_irq()
|
/drivers/staging/comedi/drivers/ |
D | quatech_daqp_cs.c | 466 int threshold; in daqp_ai_cmd() local 579 threshold = nbytes; in daqp_ai_cmd() 581 threshold = DAQP_FIFO_SIZE / 2; in daqp_ai_cmd() 599 outb((DAQP_FIFO_SIZE - threshold) & 0xff, in daqp_ai_cmd() 601 outb((DAQP_FIFO_SIZE - threshold) >> 8, dev->iobase + DAQP_AI_FIFO_REG); in daqp_ai_cmd()
|