Home
last modified time | relevance | path

Searched refs:tp_clk (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/chxge/com/
H A Dtp.c91 static unsigned int tp_delayed_ack_ticks(adapter_t *adap, unsigned int tp_clk) in tp_delayed_ack_ticks() argument
95 return tp_clk / (1 << G_DELAYED_ACK_TIMER_RESOLUTION(tr)); in tp_delayed_ack_ticks()
98 static unsigned int t1_tp_ticks_per_sec(adapter_t *adap, unsigned int tp_clk) in t1_tp_ticks_per_sec() argument
102 return tp_clk / (1 << G_GENERIC_TIMER_RESOLUTION(tr)); in t1_tp_ticks_per_sec()
105 static void tp_set_tcp_time_params(adapter_t *adapter, unsigned int tp_clk) in tp_set_tcp_time_params() argument
107 u32 tps = t1_tp_ticks_per_sec(adapter, tp_clk); in tp_set_tcp_time_params()
131 tp_delayed_ack_ticks(adapter, tp_clk) / 5); in tp_set_tcp_time_params()
174 unsigned int tp_clk) in tp_init() argument
200 u32 drop_ticks = DROP_MSEC * (tp_clk / 1000); in tp_init()
251 val = (9 * tp_clk) / 1000000; in tp_init()
[all …]
H A Dtp.h99 int t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk);