Searched refs:devstat (Results 1 – 7 of 7) sorted by relevance
1143 if (udc->devstat & UDC_SUS) { in omap_wakeup()1147 if (udc->devstat & (UDC_B_HNP_ENABLE|UDC_R_WK_OK)) { in omap_wakeup()1154 } else if (!(udc->devstat & UDC_ATT)) { in omap_wakeup()1362 u16 devstat; in update_otg() local1368 devstat = omap_readw(UDC_DEVSTAT); in update_otg()1370 devstat = 0; in update_otg()1372 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE); in update_otg()1373 udc->gadget.a_hnp_support = !!(devstat & UDC_A_HNP_SUPPORT); in update_otg()1374 udc->gadget.a_alt_hnp_support = !!(devstat & UDC_A_ALT_HNP_SUPPORT); in update_otg()1722 u16 devstat, change; in devstate_irq() local[all …]
165 u16 devstat; member
2721 u32 tmp, devstat; in lpc32xx_usb_lp_irq() local2727 devstat = readl(USBD_DEVINTST(udc->udp_baseaddr)); in lpc32xx_usb_lp_irq()2729 devstat &= ~USBD_EP_FAST; in lpc32xx_usb_lp_irq()2730 writel(devstat, USBD_DEVINTCLR(udc->udp_baseaddr)); in lpc32xx_usb_lp_irq()2731 devstat = devstat & udc->enabled_devints; in lpc32xx_usb_lp_irq()2734 if (devstat & USBD_DEV_STAT) in lpc32xx_usb_lp_irq()2742 if (devstat & ERR_INT) { in lpc32xx_usb_lp_irq()
3610 struct ce_stats *devstat = &adapter->stats; in et131x_stats() local3612 stats->rx_errors = devstat->rx_length_errs + in et131x_stats()3613 devstat->rx_align_errs + in et131x_stats()3614 devstat->rx_crc_errs + in et131x_stats()3615 devstat->rx_code_violations + in et131x_stats()3616 devstat->rx_other_errs; in et131x_stats()3617 stats->tx_errors = devstat->tx_max_pkt_errs; in et131x_stats()3618 stats->multicast = devstat->multicast_pkts_rcvd; in et131x_stats()3619 stats->collisions = devstat->tx_collisions; in et131x_stats()3621 stats->rx_length_errors = devstat->rx_length_errs; in et131x_stats()[all …]
1335 struct zcrypt_device_status_ext *devstat) in zcrypt_device_status_ext() argument1340 memset(devstat, 0, sizeof(*devstat)); in zcrypt_device_status_ext()1347 devstat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_ext()1348 devstat->functions = zc->card->hwinfo.fac >> 26; in zcrypt_device_status_ext()1349 devstat->qid = zq->queue->qid; in zcrypt_device_status_ext()1350 devstat->online = zq->online ? 0x01 : 0x00; in zcrypt_device_status_ext()
1716 struct zcrypt_device_status_ext devstat; in cca_get_info() local1722 rc = zcrypt_device_status_ext(cardnr, domain, &devstat); in cca_get_info()1725 ci->hwtype = devstat.hwtype; in cca_get_info()
58 Moreover, they don't return a devstat, but an irb.