Home
last modified time | relevance | path

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

/linux-6.6.21/arch/alpha/kernel/
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()
141 DBGC(("conf_read: APECS DCSR was 0x%x\n", stat0)); in conf_read()
180 stat0 = *(vuip)APECS_IOC_DCSR; in conf_read()
181 DBGC(("conf_read: APECS DCSR after read 0x%x\n", stat0)); in conf_read()
184 if (stat0 & 0xffe0U) { in conf_read()
186 if (!(stat0 & 0x0800)) { in conf_read()
187 printk("apecs.c:conf_read: got stat0=%x\n", stat0); in conf_read()
191 *(vuip)APECS_IOC_DCSR = stat0; in conf_read()
[all …]
Dcore_lca.c132 unsigned long flags, code, stat0; in conf_read() local
138 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()
148 code = ((stat0 >> LCA_IOC_STAT0_CODE_SHIFT) in conf_read()
151 printk("lca.c:conf_read: got stat0=%lx\n", stat0); in conf_read()
155 *(vulp)LCA_IOC_STAT0 = stat0; in conf_read()
170 unsigned long flags, code, stat0; in conf_write() local
175 stat0 = *(vulp)LCA_IOC_STAT0; in conf_write()
[all …]
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()
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()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
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()
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()
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()
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/
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()
/linux-6.6.21/arch/mips/include/asm/octeon/
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()
Dcvmx-spxx-defs.h70 uint64_t stat0:1; member
72 uint64_t stat0:1;
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
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()
/linux-6.6.21/arch/arm/common/
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()
/linux-6.6.21/drivers/spi/
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()
/linux-6.6.21/drivers/usb/gadget/udc/
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()
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()
/linux-6.6.21/drivers/scsi/csiostor/
Dt4fw_api_stor.h396 __be64 stat0; member
/linux-6.6.21/arch/mips/cavium-octeon/executive/
Dcvmx-spi.c220 if (spxx_bist_stat.s.stat0) in cvmx_spi_reset_cb()
/linux-6.6.21/drivers/scsi/
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()
/linux-6.6.21/drivers/video/fbdev/aty/
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()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h2501 __be64 stat0; member
3219 __be64 stat0; member
3311 __be64 stat0; member
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c1799 memcpy(fwsp, &rpl.u.ctl.stat0, sizeof(__be64) * nstats); in t4vf_get_port_stats()