Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/
Domap_udc.c1148 if (udc->devstat & UDC_SUS) { in omap_wakeup()
1152 if (udc->devstat & (UDC_B_HNP_ENABLE|UDC_R_WK_OK)) { in omap_wakeup()
1159 } else if (!(udc->devstat & UDC_ATT)) { in omap_wakeup()
1367 u16 devstat; in update_otg() local
1373 devstat = omap_readw(UDC_DEVSTAT); in update_otg()
1375 devstat = 0; in update_otg()
1377 udc->gadget.b_hnp_enable = !!(devstat & UDC_B_HNP_ENABLE); in update_otg()
1378 udc->gadget.a_hnp_support = !!(devstat & UDC_A_HNP_SUPPORT); in update_otg()
1379 udc->gadget.a_alt_hnp_support = !!(devstat & UDC_A_ALT_HNP_SUPPORT); in update_otg()
1727 u16 devstat, change; in devstate_irq() local
[all …]
Domap_udc.h165 u16 devstat; member
Dlpc32xx_udc.c2728 u32 tmp, devstat; in lpc32xx_usb_lp_irq() local
2734 devstat = readl(USBD_DEVINTST(udc->udp_baseaddr)); in lpc32xx_usb_lp_irq()
2736 devstat &= ~USBD_EP_FAST; in lpc32xx_usb_lp_irq()
2737 writel(devstat, USBD_DEVINTCLR(udc->udp_baseaddr)); in lpc32xx_usb_lp_irq()
2738 devstat = devstat & udc->enabled_devints; in lpc32xx_usb_lp_irq()
2741 if (devstat & USBD_DEV_STAT) in lpc32xx_usb_lp_irq()
2749 if (devstat & ERR_INT) { in lpc32xx_usb_lp_irq()
/drivers/net/ethernet/agere/
Det131x.c3573 struct ce_stats *devstat = &adapter->stats; in et131x_stats() local
3575 stats->rx_errors = devstat->rx_length_errs + in et131x_stats()
3576 devstat->rx_align_errs + in et131x_stats()
3577 devstat->rx_crc_errs + in et131x_stats()
3578 devstat->rx_code_violations + in et131x_stats()
3579 devstat->rx_other_errs; in et131x_stats()
3580 stats->tx_errors = devstat->tx_max_pkt_errs; in et131x_stats()
3581 stats->multicast = devstat->multicast_pkts_rcvd; in et131x_stats()
3582 stats->collisions = devstat->tx_collisions; in et131x_stats()
3584 stats->rx_length_errors = devstat->rx_length_errs; in et131x_stats()
[all …]
/drivers/s390/crypto/
Dzcrypt_api.c1278 struct zcrypt_device_status_ext *devstat) in zcrypt_device_status_ext() argument
1283 memset(devstat, 0, sizeof(*devstat)); in zcrypt_device_status_ext()
1290 devstat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_ext()
1291 devstat->functions = zc->card->functions >> 26; in zcrypt_device_status_ext()
1292 devstat->qid = zq->queue->qid; in zcrypt_device_status_ext()
1293 devstat->online = zq->online ? 0x01 : 0x00; in zcrypt_device_status_ext()
Dzcrypt_ccamisc.c1686 struct zcrypt_device_status_ext devstat; in fetch_cca_info() local
1691 rc = zcrypt_device_status_ext(cardnr, domain, &devstat); in fetch_cca_info()
1694 ci->hwtype = devstat.hwtype; in fetch_cca_info()
/drivers/infiniband/hw/irdma/
Dutils.c1677 struct irdma_vsi_pestat *devstat = vsi->pestat; in irdma_hw_stats_start_timer() local
1679 timer_setup(&devstat->stats_timer, irdma_hw_stats_timeout, 0); in irdma_hw_stats_start_timer()
1680 mod_timer(&devstat->stats_timer, in irdma_hw_stats_start_timer()
1690 struct irdma_vsi_pestat *devstat = vsi->pestat; in irdma_hw_stats_stop_timer() local
1692 del_timer_sync(&devstat->stats_timer); in irdma_hw_stats_stop_timer()
/drivers/usb/core/
Ddriver.c1446 u16 devstat; in usb_suspend_both() local
1449 &devstat); in usb_suspend_both()
Dhub.c5437 u16 devstat; in hub_port_connect() local
5440 &devstat); in hub_port_connect()
5445 if ((devstat & (1 << USB_DEVICE_SELF_POWERED)) == 0) { in hub_port_connect()