Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/msm/hdmi/
H A 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()
/openbmc/linux/drivers/tty/serial/
H A 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()
/openbmc/linux/drivers/watchdog/
H A 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()
H A 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()
/openbmc/linux/drivers/irqchip/
H A 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()
/openbmc/linux/drivers/regulator/
H A 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()
/openbmc/linux/sound/soc/fsl/
H A Dfsl_micfil.c1030 u32 stat_reg; in micfil_isr() local
1036 regmap_read(micfil->regmap, REG_MICFIL_STAT, &stat_reg); in micfil_isr()
1044 if (stat_reg & MICFIL_STAT_CHXF(i)) in micfil_isr()
1076 u32 stat_reg; in micfil_err_isr() local
1078 regmap_read(micfil->regmap, REG_MICFIL_STAT, &stat_reg); in micfil_err_isr()
1080 if (stat_reg & MICFIL_STAT_BSY_FIL) in micfil_err_isr()
1083 if (stat_reg & MICFIL_STAT_FIR_RDY) in micfil_err_isr()
1086 if (stat_reg & MICFIL_STAT_LOWFREQF) { in micfil_err_isr()
/openbmc/qemu/hw/ppc/
H A Dpnv_psi.c222 uint32_t stat_reg; in pnv_psi_power8_set_irq() local
227 stat_reg = stat_regs[irq]; in pnv_psi_power8_set_irq()
231 psi->regs[stat_reg] |= stat_bits[irq]; in pnv_psi_power8_set_irq()
237 psi->regs[stat_reg] &= ~stat_bits[irq]; in pnv_psi_power8_set_irq()
240 if (stat_reg != PSIHB_XSCOM_CR || in pnv_psi_power8_set_irq()
241 !(psi->regs[stat_reg] & (PSIHB_CR_PSI_IRQ | PSIHB_CR_FSP_IRQ))) { in pnv_psi_power8_set_irq()
/openbmc/linux/drivers/net/ethernet/dlink/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/e1000/
H A 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()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A 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()