Home
last modified time | relevance | path

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

/drivers/usb/gadget/udc/
Domap_udc.c1143 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() local
1368 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 …]
Domap_udc.h165 u16 devstat; member
Dlpc32xx_udc.c2727 u32 tmp, devstat; in lpc32xx_usb_lp_irq() local
2733 devstat = readl(USBD_DEVINTST(udc->udp_baseaddr)); in lpc32xx_usb_lp_irq()
2735 devstat &= ~USBD_EP_FAST; in lpc32xx_usb_lp_irq()
2736 writel(devstat, USBD_DEVINTCLR(udc->udp_baseaddr)); in lpc32xx_usb_lp_irq()
2737 devstat = devstat & udc->enabled_devints; in lpc32xx_usb_lp_irq()
2740 if (devstat & USBD_DEV_STAT) in lpc32xx_usb_lp_irq()
2748 if (devstat & ERR_INT) { in lpc32xx_usb_lp_irq()
/drivers/net/ethernet/agere/
Det131x.c3574 struct ce_stats *devstat = &adapter->stats; in et131x_stats() local
3576 stats->rx_errors = devstat->rx_length_errs + in et131x_stats()
3577 devstat->rx_align_errs + in et131x_stats()
3578 devstat->rx_crc_errs + in et131x_stats()
3579 devstat->rx_code_violations + in et131x_stats()
3580 devstat->rx_other_errs; in et131x_stats()
3581 stats->tx_errors = devstat->tx_max_pkt_errs; in et131x_stats()
3582 stats->multicast = devstat->multicast_pkts_rcvd; in et131x_stats()
3583 stats->collisions = devstat->tx_collisions; in et131x_stats()
3585 stats->rx_length_errors = devstat->rx_length_errs; in et131x_stats()
[all …]
/drivers/s390/crypto/
Dzcrypt_api.c1261 struct zcrypt_device_status_ext *devstat) in zcrypt_device_status_ext() argument
1266 memset(devstat, 0, sizeof(*devstat)); in zcrypt_device_status_ext()
1273 devstat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_ext()
1274 devstat->functions = zc->card->functions >> 26; in zcrypt_device_status_ext()
1275 devstat->qid = zq->queue->qid; in zcrypt_device_status_ext()
1276 devstat->online = zq->online ? 0x01 : 0x00; in zcrypt_device_status_ext()
Dzcrypt_ccamisc.c1679 struct zcrypt_device_status_ext devstat; in fetch_cca_info() local
1684 rc = zcrypt_device_status_ext(cardnr, domain, &devstat); in fetch_cca_info()
1687 ci->hwtype = devstat.hwtype; in fetch_cca_info()
/drivers/infiniband/hw/i40iw/
Di40iw_utils.c1500 struct i40iw_vsi_pestat *devstat = vsi->pestat; in i40iw_hw_stats_start_timer() local
1502 timer_setup(&devstat->stats_timer, i40iw_hw_stats_timeout, 0); in i40iw_hw_stats_start_timer()
1503 mod_timer(&devstat->stats_timer, in i40iw_hw_stats_start_timer()
1513 struct i40iw_vsi_pestat *devstat = vsi->pestat; in i40iw_hw_stats_stop_timer() local
1515 del_timer_sync(&devstat->stats_timer); in i40iw_hw_stats_stop_timer()
Di40iw_verbs.c2567 struct i40iw_vsi_pestat *devstat = iwdev->vsi.pestat; in i40iw_get_hw_stats() local
2568 struct i40iw_dev_hw_stats *hw_stats = &devstat->hw_stats; in i40iw_get_hw_stats()
2571 i40iw_hw_stats_read_all(devstat, &devstat->hw_stats); in i40iw_get_hw_stats()
2573 if (i40iw_vchnl_vf_get_pe_stats(dev, &devstat->hw_stats)) in i40iw_get_hw_stats()
/drivers/usb/core/
Ddriver.c1449 u16 devstat; in usb_suspend_both() local
1452 &devstat); in usb_suspend_both()
Dhub.c5385 u16 devstat; in hub_port_connect() local
5388 &devstat); in hub_port_connect()
5393 if ((devstat & (1 << USB_DEVICE_SELF_POWERED)) == 0) { in hub_port_connect()