Home
last modified time | relevance | path

Searched refs:stat1 (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
A Dg94.c33 u32 stat1 = nvkm_rd32(device, 0x00e070) & intr1; in g94_gpio_intr_stat() local
34 *lo = (stat1 & 0xffff0000) | (stat0 >> 16); in g94_gpio_intr_stat()
35 *hi = (stat1 << 16) | (stat0 & 0x0000ffff); in g94_gpio_intr_stat()
A Dgk104.c33 u32 stat1 = nvkm_rd32(device, 0x00dc88) & intr1; in gk104_gpio_intr_stat() local
34 *lo = (stat1 & 0xffff0000) | (stat0 >> 16); in gk104_gpio_intr_stat()
35 *hi = (stat1 << 16) | (stat0 & 0x0000ffff); in gk104_gpio_intr_stat()
A Dga102.c77 u32 stat1 = nvkm_rd32(device, 0x021654) & intr1; in ga102_gpio_intr_stat() local
78 *lo = (stat1 & 0xffff0000) | (stat0 >> 16); in ga102_gpio_intr_stat()
79 *hi = (stat1 << 16) | (stat0 & 0x0000ffff); in ga102_gpio_intr_stat()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A 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)
339 __entry->stat1 = stat1;
343 DEV_PR_ARG, __entry->stat1, __entry->stat2)
/linux-6.3-rc2/drivers/hwmon/
A Damc6821.c160 u8 stat1; member
181 data->stat1 = i2c_smbus_read_byte_data(client, in amc6821_update_device()
308 flag = data->stat1 & AMC6821_STAT1_LTL; in temp_alarm_show()
311 flag = data->stat1 & AMC6821_STAT1_LTH; in temp_alarm_show()
317 flag = data->stat1 & AMC6821_STAT1_RTL; in temp_alarm_show()
320 flag = data->stat1 & AMC6821_STAT1_RTH; in temp_alarm_show()
339 if (data->stat1 & AMC6821_STAT1_RTF) in temp2_fault_show()
606 if (data->stat1 & AMC6821_STAT1_FANS) in fan1_fault_show()
/linux-6.3-rc2/drivers/comedi/drivers/
A Dni_labpc_common.c218 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_ai_eoc()
219 if (devpriv->stat1 & STAT1_DAVAIL) in labpc_ai_eoc()
775 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_drain_fifo()
777 for (i = 0; (devpriv->stat1 & STAT1_DAVAIL) && i < timeout; in labpc_drain_fifo()
787 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_drain_fifo()
831 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_interrupt()
835 if ((devpriv->stat1 & (STAT1_GATA0 | STAT1_CNTINT | STAT1_OVERFLOW | in labpc_interrupt()
842 if (devpriv->stat1 & STAT1_OVERRUN) { in labpc_interrupt()
856 if (devpriv->stat1 & STAT1_CNTINT) { in labpc_interrupt()
862 if (devpriv->stat1 & STAT1_OVERFLOW) { in labpc_interrupt()
A Dni_labpc.h37 unsigned int stat1; member
A Dni_labpc_isadma.c137 if (devpriv->stat1 & STAT1_GATA0 || in labpc_handle_dma_status()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/
A Dael1002.c180 unsigned int stat0, stat1, stat2; in get_link_status_r() local
186 MDIO_PCS_10GBRT_STAT1, &stat1); 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
839 MDIO_PCS_10GBX_STAT1, &stat1); in get_link_status_x()
845 *link_ok = (stat0 & (stat1 >> 12) & (stat2 >> 12)) & 1; in get_link_status_x()
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/dss/
A Dhdmi4_cec.c100 u32 stat1 = hdmi_read_reg(core->base, HDMI_CEC_INT_STATUS_1); in hdmi4_cec_irq() local
103 hdmi_write_reg(core->base, HDMI_CEC_INT_STATUS_1, stat1); in hdmi4_cec_irq()
109 } else if (stat1 & 0x02) { in hdmi4_cec_irq()
/linux-6.3-rc2/arch/mips/include/asm/octeon/
A Dcvmx-pip.h372 union cvmx_pip_stat1_prtx stat1; in cvmx_pip_get_port_status() local
390 stat1.u64 = cvmx_read_csr(CVMX_PIP_STAT1_PRTX(port_num)); in cvmx_pip_get_port_status()
408 status->octets = stat1.s.octs; in cvmx_pip_get_port_status()
A Dcvmx-spxx-defs.h69 uint64_t stat1:1; member
73 uint64_t stat1:1;
/linux-6.3-rc2/sound/drivers/opl3/
A Dopl3_lib.c87 unsigned char stat1, stat2, signature; in snd_opl3_detect() local
93 signature = stat1 = inb(opl3->l_port); /* Status register */ in snd_opl3_detect()
94 if ((stat1 & 0xe0) != 0x00) { /* Should be 0x00 */ in snd_opl3_detect()
95 snd_printd("OPL3: stat1 = 0x%x\n", stat1); in snd_opl3_detect()
/linux-6.3-rc2/drivers/soc/ixp4xx/
A Dixp4xx-qmgr.c55 return (__raw_readl(&qmgr_regs->stat1[queue >> 3]) in __qmgr_get_stat1()
154 stat = __raw_readl(&qmgr_regs->stat1[i >> 3]); in qmgr_irq1_a0()
401 __raw_writel(0x33333333, &qmgr_regs->stat1[i]); in ixp4xx_qmgr_probe()
/linux-6.3-rc2/drivers/net/phy/
A Dicplus.c309 int oldpage, ret, stat1, stat2; in ip101a_g_read_status() local
322 stat1 = ret; in ip101a_g_read_status()
329 if (stat1 & IP101A_G_AUTO_MDIX_DIS) { in ip101a_g_read_status()
A Dphy-c45.c38 int stat1; in genphy_c45_pma_can_sleep() local
40 stat1 = phy_read_mmd(phydev, MDIO_MMD_PMAPMD, MDIO_STAT1); in genphy_c45_pma_can_sleep()
41 if (stat1 < 0) in genphy_c45_pma_can_sleep()
44 return !!(stat1 & MDIO_STAT1_LPOWERABLE); in genphy_c45_pma_can_sleep()
/linux-6.3-rc2/drivers/spi/
A Dspi-sn-f-ospi.c157 u32 val, stat0, stat1; in f_ospi_prepare_config() local
166 stat1 = OSPI_STAT_IS_SPI_IDLE | OSPI_STAT_IS_SPI_INT_CLK_STOP; in f_ospi_prepare_config()
169 val, (val & (stat0 | stat1)) == stat1, in f_ospi_prepare_config()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dmt76x02_mac.c255 u32 stat1, stat2; in mt76x02_mac_load_tx_status() local
258 stat1 = mt76_rr(dev, MT_TX_STAT_FIFO); in mt76x02_mac_load_tx_status()
260 stat->valid = !!(stat1 & MT_TX_STAT_FIFO_VALID); in mt76x02_mac_load_tx_status()
264 stat->success = !!(stat1 & MT_TX_STAT_FIFO_SUCCESS); in mt76x02_mac_load_tx_status()
265 stat->aggr = !!(stat1 & MT_TX_STAT_FIFO_AGGR); in mt76x02_mac_load_tx_status()
266 stat->ack_req = !!(stat1 & MT_TX_STAT_FIFO_ACKREQ); in mt76x02_mac_load_tx_status()
267 stat->wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, stat1); in mt76x02_mac_load_tx_status()
268 stat->rate = FIELD_GET(MT_TX_STAT_FIFO_RATE, stat1); in mt76x02_mac_load_tx_status()
/linux-6.3-rc2/arch/arm/common/
A Dsa1111.c209 unsigned int stat0, stat1, i; in sa1111_irq_handler() local
215 stat1 = readl_relaxed(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
221 writel_relaxed(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
223 if (stat0 == 0 && stat1 == 0) { in sa1111_irq_handler()
234 for (i = 32; stat1; i++, stat1 >>= 1) in sa1111_irq_handler()
235 if (stat1 & 1) in sa1111_irq_handler()
/linux-6.3-rc2/include/linux/soc/ixp4xx/
A Dqmgr.h46 u32 stat1[4]; /* 0x400 - 0x40F */ member
/linux-6.3-rc2/drivers/power/supply/
A Dbq2515x_charger.c698 unsigned int stat1; in bq2515x_charger_get_health() local
708 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT1, &stat1); in bq2515x_charger_get_health()
712 if (stat1 & BQ2515X_HEALTH_MASK) { in bq2515x_charger_get_health()
713 switch (stat1 & BQ2515X_HEALTH_MASK) { in bq2515x_charger_get_health()
732 if (stat1 & BQ2515X_VIN_OVP_FAULT_STAT) in bq2515x_charger_get_health()
A Drn5t618_power.c699 unsigned int ctrl, stat1, stat2, err; in rn5t618_charger_irq() local
703 regmap_read(info->rn5t618->regmap, RN5T618_CHGSTAT_IRR1, &stat1); in rn5t618_charger_irq()
712 err, ctrl, stat1, stat2); in rn5t618_charger_irq()
A Dbq25980_charger.c563 unsigned int stat1; in bq25980_get_state() local
570 ret = regmap_read(bq->regmap, BQ25980_STAT1, &stat1); in bq25980_get_state()
595 state->ovp = (stat1 & BQ25980_STAT1_OVP_MASK) | in bq25980_get_state()
597 state->ocp = (stat1 & BQ25980_STAT1_OCP_MASK) | in bq25980_get_state()
/linux-6.3-rc2/arch/alpha/kernel/
A Dcore_lca.c361 ioc_error(__u32 stat0, __u32 stat1) in ioc_error() argument
380 code > 3 ? "PCI" : "CPU", pci_cmd[cmd], stat1, err_name[code]); in ioc_error()
/linux-6.3-rc2/drivers/staging/iio/addac/
A Dadt7316.c1734 u8 stat1, stat2; in adt7316_event_handler() local
1738 ret = chip->bus.read(chip->bus.client, ADT7316_INT_STAT1, &stat1); in adt7316_event_handler()
1741 stat1 &= 0x1F; in adt7316_event_handler()
1744 if (stat1 & BIT(0)) in adt7316_event_handler()
1750 if (stat1 & BIT(1)) in adt7316_event_handler()
1756 if (stat1 & BIT(2)) in adt7316_event_handler()
1762 if (stat1 & BIT(3)) in adt7316_event_handler()
1768 if (stat1 & BIT(5)) in adt7316_event_handler()
1774 if (stat1 & BIT(6)) in adt7316_event_handler()
1780 if (stat1 & BIT(7)) in adt7316_event_handler()

Completed in 60 milliseconds

12