Searched refs:devstatus (Results 1 – 17 of 17) sorted by relevance
150 bdc->devstatus &= DEVSTATUS_CLEAR; in bdc_uspc_disconnected()168 if (bdc->devstatus & FUNC_WAKE_ISSUED) { in bdc_func_wake_timer()191 bdc->devstatus |= DEVICE_SUSPENDED; in handle_link_state_change()197 if (bdc->devstatus & REMOTE_WAKEUP_ISSUED) { in handle_link_state_change()198 bdc->devstatus &= ~REMOTE_WAKEUP_ISSUED; in handle_link_state_change()201 bdc->devstatus |= FUNC_WAKE_ISSUED; in handle_link_state_change()219 if (bdc->devstatus & DEVICE_SUSPENDED) { in handle_link_state_change()221 bdc->devstatus &= ~DEVICE_SUSPENDED; in handle_link_state_change()279 bdc->devstatus &= ~(DEVICE_SUSPENDED); in bdc_sr_uspc()456 bdc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in bdc_udc_set_selfpowered()[all …]
1156 bdc->devstatus |= REMOTE_WAKE_ENABLE; in ep0_handle_feature_dev()1158 bdc->devstatus &= ~REMOTE_WAKE_ENABLE; in ep0_handle_feature_dev()1183 bdc->devstatus |= (1 << USB_DEV_STAT_U1_ENABLED); in ep0_handle_feature_dev()1187 bdc->devstatus &= ~(1 << USB_DEV_STAT_U1_ENABLED); in ep0_handle_feature_dev()1203 bdc->devstatus |= (1 << USB_DEV_STAT_U2_ENABLED); in ep0_handle_feature_dev()1207 bdc->devstatus &= ~(1 << USB_DEV_STAT_U2_ENABLED); in ep0_handle_feature_dev()1256 bdc->devstatus |= REMOTE_WAKE_ENABLE; in ep0_handle_feature()1259 bdc->devstatus &= ~REMOTE_WAKE_ENABLE; in ep0_handle_feature()1316 usb_status = bdc->devstatus; in ep0_handle_status()1321 bdc->devstatus); in ep0_handle_status()[all …]
436 u32 devstatus; member
143 void zcrypt_device_status_mask_ext(struct zcrypt_device_status_ext *devstatus);145 struct zcrypt_device_status_ext *devstatus);
1092 static void zcrypt_device_status_mask(struct zcrypt_device_status *devstatus) in zcrypt_device_status_mask() argument1099 memset(devstatus, 0, MAX_ZDEV_ENTRIES in zcrypt_device_status_mask()1109 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask()1119 void zcrypt_device_status_mask_ext(struct zcrypt_device_status_ext *devstatus) in zcrypt_device_status_mask_ext() argument1126 memset(devstatus, 0, MAX_ZDEV_ENTRIES_EXT in zcrypt_device_status_mask_ext()1134 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask_ext()
96 udc->devstatus |= (1 << w_value); in handle_control_request()129 udc->devstatus &= ~(1 << w_value); in handle_control_request()166 buf[0] = (u8)udc->devstatus; in handle_control_request()
106 u16 devstatus; member
142 udc->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in vgadget_set_selfpowered()144 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in vgadget_set_selfpowered()
83 unsigned int devstatus; member
461 status = udc->devstatus; in isp1760_udc_get_status()1172 udc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in isp1760_udc_set_selfpowered()1174 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in isp1760_udc_set_selfpowered()1216 udc->devstatus = 0; in isp1760_udc_start()
81 u16 devstatus; member
273 u16 devstatus; member852 if (!(dum_hcd->dum->devstatus & ((1 << USB_DEVICE_B_HNP_ENABLE) in dummy_wakeup()877 dum->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in dummy_set_selfpowered()879 dum->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in dummy_set_selfpowered()988 dum->devstatus = 0; in dummy_udc_start()1655 dum->devstatus |= (1 << w_value); in handle_control_request()1703 dum->devstatus &= ~(1 << w_value); in handle_control_request()1740 buf[0] = (u8)dum->devstatus; in handle_control_request()2234 & dum_hcd->dum->devstatus) != 0) in dummy_hub_control()2271 dum_hcd->dum->devstatus &= in dummy_hub_control()
1009 if (udc->devstatus & (1 << USB_DEVICE_REMOTE_WAKEUP)) { in usba_udc_wakeup()1028 udc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in usba_udc_set_selfpowered()1030 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in usba_udc_set_selfpowered()1312 status = cpu_to_le16(udc->devstatus); in handle_ep0_setup()1342 udc->devstatus in handle_ep0_setup()1377 udc->devstatus |= 1 << USB_DEVICE_REMOTE_WAKEUP; in handle_ep0_setup()1973 udc->devstatus = 1 << USB_DEVICE_SELF_POWERED; in atmel_usba_start()2000 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in atmel_usba_start()
336 u16 devstatus; member
543 status = dev->devstatus; in s3c2410_udc_get_status()1421 udc->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in s3c2410_udc_set_selfpowered()1423 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in s3c2410_udc_set_selfpowered()
3350 u16 devstatus = 0; in finish_port_resume() local3389 devstatus = 0; in finish_port_resume()3390 status = usb_get_std_status(udev, USB_RECIP_DEVICE, 0, &devstatus); in finish_port_resume()3411 if (devstatus & (1 << USB_DEVICE_REMOTE_WAKEUP)) in finish_port_resume()3415 &devstatus); in finish_port_resume()3416 if (!status && devstatus & (USB_INTRF_STAT_FUNC_RW_CAP in finish_port_resume()
201 u32 devstatus; /* 0x004 */ member