Home
last modified time | relevance | path

Searched refs:devstat (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/gadget/
Domap_udc.c1203 if (udc->devstat & UDC_SUS) { in omap_wakeup()
1207 if (udc->devstat & (UDC_B_HNP_ENABLE|UDC_R_WK_OK)) { in omap_wakeup()
1214 } else if (!(udc->devstat & UDC_ATT)) { in omap_wakeup()
1421 u16 devstat; in update_otg() local
1427 devstat = omap_readw(UDC_DEVSTAT); in update_otg()
1429 devstat = 0; in update_otg()
1431 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE); in update_otg()
1432 udc->gadget.a_hnp_support = !!(devstat & UDC_A_HNP_SUPPORT); in update_otg()
1433 udc->gadget.a_alt_hnp_support = !!(devstat & UDC_A_ALT_HNP_SUPPORT); in update_otg()
1780 u16 devstat, change; in devstate_irq() local
[all …]
Domap_udc.h165 u16 devstat; member
/drivers/staging/et131x/
Det131x.c4770 struct ce_stats *devstat = &adapter->stats; in et131x_stats() local
4772 stats->rx_errors = devstat->rx_length_errs + in et131x_stats()
4773 devstat->rx_align_errs + in et131x_stats()
4774 devstat->rx_crc_errs + in et131x_stats()
4775 devstat->rx_code_violations + in et131x_stats()
4776 devstat->rx_other_errs; in et131x_stats()
4777 stats->tx_errors = devstat->tx_max_pkt_errs; in et131x_stats()
4778 stats->multicast = devstat->multicast_pkts_rcvd; in et131x_stats()
4779 stats->collisions = devstat->tx_collisions; in et131x_stats()
4781 stats->rx_length_errors = devstat->rx_length_errs; in et131x_stats()
[all …]
/drivers/usb/core/
Dhub.c3576 u16 devstat; in hub_port_connect_change() local
3579 &devstat); in hub_port_connect_change()
3584 le16_to_cpus(&devstat); in hub_port_connect_change()
3585 if ((devstat & (1 << USB_DEVICE_SELF_POWERED)) == 0) { in hub_port_connect_change()