Searched refs:active_channels (Results 1 – 4 of 4) sorted by relevance
707 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()708 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in mpc_rcvd_sweep_req()946 grp->active_channels[CTCM_READ], in mpc_channel_action()947 grp->active_channels[CTCM_WRITE]); in mpc_channel_action()951 grp->active_channels[direction]++; in mpc_channel_action()994 if ((grp->active_channels[CTCM_READ] > 0) && in mpc_channel_action()995 (grp->active_channels[CTCM_WRITE] > 0) && in mpc_channel_action()1006 grp->active_channels[direction]--; in mpc_channel_action()1015 if (((grp->active_channels[CTCM_READ] == 0) && in mpc_channel_action()1016 (grp->active_channels[CTCM_WRITE] > 0)) in mpc_channel_action()[all …]
172 int active_channels[2]; member
615 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()616 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
195 atomic_t active_channels; member590 if (atomic_add_return(1, &parent->active_channels) == 1) { in gs_can_open()705 if (atomic_dec_and_test(&parent->active_channels)) in gs_can_close()982 atomic_set(&dev->active_channels, 0); in gs_usb_probe()