/drivers/isdn/hisax/ |
D | isar.c | 90 rcv_mbox(struct IsdnCardState *cs, struct isar_reg *ireg, u_char *msg) in rcv_mbox() argument 95 if (msg && ireg->clsb) { in rcv_mbox() 97 for (i = 1; i < ireg->clsb; i++) in rcv_mbox() 103 i = ireg->clsb; in rcv_mbox() 106 t += sprintf(t, "rcv_mbox cnt %d", ireg->clsb); in rcv_mbox() 107 QuickHex(t, &msg[ireg->clsb - i], (i > 64) ? 64 : i); in rcv_mbox() 119 get_irq_infos(struct IsdnCardState *cs, struct isar_reg *ireg) in get_irq_infos() argument 121 ireg->iis = cs->BC_Read_Reg(cs, 1, ISAR_IIS); in get_irq_infos() 122 ireg->cmsb = cs->BC_Read_Reg(cs, 1, ISAR_CTRL_H); in get_irq_infos() 123 ireg->clsb = cs->BC_Read_Reg(cs, 1, ISAR_CTRL_L); in get_irq_infos() [all …]
|
D | diva.c | 763 unsigned int *ireg = (unsigned int *)(cs->hw.diva.pci_cfg + in reset_diva() local 765 *ireg = PITA_PARA_SOFTRESET | PITA_PARA_MPX_MODE; in reset_diva() 767 *ireg = PITA_PARA_MPX_MODE; in reset_diva() 771 unsigned int *ireg = (unsigned int *)(cs->hw.diva.pci_cfg + in reset_diva() local 773 *ireg = PITA_PARA_SOFTRESET | PITA_PARA_MPX_MODE; in reset_diva() 775 *ireg = PITA_PARA_MPX_MODE | PITA_SER_SOFTRESET; in reset_diva() 838 u_int *ireg; in Diva_card_msg() local 854 ireg = (unsigned int *)cs->hw.diva.pci_cfg; in Diva_card_msg() 855 *ireg = PITA_INT0_ENABLE; in Diva_card_msg() 861 ireg = (unsigned int *)cs->hw.diva.pci_cfg; in Diva_card_msg() [all …]
|
/drivers/mmc/host/ |
D | tmio_mmc_pio.c | 559 int *ireg, int *status) in tmio_mmc_card_irq_status() argument 562 *ireg = *status & TMIO_MASK_IRQ & ~host->sdcard_irq_mask; in tmio_mmc_card_irq_status() 565 pr_debug_status(*ireg); in tmio_mmc_card_irq_status() 569 int ireg, int status) in __tmio_mmc_card_detect_irq() argument 574 if (ireg & (TMIO_STAT_CARD_INSERT | TMIO_STAT_CARD_REMOVE)) { in __tmio_mmc_card_detect_irq() 577 if ((((ireg & TMIO_STAT_CARD_REMOVE) && mmc->card) || in __tmio_mmc_card_detect_irq() 578 ((ireg & TMIO_STAT_CARD_INSERT) && !mmc->card)) && in __tmio_mmc_card_detect_irq() 589 unsigned int ireg, status; in tmio_mmc_card_detect_irq() local 592 tmio_mmc_card_irq_status(host, &ireg, &status); in tmio_mmc_card_detect_irq() 593 __tmio_mmc_card_detect_irq(host, ireg, status); in tmio_mmc_card_detect_irq() [all …]
|
D | pxamci.c | 397 unsigned int ireg; in pxamci_irq() local 400 ireg = readl(host->base + MMC_I_REG) & ~readl(host->base + MMC_I_MASK); in pxamci_irq() 402 if (ireg) { in pxamci_irq() 405 pr_debug("PXAMCI: irq %08x stat %08x\n", ireg, stat); in pxamci_irq() 407 if (ireg & END_CMD_RES) in pxamci_irq() 409 if (ireg & DATA_TRAN_DONE) in pxamci_irq() 411 if (ireg & SDIO_INT) { in pxamci_irq()
|
/drivers/sbus/char/ |
D | display7seg.c | 108 u8 ireg = 0; in d7s_ioctl() local 119 if (get_user(ireg, (int __user *) arg)) { in d7s_ioctl() 125 ireg |= D7S_FLIP; in d7s_ioctl() 127 ireg &= ~D7S_FLIP; in d7s_ioctl() 129 writeb(ireg, p->regs); in d7s_ioctl()
|
/drivers/scsi/ |
D | esp_scsi.c | 112 p->ireg = esp->ireg; in esp_log_fill_regs() 165 p->sreg2, p->ireg, p->select_state, p->event); in esp_dump_cmd_log() 975 esp->ireg = esp_read8(ESP_INTRPT); in esp_check_spur_intr() 976 if (esp->ireg & ESP_INTR_SR) in esp_check_spur_intr() 1038 esp->ireg = esp_read8(ESP_INTRPT); in esp_reconnect_with_tag() 1041 i, esp->ireg, esp->sreg); in esp_reconnect_with_tag() 1043 if (esp->ireg & ESP_INTR_DC) { in esp_reconnect_with_tag() 1067 esp->ireg = esp_read8(ESP_INTRPT); in esp_reconnect_with_tag() 1068 if (esp->ireg & ESP_INTR_FDONE) in esp_reconnect_with_tag() 1082 i, esp->ireg, esp->sreg, in esp_reconnect_with_tag() [all …]
|
D | mac_esp.c | 381 esp->ireg = esp_read8(ESP_INTRPT); in mac_esp_send_pio_cmd() 382 if ((esp->ireg & (ESP_INTR_DC | ESP_INTR_BSERV)) != in mac_esp_send_pio_cmd() 408 esp->ireg = esp_read8(ESP_INTRPT); in mac_esp_send_pio_cmd() 409 if ((esp->ireg & (ESP_INTR_DC | ESP_INTR_BSERV)) != in mac_esp_send_pio_cmd()
|
D | esp_scsi.h | 336 u8 ireg; member 441 u8 ireg; member
|
/drivers/bluetooth/ |
D | btmrvl_sdio.c | 646 u8 ireg; in btmrvl_sdio_process_int_status() local 650 ireg = sdio_ireg; in btmrvl_sdio_process_int_status() 655 if (ireg & DN_LD_HOST_INT_STATUS) { in btmrvl_sdio_process_int_status() 658 " int_status=0x%x", ireg); in btmrvl_sdio_process_int_status() 663 if (ireg & UP_LD_HOST_INT_STATUS) in btmrvl_sdio_process_int_status() 676 u8 ireg = 0; in btmrvl_sdio_interrupt() local 688 ireg = sdio_readb(card->func, card->reg->host_intstatus, &ret); in btmrvl_sdio_interrupt() 694 if (ireg != 0) { in btmrvl_sdio_interrupt() 700 BT_DBG("ireg = 0x%x", ireg); in btmrvl_sdio_interrupt() 702 sdio_writeb(card->func, ~(ireg) & (DN_LD_HOST_INT_STATUS | in btmrvl_sdio_interrupt() [all …]
|
/drivers/hwmon/ |
D | ultra45_env.c | 67 static u8 env_read(struct env *p, u8 ireg) in env_read() argument 72 writeb(ireg, p->regs + REG_ADDR); in env_read() 79 static void env_write(struct env *p, u8 ireg, u8 val) in env_write() argument 82 writeb(ireg, p->regs + REG_ADDR); in env_write()
|
/drivers/tty/serial/ |
D | crisv10.c | 1971 unsigned long ireg; in tr_interrupt() local 1988 ireg = *R_IRQ_MASK2_RD; /* get the active irq bits for the dma channels */ in tr_interrupt() 1995 if (ireg & info->irq) { in tr_interrupt() 2020 unsigned long ireg; in rec_interrupt() local 2037 ireg = *R_IRQ_MASK2_RD; /* get the active irq bits for the dma channels */ in rec_interrupt() 2044 if (ireg & ((info->irq << 2) | (info->irq << 3))) { in rec_interrupt()
|