Home
last modified time | relevance | path

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

12

/linux-6.6.21/kernel/
Dkallsyms_selftest.c286 struct test_stat *stat, *stat2; in test_kallsyms_basic_function() local
291 stat2 = stat + 1; in test_kallsyms_basic_function()
359 memset(stat2, 0, sizeof(*stat2)); in test_kallsyms_basic_function()
360 stat2->max = INT_MAX; in test_kallsyms_basic_function()
361 stat2->name = namebuf; in test_kallsyms_basic_function()
362 kallsyms_on_each_symbol(find_symbol, stat2); in test_kallsyms_basic_function()
368 if (stat->addr != stat2->addr || in test_kallsyms_basic_function()
369 stat->real_cnt != stat2->real_cnt || in test_kallsyms_basic_function()
370 memcmp(stat->addrs, stat2->addrs, in test_kallsyms_basic_function()
/linux-6.6.21/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)
/linux-6.6.21/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;
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/phy/
Dicplus.c309 int oldpage, ret, stat1, stat2; in ip101a_g_read_status() local
327 stat2 = ret; in ip101a_g_read_status()
330 if (stat2 & IP101A_G_FORCE_MDIX) in ip101a_g_read_status()
338 if (stat2 & IP101A_G_MDIX) in ip101a_g_read_status()
Dphy_device.c733 int stat2; in phy_c45_probe_present() local
735 stat2 = mdiobus_c45_read(bus, prtad, devad, MDIO_STAT2); in phy_c45_probe_present()
736 if (stat2 < 0) in phy_c45_probe_present()
737 return stat2; in phy_c45_probe_present()
739 return (stat2 & MDIO_STAT2_DEVPRST) == MDIO_STAT2_DEVPRST_VAL; in phy_c45_probe_present()
/linux-6.6.21/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()
/linux-6.6.21/drivers/comedi/drivers/
Dni_labpc.h38 unsigned int stat2; member
Dni_labpc_common.c833 devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG); in labpc_interrupt()
837 (devpriv->stat2 & STAT2_OUTA1) == 0 && in labpc_interrupt()
838 (devpriv->stat2 & STAT2_FIFONHF)) { in labpc_interrupt()
872 if (devpriv->stat2 & STAT2_OUTA1) { in labpc_interrupt()
984 devpriv->stat2 = devpriv->read_byte(dev, STAT2_REG); in labpc_serial_in()
985 if (devpriv->stat2 & STAT2_PROMOUT) in labpc_serial_in()
Dni_labpc_isadma.c138 (board->is_labpc1200 && devpriv->stat2 & STAT2_OUTA1)) in labpc_handle_dma_status()
/linux-6.6.21/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()
/linux-6.6.21/include/linux/soc/ixp4xx/
Dqmgr.h47 u32 stat2[2]; /* 0x410 - 0x417 */ member
/linux-6.6.21/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()
/linux-6.6.21/drivers/power/supply/
Drn5t618_power.c698 unsigned int ctrl, stat1, stat2, err; in rn5t618_charger_irq() local
703 regmap_read(info->rn5t618->regmap, RN5T618_CHGSTAT_IRR2, &stat2); in rn5t618_charger_irq()
711 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()
/linux-6.6.21/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c62 return (__raw_readl(&qmgr_regs->stat2[queue >> 4]) in __qmgr_get_stat2()
405 __raw_writel(0, &qmgr_regs->stat2[i]); in ixp4xx_qmgr_probe()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/usb/host/
Disp1362.h438 unsigned long stat1, stat2, stat4, stat8, stat16; member
518 isp1362_hcd->stat2++; in ALIGNSTAT()
Disp116x.h263 unsigned long stat1, stat2, stat4, stat8, stat16; member
/linux-6.6.21/drivers/scsi/csiostor/
Dt4fw_api_stor.h398 __be64 stat2; member
/linux-6.6.21/arch/mips/cavium-octeon/executive/
Dcvmx-spi.c227 if (spxx_bist_stat.s.stat2) in cvmx_spi_reset_cb()
/linux-6.6.21/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()
/linux-6.6.21/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()

12