Lines Matching defs:in
8 * acknowledge (to speed things up), abort (e.g. in case the dGPU is still in
621 static u32 sdtx_notifier(struct ssam_event_notifier *nf, const struct ssam_event *in)
628 switch (in->command_id) {
649 if (in->length != len) {
652 in->command_id, in->length, len);
659 switch (in->command_id) {
664 if (ddev->state.base.state == in->data[0] &&
665 ddev->state.base.base_id == in->data[1])
668 ddev->state.base.state = in->data[0];
669 ddev->state.base.base_id = in->data[1];
673 event.base.v.state = sdtx_translate_base_state(ddev, in->data[0]);
674 event.base.v.base_id = SDTX_BASE_TYPE_SSH(in->data[1]);
685 event.status.v = sdtx_translate_cancel_reason(ddev, in->data[0]);
692 if (ddev->state.latch_status == in->data[0])
695 ddev->state.latch_status = in->data[0];
699 event.status.v = sdtx_translate_latch_status(ddev, in->data[0]);
706 if (in->command_id == SAM_EVENT_CID_DTX_CONNECTION) {
709 delay = in->data[0] ? SDTX_DEVICE_MODE_DELAY_CONNECT : 0;
825 * base state value in the validity check below.
889 * query it. Necessary to ensure that clear_bit() calls in
979 * querying the state in surface_dtx_pm_complete(). I.e. we would not
1029 * Update device state in case it has changed between getting the
1095 * controller and device references are guaranteed to be no longer in
1123 * Normally, the EC will store events while suspended (i.e. in