Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/alpha/kernel/
H A Dcore_apecs.c130 unsigned int stat0, value; in conf_read() local
138 stat0 = *(vuip)APECS_IOC_DCSR; in conf_read()
139 *(vuip)APECS_IOC_DCSR = stat0; in conf_read()
180 stat0 = *(vuip)APECS_IOC_DCSR; in conf_read()
184 if (stat0 & 0xffe0U) { in conf_read()
186 if (!(stat0 & 0x0800)) { in conf_read()
212 unsigned int stat0; in conf_write() local
218 stat0 = *(vuip)APECS_IOC_DCSR; in conf_write()
219 *(vuip)APECS_IOC_DCSR = stat0; in conf_write()
253 if (stat0 & 0xffe0U) { in conf_write()
[all …]
H A Dcore_lca.c138 stat0 = *(vulp)LCA_IOC_STAT0; in conf_read()
139 *(vulp)LCA_IOC_STAT0 = stat0; in conf_read()
146 stat0 = *(vulp)LCA_IOC_STAT0; in conf_read()
147 if (stat0 & LCA_IOC_STAT0_ERR) { in conf_read()
155 *(vulp)LCA_IOC_STAT0 = stat0; in conf_read()
175 stat0 = *(vulp)LCA_IOC_STAT0; in conf_write()
176 *(vulp)LCA_IOC_STAT0 = stat0; in conf_write()
183 stat0 = *(vulp)LCA_IOC_STAT0; in conf_write()
192 *(vulp)LCA_IOC_STAT0 = stat0; in conf_write()
384 (stat0 & ~IOC_P_NBR)); in ioc_error()
[all …]
H A Dcore_mcpcia.c92 unsigned int stat0, value, cpu; in conf_read() local
102 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_read()
103 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; in conf_read()
106 DBG_CFG(("conf_read: MCPCIA_CAP_ERR(%d) was 0x%x\n", mid, stat0)); in conf_read()
140 unsigned int stat0, cpu; in conf_write() local
147 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_write()
148 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; mb(); in conf_write()
150 DBG_CFG(("conf_write: MCPCIA CAP_ERR(%d) was 0x%x\n", mid, stat0)); in conf_write()
H A Dcore_cia.c109 int stat0, value; in conf_read() local
116 stat0 = *(vip)CIA_IOC_CIA_ERR; in conf_read()
117 *(vip)CIA_IOC_CIA_ERR = stat0; in conf_read()
164 int stat0, cia_cfg = 0; in conf_write() local
170 stat0 = *(vip)CIA_IOC_CIA_ERR; in conf_write()
171 *(vip)CIA_IOC_CIA_ERR = stat0; in conf_write()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dg94.c32 u32 stat0 = nvkm_rd32(device, 0x00e050) & intr0; 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()
H A Dgk104.c32 u32 stat0 = nvkm_rd32(device, 0x00dc08) & intr0; 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()
H A Dga102.c76 u32 stat0 = nvkm_rd32(device, 0x021648) & intr0; 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()
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c99 u32 stat0 = hdmi_read_reg(core->base, HDMI_CEC_INT_STATUS_0); in hdmi4_cec_irq() local
102 hdmi_write_reg(core->base, HDMI_CEC_INT_STATUS_0, stat0); in hdmi4_cec_irq()
105 if (stat0 & 0x20) { in hdmi4_cec_irq()
118 if (stat0 & 0x02) in hdmi4_cec_irq()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pip.h371 union cvmx_pip_stat0_prtx stat0; in cvmx_pip_get_port_status() local
389 stat0.u64 = cvmx_read_csr(CVMX_PIP_STAT0_PRTX(port_num)); in cvmx_pip_get_port_status()
406 status->dropped_octets = stat0.s.drp_octs; in cvmx_pip_get_port_status()
407 status->dropped_packets = stat0.s.drp_pkts; in cvmx_pip_get_port_status()
H A Dcvmx-spxx-defs.h70 uint64_t stat0:1; member
72 uint64_t stat0:1;
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dael1002.c180 unsigned int stat0, stat1, stat2; in get_link_status_r() local
182 MDIO_PMA_RXDET, &stat0); 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
835 MDIO_PMA_RXDET, &stat0); in get_link_status_x()
845 *link_ok = (stat0 & (stat1 >> 12) & (stat2 >> 12)) & 1; in get_link_status_x()
/openbmc/u-boot/drivers/net/
H A Dbcm-sf2-eth-gmac.c398 uint32_t stat0 = 0, stat1 = 0; in gmac_check_rx_done() local
417 stat0 = readl(GMAC0_DMA_RX_STATUS0_ADDR) & D64_RS0_CD_MASK; in gmac_check_rx_done()
419 curr = ((stat0 - offset) & D64_RS0_CD_MASK) / sizeof(dma64dd_t); in gmac_check_rx_done()
445 stat0 = readl(GMAC0_DMA_RX_STATUS0_ADDR); in gmac_check_rx_done()
449 (uint32_t)bufp, index, buflen, stat0, stat1); in gmac_check_rx_done()
/openbmc/linux/arch/arm/common/
H A Dsa1111.c209 unsigned int stat0, stat1, i; in sa1111_irq_handler() local
214 stat0 = readl_relaxed(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
217 writel_relaxed(stat0, mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
223 if (stat0 == 0 && stat1 == 0) { in sa1111_irq_handler()
230 for (i = 0; stat0; i++, stat0 >>= 1) in sa1111_irq_handler()
231 if (stat0 & 1) in sa1111_irq_handler()
/openbmc/linux/drivers/spi/
H A Dspi-sn-f-ospi.c157 u32 val, stat0, stat1; in f_ospi_prepare_config() local
165 stat0 = OSPI_STAT_IS_AXI_WRITING | OSPI_STAT_IS_AXI_READING; in f_ospi_prepare_config()
169 val, (val & (stat0 | stat1)) == stat1, in f_ospi_prepare_config()
/openbmc/u-boot/arch/arm/include/asm/arch-hi6220/
H A Dhi6220_regs_alwayson.h19 u32 stat0; /*0x10*/ member
/openbmc/u-boot/board/hisilicon/hikey/
H A Dhikey.c485 writel(0x48698284, &ao_sc->stat0); in reset_cpu()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dnet2272.c1599 u8 stat0, stat1; in net2272_handle_ep() local
1608 stat0 = net2272_ep_read(ep, EP_STAT0); in net2272_handle_ep()
1613 ep->ep.name, stat0, stat1, req ? &req->req : NULL); in net2272_handle_ep()
1615 net2272_ep_write(ep, EP_STAT0, stat0 & in net2272_handle_ep()
1624 if (!ep->is_in && (stat0 & (1 << DATA_PACKET_RECEIVED_INTERRUPT))) in net2272_handle_ep()
1627 else if (stat0 & (1 << DATA_PACKET_TRANSMITTED_INTERRUPT)) in net2272_handle_ep()
H A Dnet2280.c3072 static void usb338x_handle_ep_intr(struct net2280 *dev, u32 stat0) in usb338x_handle_ep_intr() argument
3080 if (!stat0) in usb338x_handle_ep_intr()
3083 if (!(stat0 & bit)) in usb338x_handle_ep_intr()
3086 stat0 &= ~bit; in usb338x_handle_ep_intr()
/openbmc/linux/drivers/scsi/csiostor/
H A Dt4fw_api_stor.h396 __be64 stat0; member
/openbmc/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-spi.c220 if (spxx_bist_stat.s.stat0) in cvmx_spi_reset_cb()
/openbmc/linux/drivers/scsi/
H A Daha152x.c2227 unsigned int stat0 = GETPORT(SSTAT0); in update_state() local
2237 } else if (stat0 & SELDI && PREVSTATE == busfree) { in update_state()
2239 } else if (stat0 & SELDO && CURRENT_SC && in update_state()
2262 if((stat0 & SELDI) && STATE!=seldi && !dataphase) { in update_state()
/openbmc/qemu/hw/scsi/
H A Dlsi53c895a.c537 static void lsi_script_scsi_interrupt(LSIState *s, int stat0, int stat1) in lsi_script_scsi_interrupt() argument
542 trace_lsi_script_scsi_interrupt(stat1, stat0, s->sist1, s->sist0); in lsi_script_scsi_interrupt()
543 s->sist0 |= stat0; in lsi_script_scsi_interrupt()
/openbmc/linux/drivers/video/fbdev/aty/
H A Datyfb_base.c2369 u32 stat0; in aty_init() local
2371 stat0 = aty_ld_le32(CNFG_STAT0, par); in aty_init()
2372 par->bus_type = (stat0 >> 0) & 0x07; in aty_init()
2373 par->ram_type = (stat0 >> 3) & 0x07; in aty_init()
2378 dac_type = (stat0 >> 9) & 0x07; in aty_init()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4fw_api.h2501 __be64 stat0; member
3219 __be64 stat0; member
3311 __be64 stat0; member
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c1799 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats()

12