Searched refs:cause (Results 1 - 25 of 51) sorted by relevance

123

/drivers/net/ethernet/chelsio/cxgb/
H A Dsubr.c196 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...]
H A Dtp.c126 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 Dmv88e1xxx.c299 * 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)
/drivers/isdn/hisax/
H A Dl3_1tr6.c359 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 Dl3dss1.c512 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 Dl3ni1.c462 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...]
H A Dq931.c14 * 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...]
/drivers/isdn/pcbit/
H A Dedss1.h77 unsigned short cause; member in union:callb_data::__anon1935
H A Dcapi.h56 extern int capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause);
/drivers/w1/slaves/
H A DKconfig30 Enabling this will cause the driver to read back the values written
/drivers/net/ethernet/chelsio/cxgb3/
H A Dmc5.c386 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 Dvsc8211.c324 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 Dt3_hw.c1760 u32 cause = t3_read_reg(adapter, mc7->offset + A_MC7_INT_CAUSE); local
1762 if (cause & F_CE) {
1772 if (cause & F_UE) {
1782 if (G_PE(cause)) {
1785 mc7->name, G_PE(cause));
1788 if (cause & F_AE) {
1799 if (cause & MC7_INTR_FATAL)
1802 t3_write_reg(adapter, mc7->offset + A_MC7_INT_CAUSE, cause);
1819 u32 cause = t3_read_reg(adap, A_XGM_INT_CAUSE + mac->offset) & local
1822 if (cause
1861 u32 i, cause = t3_read_reg(adapter, A_T3DBG_INT_CAUSE); local
1890 u32 cause = t3_read_reg(adapter, A_PL_INT_CAUSE0); local
[all...]
H A Daq100x.c108 unsigned int cause, v; local
110 err = t3_mdio_read(phy, MDIO_MMD_VEND1, AQ_IFLAG_GLOBAL, &cause);
/drivers/edac/
H A Dmv64x60_edac.c34 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/watchdog/
H A Dpnx833x_wdt.c238 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/char/ipmi/
H A DKconfig24 When a panic occurs, this will cause the IPMI message handler to
32 When a panic occurs, this will cause the IPMI message handler to
60 the driver is forced to probe hardware manually. This may cause boot
/drivers/net/ethernet/xscale/
H A DKconfig16 kernel: saying N will just cause the configurator to skip all
/drivers/net/wireless/libertas/
H A Dif_cs.c203 * 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...]
/drivers/misc/sgi-gru/
H A Dgruhandles.h209 unsigned int cause:3; member in struct:gru_tlb_global_handle
283 unsigned int cause:6; member in struct:gru_tlb_fault_handle
337 /* TFH cause bits */
380 unsigned int cause:4; member in struct:gru_context_configuration_handle
413 /* CCH Exception cause */
/drivers/gpio/
H A Dgpio-mvebu.c30 * 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/scsi/csiostor/
H A Dcsio_hw.c1223 * the chip's microprocessor out of RESET. This will cause the
3128 uint32_t cause = csio_rd_reg32(hw, PL_INT_CAUSE); local
3130 if (!(cause & CSIO_GLBL_INTR_MASK)) {
3135 csio_dbg(hw, "Slow interrupt! cause: 0x%x\n", cause);
3139 if (cause & CIM)
3142 if (cause & MPS)
3145 if (cause & NCSI)
3148 if (cause & PL)
3151 if (cause
[all...]
/drivers/mfd/
H A Dsi476x-cmd.c183 char *cause; local
192 cause = "Bad command";
196 cause = "Bad argument #1";
200 cause = "Bad argument #2";
204 cause = "Bad argument #3";
208 cause = "Bad argument #4";
212 cause = "Chip is busy";
216 cause = "Bad internal memory";
220 cause = "Bad patch";
224 cause
[all...]
/drivers/isdn/act2000/
H A Dcapi.h61 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 Djsm_neo.c726 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...]

Completed in 709 milliseconds

123