Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
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()
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()
/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)
339 __entry->stat1 = stat1;
343 DEV_PR_ARG, __entry->stat1, __entry->stat2)
/kernel/linux/linux-5.10/drivers/hwmon/
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()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_labpc_common.c219 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_ai_eoc()
220 if (devpriv->stat1 & STAT1_DAVAIL) in labpc_ai_eoc()
776 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_drain_fifo()
778 for (i = 0; (devpriv->stat1 & STAT1_DAVAIL) && i < timeout; in labpc_drain_fifo()
788 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_drain_fifo()
832 devpriv->stat1 = devpriv->read_byte(dev, STAT1_REG); in labpc_interrupt()
836 if ((devpriv->stat1 & (STAT1_GATA0 | STAT1_CNTINT | STAT1_OVERFLOW | in labpc_interrupt()
843 if (devpriv->stat1 & STAT1_OVERRUN) { in labpc_interrupt()
857 if (devpriv->stat1 & STAT1_CNTINT) { in labpc_interrupt()
863 if (devpriv->stat1 & STAT1_OVERFLOW) { in labpc_interrupt()
Dni_labpc.h37 unsigned int stat1; member
Dni_labpc_isadma.c138 if (devpriv->stat1 & STAT1_GATA0 || in labpc_handle_dma_status()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
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()
/kernel/linux/linux-5.10/sound/drivers/opl3/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dhdmi4_cec.c112 u32 stat1 = hdmi_read_reg(core->base, HDMI_CEC_INT_STATUS_1); in hdmi4_cec_irq() local
115 hdmi_write_reg(core->base, HDMI_CEC_INT_STATUS_1, stat1); in hdmi4_cec_irq()
121 } else if (stat1 & 0x02) { in hdmi4_cec_irq()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
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()
Dcvmx-spxx-defs.h69 uint64_t stat1:1; member
73 uint64_t stat1:1;
/kernel/linux/linux-5.10/drivers/soc/ixp4xx/
Dixp4xx-qmgr.c54 return (__raw_readl(&qmgr_regs->stat1[queue >> 3]) in __qmgr_get_stat1()
153 stat = __raw_readl(&qmgr_regs->stat1[i >> 3]); in qmgr_irq1_a0()
400 __raw_writel(0x33333333, &qmgr_regs->stat1[i]); in ixp4xx_qmgr_probe()
/kernel/linux/linux-5.10/drivers/power/supply/
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()
Drn5t618_power.c440 unsigned int ctrl, stat1, stat2, err; in rn5t618_charger_irq() local
444 regmap_read(info->rn5t618->regmap, RN5T618_CHGSTAT_IRR1, &stat1); in rn5t618_charger_irq()
453 err, ctrl, stat1, stat2); in rn5t618_charger_irq()
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()
/kernel/linux/linux-5.10/include/linux/soc/ixp4xx/
Dqmgr.h46 u32 stat1[4]; /* 0x400 - 0x40F */ member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
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()
/kernel/linux/linux-5.10/arch/arm/common/
Dsa1111.c214 unsigned int stat0, stat1, i; in sa1111_irq_handler() local
220 stat1 = readl_relaxed(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
226 writel_relaxed(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
228 if (stat0 == 0 && stat1 == 0) { in sa1111_irq_handler()
239 for (i = 32; stat1; i++, stat1 >>= 1) in sa1111_irq_handler()
240 if (stat1 & 1) in sa1111_irq_handler()
/kernel/linux/linux-5.10/arch/alpha/kernel/
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()
/kernel/linux/linux-5.10/drivers/staging/iio/addac/
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()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c250 u32 stat, stat1; in ast_vhub_epn_handle_ack_desc() local
255 stat1 = readl(ep->epn.regs + AST_VHUB_EP_DESC_STATUS); in ast_vhub_epn_handle_ack_desc()
256 } while(stat != stat1); in ast_vhub_epn_handle_ack_desc()
/kernel/linux/linux-5.10/drivers/scsi/
Daha152x.c2181 unsigned int stat1 = GETPORT(SSTAT1); in update_state() local
2186 if(stat1 & SCSIRSTI) { in update_state()
2194 } else if(stat1 & SELTO) { in update_state()
2196 } else if(stat1 & BUSFREE) { in update_state()
2199 } else if(stat1 & SCSIPERR) { in update_state()
2202 } else if(stat1 & REQINIT) { in update_state()
/kernel/linux/linux-5.10/drivers/usb/host/
Disp1362.h439 unsigned long stat1, stat2, stat4, stat8, stat16; member
521 isp1362_hcd->stat1++; in ALIGNSTAT()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dt4fw_api_stor.h397 __be64 stat1; member

12