Home
last modified time | relevance | path

Searched refs:ireg (Results 1 – 10 of 10) sorted by relevance

/drivers/sbus/char/
Ddisplay7seg.c107 u8 ireg = 0; in d7s_ioctl() local
118 if (get_user(ireg, (int __user *) arg)) { in d7s_ioctl()
124 ireg |= D7S_FLIP; in d7s_ioctl()
126 ireg &= ~D7S_FLIP; in d7s_ioctl()
128 writeb(ireg, p->regs); in d7s_ioctl()
/drivers/mmc/host/
Dtmio_mmc_core.c630 int ireg, int status) in __tmio_mmc_card_detect_irq() argument
635 if (ireg & (TMIO_STAT_CARD_INSERT | TMIO_STAT_CARD_REMOVE)) { in __tmio_mmc_card_detect_irq()
638 if ((((ireg & TMIO_STAT_CARD_REMOVE) && mmc->card) || in __tmio_mmc_card_detect_irq()
639 ((ireg & TMIO_STAT_CARD_INSERT) && !mmc->card)) && in __tmio_mmc_card_detect_irq()
648 static bool __tmio_mmc_sdcard_irq(struct tmio_mmc_host *host, int ireg, in __tmio_mmc_sdcard_irq() argument
652 if (ireg & (TMIO_STAT_CMDRESPEND | TMIO_STAT_CMDTIMEOUT)) { in __tmio_mmc_sdcard_irq()
660 if (ireg & (TMIO_STAT_RXRDY | TMIO_STAT_TXRQ)) { in __tmio_mmc_sdcard_irq()
667 if (ireg & TMIO_STAT_DATAEND) { in __tmio_mmc_sdcard_irq()
680 unsigned int ireg, status; in __tmio_mmc_sdio_irq() local
687 ireg = status & TMIO_SDIO_MASK_ALL & ~host->sdio_irq_mask; in __tmio_mmc_sdio_irq()
[all …]
Dpxamci.c377 unsigned int ireg; in pxamci_irq() local
380 ireg = readl(host->base + MMC_I_REG) & ~readl(host->base + MMC_I_MASK); in pxamci_irq()
382 if (ireg) { in pxamci_irq()
385 pr_debug("PXAMCI: irq %08x stat %08x\n", ireg, stat); in pxamci_irq()
387 if (ireg & END_CMD_RES) in pxamci_irq()
389 if (ireg & DATA_TRAN_DONE) in pxamci_irq()
391 if (ireg & SDIO_INT) { in pxamci_irq()
/drivers/scsi/
Desp_scsi.c125 p->ireg = esp->ireg; in esp_log_fill_regs()
195 p->sreg2, p->ireg, p->select_state, p->event); in esp_dump_cmd_log()
1012 if (esp->ireg & ESP_INTR_SR) in esp_check_spur_intr()
1073 esp->ireg = esp_read8(ESP_INTRPT); in esp_reconnect_with_tag()
1076 i, esp->ireg, esp->sreg); in esp_reconnect_with_tag()
1078 if (esp->ireg & ESP_INTR_DC) { in esp_reconnect_with_tag()
1102 esp->ireg = esp_read8(ESP_INTRPT); in esp_reconnect_with_tag()
1103 if (esp->ireg & ESP_INTR_FDONE) in esp_reconnect_with_tag()
1116 i, esp->ireg, esp->sreg, in esp_reconnect_with_tag()
1174 u8 ireg = esp_read8(ESP_INTRPT); in esp_reconnect() local
[all …]
Desp_scsi.h358 u8 ireg; member
450 u8 ireg; member
/drivers/bluetooth/
Dbtmrvl_sdio.c840 u8 ireg; in btmrvl_sdio_process_int_status() local
844 ireg = sdio_ireg; in btmrvl_sdio_process_int_status()
849 if (ireg & DN_LD_HOST_INT_STATUS) { in btmrvl_sdio_process_int_status()
852 " int_status=0x%x", ireg); in btmrvl_sdio_process_int_status()
857 if (ireg & UP_LD_HOST_INT_STATUS) in btmrvl_sdio_process_int_status()
865 static int btmrvl_sdio_read_to_clear(struct btmrvl_sdio_card *card, u8 *ireg) in btmrvl_sdio_read_to_clear() argument
876 *ireg = adapter->hw_regs[card->reg->host_intstatus]; in btmrvl_sdio_read_to_clear()
877 BT_DBG("hw_regs[%#x]=%#x", card->reg->host_intstatus, *ireg); in btmrvl_sdio_read_to_clear()
882 static int btmrvl_sdio_write_to_clear(struct btmrvl_sdio_card *card, u8 *ireg) in btmrvl_sdio_write_to_clear() argument
886 *ireg = sdio_readb(card->func, card->reg->host_intstatus, &ret); in btmrvl_sdio_write_to_clear()
[all …]
/drivers/hwmon/
Dultra45_env.c68 static u8 env_read(struct env *p, u8 ireg) in env_read() argument
73 writeb(ireg, p->regs + REG_ADDR); in env_read()
80 static void env_write(struct env *p, u8 ireg, u8 val) in env_write() argument
83 writeb(ireg, p->regs + REG_ADDR); in env_write()
/drivers/infiniband/hw/hfi1/
Dmsix.c141 rcd->ireg = (IS_RCVAVAIL_START + rcd->ctxt) / 64; in msix_request_rcd_irq_common()
Dhfi.h206 u8 ireg; /* clear interrupt register */ member
Dchip.c8359 u32 addr = CCE_INT_CLEAR + (8 * rcd->ireg); in clear_recv_intr()
8369 write_csr(rcd->dd, CCE_INT_FORCE + (8 * rcd->ireg), rcd->imask); in force_recv_intr()