Searched refs:devstat (Results 1 – 4 of 4) sorted by relevance
1203 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() local1427 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 …]
165 u16 devstat; member
4770 struct ce_stats *devstat = &adapter->stats; in et131x_stats() local4772 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 …]
3576 u16 devstat; in hub_port_connect_change() local3579 &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()