Lines Matching refs:up_req
4016 struct drm_dp_pending_up_req *up_req) in drm_dp_mst_process_up_req() argument
4019 struct drm_dp_sideband_msg_req_body *msg = &up_req->msg; in drm_dp_mst_process_up_req()
4020 struct drm_dp_sideband_msg_hdr *hdr = &up_req->hdr; in drm_dp_mst_process_up_req()
4058 struct drm_dp_pending_up_req *up_req; in drm_dp_mst_up_req_work() local
4064 up_req = list_first_entry_or_null(&mgr->up_req_list, in drm_dp_mst_up_req_work()
4067 if (up_req) in drm_dp_mst_up_req_work()
4068 list_del(&up_req->next); in drm_dp_mst_up_req_work()
4071 if (!up_req) in drm_dp_mst_up_req_work()
4074 send_hotplug |= drm_dp_mst_process_up_req(mgr, up_req); in drm_dp_mst_up_req_work()
4075 kfree(up_req); in drm_dp_mst_up_req_work()
4085 struct drm_dp_pending_up_req *up_req; in drm_dp_mst_handle_up_req() local
4093 up_req = kzalloc(sizeof(*up_req), GFP_KERNEL); in drm_dp_mst_handle_up_req()
4094 if (!up_req) { in drm_dp_mst_handle_up_req()
4098 INIT_LIST_HEAD(&up_req->next); in drm_dp_mst_handle_up_req()
4100 drm_dp_sideband_parse_req(&mgr->up_req_recv, &up_req->msg); in drm_dp_mst_handle_up_req()
4102 if (up_req->msg.req_type != DP_CONNECTION_STATUS_NOTIFY && in drm_dp_mst_handle_up_req()
4103 up_req->msg.req_type != DP_RESOURCE_STATUS_NOTIFY) { in drm_dp_mst_handle_up_req()
4105 up_req->msg.req_type); in drm_dp_mst_handle_up_req()
4106 kfree(up_req); in drm_dp_mst_handle_up_req()
4110 drm_dp_send_up_ack_reply(mgr, mgr->mst_primary, up_req->msg.req_type, in drm_dp_mst_handle_up_req()
4113 if (up_req->msg.req_type == DP_CONNECTION_STATUS_NOTIFY) { in drm_dp_mst_handle_up_req()
4115 &up_req->msg.u.conn_stat; in drm_dp_mst_handle_up_req()
4124 } else if (up_req->msg.req_type == DP_RESOURCE_STATUS_NOTIFY) { in drm_dp_mst_handle_up_req()
4126 &up_req->msg.u.resource_stat; in drm_dp_mst_handle_up_req()
4133 up_req->hdr = mgr->up_req_recv.initial_hdr; in drm_dp_mst_handle_up_req()
4135 list_add_tail(&up_req->next, &mgr->up_req_list); in drm_dp_mst_handle_up_req()