Home
last modified time | relevance | path

Searched refs:act_state (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/sgi-xp/
H A Dxpc_partition.c296 DBUG_ON(part->act_state != XPC_P_AS_DEACTIVATING && in xpc_partition_disengaged()
297 part->act_state != XPC_P_AS_INACTIVE); in xpc_partition_disengaged()
298 if (part->act_state != XPC_P_AS_INACTIVE) in xpc_partition_disengaged()
318 if (part->act_state == XPC_P_AS_ACTIVATING) { in xpc_mark_partition_active()
319 part->act_state = XPC_P_AS_ACTIVE; in xpc_mark_partition_active()
341 if (part->act_state == XPC_P_AS_INACTIVE) { in xpc_deactivate_partition()
350 if (part->act_state == XPC_P_AS_DEACTIVATING) { in xpc_deactivate_partition()
359 part->act_state = XPC_P_AS_DEACTIVATING; in xpc_deactivate_partition()
390 part->act_state = XPC_P_AS_INACTIVE; in xpc_mark_partition_inactive()
H A Dxpc_main.c241 if (part->act_state == XPC_P_AS_INACTIVE || in xpc_check_remote_hb()
242 part->act_state == XPC_P_AS_DEACTIVATING) { in xpc_check_remote_hb()
342 while (part->act_state != XPC_P_AS_DEACTIVATING || in xpc_channel_mgr()
365 (part->act_state == XPC_P_AS_DEACTIVATING && in xpc_channel_mgr()
542 if (part->act_state == XPC_P_AS_DEACTIVATING) { in xpc_activating()
543 part->act_state = XPC_P_AS_INACTIVE; in xpc_activating()
550 DBUG_ON(part->act_state != XPC_P_AS_ACTIVATION_REQ); in xpc_activating()
551 part->act_state = XPC_P_AS_ACTIVATING; in xpc_activating()
593 DBUG_ON(part->act_state != XPC_P_AS_INACTIVE); in xpc_activate_partition()
595 part->act_state in xpc_activate_partition()
[all...]
H A Dxpc_channel.c101 if (part->act_state == XPC_P_AS_DEACTIVATING) { in xpc_process_disconnect()
168 if (part->act_state != XPC_P_AS_DEACTIVATING) { in xpc_process_disconnect()
289 DBUG_ON(part->act_state != XPC_P_AS_DEACTIVATING); in xpc_process_openclose_chctl_flags()
323 if (part->act_state == XPC_P_AS_DEACTIVATING || in xpc_process_openclose_chctl_flags()
585 if (part->act_state == XPC_P_AS_DEACTIVATING) in xpc_process_sent_chctl_flags()
H A Dxpc_uv.c396 if (part->act_state == XPC_P_AS_INACTIVE) in xpc_process_activate_IRQ_rcvd_uv()
398 else if (part->act_state == XPC_P_AS_DEACTIVATING) in xpc_process_activate_IRQ_rcvd_uv()
402 if (part->act_state == XPC_P_AS_INACTIVE) in xpc_process_activate_IRQ_rcvd_uv()
432 part_uv->remote_act_state = msg_hdr->act_state; in xpc_handle_activate_mq_msg_uv()
444 * ??? if act_state != XPC_P_AS_INACTIVE instead of in xpc_handle_activate_mq_msg_uv()
610 * ??? act_state or remote_act_state? in xpc_handle_activate_mq_msg_uv()
689 msg_hdr->act_state = part->act_state; in xpc_send_activate_IRQ_uv()
923 if (part->act_state == XPC_P_AS_INACTIVE) in xpc_request_partition_activation_uv()
1048 * updated to our current act_state whic in xpc_make_first_contact_uv()
[all...]
H A Dxpc.h143 u8 act_state; /* sender's act_state at time msg sent */ member
458 u8 remote_act_state; /* remote partition's act_state */
459 u8 act_state_req; /* act_state request from remote partition */
460 enum xp_retval reason; /* reason for deactivate act_state request */
468 /* struct xpc_partition_uv act_state change requests */
483 spinlock_t act_lock; /* protect updating of act_state */
484 u8 act_state; /* from XPC HB viewpoint */ member
578 /* struct xpc_partition act_state values (for XPC HB) */
/kernel/linux/linux-6.6/drivers/misc/sgi-xp/
H A Dxpc_partition.c296 DBUG_ON(part->act_state != XPC_P_AS_DEACTIVATING && in __xpc_partition_disengaged()
297 part->act_state != XPC_P_AS_INACTIVE); in __xpc_partition_disengaged()
298 if (part->act_state != XPC_P_AS_INACTIVE) in __xpc_partition_disengaged()
328 if (part->act_state == XPC_P_AS_ACTIVATING) { in xpc_mark_partition_active()
329 part->act_state = XPC_P_AS_ACTIVE; in xpc_mark_partition_active()
351 if (part->act_state == XPC_P_AS_INACTIVE) { in xpc_deactivate_partition()
360 if (part->act_state == XPC_P_AS_DEACTIVATING) { in xpc_deactivate_partition()
369 part->act_state = XPC_P_AS_DEACTIVATING; in xpc_deactivate_partition()
400 part->act_state = XPC_P_AS_INACTIVE; in xpc_mark_partition_inactive()
H A Dxpc_main.c232 if (part->act_state == XPC_P_AS_INACTIVE || in xpc_check_remote_hb()
233 part->act_state == XPC_P_AS_DEACTIVATING) { in xpc_check_remote_hb()
333 while (part->act_state != XPC_P_AS_DEACTIVATING || in xpc_channel_mgr()
356 (part->act_state == XPC_P_AS_DEACTIVATING && in xpc_channel_mgr()
533 if (part->act_state == XPC_P_AS_DEACTIVATING) { in xpc_activating()
534 part->act_state = XPC_P_AS_INACTIVE; in xpc_activating()
541 DBUG_ON(part->act_state != XPC_P_AS_ACTIVATION_REQ); in xpc_activating()
542 part->act_state = XPC_P_AS_ACTIVATING; in xpc_activating()
584 DBUG_ON(part->act_state != XPC_P_AS_INACTIVE); in xpc_activate_partition()
586 part->act_state in xpc_activate_partition()
[all...]
H A Dxpc_channel.c101 if (part->act_state == XPC_P_AS_DEACTIVATING) { in xpc_process_disconnect()
168 if (part->act_state != XPC_P_AS_DEACTIVATING) { in xpc_process_disconnect()
289 DBUG_ON(part->act_state != XPC_P_AS_DEACTIVATING); in xpc_process_openclose_chctl_flags()
323 if (part->act_state == XPC_P_AS_DEACTIVATING || in xpc_process_openclose_chctl_flags()
585 if (part->act_state == XPC_P_AS_DEACTIVATING) in xpc_process_sent_chctl_flags()
H A Dxpc_uv.c396 if (part->act_state == XPC_P_AS_INACTIVE) in xpc_process_activate_IRQ_rcvd_uv()
398 else if (part->act_state == XPC_P_AS_DEACTIVATING) in xpc_process_activate_IRQ_rcvd_uv()
402 if (part->act_state == XPC_P_AS_INACTIVE) in xpc_process_activate_IRQ_rcvd_uv()
432 part_uv->remote_act_state = msg_hdr->act_state; in xpc_handle_activate_mq_msg_uv()
444 * ??? if act_state != XPC_P_AS_INACTIVE instead of in xpc_handle_activate_mq_msg_uv()
610 * ??? act_state or remote_act_state? in xpc_handle_activate_mq_msg_uv()
689 msg_hdr->act_state = part->act_state; in xpc_send_activate_IRQ_uv()
923 if (part->act_state == XPC_P_AS_INACTIVE) in xpc_request_partition_activation_uv()
1048 * updated to our current act_state whic in xpc_make_first_contact_uv()
[all...]
H A Dxpc.h143 u8 act_state; /* sender's act_state at time msg sent */ member
458 u8 remote_act_state; /* remote partition's act_state */
459 u8 act_state_req; /* act_state request from remote partition */
460 enum xp_retval reason; /* reason for deactivate act_state request */
468 /* struct xpc_partition_uv act_state change requests */
483 spinlock_t act_lock; /* protect updating of act_state */
484 u8 act_state; /* from XPC HB viewpoint */ member
578 /* struct xpc_partition act_state values (for XPC HB) */
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-ntrig.c66 __s8 act_state; member
658 * save a bit of work by ensuring act_state < 0 in ntrig_event()
661 nd->act_state = deactivate_slack - 1; in ntrig_event()
682 if (nd->act_state > 0) { in ntrig_event()
692 nd->act_state = 0; in ntrig_event()
699 nd->act_state = 1; in ntrig_event()
781 if (nd->act_state > 0) { /* Currently inactive */ in ntrig_event()
787 nd->act_state = (nd->act_state > value) in ntrig_event()
788 ? nd->act_state in ntrig_event()
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-ntrig.c66 __s8 act_state; member
658 * save a bit of work by ensuring act_state < 0 in ntrig_event()
661 nd->act_state = deactivate_slack - 1; in ntrig_event()
682 if (nd->act_state > 0) { in ntrig_event()
692 nd->act_state = 0; in ntrig_event()
699 nd->act_state = 1; in ntrig_event()
781 if (nd->act_state > 0) { /* Currently inactive */ in ntrig_event()
787 nd->act_state = (nd->act_state > value) in ntrig_event()
788 ? nd->act_state in ntrig_event()
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dkaweth.c412 int act_state; in int_callback() local
428 if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHIFT)) { in int_callback()
429 if (act_state) in int_callback()
434 kaweth->linkstate = act_state; in int_callback()
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dkaweth.c412 int act_state; in int_callback() local
428 if (kaweth->linkstate != (act_state = ( kaweth->intbuffer[STATE_OFFSET] | STATE_MASK) >> STATE_SHIFT)) { in int_callback()
429 if (act_state) in int_callback()
434 kaweth->linkstate = act_state; in int_callback()

Completed in 17 milliseconds