Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/gadget/udc/bdc/
Dbdc_udc.c150 bdc->devstatus &= DEVSTATUS_CLEAR; in bdc_uspc_disconnected()
169 if (bdc->devstatus & FUNC_WAKE_ISSUED) { in bdc_func_wake_timer()
192 bdc->devstatus |= DEVICE_SUSPENDED; in handle_link_state_change()
198 if (bdc->devstatus & REMOTE_WAKEUP_ISSUED) { in handle_link_state_change()
199 bdc->devstatus &= ~REMOTE_WAKEUP_ISSUED; in handle_link_state_change()
202 bdc->devstatus |= FUNC_WAKE_ISSUED; in handle_link_state_change()
220 if (bdc->devstatus & DEVICE_SUSPENDED) { in handle_link_state_change()
222 bdc->devstatus &= ~DEVICE_SUSPENDED; in handle_link_state_change()
280 bdc->devstatus &= ~(DEVICE_SUSPENDED); in bdc_sr_uspc()
457 bdc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in bdc_udc_set_selfpowered()
[all …]
Dbdc_ep.c1158 bdc->devstatus |= REMOTE_WAKE_ENABLE; in ep0_handle_feature_dev()
1160 bdc->devstatus &= ~REMOTE_WAKE_ENABLE; in ep0_handle_feature_dev()
1185 bdc->devstatus |= (1 << USB_DEV_STAT_U1_ENABLED); in ep0_handle_feature_dev()
1189 bdc->devstatus &= ~(1 << USB_DEV_STAT_U1_ENABLED); in ep0_handle_feature_dev()
1205 bdc->devstatus |= (1 << USB_DEV_STAT_U2_ENABLED); in ep0_handle_feature_dev()
1209 bdc->devstatus &= ~(1 << USB_DEV_STAT_U2_ENABLED); in ep0_handle_feature_dev()
1258 bdc->devstatus |= REMOTE_WAKE_ENABLE; in ep0_handle_feature()
1261 bdc->devstatus &= ~REMOTE_WAKE_ENABLE; in ep0_handle_feature()
1318 usb_status = bdc->devstatus; in ep0_handle_status()
1323 bdc->devstatus); in ep0_handle_status()
[all …]
Dbdc.h436 u32 devstatus; member
/linux-6.1.9/drivers/s390/crypto/
Dzcrypt_api.h160 void zcrypt_device_status_mask_ext(struct zcrypt_device_status_ext *devstatus);
162 struct zcrypt_device_status_ext *devstatus);
Dzcrypt_api.c1292 static void zcrypt_device_status_mask(struct zcrypt_device_status *devstatus) in zcrypt_device_status_mask() argument
1299 memset(devstatus, 0, MAX_ZDEV_ENTRIES in zcrypt_device_status_mask()
1309 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask()
1319 void zcrypt_device_status_mask_ext(struct zcrypt_device_status_ext *devstatus) in zcrypt_device_status_mask_ext() argument
1326 memset(devstatus, 0, MAX_ZDEV_ENTRIES_EXT in zcrypt_device_status_mask_ext()
1334 stat = &devstatus[card * AP_DOMAINS + queue]; in zcrypt_device_status_mask_ext()
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-udc.h89 unsigned int devstatus; member
Disp1760-udc.c524 status = udc->devstatus; in isp1760_udc_get_status()
1249 udc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in isp1760_udc_set_selfpowered()
1251 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in isp1760_udc_set_selfpowered()
1293 udc->devstatus = 0; in isp1760_udc_start()
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/gadget/udc/
Ds3c2410_udc.h81 u16 devstatus; member
Ddummy_hcd.c273 u16 devstatus; member
856 if (!(dum_hcd->dum->devstatus & ((1 << USB_DEVICE_B_HNP_ENABLE) in dummy_wakeup()
881 dum->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in dummy_set_selfpowered()
883 dum->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in dummy_set_selfpowered()
1017 dum->devstatus = 0; in dummy_udc_start()
1675 dum->devstatus |= (1 << w_value); in handle_control_request()
1723 dum->devstatus &= ~(1 << w_value); in handle_control_request()
1760 buf[0] = (u8)dum->devstatus; in handle_control_request()
2268 & dum_hcd->dum->devstatus) != 0) in dummy_hub_control()
2308 dum_hcd->dum->devstatus &= in dummy_hub_control()
Datmel_usba_udc.c1007 if (udc->devstatus & (1 << USB_DEVICE_REMOTE_WAKEUP)) { in usba_udc_wakeup()
1026 udc->devstatus |= 1 << USB_DEVICE_SELF_POWERED; in usba_udc_set_selfpowered()
1028 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in usba_udc_set_selfpowered()
1314 status = cpu_to_le16(udc->devstatus); in handle_ep0_setup()
1344 udc->devstatus in handle_ep0_setup()
1379 udc->devstatus |= 1 << USB_DEVICE_REMOTE_WAKEUP; in handle_ep0_setup()
1994 udc->devstatus = 1 << USB_DEVICE_SELF_POWERED; in atmel_usba_start()
2021 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in atmel_usba_start()
Datmel_usba_udc.h349 u16 devstatus; member
Ds3c2410_udc.c534 status = dev->devstatus; in s3c2410_udc_get_status()
1408 udc->devstatus |= (1 << USB_DEVICE_SELF_POWERED); in s3c2410_udc_set_selfpowered()
1410 udc->devstatus &= ~(1 << USB_DEVICE_SELF_POWERED); in s3c2410_udc_set_selfpowered()
/linux-6.1.9/drivers/usb/core/
Dhub.c3488 u16 devstatus = 0; in finish_port_resume() local
3527 devstatus = 0; in finish_port_resume()
3528 status = usb_get_std_status(udev, USB_RECIP_DEVICE, 0, &devstatus); in finish_port_resume()
3549 if (devstatus & (1 << USB_DEVICE_REMOTE_WAKEUP)) in finish_port_resume()
3553 &devstatus); in finish_port_resume()
3554 if (!status && devstatus & (USB_INTRF_STAT_FUNC_RW_CAP in finish_port_resume()
/linux-6.1.9/drivers/mailbox/
Dbcm-pdc-mailbox.c201 u32 devstatus; /* 0x004 */ member