Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/dma/
Dmxs-dma.c257 u32 stat1, stat2; in mxs_dma_int_handler() local
260 stat1 = readl(mxs_dma->base + HW_APBHX_CTRL1); in mxs_dma_int_handler()
261 stat1 &= MXS_DMA_CHANNELS_MASK; in mxs_dma_int_handler()
262 writel(stat1, mxs_dma->base + HW_APBHX_CTRL1 + MXS_CLR_ADDR); in mxs_dma_int_handler()
275 (~(stat2 >> MXS_DMA_CHANNELS) & stat2 & ~stat1); /* (2) */ in mxs_dma_int_handler()
278 stat1 = (stat2 << MXS_DMA_CHANNELS) | stat1; in mxs_dma_int_handler()
279 while (stat1) { in mxs_dma_int_handler()
280 int channel = fls(stat1) - 1; in mxs_dma_int_handler()
297 stat1 &= ~(1 << channel); in mxs_dma_int_handler()
/linux-2.6.39/arch/arm/mach-ixp4xx/include/mach/
Dqmgr.h49 u32 stat1[4]; /* 0x400 - 0x40F */ member
116 return (__raw_readl(&qmgr_regs->stat1[queue >> 3]) in __qmgr_get_stat1()
/linux-2.6.39/drivers/hwmon/
Damc6821.c212 u8 stat1; member
270 flag = data->stat1 & AMC6821_STAT1_LTL; in get_temp_alarm()
273 flag = data->stat1 & AMC6821_STAT1_LTH; in get_temp_alarm()
279 flag = data->stat1 & AMC6821_STAT1_RTL; in get_temp_alarm()
282 flag = data->stat1 & AMC6821_STAT1_RTH; in get_temp_alarm()
306 if (data->stat1 & AMC6821_STAT1_RTF) in get_temp2_fault()
609 if (data->stat1 & AMC6821_STAT1_FANS) in get_fan1_fault()
1013 data->stat1 = i2c_smbus_read_byte_data(client, in amc6821_update_device()
/linux-2.6.39/drivers/net/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()
838 unsigned int stat0, stat1, stat2; in get_link_status_x() local
844 MDIO_PCS_10GBX_STAT1, &stat1); in get_link_status_x()
850 *link_ok = (stat0 & (stat1 >> 12) & (stat2 >> 12)) & 1; in get_link_status_x()
/linux-2.6.39/drivers/staging/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.h81 uint64_t stat1:1; member
Dcvmx-spi.c223 if (spxx_bist_stat.s.stat1) in cvmx_spi_reset_cb()
/linux-2.6.39/sound/drivers/opl3/
Dopl3_lib.c101 unsigned char stat1, stat2, signature; in snd_opl3_detect() local
107 signature = stat1 = inb(opl3->l_port); /* Status register */ in snd_opl3_detect()
108 if ((stat1 & 0xe0) != 0x00) { /* Should be 0x00 */ in snd_opl3_detect()
109 snd_printd("OPL3: stat1 = 0x%x\n", stat1); in snd_opl3_detect()
/linux-2.6.39/arch/arm/common/
Dsa1111.c204 unsigned int stat0, stat1, i; in sa1111_irq_handler() local
209 stat1 = sa1111_readl(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
215 sa1111_writel(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
217 if (stat0 == 0 && stat1 == 0) { in sa1111_irq_handler()
226 for (i = 32; stat1; i++, stat1 >>= 1) in sa1111_irq_handler()
227 if (stat1 & 1) in sa1111_irq_handler()
/linux-2.6.39/arch/alpha/kernel/
Dcore_lca.c359 ioc_error(__u32 stat0, __u32 stat1) in ioc_error() argument
378 code > 3 ? "PCI" : "CPU", pci_cmd[cmd], stat1, err_name[code]); in ioc_error()
/linux-2.6.39/arch/arm/mach-ixp4xx/
Dixp4xx_qmgr.c65 stat = qmgr_regs->stat1[i >> 3]; in qmgr_irq1_a0()
304 __raw_writel(0x33333333, &qmgr_regs->stat1[i]); in qmgr_init()
/linux-2.6.39/drivers/net/
D3c505.c238 register int stat1; in get_status() local
240 stat1 = inb_status(base_addr); in get_status()
241 } while (stat1 != inb_status(base_addr) && time_before(jiffies, timeout)); in get_status()
244 return stat1; in get_status()
/linux-2.6.39/drivers/net/cxgb4/
Dt4fw_api.h985 __be64 stat1; member
1330 __be64 stat1; member
1427 __be64 stat1; member
/linux-2.6.39/drivers/usb/host/
Disp1362.h489 unsigned long stat1, stat2, stat4, stat8, stat16; member
571 isp1362_hcd->stat1++; in ALIGNSTAT()
Disp116x.h263 unsigned long stat1, stat2, stat4, stat8, stat16; member
Disp1362-hcd.c2086 isp1362_hcd->stat2, isp1362_hcd->stat1); in proc_isp1362_show()
/linux-2.6.39/sound/oss/
Dopl3.c159 unsigned char stat1, signature; in opl3_detect() local
192 signature = stat1 = inb(ioaddr); /* Status register */ in opl3_detect()
/linux-2.6.39/drivers/scsi/
Daha152x.c2406 unsigned int stat1 = GETPORT(SSTAT1); in update_state() local
2411 if(stat1 & SCSIRSTI) { in update_state()
2419 } else if(stat1 & SELTO) { in update_state()
2421 } else if(stat1 & BUSFREE) { in update_state()
2424 } else if(stat1 & SCSIPERR) { in update_state()
2427 } else if(stat1 & REQINIT) { in update_state()
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_attr.c1856 int stat1=0, stat2=0; in lpfc_soft_wwpn_store() local
1904 stat1 = lpfc_do_offline(phba, LPFC_EVT_OFFLINE); in lpfc_soft_wwpn_store()
1905 if (stat1) in lpfc_soft_wwpn_store()
1908 "reinit adapter - %d\n", stat1); in lpfc_soft_wwpn_store()
1920 return (stat1 || stat2) ? -EIO : count; in lpfc_soft_wwpn_store()
/linux-2.6.39/drivers/staging/iio/addac/
Dadt7316.c1802 u8 stat1, stat2; in adt7316_interrupt_bh() local
1805 ret = chip->bus.read(chip->bus.client, ADT7316_INT_STAT1, &stat1); in adt7316_interrupt_bh()
1813 if (stat1 & (1 << i)) in adt7316_interrupt_bh()