Searched refs:thresh (Results 1 – 7 of 7) sorted by relevance
/drivers/isdn/i4l/ |
D | isdn_audio.c | 506 int thresh; in isdn_audio_eval_dtmf() local 513 thresh = 0; in isdn_audio_eval_dtmf() 516 if (result[i] > thresh) in isdn_audio_eval_dtmf() 517 thresh = result[i]; in isdn_audio_eval_dtmf() 525 if (thresh > 0) { in isdn_audio_eval_dtmf() 526 thresh = thresh >> 4; /* touchtones must match within 12 dB */ in isdn_audio_eval_dtmf() 528 if (result[i] < thresh) in isdn_audio_eval_dtmf()
|
/drivers/regulator/ |
D | da903x.c | 199 int thresh; in da9030_set_ldo14_voltage() local 206 thresh = (info->max_uV + info->min_uV) / 2; in da9030_set_ldo14_voltage() 207 if (min_uV < thresh) { in da9030_set_ldo14_voltage() 208 val = (thresh - min_uV + info->step_uV - 1) / info->step_uV; in da9030_set_ldo14_voltage() 211 val = (min_uV - thresh + info->step_uV - 1) / info->step_uV; in da9030_set_ldo14_voltage()
|
/drivers/input/mouse/ |
D | trackpoint.c | 151 TRACKPOINT_INT_ATTR(thresh, TP_THRESH); 224 trackpoint_write(&psmouse->ps2dev, TP_THRESH, tp->thresh); in trackpoint_sync() 255 tp->thresh = TP_DEF_THRESH; in trackpoint_defaults()
|
D | trackpoint.h | 136 unsigned char thresh, upthresh; member
|
/drivers/net/sfc/ |
D | falcon.c | 2970 unsigned thresh; in falcon_init_nic() local 3091 thresh = ((rx_xon_thresh_bytes >= 0) ? in falcon_init_nic() 3093 EFX_SET_OWORD_FIELD_VER(efx, temp, RX_XON_MAC_TH, thresh / 256); in falcon_init_nic() 3094 thresh = ((rx_xoff_thresh_bytes >= 0) ? in falcon_init_nic() 3096 EFX_SET_OWORD_FIELD_VER(efx, temp, RX_XOFF_MAC_TH, thresh / 256); in falcon_init_nic()
|
/drivers/net/ |
D | bnx2x_link.c | 709 u32 thresh = (ETH_MAX_JUMBO_PACKET_SIZE + in bnx2x_pbf_update() local 713 REG_WR(bp, PBF_REG_P0_ARB_THRSH + port*4, thresh); in bnx2x_pbf_update() 717 init_crd = thresh + 553 - 22; in bnx2x_pbf_update() 721 init_crd = thresh + 664 - 22; in bnx2x_pbf_update() 725 init_crd = thresh + 742 - 22; in bnx2x_pbf_update() 729 init_crd = thresh + 778 - 22; in bnx2x_pbf_update()
|
D | sky2.c | 1308 unsigned i, size, thresh; in sky2_rx_start() local 1333 thresh = (size - 8) / sizeof(u32); in sky2_rx_start() 1367 if (thresh > 0x1ff) in sky2_rx_start() 1370 sky2_write16(hw, SK_REG(sky2->port, RX_GMF_TR_THR), thresh); in sky2_rx_start()
|