Home
last modified time | relevance | path

Searched refs:devstatus (Results 1 – 17 of 17) sorted by relevance

/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c150 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 …]
Dbdc_ep.c1156 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 …]
Dbdc.h436 u32 devstatus; member
/drivers/s390/crypto/
Dzcrypt_api.h143 void zcrypt_device_status_mask_ext(struct zcrypt_device_status_ext *devstatus);
145 struct zcrypt_device_status_ext *devstatus);
Dzcrypt_api.c1092 static void zcrypt_device_status_mask(struct zcrypt_device_status *devstatus) in zcrypt_device_status_mask() argument
1099 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() argument
1126 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()
/drivers/usb/usbip/
Dvudc_transfer.c96 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()
Dvudc.h106 u16 devstatus; member
Dvudc_dev.c142 udc->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in vgadget_set_selfpowered()
144 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in vgadget_set_selfpowered()
/drivers/usb/isp1760/
Disp1760-udc.h83 unsigned int devstatus; member
Disp1760-udc.c461 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()
/drivers/usb/gadget/udc/
Ds3c2410_udc.h81 u16 devstatus; member
Ddummy_hcd.c273 u16 devstatus; member
852 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()
Datmel_usba_udc.c1009 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()
Datmel_usba_udc.h336 u16 devstatus; member
Ds3c2410_udc.c543 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()
/drivers/usb/core/
Dhub.c3350 u16 devstatus = 0; in finish_port_resume() local
3389 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()
/drivers/mailbox/
Dbcm-pdc-mailbox.c201 u32 devstatus; /* 0x004 */ member