Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 126) sorted by relevance

123456

/drivers/isdn/hisax/
Dl3ni1.c462 l3ni1_message_cause(struct l3_process *pc, u_char mt, u_char cause) in l3ni1_message_cause() argument
473 *p++ = cause | 0x80; in l3ni1_message_cause()
495 *p++ = pc->para.cause | 0x80; in l3ni1_status_send()
520 switch (pc->para.cause) { in l3ni1_msg_without_setup()
530 *p++ = pc->para.cause | 0x80; in l3ni1_msg_without_setup()
534 pc->para.cause); in l3ni1_msg_without_setup()
780 pc->para.cause = 97; in l3ni1_check_messagetype_validity()
796 pc->para.cause = 96; in l3ni1_std_ie_err()
800 pc->para.cause = 99; in l3ni1_std_ie_err()
804 pc->para.cause = 100; in l3ni1_std_ie_err()
[all …]
Dl3dss1.c512 l3dss1_message_cause(struct l3_process *pc, u_char mt, u_char cause) in l3dss1_message_cause() argument
523 *p++ = cause | 0x80; in l3dss1_message_cause()
545 *p++ = pc->para.cause | 0x80; in l3dss1_status_send()
570 switch (pc->para.cause) { in l3dss1_msg_without_setup()
580 *p++ = pc->para.cause | 0x80; in l3dss1_msg_without_setup()
584 pc->para.cause); in l3dss1_msg_without_setup()
830 pc->para.cause = 97; in l3dss1_check_messagetype_validity()
846 pc->para.cause = 96; in l3dss1_std_ie_err()
850 pc->para.cause = 99; in l3dss1_std_ie_err()
854 pc->para.cause = 100; in l3dss1_std_ie_err()
[all …]
Dl3_1tr6.c361 pc->para.cause = p[2]; in l3_1tr6_rel()
367 pc->para.cause = 0; in l3_1tr6_rel()
371 pc->para.cause = NO_CAUSE; in l3_1tr6_rel()
391 pc->para.cause = NO_CAUSE; in l3_1tr6_rel_ack()
427 pc->para.cause = p[2]; in l3_1tr6_disc()
433 pc->para.cause = 0; in l3_1tr6_disc()
439 pc->para.cause = NO_CAUSE; in l3_1tr6_disc()
521 u_char cause = 0x10; in l3_1tr6_disconnect_req() local
524 if (pc->para.cause > 0) in l3_1tr6_disconnect_req()
525 cause = pc->para.cause; in l3_1tr6_disconnect_req()
[all …]
Dq931.c449 int i, cause; in prcause() local
460 cause = 0x7f & *p++; in prcause()
464 if (cvlist[i].nr == cause) in prcause()
469 dp += sprintf(dp, "Unknown cause type %x!\n", cause); in prcause()
471 dp += sprintf(dp, " cause value %x : %s \n", cause, cvlist[i].edescr); in prcause()
525 int i, cause; in prcause_1tr6() local
539 cause = 0x7f & *p; in prcause_1tr6()
543 if (cause_1tr6[i].nr == cause) in prcause_1tr6()
548 dp += sprintf(dp, "Unknown cause type %x!\n", cause); in prcause_1tr6()
550 dp += sprintf(dp, " cause value %x : %s \n", cause, cause_1tr6[i].descr); in prcause_1tr6()
/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c197 u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler() local
200 if (cause & (1 << p)) { in fpga_phy_intr_handler()
207 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler()
216 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local
218 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
219 if (cause & F_PL_INTR_SGE_ERR) in fpga_slow_intr()
222 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr()
225 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr()
235 if (cause & FPGA_PCIX_INTERRUPT_PCIX) in fpga_slow_intr()
239 if (cause) in fpga_slow_intr()
[all …]
Dmv88e1xxx.c302 u32 cause; in mv88e1xxx_interrupt_handler() local
306 &cause); in mv88e1xxx_interrupt_handler()
307 cause &= INTR_ENABLE_MASK; in mv88e1xxx_interrupt_handler()
308 if (!cause) in mv88e1xxx_interrupt_handler()
311 if (cause & MV88E1XXX_INTR_LINK_CHNG) { in mv88e1xxx_interrupt_handler()
325 if (cause & MV88E1XXX_INTR_AUTONEG_DONE) in mv88e1xxx_interrupt_handler()
Dtp.c126 u32 cause; in t1_tp_intr_handler() local
134 cause = readl(tp->adapter->regs + A_TP_INT_CAUSE); in t1_tp_intr_handler()
135 writel(cause, tp->adapter->regs + A_TP_INT_CAUSE); in t1_tp_intr_handler()
/drivers/edac/
Dmv64x60_edac.c34 u32 cause; in mv64x60_pci_check() local
36 cause = in_le32(pdata->pci_vbase + MV64X60_PCI_ERROR_CAUSE); in mv64x60_pci_check()
37 if (!cause) in mv64x60_pci_check()
41 printk(KERN_ERR "Cause register: 0x%08x\n", cause); in mv64x60_pci_check()
50 out_le32(pdata->pci_vbase + MV64X60_PCI_ERROR_CAUSE, ~cause); in mv64x60_pci_check()
52 if (cause & MV64X60_PCI_PE_MASK) in mv64x60_pci_check()
55 if (!(cause & MV64X60_PCI_PE_MASK)) in mv64x60_pci_check()
236 u32 cause; in mv64x60_sram_check() local
238 cause = in_le32(pdata->sram_vbase + MV64X60_SRAM_ERR_CAUSE); in mv64x60_sram_check()
239 if (!cause) in mv64x60_sram_check()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dmc5.c386 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); in t3_mc5_intr_handler() local
388 if ((cause & F_PARITYERR) && mc5->parity_enabled) { in t3_mc5_intr_handler()
393 if (cause & F_REQQPARERR) { in t3_mc5_intr_handler()
398 if (cause & F_DISPQPARERR) { in t3_mc5_intr_handler()
403 if (cause & F_ACTRGNFULL) in t3_mc5_intr_handler()
405 if (cause & F_NFASRCHFAIL) in t3_mc5_intr_handler()
407 if (cause & F_UNKNOWNCMD) in t3_mc5_intr_handler()
409 if (cause & F_DELACTEMPTY) in t3_mc5_intr_handler()
411 if (cause & MC5_INT_FATAL) in t3_mc5_intr_handler()
414 t3_write_reg(adap, A_MC5_DB_INT_CAUSE, cause); in t3_mc5_intr_handler()
Dt3_hw.c1760 u32 cause = t3_read_reg(adapter, mc7->offset + A_MC7_INT_CAUSE); in mc7_intr_handler() local
1762 if (cause & F_CE) { in mc7_intr_handler()
1772 if (cause & F_UE) { in mc7_intr_handler()
1782 if (G_PE(cause)) { in mc7_intr_handler()
1785 mc7->name, G_PE(cause)); in mc7_intr_handler()
1788 if (cause & F_AE) { in mc7_intr_handler()
1799 if (cause & MC7_INTR_FATAL) in mc7_intr_handler()
1802 t3_write_reg(adapter, mc7->offset + A_MC7_INT_CAUSE, cause); in mc7_intr_handler()
1819 u32 cause = t3_read_reg(adap, A_XGM_INT_CAUSE + mac->offset) & in mac_intr_handler() local
1822 if (cause & V_TXFIFO_PRTY_ERR(M_TXFIFO_PRTY_ERR)) { in mac_intr_handler()
[all …]
Dvsc8211.c324 unsigned int cause; in vsc8211_intr_handler() local
327 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_STATUS, &cause); in vsc8211_intr_handler()
331 cause &= INTR_MASK; in vsc8211_intr_handler()
332 if (cause & CFG_CHG_INTR_MASK) in vsc8211_intr_handler()
334 if (cause & (VSC_INTR_RX_FIFO | VSC_INTR_TX_FIFO)) in vsc8211_intr_handler()
Dael1002.c457 int ret, edc_needed, cause = 0; in ael2005_intr_handler() local
487 cause = cphy_cause_module_change; in ael2005_intr_handler()
494 ret |= cause; in ael2005_intr_handler()
768 int ret, edc_needed, cause = 0; in ael2020_intr_handler() local
793 cause = cphy_cause_module_change; in ael2020_intr_handler()
800 ret |= cause; in ael2020_intr_handler()
Daq100x.c108 unsigned int cause, v; in aq100x_intr_handler() local
110 err = t3_mdio_read(phy, MDIO_MMD_VEND1, AQ_IFLAG_GLOBAL, &cause); in aq100x_intr_handler()
/drivers/net/wireless/libertas/
Dif_cs.c512 u16 cause; in if_cs_interrupt() local
517 cause = if_cs_read16(card, IF_CS_CARD_INT_CAUSE); in if_cs_interrupt()
518 lbs_deb_cs("cause 0x%04x\n", cause); in if_cs_interrupt()
520 if (cause == 0) { in if_cs_interrupt()
525 if (cause == 0xffff) { in if_cs_interrupt()
531 if (cause & IF_CS_BIT_RX) { in if_cs_interrupt()
539 if (cause & IF_CS_BIT_TX) { in if_cs_interrupt()
544 if (cause & IF_CS_BIT_RESP) { in if_cs_interrupt()
562 if (cause & IF_CS_BIT_EVENT) { in if_cs_interrupt()
570 if_cs_write16(card, IF_CS_CARD_INT_CAUSE, cause & IF_CS_BIT_MASK); in if_cs_interrupt()
Dif_sdio.c1148 u8 cause; in if_sdio_interrupt() local
1154 cause = sdio_readb(card->func, IF_SDIO_H_INT_STATUS, &ret); in if_sdio_interrupt()
1155 if (ret || !cause) in if_sdio_interrupt()
1158 lbs_deb_sdio("interrupt: 0x%X\n", (unsigned)cause); in if_sdio_interrupt()
1160 sdio_writeb(card->func, ~cause, IF_SDIO_H_INT_STATUS, &ret); in if_sdio_interrupt()
1169 if (cause & IF_SDIO_H_INT_DNLD) in if_sdio_interrupt()
1173 if (cause & IF_SDIO_H_INT_UPLD) { in if_sdio_interrupt()
/drivers/watchdog/
Dpnx833x_wdt.c238 int ret, cause; in watchdog_init() local
241 cause = PNX833X_REG(PNX833X_RESET); in watchdog_init()
243 if (cause & 0x80000000) { in watchdog_init()
/drivers/mfd/
Dsi476x-cmd.c183 char *cause; in si476x_core_parse_and_nag_about_error() local
192 cause = "Bad command"; in si476x_core_parse_and_nag_about_error()
196 cause = "Bad argument #1"; in si476x_core_parse_and_nag_about_error()
200 cause = "Bad argument #2"; in si476x_core_parse_and_nag_about_error()
204 cause = "Bad argument #3"; in si476x_core_parse_and_nag_about_error()
208 cause = "Bad argument #4"; in si476x_core_parse_and_nag_about_error()
212 cause = "Chip is busy"; in si476x_core_parse_and_nag_about_error()
216 cause = "Bad internal memory"; in si476x_core_parse_and_nag_about_error()
220 cause = "Bad patch"; in si476x_core_parse_and_nag_about_error()
224 cause = "Bad boot mode"; in si476x_core_parse_and_nag_about_error()
[all …]
/drivers/scsi/csiostor/
Dcsio_hw.c3233 uint32_t cause = csio_rd_reg32(hw, PL_INT_CAUSE); in csio_hw_slow_intr_handler() local
3235 if (!(cause & CSIO_GLBL_INTR_MASK)) { in csio_hw_slow_intr_handler()
3240 csio_dbg(hw, "Slow interrupt! cause: 0x%x\n", cause); in csio_hw_slow_intr_handler()
3244 if (cause & CIM) in csio_hw_slow_intr_handler()
3247 if (cause & MPS) in csio_hw_slow_intr_handler()
3250 if (cause & NCSI) in csio_hw_slow_intr_handler()
3253 if (cause & PL) in csio_hw_slow_intr_handler()
3256 if (cause & SMB) in csio_hw_slow_intr_handler()
3259 if (cause & XGMAC0) in csio_hw_slow_intr_handler()
3262 if (cause & XGMAC1) in csio_hw_slow_intr_handler()
[all …]
/drivers/gpio/
Dgpio-mvebu.c441 u32 cause, type; in mvebu_gpio_irq_handler() local
447 cause = readl_relaxed(mvebu_gpioreg_data_in(mvchip)) & in mvebu_gpio_irq_handler()
449 cause |= readl_relaxed(mvebu_gpioreg_edge_cause(mvchip)) & in mvebu_gpio_irq_handler()
457 if (!(cause & (1 << i))) in mvebu_gpio_irq_handler()
480 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local
488 cause = readl_relaxed(mvebu_gpioreg_edge_cause(mvchip)); in mvebu_gpio_dbg_show()
524 seq_printf(s, " (%s)\n", cause & msk ? "pending" : "clear "); in mvebu_gpio_dbg_show()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c1827 u32 cause = t4_read_reg(adapter, PL_INT_CAUSE); in t4_slow_intr_handler() local
1829 if (!(cause & GLBL_INTR_MASK)) in t4_slow_intr_handler()
1831 if (cause & CIM) in t4_slow_intr_handler()
1833 if (cause & MPS) in t4_slow_intr_handler()
1835 if (cause & NCSI) in t4_slow_intr_handler()
1837 if (cause & PL) in t4_slow_intr_handler()
1839 if (cause & SMB) in t4_slow_intr_handler()
1841 if (cause & XGMAC0) in t4_slow_intr_handler()
1843 if (cause & XGMAC1) in t4_slow_intr_handler()
1845 if (cause & XGMAC_KR0) in t4_slow_intr_handler()
[all …]
/drivers/tty/serial/jsm/
Djsm_neo.c726 u8 cause; in neo_parse_isr() local
775 cause = readb(&ch->ch_neo_uart->xoffchar1); in neo_parse_isr()
779 port, cause); in neo_parse_isr()
787 if (cause == UART_17158_XON_DETECT) { in neo_parse_isr()
796 else if (cause == UART_17158_XOFF_DETECT) { in neo_parse_isr()
814 cause = readb(&ch->ch_neo_uart->mcr); in neo_parse_isr()
818 if ((cause & 0x4) == 0) { in neo_parse_isr()
819 if (cause & UART_MCR_RTS) in neo_parse_isr()
824 if (cause & UART_MCR_DTR) in neo_parse_isr()
/drivers/misc/sgi-gru/
Dgruhandles.h209 unsigned int cause:3; member
283 unsigned int cause:6; member
380 unsigned int cause:4; member
/drivers/isdn/act2000/
Dcapi.h61 struct cause { /* Cause information */ struct
68 } cause; member
228 __u8 cause; member
/drivers/char/ipmi/
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
/drivers/isdn/pcbit/
Dedss1.h77 unsigned short cause; member

123456