Home
last modified time | relevance | path

Searched refs:stat2 (Results 1 – 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dtrace.h331 TP_PROTO(struct mt7601u_dev *dev, u32 stat1, u32 stat2),
332 TP_ARGS(dev, stat1, stat2),
335 __field(u32, stat1) __field(u32, stat2)
340 __entry->stat2 = stat2;
343 DEV_PR_ARG, __entry->stat1, __entry->stat2)
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-pip.h373 union cvmx_pip_stat2_prtx stat2; in cvmx_pip_get_port_status() local
391 stat2.u64 = cvmx_read_csr(CVMX_PIP_STAT2_PRTX(port_num)); in cvmx_pip_get_port_status()
409 status->pci_raw_packets = stat2.s.raw; in cvmx_pip_get_port_status()
410 status->packets = stat2.s.pkts; in cvmx_pip_get_port_status()
Dcvmx-spxx-defs.h68 uint64_t stat2:1; member
74 uint64_t stat2:1;
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dael1002.c180 unsigned int stat0, stat1, stat2; in get_link_status_r() local
189 MDIO_PHYXS_LNSTAT, &stat2); in get_link_status_r()
192 *link_ok = (stat0 & stat1 & (stat2 >> 12)) & 1; in get_link_status_r()
833 unsigned int stat0, stat1, stat2; in get_link_status_x() local
842 MDIO_PHYXS_LNSTAT, &stat2); in get_link_status_x()
845 *link_ok = (stat0 & (stat1 >> 12) & (stat2 >> 12)) & 1; in get_link_status_x()
/kernel/linux/linux-5.10/sound/drivers/opl3/
Dopl3_lib.c87 unsigned char stat1, stat2, signature; in snd_opl3_detect() local
105 stat2 = inb(opl3->l_port); in snd_opl3_detect()
110 if ((stat2 & 0xe0) != 0xc0) { /* There is no YM3812 */ in snd_opl3_detect()
111 snd_printd("OPL3: stat2 = 0x%x\n", stat2); in snd_opl3_detect()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_labpc.h38 unsigned int stat2; member
Dni_labpc_common.c834 devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG); in labpc_interrupt()
838 (devpriv->stat2 & STAT2_OUTA1) == 0 && in labpc_interrupt()
839 (devpriv->stat2 & STAT2_FIFONHF)) { in labpc_interrupt()
873 if (devpriv->stat2 & STAT2_OUTA1) { in labpc_interrupt()
985 devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG); in labpc_serial_in()
986 if (devpriv->stat2 & STAT2_PROMOUT) in labpc_serial_in()
Dni_labpc_isadma.c139 (board->is_labpc1200 && devpriv->stat2 & STAT2_OUTA1)) in labpc_handle_dma_status()
/kernel/linux/linux-5.10/drivers/net/
Dmdio.c28 int mmd, stat2, devs1, devs2; in mdio45_probe() local
34 stat2 = mdio->mdio_read(mdio->dev, prtad, mmd, MDIO_STAT2); in mdio45_probe()
35 if (stat2 < 0 || in mdio45_probe()
36 (stat2 & MDIO_STAT2_DEVPRST) != MDIO_STAT2_DEVPRST_VAL) in mdio45_probe()
/kernel/linux/linux-5.10/drivers/power/supply/
Drn5t618_power.c440 unsigned int ctrl, stat1, stat2, err; in rn5t618_charger_irq() local
445 regmap_read(info->rn5t618->regmap, RN5T618_CHGSTAT_IRR2, &stat2); in rn5t618_charger_irq()
453 err, ctrl, stat1, stat2); in rn5t618_charger_irq()
Dbq25980_charger.c564 unsigned int stat2; in bq25980_get_state() local
574 ret = regmap_read(bq->regmap, BQ25980_STAT2, &stat2); in bq25980_get_state()
598 (stat2 & BQ25980_STAT2_OCP_MASK); in bq25980_get_state()
/kernel/linux/linux-5.10/include/linux/soc/ixp4xx/
Dqmgr.h47 u32 stat2[2]; /* 0x410 - 0x417 */ member
/kernel/linux/linux-5.10/drivers/hwmon/
Damc6821.c161 u8 stat2; member
183 data->stat2 = i2c_smbus_read_byte_data(client, in amc6821_update_device()
314 flag = data->stat2 & AMC6821_STAT2_LTC; in temp_alarm_show()
323 flag = data->stat2 & AMC6821_STAT2_RTC; in temp_alarm_show()
/kernel/linux/linux-5.10/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c61 return (__raw_readl(&qmgr_regs->stat2[queue >> 4]) in __qmgr_get_stat2()
404 __raw_writel(0, &qmgr_regs->stat2[i]); in ixp4xx_qmgr_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c255 u32 stat1, stat2; in mt76x02_mac_load_tx_status() local
257 stat2 = mt76_rr(dev, MT_TX_STAT_FIFO_EXT); in mt76x02_mac_load_tx_status()
270 stat->retry = FIELD_GET(MT_TX_STAT_FIFO_EXT_RETRY, stat2); in mt76x02_mac_load_tx_status()
271 stat->pktid = FIELD_GET(MT_TX_STAT_FIFO_EXT_PKTID, stat2); in mt76x02_mac_load_tx_status()
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy_device.c647 int stat2; in phy_c45_probe_present() local
649 stat2 = mdiobus_c45_read(bus, prtad, devad, MDIO_STAT2); in phy_c45_probe_present()
650 if (stat2 < 0) in phy_c45_probe_present()
651 return stat2; in phy_c45_probe_present()
653 return (stat2 & MDIO_STAT2_DEVPRST) == MDIO_STAT2_DEVPRST_VAL; in phy_c45_probe_present()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dmb86a16.c573 u8 stat, stat2; in mb86a16_read_status() local
580 if (mb86a16_read(state, MB86A16_SIG2, &stat2) != 2) in mb86a16_read_status()
582 if ((stat > 25) && (stat2 > 25)) in mb86a16_read_status()
584 if ((stat > 45) && (stat2 > 45)) in mb86a16_read_status()
/kernel/linux/linux-5.10/drivers/usb/host/
Disp1362.h439 unsigned long stat1, stat2, stat4, stat8, stat16; member
519 isp1362_hcd->stat2++; in ALIGNSTAT()
Disp116x.h264 unsigned long stat1, stat2, stat4, stat8, stat16; member
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dt4fw_api_stor.h398 __be64 stat2; member
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-spi.c227 if (spxx_bist_stat.s.stat2) in cvmx_spi_reset_cb()
/kernel/linux/linux-5.10/drivers/staging/iio/addac/
Dadt7316.c1734 u8 stat1, stat2; in adt7316_event_handler() local
1787 ret = chip->bus.read(chip->bus.client, ADT7316_INT_STAT2, &stat2); in adt7316_event_handler()
1789 if (stat2 & ADT7316_INT_MASK2_VDD) in adt7316_event_handler()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_attr.c2816 int stat1 = 0, stat2 = 0; in lpfc_soft_wwpn_store() local
2860 rc = lpfc_workq_post_event(phba, &stat2, &online_compl, in lpfc_soft_wwpn_store()
2866 if (stat2) in lpfc_soft_wwpn_store()
2869 "reinit adapter - %d\n", stat2); in lpfc_soft_wwpn_store()
2870 return (stat1 || stat2) ? -EIO : count; in lpfc_soft_wwpn_store()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dsil-sii8620.c1618 u8 stat2 = sii8620_readb(ctx, REG_DISC_STAT2); in sii8620_irq_disc() local
1620 if ((stat2 & MSK_DISC_STAT2_RGND) == VAL_RGND_1K) { in sii8620_irq_disc()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h2501 __be64 stat2; member
3219 __be64 stat2; member
3311 __be64 stat2; member

12