Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/hdmi/
Dhdmi_hpd.c233 enum drm_connector_status stat_gpio, stat_reg; in msm_hdmi_bridge_detect() local
245 stat_reg = detect_reg(hdmi); in msm_hdmi_bridge_detect()
247 if (stat_gpio == stat_reg) in msm_hdmi_bridge_detect()
257 if (stat_gpio != stat_reg) { in msm_hdmi_bridge_detect()
258 DBG("HDMI_HPD_INT_STATUS tells us: %d", stat_reg); in msm_hdmi_bridge_detect()
/drivers/tty/serial/
Dmen_z135_uart.c124 u32 stat_reg; member
185 msr = (uart->stat_reg >> 8) & 0xff; in men_z135_handle_modem_status()
200 lsr = (uart->stat_reg >> 16) & 0xff; in men_z135_handle_lsr()
223 u32 stat_reg; in get_rx_fifo_content() local
228 stat_reg = ioread32(port->membase + MEN_Z135_STAT_REG); in get_rx_fifo_content()
229 rxc_lo = stat_reg >> 24; in get_rx_fifo_content()
230 rxc_hi = (stat_reg & 0xC0) >> 6; in get_rx_fifo_content()
389 uart->stat_reg = ioread32(port->membase + MEN_Z135_STAT_REG); in men_z135_intr()
390 irq_id = IRQ_ID(uart->stat_reg); in men_z135_intr()
/drivers/watchdog/
Dpcwd_pci.c261 int stat_reg; in pcipcwd_start() local
267 stat_reg = inb_p(pcipcwd_private.io_addr + 2); in pcipcwd_start()
270 if (stat_reg & WD_PCI_WDIS) { in pcipcwd_start()
283 int stat_reg; in pcipcwd_stop() local
292 stat_reg = inb_p(pcipcwd_private.io_addr + 2); in pcipcwd_stop()
295 if (!(stat_reg & WD_PCI_WDIS)) { in pcipcwd_stop()
Dpcwd.c404 int stat_reg; in pcwd_start() local
416 stat_reg = inb_p(pcwd_private.io_addr + 2); in pcwd_start()
418 if (stat_reg & WD_WDIS) { in pcwd_start()
432 int stat_reg; in pcwd_stop() local
444 stat_reg = inb_p(pcwd_private.io_addr + 2); in pcwd_stop()
446 if ((stat_reg & WD_WDIS) == 0) { in pcwd_stop()
/drivers/irqchip/
Dirq-vt8500.c74 void __iomem *stat_reg = base + VT8500_ICIS + (d->hwirq < 32 ? 0 : 4); in vt8500_irq_mask() local
80 status = readl(stat_reg); in vt8500_irq_mask()
83 writel(status, stat_reg); in vt8500_irq_mask()
/drivers/regulator/
Dmt6370-regulator.c76 unsigned int stat_reg, stat, rpt_flags = 0; in mt6370_get_error_flags() local
80 stat_reg = MT6370_REG_LDO_STAT; in mt6370_get_error_flags()
82 stat_reg = MT6370_REG_DB_STAT; in mt6370_get_error_flags()
84 ret = regmap_read(regmap, stat_reg, &stat); in mt6370_get_error_flags()
/drivers/net/ethernet/dlink/
Ddl2k.c1076 unsigned int stat_reg; in get_stats() local
1091 stat_reg = dr16(FramesAbortXSColls); in get_stats()
1092 dev->stats.tx_aborted_errors += stat_reg; in get_stats()
1093 dev->stats.tx_errors += stat_reg; in get_stats()
1095 stat_reg = dr16(CarrierSenseErrors); in get_stats()
1096 dev->stats.tx_carrier_errors += stat_reg; in get_stats()
1097 dev->stats.tx_errors += stat_reg; in get_stats()
/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1208 u32 stat_reg = 0; in e1000_integrated_phy_loopback() local
1242 stat_reg = er32(STATUS); in e1000_integrated_phy_loopback()
1243 if ((stat_reg & E1000_STATUS_FD) == 0) in e1000_integrated_phy_loopback()
/drivers/infiniband/hw/irdma/
Dctrl.c1923 u64 *stat_reg = vsi->hw_stats_regs; in irdma_hw_stats_init_gen1() local
1934 stat_reg[i] = regs[i] + stats_reg_set * sizeof(u32); in irdma_hw_stats_init_gen1()
1936 stat_reg[i] = regs[i] + stats_reg_set * sizeof(u64); in irdma_hw_stats_init_gen1()