Searched refs:tp_clk (Results 1 – 2 of 2) sorted by relevance
91 static unsigned int tp_delayed_ack_ticks(adapter_t *adap, unsigned int tp_clk) in tp_delayed_ack_ticks() argument95 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() argument102 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() argument107 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() argument200 u32 drop_ticks = DROP_MSEC * (tp_clk / 1000); in tp_init()251 val = (9 * tp_clk) / 1000000; in tp_init()[all …]
99 int t1_tp_reset(struct petp *tp, struct tp_params *p, unsigned int tp_clk);