Home
last modified time | relevance | path

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

/Linux-v5.4/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.c2737 u32 tmp, devstat; in lpc32xx_usb_lp_irq() local
2743 devstat = readl(USBD_DEVINTST(udc->udp_baseaddr)); in lpc32xx_usb_lp_irq()
2745 devstat &= ~USBD_EP_FAST; in lpc32xx_usb_lp_irq()
2746 writel(devstat, USBD_DEVINTCLR(udc->udp_baseaddr)); in lpc32xx_usb_lp_irq()
2747 devstat = devstat & udc->enabled_devints; in lpc32xx_usb_lp_irq()
2750 if (devstat & USBD_DEV_STAT) in lpc32xx_usb_lp_irq()
2758 if (devstat & ERR_INT) { in lpc32xx_usb_lp_irq()
/Linux-v5.4/Documentation/devicetree/bindings/c6x/
Ddscr.txt34 - ti,dscr-devstat
35 offset of the devstat register
107 ti,dscr-devstat = <0>;
/Linux-v5.4/arch/c6x/boot/dts/
Dtms320c6457.dtsi48 ti,dscr-devstat = <0x20>;
Dtms320c6474.dtsi76 ti,dscr-devstat = <0x004>;
Dtms320c6455.dtsi83 ti,dscr-devstat = <0>;
Dtms320c6472.dtsi117 ti,dscr-devstat = <0>;
Dtms320c6678.dtsi139 ti,dscr-devstat = <0x20>;
/Linux-v5.4/drivers/s390/crypto/
Dzcrypt_api.c1146 struct zcrypt_device_status_ext *devstat) in zcrypt_device_status_ext() argument
1151 memset(devstat, 0, sizeof(*devstat)); in zcrypt_device_status_ext()
1158 devstat->hwtype = zc->card->ap_dev.device_type; in zcrypt_device_status_ext()
1159 devstat->functions = zc->card->functions >> 26; in zcrypt_device_status_ext()
1160 devstat->qid = zq->queue->qid; in zcrypt_device_status_ext()
1161 devstat->online = zq->online ? 0x01 : 0x00; in zcrypt_device_status_ext()
Dzcrypt_ccamisc.c1496 struct zcrypt_device_status_ext devstat; in fetch_cca_info() local
1501 rc = zcrypt_device_status_ext(cardnr, domain, &devstat); in fetch_cca_info()
1504 ci->hwtype = devstat.hwtype; in fetch_cca_info()
/Linux-v5.4/drivers/net/ethernet/agere/
Det131x.c3582 struct ce_stats *devstat = &adapter->stats; in et131x_stats() local
3584 stats->rx_errors = devstat->rx_length_errs + in et131x_stats()
3585 devstat->rx_align_errs + in et131x_stats()
3586 devstat->rx_crc_errs + in et131x_stats()
3587 devstat->rx_code_violations + in et131x_stats()
3588 devstat->rx_other_errs; in et131x_stats()
3589 stats->tx_errors = devstat->tx_max_pkt_errs; in et131x_stats()
3590 stats->multicast = devstat->multicast_pkts_rcvd; in et131x_stats()
3591 stats->collisions = devstat->tx_collisions; in et131x_stats()
3593 stats->rx_length_errors = devstat->rx_length_errs; in et131x_stats()
[all …]
/Linux-v5.4/arch/c6x/platforms/
Ddscr.c111 struct devstate_stat_reg devstat[MAX_DEVSTAT_REGS]; member
537 r = &dscr.devstat[i]; in dscr_parse_devstate_stat_regs()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_utils.c1541 struct i40iw_vsi_pestat *devstat = vsi->pestat; in i40iw_hw_stats_start_timer() local
1543 timer_setup(&devstat->stats_timer, i40iw_hw_stats_timeout, 0); in i40iw_hw_stats_start_timer()
1544 mod_timer(&devstat->stats_timer, in i40iw_hw_stats_start_timer()
1554 struct i40iw_vsi_pestat *devstat = vsi->pestat; in i40iw_hw_stats_stop_timer() local
1556 del_timer_sync(&devstat->stats_timer); in i40iw_hw_stats_stop_timer()
Di40iw_verbs.c2583 struct i40iw_vsi_pestat *devstat = iwdev->vsi.pestat; in i40iw_get_hw_stats() local
2584 struct i40iw_dev_hw_stats *hw_stats = &devstat->hw_stats; in i40iw_get_hw_stats()
2587 i40iw_hw_stats_read_all(devstat, &devstat->hw_stats); in i40iw_get_hw_stats()
2589 if (i40iw_vchnl_vf_get_pe_stats(dev, &devstat->hw_stats)) in i40iw_get_hw_stats()
/Linux-v5.4/drivers/usb/core/
Ddriver.c1335 u16 devstat; in usb_suspend_both() local
1338 &devstat); in usb_suspend_both()
Dhub.c5046 u16 devstat; in hub_port_connect() local
5049 &devstat); in hub_port_connect()
5054 if ((devstat & (1 << USB_DEVICE_SELF_POWERED)) == 0) { in hub_port_connect()
/Linux-v5.4/Documentation/s390/
Dcds.rst58 Moreover, they don't return a devstat, but an irb.