Lines Matching defs:ct

29 #define CT_DEAD(ct, reason)	\  argument
37 #define CT_DEAD(ct, reason) do { } while (0) argument
40 static inline struct intel_guc *ct_to_guc(struct intel_guc_ct *ct) in ct_to_guc()
140 void intel_guc_ct_init_early(struct intel_guc_ct *ct) in intel_guc_ct_init_early()
205 static int ct_control_enable(struct intel_guc_ct *ct, bool enable) in ct_control_enable()
218 static int ct_register_buffer(struct intel_guc_ct *ct, bool send, in ct_register_buffer()
257 int intel_guc_ct_init(struct intel_guc_ct *ct) in intel_guc_ct_init()
315 void intel_guc_ct_fini(struct intel_guc_ct *ct) in intel_guc_ct_fini()
330 int intel_guc_ct_enable(struct intel_guc_ct *ct) in intel_guc_ct_enable()
393 void intel_guc_ct_disable(struct intel_guc_ct *ct) in intel_guc_ct_disable()
407 static void ct_track_lost_and_found(struct intel_guc_ct *ct, u32 fence, u32 action) in ct_track_lost_and_found()
424 static u32 ct_get_next_fence(struct intel_guc_ct *ct) in ct_get_next_fence()
430 static int ct_write(struct intel_guc_ct *ct, in ct_write()
539 static int wait_for_ct_request_update(struct intel_guc_ct *ct, struct ct_request *req, u32 *status) in wait_for_ct_request_update()
569 static inline bool ct_deadlocked(struct intel_guc_ct *ct) in ct_deadlocked()
597 static inline bool g2h_has_room(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_has_room()
608 static inline void g2h_reserve_space(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_reserve_space()
618 static inline void g2h_release_space(struct intel_guc_ct *ct, u32 g2h_len_dw) in g2h_release_space()
623 static inline bool h2g_has_room(struct intel_guc_ct *ct, u32 len_dw) in h2g_has_room()
649 static int has_room_nb(struct intel_guc_ct *ct, u32 h2g_dw, u32 g2h_dw) in has_room_nb()
680 static int ct_send_nb(struct intel_guc_ct *ct, in ct_send_nb()
711 static int ct_send(struct intel_guc_ct *ct, in ct_send()
834 int intel_guc_ct_send(struct intel_guc_ct *ct, const u32 *action, u32 len, in intel_guc_ct_send()
886 static int ct_read(struct intel_guc_ct *ct, struct ct_incoming_msg **msg) in ct_read()
1003 static bool ct_check_lost_and_found(struct intel_guc_ct *ct, u32 fence) in ct_check_lost_and_found()
1033 static bool ct_check_lost_and_found(struct intel_guc_ct *ct, u32 fence) in ct_check_lost_and_found()
1039 static int ct_handle_response(struct intel_guc_ct *ct, struct ct_incoming_msg *response) in ct_handle_response()
1107 static int ct_process_request(struct intel_guc_ct *ct, struct ct_incoming_msg *request) in ct_process_request()
1172 static bool ct_process_incoming_requests(struct intel_guc_ct *ct) in ct_process_incoming_requests()
1203 struct intel_guc_ct *ct = in ct_incoming_request_worker_func() local
1212 static int ct_handle_event(struct intel_guc_ct *ct, struct ct_incoming_msg *request) in ct_handle_event()
1247 static int ct_handle_hxg(struct intel_guc_ct *ct, struct ct_incoming_msg *msg) in ct_handle_hxg()
1286 static void ct_handle_msg(struct intel_guc_ct *ct, struct ct_incoming_msg *msg) in ct_handle_msg()
1307 static int ct_receive(struct intel_guc_ct *ct) in ct_receive()
1325 static void ct_try_receive_message(struct intel_guc_ct *ct) in ct_try_receive_message()
1339 struct intel_guc_ct *ct = from_tasklet(ct, t, receive_tasklet); in ct_receive_tasklet_func() local
1348 void intel_guc_ct_event_handler(struct intel_guc_ct *ct) in intel_guc_ct_event_handler()
1358 void intel_guc_ct_print_info(struct intel_guc_ct *ct, in intel_guc_ct_print_info()
1383 struct intel_guc_ct *ct = container_of(w, struct intel_guc_ct, dead_ct_worker); in ct_dead_ct_worker_func() local