/drivers/isdn/hisax/ |
D | l3ni1.c | 462 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 …]
|
D | l3dss1.c | 512 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 …]
|
D | l3_1tr6.c | 359 pc->para.cause = p[2]; in l3_1tr6_rel() 365 pc->para.cause = 0; in l3_1tr6_rel() 369 pc->para.cause = NO_CAUSE; in l3_1tr6_rel() 389 pc->para.cause = NO_CAUSE; in l3_1tr6_rel_ack() 425 pc->para.cause = p[2]; in l3_1tr6_disc() 431 pc->para.cause = 0; in l3_1tr6_disc() 437 pc->para.cause = NO_CAUSE; in l3_1tr6_disc() 519 u_char cause = 0x10; in l3_1tr6_disconnect_req() local 522 if (pc->para.cause > 0) in l3_1tr6_disconnect_req() 523 cause = pc->para.cause; in l3_1tr6_disconnect_req() [all …]
|
D | q931.c | 449 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/ |
D | subr.c | 196 u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler() local 199 if (cause & (1 << p)) { in fpga_phy_intr_handler() 206 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler() 215 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local 217 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr() 218 if (cause & F_PL_INTR_SGE_ERR) in fpga_slow_intr() 221 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr() 224 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr() 234 if (cause & FPGA_PCIX_INTERRUPT_PCIX) in fpga_slow_intr() 238 if (cause) in fpga_slow_intr() [all …]
|
D | mv88e1xxx.c | 302 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()
|
D | tp.c | 126 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/ |
D | mv64x60_edac.c | 34 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/ |
D | mc5.c | 370 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); in t3_mc5_intr_handler() local 372 if ((cause & F_PARITYERR) && mc5->parity_enabled) { in t3_mc5_intr_handler() 377 if (cause & F_REQQPARERR) { in t3_mc5_intr_handler() 382 if (cause & F_DISPQPARERR) { in t3_mc5_intr_handler() 387 if (cause & F_ACTRGNFULL) in t3_mc5_intr_handler() 389 if (cause & F_NFASRCHFAIL) in t3_mc5_intr_handler() 391 if (cause & F_UNKNOWNCMD) in t3_mc5_intr_handler() 393 if (cause & F_DELACTEMPTY) in t3_mc5_intr_handler() 395 if (cause & MC5_INT_FATAL) in t3_mc5_intr_handler() 398 t3_write_reg(adap, A_MC5_DB_INT_CAUSE, cause); in t3_mc5_intr_handler()
|
D | t3_hw.c | 1760 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 …]
|
D | vsc8211.c | 324 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()
|
D | ael1002.c | 457 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()
|
D | aq100x.c | 108 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/ |
D | if_cs.c | 512 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()
|
D | if_sdio.c | 1144 u8 cause; in if_sdio_interrupt() local 1150 cause = sdio_readb(card->func, IF_SDIO_H_INT_STATUS, &ret); in if_sdio_interrupt() 1151 if (ret || !cause) in if_sdio_interrupt() 1154 lbs_deb_sdio("interrupt: 0x%X\n", (unsigned)cause); in if_sdio_interrupt() 1156 sdio_writeb(card->func, ~cause, IF_SDIO_H_INT_STATUS, &ret); in if_sdio_interrupt() 1165 if (cause & IF_SDIO_H_INT_DNLD) in if_sdio_interrupt() 1169 if (cause & IF_SDIO_H_INT_UPLD) { in if_sdio_interrupt()
|
/drivers/watchdog/ |
D | pnx833x_wdt.c | 238 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/ |
D | si476x-cmd.c | 183 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/ |
D | csio_hw.c | 3140 uint32_t cause = csio_rd_reg32(hw, PL_INT_CAUSE_A); in csio_hw_slow_intr_handler() local 3142 if (!(cause & CSIO_GLBL_INTR_MASK)) { in csio_hw_slow_intr_handler() 3147 csio_dbg(hw, "Slow interrupt! cause: 0x%x\n", cause); in csio_hw_slow_intr_handler() 3151 if (cause & CIM_F) in csio_hw_slow_intr_handler() 3154 if (cause & MPS_F) in csio_hw_slow_intr_handler() 3157 if (cause & NCSI_F) in csio_hw_slow_intr_handler() 3160 if (cause & PL_F) in csio_hw_slow_intr_handler() 3163 if (cause & SMB_F) in csio_hw_slow_intr_handler() 3166 if (cause & XGMAC0_F) in csio_hw_slow_intr_handler() 3169 if (cause & XGMAC1_F) in csio_hw_slow_intr_handler() [all …]
|
/drivers/gpio/ |
D | gpio-mvebu.c | 455 u32 cause, type; in mvebu_gpio_irq_handler() local 463 cause = readl_relaxed(mvebu_gpioreg_data_in(mvchip)) & in mvebu_gpio_irq_handler() 465 cause |= readl_relaxed(mvebu_gpioreg_edge_cause(mvchip)) & in mvebu_gpio_irq_handler() 473 if (!(cause & (1 << i))) in mvebu_gpio_irq_handler() 499 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; in mvebu_gpio_dbg_show() local 507 cause = readl_relaxed(mvebu_gpioreg_edge_cause(mvchip)); in mvebu_gpio_dbg_show() 543 seq_printf(s, " (%s)\n", cause & msk ? "pending" : "clear "); in mvebu_gpio_dbg_show()
|
/drivers/char/ipmi/ |
D | Kconfig | 24 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/tty/serial/jsm/ |
D | jsm_neo.c | 721 u8 cause; in neo_parse_isr() local 770 cause = readb(&ch->ch_neo_uart->xoffchar1); in neo_parse_isr() 774 port, cause); in neo_parse_isr() 782 if (cause == UART_17158_XON_DETECT) { in neo_parse_isr() 791 else if (cause == UART_17158_XOFF_DETECT) { in neo_parse_isr() 809 cause = readb(&ch->ch_neo_uart->mcr); in neo_parse_isr() 813 if ((cause & 0x4) == 0) { in neo_parse_isr() 814 if (cause & UART_MCR_RTS) in neo_parse_isr() 819 if (cause & UART_MCR_DTR) in neo_parse_isr()
|
/drivers/misc/sgi-gru/ |
D | gruhandles.h | 209 unsigned int cause:3; member 283 unsigned int cause:6; member 380 unsigned int cause:4; member
|
/drivers/isdn/act2000/ |
D | capi.h | 61 struct cause { /* Cause information */ struct 68 } cause; member 228 __u8 cause; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 4321 u32 cause = t4_read_reg(adapter, PL_INT_CAUSE_A); in t4_slow_intr_handler() local 4323 if (!(cause & GLBL_INTR_MASK)) in t4_slow_intr_handler() 4325 if (cause & CIM_F) in t4_slow_intr_handler() 4327 if (cause & MPS_F) in t4_slow_intr_handler() 4329 if (cause & NCSI_F) in t4_slow_intr_handler() 4331 if (cause & PL_F) in t4_slow_intr_handler() 4333 if (cause & SMB_F) in t4_slow_intr_handler() 4335 if (cause & XGMAC0_F) in t4_slow_intr_handler() 4337 if (cause & XGMAC1_F) in t4_slow_intr_handler() 4339 if (cause & XGMAC_KR0_F) in t4_slow_intr_handler() [all …]
|
/drivers/staging/dgnc/ |
D | dgnc_neo.c | 374 unsigned char cause; in neo_parse_isr() local 423 cause = readb(&ch->ch_neo_uart->xoffchar1); in neo_parse_isr() 430 if (cause == UART_17158_XON_DETECT) { in neo_parse_isr() 439 } else if (cause == UART_17158_XOFF_DETECT) { in neo_parse_isr() 457 cause = readb(&ch->ch_neo_uart->mcr); in neo_parse_isr() 459 if ((cause & 0x4) == 0) { in neo_parse_isr() 460 if (cause & UART_MCR_RTS) { in neo_parse_isr() 474 if (cause & UART_MCR_DTR) { in neo_parse_isr()
|