Lines Matching refs:up_req
4001 struct drm_dp_pending_up_req *up_req) in drm_dp_mst_process_up_req() argument
4004 struct drm_dp_sideband_msg_req_body *msg = &up_req->msg; in drm_dp_mst_process_up_req()
4005 struct drm_dp_sideband_msg_hdr *hdr = &up_req->hdr; in drm_dp_mst_process_up_req()
4045 struct drm_dp_pending_up_req *up_req; in drm_dp_mst_up_req_work() local
4051 up_req = list_first_entry_or_null(&mgr->up_req_list, in drm_dp_mst_up_req_work()
4054 if (up_req) in drm_dp_mst_up_req_work()
4055 list_del(&up_req->next); in drm_dp_mst_up_req_work()
4058 if (!up_req) in drm_dp_mst_up_req_work()
4061 send_hotplug |= drm_dp_mst_process_up_req(mgr, up_req); in drm_dp_mst_up_req_work()
4062 kfree(up_req); in drm_dp_mst_up_req_work()
4072 struct drm_dp_pending_up_req *up_req; in drm_dp_mst_handle_up_req() local
4080 up_req = kzalloc(sizeof(*up_req), GFP_KERNEL); in drm_dp_mst_handle_up_req()
4081 if (!up_req) in drm_dp_mst_handle_up_req()
4084 INIT_LIST_HEAD(&up_req->next); in drm_dp_mst_handle_up_req()
4086 drm_dp_sideband_parse_req(mgr, &mgr->up_req_recv, &up_req->msg); in drm_dp_mst_handle_up_req()
4088 if (up_req->msg.req_type != DP_CONNECTION_STATUS_NOTIFY && in drm_dp_mst_handle_up_req()
4089 up_req->msg.req_type != DP_RESOURCE_STATUS_NOTIFY) { in drm_dp_mst_handle_up_req()
4091 up_req->msg.req_type); in drm_dp_mst_handle_up_req()
4092 kfree(up_req); in drm_dp_mst_handle_up_req()
4096 drm_dp_send_up_ack_reply(mgr, mgr->mst_primary, up_req->msg.req_type, in drm_dp_mst_handle_up_req()
4099 if (up_req->msg.req_type == DP_CONNECTION_STATUS_NOTIFY) { in drm_dp_mst_handle_up_req()
4101 &up_req->msg.u.conn_stat; in drm_dp_mst_handle_up_req()
4118 kfree(up_req); in drm_dp_mst_handle_up_req()
4121 } else if (up_req->msg.req_type == DP_RESOURCE_STATUS_NOTIFY) { in drm_dp_mst_handle_up_req()
4123 &up_req->msg.u.resource_stat; in drm_dp_mst_handle_up_req()
4130 up_req->hdr = mgr->up_req_recv.initial_hdr; in drm_dp_mst_handle_up_req()
4132 list_add_tail(&up_req->next, &mgr->up_req_list); in drm_dp_mst_handle_up_req()