/drivers/soc/tegra/fuse/ |
D | speedo-tegra124.c | 51 int *threshold) in rev_sku_to_speedo_ids() argument 59 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids() 77 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids() 85 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids() 93 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids() 104 int i, threshold, soc_speedo_0_value; in tegra124_init_speedo_data() local 124 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra124_init_speedo_data() 130 gpu_process_speedos[threshold][i]) in tegra124_init_speedo_data() 136 cpu_process_speedos[threshold][i]) in tegra124_init_speedo_data() 142 soc_process_speedos[threshold][i]) in tegra124_init_speedo_data()
|
D | speedo-tegra114.c | 34 int *threshold) in rev_sku_to_speedo_ids() argument 47 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids() 54 *threshold = THRESHOLD_INDEX_1; in rev_sku_to_speedo_ids() 61 *threshold = THRESHOLD_INDEX_0; in rev_sku_to_speedo_ids() 77 int threshold; in tegra114_init_speedo_data() local 85 rev_sku_to_speedo_ids(sku_info, &threshold); in tegra114_init_speedo_data() 91 if (cpu_speedo_val < cpu_process_speedos[threshold][i]) in tegra114_init_speedo_data() 96 if (soc_speedo_val < soc_process_speedos[threshold][i]) in tegra114_init_speedo_data()
|
/drivers/cpuidle/governors/ |
D | ladder.c | 32 } threshold; member 89 last_residency > last_state->threshold.promotion_time_ns && in ladder_select_state() 93 if (last_state->stats.promotion_count >= last_state->threshold.promotion_count) { in ladder_select_state() 114 last_residency < last_state->threshold.demotion_time_ns) { in ladder_select_state() 117 if (last_state->stats.demotion_count >= last_state->threshold.demotion_count) { in ladder_select_state() 150 lstate->threshold.promotion_count = PROMOTION_COUNT; in ladder_enable_device() 151 lstate->threshold.demotion_count = DEMOTION_COUNT; in ladder_enable_device() 154 lstate->threshold.promotion_time_ns = state->exit_latency_ns; in ladder_enable_device() 156 lstate->threshold.demotion_time_ns = state->exit_latency_ns; in ladder_enable_device()
|
/drivers/staging/axis-fifo/ |
D | axis-fifo.txt | 38 - xlnx,rx-fifo-pe-threshold: RX programmable empty interrupt threshold 40 - xlnx,rx-fifo-pf-threshold: RX programmable full interrupt threshold 46 - xlnx,tx-fifo-pe-threshold: TX programmable empty interrupt threshold 48 - xlnx,tx-fifo-pf-threshold: TX programmable full interrupt threshold 80 xlnx,rx-fifo-pe-threshold = <0x2>; 81 xlnx,rx-fifo-pf-threshold = <0x1fb>; 86 xlnx,tx-fifo-pe-threshold = <0x200>; 87 xlnx,tx-fifo-pf-threshold = <0x7ffb>;
|
/drivers/gpu/host1x/hw/ |
D | channel_hw.c | 50 static void submit_wait(struct host1x_cdma *cdma, u32 id, u32 threshold, in submit_wait() argument 61 threshold, in submit_wait() 73 host1x_class_host_wait_syncpt(id, threshold) in submit_wait() 89 u32 threshold; in submit_gathers() local 96 threshold = job_syncpt_base + cmd->wait.threshold; in submit_gathers() 98 threshold = cmd->wait.threshold; in submit_gathers() 100 submit_wait(cdma, cmd->wait.id, threshold, cmd->wait.next_class); in submit_gathers()
|
D | host1x05_hardware.h | 19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
D | host1x01_hardware.h | 19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
D | host1x02_hardware.h | 19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
D | host1x04_hardware.h | 19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
D | host1x06_hardware.h | 20 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 23 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 27 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 30 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
D | host1x07_hardware.h | 20 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument 23 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt() 27 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument 30 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
|
/drivers/staging/media/atomisp/pci/isp/kernels/anr/anr_1.0/ |
D | ia_css_anr.host.c | 40 to->threshold = from->threshold; in ia_css_anr_encode() 51 "anr_threshold", anr->threshold); in ia_css_anr_dump() 61 config->threshold); in ia_css_anr_debug_dtrace()
|
/drivers/gpu/host1x/ |
D | fence.c | 26 u32 threshold; member 54 if (host1x_syncpt_is_expired(sf->sp, sf->threshold)) in host1x_syncpt_fence_enable_signaling() 71 err = host1x_intr_add_action(sf->sp->host, sf->sp, sf->threshold, in host1x_syncpt_fence_enable_signaling() 146 struct dma_fence *host1x_fence_create(struct host1x_syncpt *sp, u32 threshold) in host1x_fence_create() argument 161 fence->threshold = threshold; in host1x_fence_create()
|
/drivers/staging/vt6656/ |
D | baseband.c | 440 const struct vnt_threshold *threshold = NULL; in vnt_update_pre_ed_threshold() local 450 threshold = al2230_vnt_threshold; in vnt_update_pre_ed_threshold() 456 threshold = vt3226_vnt_threshold; in vnt_update_pre_ed_threshold() 461 threshold = vt3342_vnt_threshold; in vnt_update_pre_ed_threshold() 466 if (!threshold) in vnt_update_pre_ed_threshold() 470 if (priv->bb_pre_ed_rssi <= threshold[ed_inx].bb_pre_ed_rssi) in vnt_update_pre_ed_threshold() 474 cr_201 = threshold[ed_inx].cr_201; in vnt_update_pre_ed_threshold() 475 cr_206 = threshold[ed_inx].cr_206; in vnt_update_pre_ed_threshold()
|
/drivers/md/persistent-data/ |
D | dm-space-map-metadata.c | 23 struct threshold { struct 26 dm_block_t threshold; argument 32 static void threshold_init(struct threshold *t) in threshold_init() argument 38 static void set_threshold(struct threshold *t, dm_block_t value, in set_threshold() 42 t->threshold = value; in set_threshold() 47 static bool below_threshold(struct threshold *t, dm_block_t value) in below_threshold() 49 return t->threshold_set && value <= t->threshold; in below_threshold() 52 static bool threshold_already_triggered(struct threshold *t) in threshold_already_triggered() 57 static void check_threshold(struct threshold *t, dm_block_t value) in check_threshold() 178 struct threshold threshold; member [all …]
|
D | dm-space-map.h | 70 dm_block_t threshold, 156 dm_block_t threshold, in dm_sm_register_threshold_callback() argument 161 return sm->register_threshold_callback(sm, threshold, fn, context); in dm_sm_register_threshold_callback()
|
/drivers/iio/adc/ |
D | xilinx-xadc-events.c | 168 *val = xadc->threshold[offset]; in xadc_read_event_value() 202 xadc->threshold[offset] = val; in xadc_write_event_value() 226 if (xadc->threshold[offset] < xadc->temp_hysteresis) in xadc_write_event_value() 227 xadc->threshold[offset + 4] = 0; in xadc_write_event_value() 229 xadc->threshold[offset + 4] = xadc->threshold[offset] - in xadc_write_event_value() 232 xadc->threshold[offset + 4]); in xadc_write_event_value()
|
/drivers/nvme/host/ |
D | hwmon.c | 22 unsigned int threshold = sensor << NVME_TEMP_THRESH_SELECT_SHIFT; in nvme_get_temp_thresh() local 27 threshold |= NVME_TEMP_THRESH_TYPE_UNDER; in nvme_get_temp_thresh() 29 ret = nvme_get_features(ctrl, NVME_FEAT_TEMP_THRESH, threshold, NULL, 0, in nvme_get_temp_thresh() 43 unsigned int threshold = sensor << NVME_TEMP_THRESH_SELECT_SHIFT; in nvme_set_temp_thresh() local 47 threshold |= clamp_val(temp, 0, NVME_TEMP_THRESH_MASK); in nvme_set_temp_thresh() 50 threshold |= NVME_TEMP_THRESH_TYPE_UNDER; in nvme_set_temp_thresh() 52 ret = nvme_set_features(ctrl, NVME_FEAT_TEMP_THRESH, threshold, NULL, 0, in nvme_set_temp_thresh()
|
/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ |
D | ia_css_ynr.host.c | 46 to->threshold = in ia_css_nr_encode() 87 from->ee.threshold) >> 8; in ia_css_yee_encode() 90 from->ee.threshold) >> 8; in ia_css_yee_encode() 122 "ynr_threshold", ynr->threshold); in ia_css_nr_dump() 209 config->threshold, config->gain, config->detail_gain); in ia_css_ee_debug_dtrace()
|
/drivers/iio/light/ |
D | max44009.c | 346 int reg, threshold; in max44009_write_event_value() local 351 threshold = max44009_threshold_byte_from_fraction(val, val2); in max44009_write_event_value() 352 if (threshold < 0) in max44009_write_event_value() 353 return threshold; in max44009_write_event_value() 359 return i2c_smbus_write_byte_data(data->client, reg, threshold); in max44009_write_event_value() 405 int threshold; in max44009_read_event_value() local 413 threshold = ret; in max44009_read_event_value() 415 *val = threshold * MAX44009_SCALE_NUMERATOR; in max44009_read_event_value()
|
/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_1.0/ |
D | ia_css_xnr.host.c | 46 to->threshold = in ia_css_xnr_encode() 47 (uint16_t)uDIGIT_FITTING(from->threshold, 16, SH_CSS_ISP_YUV_BITS); in ia_css_xnr_encode() 65 "config.threshold=%d\n", config->threshold); in ia_css_xnr_debug_dtrace()
|
/drivers/dma/ |
D | stm32-dma.c | 208 u32 threshold; member 270 u32 threshold) in stm32_dma_get_max_width() argument 274 if (threshold == STM32_DMA_FIFO_THRESHOLD_FULL) in stm32_dma_get_max_width() 289 static bool stm32_dma_fifo_threshold_is_allowed(u32 burst, u32 threshold, in stm32_dma_fifo_threshold_is_allowed() argument 294 if (threshold == STM32_DMA_FIFO_THRESHOLD_NONE) in stm32_dma_fifo_threshold_is_allowed() 304 (threshold + 1) / 4) % burst; in stm32_dma_fifo_threshold_is_allowed() 316 static bool stm32_dma_is_burst_possible(u32 buf_len, u32 threshold) in stm32_dma_is_burst_possible() argument 319 if (threshold == STM32_DMA_FIFO_THRESHOLD_NONE) in stm32_dma_is_burst_possible() 327 return ((buf_len % ((threshold + 1) * 4)) == 0); in stm32_dma_is_burst_possible() 330 static u32 stm32_dma_get_best_burst(u32 buf_len, u32 max_burst, u32 threshold, in stm32_dma_get_best_burst() argument [all …]
|
/drivers/thermal/qcom/ |
D | Kconfig | 10 Also able to set threshold temperature for both hot and cold and update 11 when a threshold is reached. 21 Thermal client sets threshold temperature for both warm and cool and 22 gets updated when a threshold is reached.
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_mtl.c | 104 int threshold) in sxgbe_mtl_fc_active() argument 110 reg_val |= (threshold << RX_FC_ACTIVE); in sxgbe_mtl_fc_active() 125 int threshold) in sxgbe_mtl_fc_deactive() argument 131 reg_val |= (threshold << RX_FC_DEACTIVE); in sxgbe_mtl_fc_deactive()
|
/drivers/usb/typec/tcpm/ |
D | tcpci.c | 364 unsigned int pwr_ctrl, threshold = 0; in tcpci_set_auto_vbus_discharge_threshold() local 380 threshold = AUTO_DISCHARGE_DEFAULT_THRESHOLD_MV; in tcpci_set_auto_vbus_discharge_threshold() 383 threshold = ((VPPS_NEW_MIN_PERCENT * requested_vbus_voltage_mv / 100) - in tcpci_set_auto_vbus_discharge_threshold() 387 threshold = ((VSRC_NEW_MIN_PERCENT * requested_vbus_voltage_mv / 100) - in tcpci_set_auto_vbus_discharge_threshold() 392 threshold = AUTO_DISCHARGE_DEFAULT_THRESHOLD_MV; in tcpci_set_auto_vbus_discharge_threshold() 395 threshold = threshold / TCPC_VBUS_SINK_DISCONNECT_THRESH_LSB_MV; in tcpci_set_auto_vbus_discharge_threshold() 397 if (threshold > TCPC_VBUS_SINK_DISCONNECT_THRESH_MAX) in tcpci_set_auto_vbus_discharge_threshold() 401 return tcpci_write16(tcpci, TCPC_VBUS_SINK_DISCONNECT_THRESH, threshold); in tcpci_set_auto_vbus_discharge_threshold()
|