Lines Matching refs:ss
261 static void sdma_get(struct sdma_state *ss) in sdma_get() argument
263 kref_get(&ss->kref); in sdma_get()
268 struct sdma_state *ss = in sdma_complete() local
271 complete(&ss->comp); in sdma_complete()
274 static void sdma_put(struct sdma_state *ss) in sdma_put() argument
276 kref_put(&ss->kref, sdma_complete); in sdma_put()
279 static void sdma_finalput(struct sdma_state *ss) in sdma_finalput() argument
281 sdma_put(ss); in sdma_finalput()
282 wait_for_completion(&ss->comp); in sdma_finalput()
642 struct sdma_state *ss = &sde->state; in sdma_sw_tear_down() local
645 sdma_put(ss); in sdma_sw_tear_down()
660 struct sdma_state *ss = &sde->state; in sdma_set_state() local
666 sdma_state_names[ss->current_state], in sdma_set_state()
670 ss->previous_state = ss->current_state; in sdma_set_state()
671 ss->previous_op = ss->current_op; in sdma_set_state()
672 ss->current_state = next_state; in sdma_set_state()
674 if (ss->previous_state != sdma_state_s99_running && in sdma_set_state()
691 ss->go_s99_running = 0; in sdma_set_state()
694 ss->go_s99_running = 1; in sdma_set_state()
696 ss->current_op = op; in sdma_set_state()
697 sdma_sendctrl(sde, ss->current_op); in sdma_set_state()
2575 struct sdma_state *ss = &sde->state; in __sdma_process_event() local
2581 sdma_state_names[ss->current_state], in __sdma_process_event()
2585 switch (ss->current_state) { in __sdma_process_event()
2598 ss->go_s99_running = 1; in __sdma_process_event()
2648 ss->go_s99_running = 1; in __sdma_process_event()
2658 ss->go_s99_running = 0; in __sdma_process_event()
2685 sdma_set_state(sde, ss->go_s99_running ? in __sdma_process_event()
2690 ss->go_s99_running = 1; in __sdma_process_event()
2699 ss->go_s99_running = 0; in __sdma_process_event()
2728 ss->go_s99_running = 1; in __sdma_process_event()
2768 ss->go_s99_running = 1; in __sdma_process_event()
2779 ss->go_s99_running = 0; in __sdma_process_event()
2788 ss->go_s99_running = 0; in __sdma_process_event()
2807 sdma_set_state(sde, ss->go_s99_running ? in __sdma_process_event()
2812 ss->go_s99_running = 1; in __sdma_process_event()
2821 ss->go_s99_running = 0; in __sdma_process_event()
2830 ss->go_s99_running = 0; in __sdma_process_event()
2852 ss->go_s99_running = 1; in __sdma_process_event()
2862 ss->go_s99_running = 0; in __sdma_process_event()
2871 ss->go_s99_running = 0; in __sdma_process_event()
2893 ss->go_s99_running = 1; in __sdma_process_event()
2903 ss->go_s99_running = 0; in __sdma_process_event()
2931 ss->go_s99_running = 1; in __sdma_process_event()
2940 ss->go_s99_running = 0; in __sdma_process_event()
2970 ss->go_s99_running = 1; in __sdma_process_event()
2982 ss->go_s99_running = 0; in __sdma_process_event()
2990 sdma_set_state(sde, ss->go_s99_running ? in __sdma_process_event()
3034 ss->go_s99_running = 0; in __sdma_process_event()
3049 ss->last_event = event; in __sdma_process_event()