/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ptp.c | 161 static int ptp_set_thresh(struct otx2_ptp *ptp, u64 thresh) argument 173 req->thresh = thresh; 311 if (ptp->thresh != new_thresh) { 315 ptp->thresh = new_thresh;
|
/linux-master/drivers/input/mouse/ |
H A D | trackpoint.c | 191 TRACKPOINT_INT_ATTR(thresh, TP_THRESH, TP_DEF_THRESH); 333 TRACKPOINT_UPDATE(in_power_on_state, psmouse, tp, thresh); 354 TRACKPOINT_SET_POWER_ON_DEFAULT(tp, thresh);
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-fpa-defs.h | 1079 uint64_t thresh:32; member in struct:cvmx_fpa_packet_threshold::cvmx_fpa_packet_threshold_s 1081 uint64_t thresh:32; 1118 uint64_t thresh:32; member in struct:cvmx_fpa_poolx_threshold::cvmx_fpa_poolx_threshold_s 1120 uint64_t thresh:32; 1127 uint64_t thresh:29; member in struct:cvmx_fpa_poolx_threshold::cvmx_fpa_poolx_threshold_cn61xx 1129 uint64_t thresh:29; 1244 uint64_t thresh:32; member in struct:cvmx_fpa_wqe_threshold::cvmx_fpa_wqe_threshold_s 1246 uint64_t thresh:32;
|
/linux-master/include/linux/ |
H A D | host1x.h | 210 int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, 349 void host1x_job_add_wait(struct host1x_job *job, u32 id, u32 thresh,
|
H A D | writeback.h | 357 unsigned long wb_calc_thresh(struct bdi_writeback *wb, unsigned long thresh);
|
/linux-master/fs/btrfs/ |
H A D | space-info.c | 860 u64 thresh; local 863 thresh = mult_perc(space_info->total_bytes, 90); 869 global_rsv_size) >= thresh) 922 thresh = calc_available_free_space(fs_info, space_info, 927 thresh += space_info->total_bytes - used; 928 thresh >>= space_info->clamp; 963 return (used >= thresh && !btrfs_fs_closing(fs_info) &&
|
H A D | sysfs.c | 914 int thresh; local 917 ret = kstrtoint(buf, 10, &thresh); 921 if (thresh < 0 || thresh > 100) 924 WRITE_ONCE(space_info->bg_reclaim_threshold, thresh); 1288 int thresh; local 1291 ret = kstrtoint(buf, 10, &thresh); 1296 if (thresh != 0 && (thresh > 100)) 1299 if (thresh ! [all...] |
/linux-master/arch/arm/mach-pxa/ |
H A D | sharpsl_pm.c | 183 struct battery_thresh *thresh; local 186 thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_acin; 188 thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noac; 190 while (i > 0 && (voltage > thresh[i].voltage)) 193 return thresh[i].percentage;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | ptp.c | 444 static int ptp_set_thresh(struct ptp *ptp, u64 thresh) argument 447 writeq(thresh, ptp->reg_base + PTP_PPS_THRESH_HI); 646 err = ptp_set_thresh(rvu->ptp, req->thresh);
|
/linux-master/net/ipv4/ |
H A D | tcp_cdg.c | 175 s32 thresh = max(ca->delay_min + ca->delay_min / 8U, local 178 if (ca->rtt.min > thresh) {
|
/linux-master/include/trace/events/ |
H A D | writeback.h | 561 "bg_thresh=%lu thresh=%lu limit=%lu " 624 unsigned long thresh, 636 TP_ARGS(wb, thresh, bg_thresh, dirty, bdi_thresh, bdi_dirty, 659 unsigned long freerun = (thresh + bg_thresh) / 2; 667 bdi_thresh / (thresh + 1);
|
/linux-master/tools/testing/nvdimm/test/ |
H A D | nfit.c | 732 struct nd_intel_smart_threshold *thresh) 735 __func__, thresh->alarm_control, thresh->spares, 736 smart->spares, thresh->media_temperature, 737 smart->media_temperature, thresh->ctrl_temperature, 739 if (((thresh->alarm_control & ND_INTEL_SMART_SPARE_TRIP) 741 <= thresh->spares) 742 || ((thresh->alarm_control & ND_INTEL_SMART_TEMP_TRIP) 744 >= thresh->media_temperature) 745 || ((thresh 730 smart_notify(struct device *bus_dev, struct device *dimm_dev, struct nd_intel_smart *smart, struct nd_intel_smart_threshold *thresh) argument 756 nfit_test_cmd_smart_set_threshold( struct nd_intel_smart_set_threshold *in, unsigned int buf_len, struct nd_intel_smart_threshold *thresh, struct nd_intel_smart *smart, struct device *bus_dev, struct device *dimm_dev) argument 775 nfit_test_cmd_smart_inject( struct nd_intel_smart_inject *inj, unsigned int buf_len, struct nd_intel_smart_threshold *thresh, struct nd_intel_smart *smart, struct device *bus_dev, struct device *dimm_dev) argument [all...] |
/linux-master/block/ |
H A D | blk-iolatency.c | 236 u64 thresh = div64_u64(stat->ps.total, 10); local 237 thresh = max(thresh, 1ULL); 238 return stat->ps.missed < thresh;
|
/linux-master/tools/tracing/latency/ |
H A D | latency-collector.c | 178 char *thresh; member in struct:ftrace_state 610 restore_file(TR_THRESH, &save_state.thresh, threshold); 656 save_state.thresh = NULL; 1401 save_state.thresh = orig_th; 1442 write_file(TR_THRESH, save_state.thresh, threshold, ERR_CLEANUP);
|
/linux-master/drivers/staging/media/tegra-video/ |
H A D | tegra210.c | 413 u32 thresh, value, frame_start, mw_ack_done; local 446 thresh = host1x_syncpt_incr_max(chan->frame_start_sp[i], 1); 447 fs_thresh[i] = thresh; 456 thresh = host1x_syncpt_incr_max(chan->mw_ack_sp[i], 1); 457 buf->mw_ack_sp_thresh[i] = thresh;
|
/linux-master/tools/testing/selftests/net/ |
H A D | ipsec.c | 1598 struct xfrmu_spdhthresh thresh; local 1606 thresh.lbits = thresh4_l; 1607 thresh.rbits = thresh4_r; 1608 if (rtattr_pack(&req.nh, sizeof(req), XFRMA_SPD_IPV4_HTHRESH, &thresh, sizeof(thresh))) 1611 thresh.lbits = thresh6_l; 1612 thresh.rbits = thresh6_r; 1613 if (rtattr_pack(&req.nh, sizeof(req), XFRMA_SPD_IPV6_HTHRESH, &thresh, sizeof(thresh))) 1686 pr_err("thresh diffe [all...] |
/linux-master/kernel/ |
H A D | workqueue.c | 7399 unsigned long thresh = READ_ONCE(wq_watchdog_thresh) * HZ; local 7406 if (!thresh) 7437 if (time_after(now, ts + thresh)) { 7461 mod_timer(&wq_watchdog_timer, jiffies + thresh); 7472 static void wq_watchdog_set_thresh(unsigned long thresh) argument 7477 if (thresh) { 7478 wq_watchdog_thresh = thresh; 7480 mod_timer(&wq_watchdog_timer, jiffies + thresh * HZ); 7487 unsigned long thresh; local 7490 ret = kstrtoul(val, 0, &thresh); 7675 unsigned long thresh; local [all...] |
/linux-master/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.c | 271 rbdr->thresh = RBDR_THRESH; 487 cq->thresh = pass1_silicon(nic->pdev) ? 0 : CMP_QUEUE_CQE_THRESH; 521 sq->thresh = SND_QUEUE_THRESH; 853 nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_THRESH, qidx, cq->thresh); 906 nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_THRESH, qidx, sq->thresh); 950 qidx, rbdr->thresh - 1);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 662 u32 thresh; local 771 thresh = sc_percent_to_threshold(sc, 50); 773 thresh = sc_percent_to_threshold(sc, 776 thresh = min(sc_percent_to_threshold(sc, 50), 780 reg = thresh << SC(CREDIT_CTRL_THRESHOLD_SHIFT); 830 thresh);
|
/linux-master/drivers/gpu/host1x/ |
H A D | job.c | 126 void host1x_job_add_wait(struct host1x_job *job, u32 id, u32 thresh, argument 133 cmd->wait.threshold = thresh;
|
/linux-master/arch/x86/events/intel/ |
H A D | uncore_discovery.c | 353 DEFINE_UNCORE_FORMAT_ATTR(thresh, thresh, "config:24-31");
|
/linux-master/drivers/misc/ |
H A D | bh1770glc.c | 1049 unsigned long thresh; local 1052 ret = kstrtoul(buf, 0, &thresh); 1056 if (thresh > BH1770_LUX_RANGE) 1060 *target = thresh;
|
H A D | apds990x.c | 892 unsigned long thresh; local 895 ret = kstrtoul(buf, 0, &thresh); 899 if (thresh > APDS_RANGE) 903 *target = thresh;
|
/linux-master/drivers/spi/ |
H A D | spi-pxa2xx.c | 1066 u32 thresh = 0; local 1068 thresh |= SFIFOTT_RxThresh(chip->lpss_rx_threshold); 1069 thresh |= SFIFOTT_TxThresh(chip->lpss_tx_threshold); 1071 pxa2xx_spi_update(drv_data, SFIFOTT, mask, thresh);
|
/linux-master/fs/ocfs2/ |
H A D | journal.h | 247 int thresh);
|