Lines Matching refs:ss
68 static void sdma_get(struct qib_sdma_state *ss) in sdma_get() argument
70 kref_get(&ss->kref); in sdma_get()
75 struct qib_sdma_state *ss = in sdma_complete() local
78 complete(&ss->comp); in sdma_complete()
81 static void sdma_put(struct qib_sdma_state *ss) in sdma_put() argument
83 kref_put(&ss->kref, sdma_complete); in sdma_put()
86 static void sdma_finalput(struct qib_sdma_state *ss) in sdma_finalput() argument
88 sdma_put(ss); in sdma_finalput()
89 wait_for_completion(&ss->comp); in sdma_finalput()
172 struct qib_sdma_state *ss = &ppd->sdma_state; in sdma_hw_start_up() local
175 for (bufno = ss->first_sendbuf; bufno < ss->last_sendbuf; ++bufno) in sdma_hw_start_up()
183 struct qib_sdma_state *ss = &ppd->sdma_state; in sdma_sw_tear_down() local
186 sdma_put(ss); in sdma_sw_tear_down()
197 struct qib_sdma_state *ss = &ppd->sdma_state; in sdma_set_state() local
198 struct sdma_set_state_action *action = ss->set_state_action; in sdma_set_state()
202 ss->previous_state = ss->current_state; in sdma_set_state()
203 ss->previous_op = ss->current_op; in sdma_set_state()
205 ss->current_state = next_state; in sdma_set_state()
220 ss->go_s99_running = 0; in sdma_set_state()
223 ss->go_s99_running = 1; in sdma_set_state()
225 ss->current_op = op; in sdma_set_state()
227 ppd->dd->f_sdma_sendctrl(ppd, ss->current_op); in sdma_set_state()
512 struct rvt_sge_state *ss, u32 dwords, in qib_sdma_verbs_send() argument
565 sge = &ss->sge; in qib_sdma_verbs_send()
592 rvt_update_sge(ss, len, false); in qib_sdma_verbs_send()
651 tx->ss = ss; in qib_sdma_verbs_send()
751 struct qib_sdma_state *ss = &ppd->sdma_state; in __qib_sdma_process_event() local
753 switch (ss->current_state) { in __qib_sdma_process_event()
765 ss->go_s99_running = 1; in __qib_sdma_process_event()
802 sdma_set_state(ppd, ss->go_s99_running ? in __qib_sdma_process_event()
807 ss->go_s99_running = 1; in __qib_sdma_process_event()
816 ss->go_s99_running = 0; in __qib_sdma_process_event()
839 ss->go_s99_running = 1; in __qib_sdma_process_event()
868 ss->go_s99_running = 1; in __qib_sdma_process_event()
880 ss->go_s99_running = 0; in __qib_sdma_process_event()
902 ss->go_s99_running = 1; in __qib_sdma_process_event()
914 ss->go_s99_running = 0; in __qib_sdma_process_event()
936 ss->go_s99_running = 1; in __qib_sdma_process_event()
948 ss->go_s99_running = 0; in __qib_sdma_process_event()
982 ss->go_s99_running = 0; in __qib_sdma_process_event()
998 ss->last_event = event; in __qib_sdma_process_event()