Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-k3/
H A Dam6_init.c96 u32 devstat = readl(CTRLMMR_MAIN_DEVSTAT); in spl_boot_mode() local
99 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> in spl_boot_mode()
116 static u32 __get_backup_bootmedia(u32 devstat) in __get_backup_bootmedia() argument
118 u32 bkup_boot = (devstat & CTRLMMR_MAIN_DEVSTAT_BKUP_BOOTMODE_MASK) >> in __get_backup_bootmedia()
130 u32 port = (devstat & CTRLMMR_MAIN_DEVSTAT_BKUP_MMC_PORT_MASK) >> in __get_backup_bootmedia()
147 static u32 __get_primary_bootmedia(u32 devstat) in __get_primary_bootmedia() argument
149 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> in __get_primary_bootmedia()
156 u32 port = (devstat & CTRLMMR_MAIN_DEVSTAT_MMC_PORT_MASK) >> in __get_primary_bootmedia()
161 u32 port = (devstat & CTRLMMR_MAIN_DEVSTAT_EMMC_PORT_MASK) >> in __get_primary_bootmedia()
172 u32 devstat = readl(CTRLMMR_MAIN_DEVSTAT); in spl_boot_device() local
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A 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 …]
H A Domap_udc.h165 u16 devstat; member
H A 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()
/openbmc/linux/drivers/net/ethernet/agere/
H A 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 …]
/openbmc/linux/drivers/s390/crypto/
H A 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()
H A 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()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A 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()
/openbmc/linux/drivers/usb/core/
H A Ddriver.c1440 u16 devstat; in usb_suspend_both() local
1443 &devstat); in usb_suspend_both()
H A Dhub.c5449 u16 devstat; in hub_port_connect() local
5452 &devstat); in hub_port_connect()
5457 if ((devstat & (1 << USB_DEVICE_SELF_POWERED)) == 0) { in hub_port_connect()
/openbmc/linux/Documentation/arch/s390/
H A Dcds.rst58 Moreover, they don't return a devstat, but an irb.