/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_counters.c | 647 fc_pool->threshold = 0; 666 fc_pool->threshold = min_t(int, MLX5_FC_POOL_MAX_THRESHOLD, 764 if (fc_pool->available_fcs > fc_pool->threshold)
|
/linux-master/drivers/spi/ |
H A D | spi-cadence.c | 146 * In host mode baud rate divisor is set to 4, threshold value for TX FIFO 375 int threshold = cdns_spi_read(xspi, CDNS_SPI_THLD); local 378 if (threshold > 1) 379 trans_cnt -= threshold; 381 /* Set threshold to one if number of pending are 441 /* Set TX empty threshold to half of FIFO depth 515 * IP. The FIFO threshold register is sized so that its maximum value can be the
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | navi10_ih.c | 93 * @threshold: threshold to trigger the wptr reporting 97 * threshold input range: 0 ~ 15, default 0, 98 * real_threshold = 2^threshold 106 u32 threshold, u32 timeout, bool enabled) 121 RB_USED_INT_THRESHOLD, threshold); 132 RB_USED_INT_THRESHOLD, threshold); 105 force_update_wptr_for_self_int(struct amdgpu_device *adev, u32 threshold, u32 timeout, bool enabled) argument
|
/linux-master/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-hw.c | 291 val |= set_thd->panic_set_thd_y.threshold << set_thd->panic_set_thd_y.offset; 294 val |= set_thd->panic_set_thd_u.threshold << set_thd->panic_set_thd_u.offset; 297 val |= set_thd->panic_set_thd_v.threshold << set_thd->panic_set_thd_v.offset;
|
/linux-master/tools/tracing/latency/ |
H A D | latency-collector.c | 107 static const char *threshold = DFLT_THRESHOLD_US; variable 610 restore_file(TR_THRESH, &save_state.thresh, threshold); 1442 write_file(TR_THRESH, save_state.thresh, threshold, ERR_CLEANUP); 1702 "-s, --threshold TH\tConfigure ftrace to use a threshold of TH microseconds\n" 1834 { "threshold", required_argument, 0, 's' }, 1890 check_alldigits(optarg, "-s [--threshold]"); 1891 threshold = strdup(optarg); 2071 if (!strcmp(threshold, "0")) 2074 printf("Threshold:\t\t\t\t\t\t%s\n", threshold); [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | arkfb.c | 111 static int threshold = 4; variable 113 module_param(threshold, int, 0644); 114 MODULE_PARM_DESC(threshold, "FIFO threshold"); 680 /* Set the FIFO threshold register */ 682 regval = 0x10 | ((threshold & 0x0E) >> 1) | (threshold & 0x01) << 7 | (threshold & 0x10) << 1;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | devices.c | 28 * For 1000, use advance thermal throttling critical temperature threshold, 345 s32 threshold = (s32)celsius_to_kelvin(CT_KILL_THRESHOLD_LEGACY) - local 348 priv->hw_params.ct_kill_threshold = threshold * volt2temp_coef;
|
H A D | rx.c | 142 int threshold = priv->plcp_delta_threshold; local 144 if (threshold == IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE) { 158 if ((delta * 100 / msecs) > threshold) { 160 "plcp health threshold %u delta %d msecs %u\n", 161 threshold, delta, msecs);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_buffers.c | 1391 NL_SET_ERR_MSG_MOD(extack, "Changing this pool's threshold type is forbidden"); 1417 u32 threshold, u32 *p_max_buff, 1425 val = threshold + MLXSW_SP_SB_THRESHOLD_TO_ALPHA_OFFSET; 1428 NL_SET_ERR_MSG_MOD(extack, "Invalid dynamic threshold value"); 1433 *p_max_buff = mlxsw_sp_bytes_cells(mlxsw_sp, threshold); 1456 u32 threshold, struct netlink_ext_ack *extack) 1466 NL_SET_ERR_MSG_MOD(extack, "Changing CPU port's threshold is forbidden"); 1471 threshold, &max_buff, extack); 1502 u16 pool_index, u32 threshold, 1535 if (cm->freeze_thresh && cm->max_buff != threshold) { 1416 mlxsw_sp_sb_threshold_in(struct mlxsw_sp *mlxsw_sp, u16 pool_index, u32 threshold, u32 *p_max_buff, struct netlink_ext_ack *extack) argument 1454 mlxsw_sp_sb_port_pool_set(struct mlxsw_core_port *mlxsw_core_port, unsigned int sb_index, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument 1499 mlxsw_sp_sb_tc_pool_bind_set(struct mlxsw_core_port *mlxsw_core_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpni-cmd.h | 516 __le32 threshold; member in struct:dpni_cmd_set_taildrop 535 __le32 threshold; member in struct:dpni_rsp_get_taildrop
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | drxk_hard.h | 179 u16 threshold; member in struct:drxk_cfg_dvbt_echo_thres_t
|
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | acx.c | 337 wl1251_debug(DEBUG_ACX, "acx data pd threshold"); 343 /* FIXME: threshold value not set */ 347 wl1251_warning("failed to set pd threshold: %d", ret); 442 wl1251_debug(DEBUG_ACX, "acx rts threshold"); 448 rts->threshold = rts_threshold; 452 wl1251_warning("failed to set rts threshold: %d", ret); 624 wl1251_debug(DEBUG_ACX, "acx cca threshold"); 636 wl1251_warning("failed to set cca threshold: %d", ret); 721 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, argument 733 rssi->threshold [all...] |
H A D | acx.h | 317 u32 threshold; member in struct:acx_packet_detection 384 u16 threshold; member in struct:acx_rts_threshold 391 * as long as the average RSSI is below the threshold. 397 * only when the RSSI threshold is crossed from above. 406 * The threshold (in dBm) below (or above after low rssi 410 s8 threshold; member in struct:acx_low_rssi 686 /* The RX Clear Channel Assessment threshold in the PHY */ 1465 int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight,
|
/linux-master/include/uapi/drm/ |
H A D | tegra_drm.h | 492 * The threshold of the syncpoint associated with this job after it 844 * commands. The threshold is calculated relative to the start of the job. 1030 * @threshold: [in] 1034 __u32 threshold; member in struct:drm_tegra_syncpoint_wait
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-btree-remove.c | 250 unsigned int threshold = 2 * (merge_threshold(left) + 1); local 252 if (nr_left + nr_right < threshold) { 429 unsigned int threshold = merge_threshold(left) * 4 + 1; local 437 if ((nr_left + nr_center + nr_right) < threshold) {
|
/linux-master/sound/pci/asihpi/ |
H A D | hpi.h | 1014 /** Stream wait cancelled before threshold reached. */ 1675 u16 hpi_tone_detector_set_threshold(u32 hC, int threshold); 1677 u16 hpi_tone_detector_get_threshold(u32 hC, int *threshold); 1698 u16 hpi_silence_detector_set_threshold(u32 hC, int threshold); 1700 u16 hpi_silence_detector_get_threshold(u32 hC, int *threshold);
|
/linux-master/drivers/iio/adc/ |
H A D | xilinx-xadc.h | 50 uint16_t threshold[16]; member in struct:xadc
|
/linux-master/sound/soc/uniphier/ |
H A D | aio.h | 259 u32 threshold; member in struct:uniphier_aio_sub
|
/linux-master/include/linux/ |
H A D | thermal.h | 64 * @threshold: trip crossing notification threshold miliCelsius 72 int threshold; member in struct:thermal_trip 269 /* threshold below which the error is no longer accumulated */
|
/linux-master/arch/x86/entry/ |
H A D | entry_fred.c | 111 SYSVEC(THRESHOLD_APIC_VECTOR, threshold),
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb.c | 1310 u32 threshold; local 1314 /* Set the threshold and fifo_size based on number of ports */ 1317 threshold = I40E_DCB_1_PORT_THRESHOLD; 1322 threshold = I40E_DCB_2_PORT_THRESHOLD_HIGH_NUM_TC; 1325 threshold = I40E_DCB_2_PORT_THRESHOLD_LOW_NUM_TC; 1331 threshold = I40E_DCB_4_PORT_THRESHOLD_HIGH_NUM_TC; 1334 threshold = I40E_DCB_4_PORT_THRESHOLD_LOW_NUM_TC; 1350 reg |= FIELD_PREP(I40E_PRT_SWR_PM_THR_THRESHOLD_MASK, threshold); 1573 * watermarks and threshold values. 1676 /* Program the shared pool low threshold an [all...] |
/linux-master/drivers/block/zram/ |
H A D | zram_drv.c | 1571 u32 threshold, u32 prio, u32 prio_max) 1592 if (comp_len_old < threshold) 1631 (threshold && comp_len_new >= threshold)) { 1664 /* Successful recompression but above threshold */ 1665 if (threshold && comp_len_new >= threshold) 1713 u32 mode = 0, threshold = 0; local 1735 if (!strcmp(param, "threshold")) { 1740 ret = kstrtouint(val, 10, &threshold); 1570 zram_recompress(struct zram *zram, u32 index, struct page *page, u32 threshold, u32 prio, u32 prio_max) argument [all...] |
/linux-master/drivers/input/touchscreen/ |
H A D | edt-ft5x06.c | 131 int threshold; member in struct:edt_ft5x06_ts_data 518 static EDT_ATTR(threshold, S_IWUSR | S_IRUGO, WORK_REGISTER_THRESHOLD, 590 regmap_write(regmap, reg_addr->reg_threshold, tsdata->threshold); 987 error = device_property_read_u32(dev, "threshold", &val); 990 tsdata->threshold = val; 1027 regmap_read(regmap, reg_addr->reg_threshold, &tsdata->threshold);
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | acx.c | 283 * If the RTS threshold is not configured or out of range, use the 289 wl1271_debug(DEBUG_ACX, "acx rts threshold: %d", rts_threshold); 298 rts->threshold = cpu_to_le16((u16)rts_threshold); 302 wl1271_warning("failed to set rts threshold: %d", ret); 442 u32 threshold = ACX_CONN_MONIT_DISABLE_VALUE; local 456 threshold = wl->conf.conn.synch_fail_thold; 461 acx->synch_fail_thold = cpu_to_le32(threshold); 542 wl1271_debug(DEBUG_ACX, "acx cca threshold"); 556 wl1271_warning("failed to set cca threshold: %d", ret); 908 wl1271_debug(DEBUG_ACX, "acx frag threshold [all...] |
/linux-master/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_phyp.c | 239 u64 threshold = local 253 threshold); /* R12 */
|