/drivers/net/ethernet/chelsio/cxgb/ |
H A D | tp.c | 126 u32 cause; local 134 cause = readl(tp->adapter->regs + A_TP_INT_CAUSE); 135 writel(cause, tp->adapter->regs + A_TP_INT_CAUSE);
|
H A D | mv88e1xxx.c | 299 * Loop until cause reads zero. Need to handle bouncing interrupts. 302 u32 cause; local 306 &cause); 307 cause &= INTR_ENABLE_MASK; 308 if (!cause) 311 if (cause & MV88E1XXX_INTR_LINK_CHNG) { 325 if (cause & MV88E1XXX_INTR_AUTONEG_DONE)
|
H A D | subr.c | 196 u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); local 199 if (cause & (1 << p)) { 206 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); 215 u32 cause = readl(adapter->regs + A_PL_CAUSE); local 217 cause &= ~F_PL_INTR_SGE_DATA; 218 if (cause & F_PL_INTR_SGE_ERR) 221 if (cause & FPGA_PCIX_INTERRUPT_GMAC) 224 if (cause & FPGA_PCIX_INTERRUPT_TP) { 234 if (cause & FPGA_PCIX_INTERRUPT_PCIX) 238 if (cause) 671 u32 cause; local 847 u32 cause = readl(adapter->regs + A_PL_CAUSE); local [all...] |
/drivers/isdn/pcbit/ |
H A D | capi.c | 338 int capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause) argument 351 *(skb_put(*skb, 1)) = 0x80 | cause;
|
H A D | edss1.h | 77 unsigned short cause; member in union:callb_data::__anon1935
|
/drivers/edac/ |
H A D | mv64x60_edac.c | 34 u32 cause; local 36 cause = in_le32(pdata->pci_vbase + MV64X60_PCI_ERROR_CAUSE); 37 if (!cause) 41 printk(KERN_ERR "Cause register: 0x%08x\n", cause); 50 out_le32(pdata->pci_vbase + MV64X60_PCI_ERROR_CAUSE, ~cause); 52 if (cause & MV64X60_PCI_PE_MASK) 55 if (!(cause & MV64X60_PCI_PE_MASK)) 236 u32 cause; local 238 cause = in_le32(pdata->sram_vbase + MV64X60_SRAM_ERR_CAUSE); 239 if (!cause) 263 u32 cause; local 402 u32 cause; local 430 u32 cause; local [all...] |
/drivers/isdn/hisax/ |
H A D | l3_1tr6.c | 359 pc->para.cause = p[2]; 365 pc->para.cause = 0; 369 pc->para.cause = NO_CAUSE; 370 l3_1tr6_error(pc, "missing REL cause", skb); 389 pc->para.cause = NO_CAUSE; 425 pc->para.cause = p[2]; 431 pc->para.cause = 0; 436 l3_debug(pc->st, "cause not found"); 437 pc->para.cause = NO_CAUSE; 519 u_char cause local 581 u_char cause = 0x90; local [all...] |
H A D | q931.c | 14 * Beat Doebeli cause texts, display information element 15 * Karsten Keil cause texts, display information element for 1TR6 449 int i, cause; local 460 cause = 0x7f & *p++; 462 /* locate cause value */ 464 if (cvlist[i].nr == cause) 467 /* display cause value if it exists */ 469 dp += sprintf(dp, "Unknown cause type %x!\n", cause); 471 dp += sprintf(dp, " cause valu 525 int i, cause; local [all...] |
H A D | l3dss1.c | 512 l3dss1_message_cause(struct l3_process *pc, u_char mt, u_char cause) argument 523 *p++ = cause | 0x80; 545 *p++ = pc->para.cause | 0x80; 570 switch (pc->para.cause) { 580 *p++ = pc->para.cause | 0x80; 583 printk(KERN_ERR "HiSax l3dss1_msg_without_setup wrong cause %d\n", 584 pc->para.cause); 830 pc->para.cause = 97; 846 pc->para.cause = 96; 850 pc->para.cause 1514 u_char cause = 0; local 1763 u_char cause = 16; local 1836 u_char cause = 21; local 1863 int ret, cause = 0; local 2346 u_char cause = 16; local 2441 u_char cause = 0, callState = 0; local [all...] |
H A D | l3ni1.c | 462 l3ni1_message_cause(struct l3_process *pc, u_char mt, u_char cause) argument 473 *p++ = cause | 0x80; 495 *p++ = pc->para.cause | 0x80; 520 switch (pc->para.cause) { 530 *p++ = pc->para.cause | 0x80; 533 printk(KERN_ERR "HiSax l3ni1_msg_without_setup wrong cause %d\n", 534 pc->para.cause); 780 pc->para.cause = 97; 796 pc->para.cause = 96; 800 pc->para.cause 1368 u_char cause = 0; local 1617 u_char cause = 16; local 1692 u_char cause = 21; local 1719 int ret, cause = 0; local 2206 u_char cause = 16; local 2301 u_char cause = 0, callState = 0; local [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | aq100x.c | 108 unsigned int cause, v; local 110 err = t3_mdio_read(phy, MDIO_MMD_VEND1, AQ_IFLAG_GLOBAL, &cause);
|
H A D | mc5.c | 386 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); local 388 if ((cause & F_PARITYERR) && mc5->parity_enabled) { 393 if (cause & F_REQQPARERR) { 398 if (cause & F_DISPQPARERR) { 403 if (cause & F_ACTRGNFULL) 405 if (cause & F_NFASRCHFAIL) 407 if (cause & F_UNKNOWNCMD) 409 if (cause & F_DELACTEMPTY) 411 if (cause & MC5_INT_FATAL) 414 t3_write_reg(adap, A_MC5_DB_INT_CAUSE, cause); [all...] |
H A D | vsc8211.c | 324 unsigned int cause; local 327 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_STATUS, &cause); 331 cause &= INTR_MASK; 332 if (cause & CFG_CHG_INTR_MASK) 334 if (cause & (VSC_INTR_RX_FIFO | VSC_INTR_TX_FIFO))
|
H A D | ael1002.c | 457 int ret, edc_needed, cause = 0; local 487 cause = cphy_cause_module_change; 494 ret |= cause; 768 int ret, edc_needed, cause = 0; local 793 cause = cphy_cause_module_change; 800 ret |= cause;
|
/drivers/watchdog/ |
H A D | pnx833x_wdt.c | 238 int ret, cause; local 241 cause = PNX833X_REG(PNX833X_RESET); 242 /*If bit 31 is set then watchdog was cause of reset.*/ 243 if (cause & 0x80000000) {
|
/drivers/isdn/act2000/ |
H A D | capi.c | 378 m->msg.disconnect_req.cause = 0; 400 actcapi_connect_resp(act2000_card *card, act2000_chan *chan, __u8 cause) argument 408 m->msg.connect_resp.rejectcause = cause; 409 if (cause) { 897 /* TODO: Eval Charging info / cause */
|
H A D | capi.h | 61 struct cause { /* Cause information */ struct in union:actcapi_infoel 68 } cause; member in union:actcapi_infoel 228 __u8 cause; member in struct:actcapi_msg::__anon1751::disconnect_req
|
/drivers/tty/serial/jsm/ |
H A D | jsm_neo.c | 726 u8 cause; local 775 cause = readb(&ch->ch_neo_uart->xoffchar1); 778 "Port %d. Got ISR_XONXOFF: cause:%x\n", 779 port, cause); 787 if (cause == UART_17158_XON_DETECT) { 796 else if (cause == UART_17158_XOFF_DETECT) { 814 cause = readb(&ch->ch_neo_uart->mcr); 818 if ((cause & 0x4) == 0) { 819 if (cause & UART_MCR_RTS) 824 if (cause [all...] |
/drivers/gpio/ |
H A D | gpio-mvebu.c | 30 * the normal cause/edge mask/level mask registers when the global 31 * interrupts are used, but adds per-CPU cause/edge mask/level mask 65 /* The Armada XP has per-CPU registers for interrupt cause, interrupt 358 * Level IRQ handlers: DATA_IN is used directly as cause register. 368 * cause register. 370 * EDGE cause mask 372 * -----| |----- ---- to main cause reg 443 u32 cause, type; local 451 cause = readl_relaxed(mvebu_gpioreg_data_in(mvchip)) & 453 cause | 487 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; local [all...] |
/drivers/infiniband/ulp/iser/ |
H A D | iser_verbs.c | 52 static void iser_cq_event_callback(struct ib_event *cause, void *context) argument 54 iser_err("got cq event %d \n", cause->event); 57 static void iser_qp_event_callback(struct ib_event *cause, void *context) argument 59 iser_err("got qp event %d\n",cause->event); 1250 * would not cause interrupts to be missed.
|
/drivers/net/wireless/libertas/ |
H A D | if_cs.c | 203 * needs to be set almost in union with "host int cause". The following 215 * With the host int cause register can the host (that is, Linux) cause 264 * we handle this via the card int cause register. 270 * The card int cause register is used by the card/firmware to notify us 512 u16 cause; local 516 /* Ask card interrupt cause register if there is something for us */ 517 cause = if_cs_read16(card, IF_CS_CARD_INT_CAUSE); 518 lbs_deb_cs("cause 0x%04x\n", cause); [all...] |
H A D | if_sdio.c | 1079 * is because mmc_remove_host() will cause the device to be instantly 1144 u8 cause; local 1150 cause = sdio_readb(card->func, IF_SDIO_H_INT_STATUS, &ret); 1151 if (ret || !cause) 1154 lbs_deb_sdio("interrupt: 0x%X\n", (unsigned)cause); 1156 sdio_writeb(card->func, ~cause, IF_SDIO_H_INT_STATUS, &ret); 1165 if (cause & IF_SDIO_H_INT_DNLD) 1169 if (cause & IF_SDIO_H_INT_UPLD) {
|
H A D | if_spi.c | 841 u32 cause; local 844 err = spu_read_u32(card, IF_SPI_SCRATCH_3_REG, &cause); 855 lbs_queue_event(priv, cause & 0xff);
|
/drivers/staging/dgnc/ |
H A D | dgnc_neo.c | 404 unsigned char cause; local 454 cause = readb(&ch->ch_neo_uart->xoffchar1); 461 if (cause == UART_17158_XON_DETECT) { 470 } else if (cause == UART_17158_XOFF_DETECT) { 488 cause = readb(&ch->ch_neo_uart->mcr); 490 if ((cause & 0x4) == 0) { 491 if (cause & UART_MCR_RTS) { 505 if (cause & UART_MCR_DTR) {
|
/drivers/i2c/busses/ |
H A D | i2c-nomadik.c | 74 #define I2C_SR_CAUSE (0x7 << 4) /* Abort cause */ 593 u32 cause; local 601 /* get the abort cause */ 602 cause = (i2c_sr >> 4) & 0x7; 604 cause >= ARRAY_SIZE(abort_causes) ? 606 abort_causes[cause]);
|