/drivers/memstick/host/ |
D | rtsx_pci_ms.c | 200 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_write_bytes() argument 229 if (int_reg) in ms_write_bytes() 239 if (int_reg) in ms_write_bytes() 240 *int_reg = val & 0x0F; in ms_write_bytes() 259 if (int_reg) { in ms_write_bytes() 261 *int_reg = *ptr & 0x0F; in ms_write_bytes() 268 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_read_bytes() argument 298 if (int_reg) in ms_read_bytes() 308 if (int_reg) in ms_read_bytes() 309 *int_reg = val & 0x0F; in ms_read_bytes() [all …]
|
D | rtsx_usb_ms.c | 317 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_write_bytes() argument 357 if (int_reg) in ms_write_bytes() 358 *int_reg = val & 0x0F; in ms_write_bytes() 377 if (int_reg) in ms_write_bytes() 378 *int_reg = ucr->rsp_buf[1] & 0x0F; in ms_write_bytes() 384 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_read_bytes() argument 425 if (int_reg && (host->ifmode != MEMSTICK_SERIAL)) in ms_read_bytes() 426 *int_reg = val & 0x0F; in ms_read_bytes() 450 if (int_reg && (host->ifmode != MEMSTICK_SERIAL)) in ms_read_bytes() 451 *int_reg = *ptr & 0x0F; in ms_read_bytes() [all …]
|
D | r592.c | 540 dev->req->int_reg = 0; in r592_execute_tpc() 544 dev->req->int_reg |= MEMSTICK_INT_CMDNAK; in r592_execute_tpc() 546 dev->req->int_reg |= MEMSTICK_INT_BREQ; in r592_execute_tpc() 548 dev->req->int_reg |= MEMSTICK_INT_ERR; in r592_execute_tpc() 550 dev->req->int_reg |= MEMSTICK_INT_CED; in r592_execute_tpc()
|
D | tifm_ms.c | 342 host->req->int_reg = readl(sock->addr + SOCK_MS_STATUS) & 0xff; in tifm_ms_complete_cmd() 343 host->req->int_reg = (host->req->int_reg & 1) in tifm_ms_complete_cmd() 344 | ((host->req->int_reg << 4) & 0xe0); in tifm_ms_complete_cmd()
|
/drivers/edac/ |
D | octeon_edac-lmc.c | 74 union cvmx_lmcx_int int_reg; in octeon_lmc_edac_poll_o2() local 79 int_reg.u64 = cvmx_read_csr(CVMX_LMCX_INT(mci->mc_idx)); in octeon_lmc_edac_poll_o2() 81 int_reg.u64 = 0; in octeon_lmc_edac_poll_o2() 83 int_reg.s.sec_err = 1; in octeon_lmc_edac_poll_o2() 85 int_reg.s.ded_err = 1; in octeon_lmc_edac_poll_o2() 88 if (int_reg.s.sec_err || int_reg.s.ded_err) { in octeon_lmc_edac_poll_o2() 105 if (int_reg.s.sec_err) { in octeon_lmc_edac_poll_o2() 108 int_reg.s.sec_err = -1; /* Done, re-arm */ in octeon_lmc_edac_poll_o2() 112 if (int_reg.s.ded_err) { in octeon_lmc_edac_poll_o2() 115 int_reg.s.ded_err = -1; /* Done, re-arm */ in octeon_lmc_edac_poll_o2() [all …]
|
/drivers/mmc/host/ |
D | toshsd.c | 292 u32 int_reg, int_mask, int_status, detail; in toshsd_irq() local 298 int_reg = int_status & ~int_mask & ~IRQ_DONT_CARE_BITS; in toshsd_irq() 304 if (!int_reg) { in toshsd_irq() 309 if (int_reg & SD_BUF_CMD_TIMEOUT) { in toshsd_irq() 312 } else if (int_reg & SD_BUF_CRC_ERR) { in toshsd_irq() 315 } else if (int_reg & (SD_BUF_ILLEGAL_ACCESS in toshsd_irq() 322 int_reg & SD_BUF_ILLEGAL_ACCESS ? "ILLEGAL_ACC " : "", in toshsd_irq() 323 int_reg & SD_BUF_CMD_INDEX_ERR ? "CMD_INDEX " : "", in toshsd_irq() 324 int_reg & SD_BUF_STOP_BIT_END_ERR ? "STOPBIT_END " : "", in toshsd_irq() 325 int_reg & SD_BUF_OVERFLOW ? "OVERFLOW " : "", in toshsd_irq() [all …]
|
/drivers/gpio/ |
D | gpio-ixp4xx.c | 94 u32 int_reg; in ixp4xx_gpio_irq_set_type() local 130 int_reg = IXP4XX_REG_GPIT2; in ixp4xx_gpio_irq_set_type() 133 int_reg = IXP4XX_REG_GPIT1; in ixp4xx_gpio_irq_set_type() 139 val = __raw_readl(g->base + int_reg); in ixp4xx_gpio_irq_set_type() 141 __raw_writel(val, g->base + int_reg); in ixp4xx_gpio_irq_set_type() 146 val = __raw_readl(g->base + int_reg); in ixp4xx_gpio_irq_set_type() 148 __raw_writel(val, g->base + int_reg); in ixp4xx_gpio_irq_set_type()
|
/drivers/spi/ |
D | spi-iproc-qspi.c | 23 void __iomem *int_reg; member 73 void __iomem *mmio = priv->int_reg; in bcm_iproc_qspi_int_set() 106 priv->int_reg = devm_platform_ioremap_resource_byname(pdev, "intr_regs"); in bcm_iproc_probe() 107 if (IS_ERR(priv->int_reg)) in bcm_iproc_probe() 108 return PTR_ERR(priv->int_reg); in bcm_iproc_probe()
|
D | spi-orion.c | 385 void __iomem *tx_reg, *rx_reg, *int_reg; in orion_spi_write_read_8bit() local 398 int_reg = spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG); in orion_spi_write_read_8bit() 401 writel(0x0, int_reg); in orion_spi_write_read_8bit() 434 void __iomem *tx_reg, *rx_reg, *int_reg; in orion_spi_write_read_16bit() local 445 int_reg = spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG); in orion_spi_write_read_16bit() 448 writel(0x0, int_reg); in orion_spi_write_read_16bit()
|
/drivers/rtc/ |
D | rtc-rk808.c | 48 unsigned int int_reg; member 192 uint32_t int_reg; in rk808_rtc_readalarm() local 211 ret = regmap_read(rk808_rtc->regmap, rk808_rtc->creg->int_reg, &int_reg); in rk808_rtc_readalarm() 220 alrm->enabled = (int_reg & BIT_RTC_INTERRUPTS_REG_IT_ALARM_M) ? 1 : 0; in rk808_rtc_readalarm() 229 ret = regmap_update_bits(rk808_rtc->regmap, rk808_rtc->creg->int_reg, in rk808_rtc_stop_alarm() 239 ret = regmap_update_bits(rk808_rtc->regmap, rk808_rtc->creg->int_reg, in rk808_rtc_start_alarm() 366 .int_reg = RK808_RTC_INT_REG, 374 .int_reg = RK817_RTC_INT_REG,
|
/drivers/staging/rts5208/ |
D | rtsx_card.c | 328 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_release_cards() 331 if (chip->int_reg & SD_EXIST) in rtsx_release_cards() 337 if (chip->int_reg & XD_EXIST) in rtsx_release_cards() 343 if (chip->int_reg & MS_EXIST) in rtsx_release_cards() 406 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_reinit_cards() 408 if ((chip->int_reg & SD_EXIST) && (chip->need_reinit & SD_CARD)) { in rtsx_reinit_cards() 418 if ((chip->int_reg & XD_EXIST) && (chip->need_reinit & XD_CARD)) { in rtsx_reinit_cards() 427 if ((chip->int_reg & MS_EXIST) && (chip->need_reinit & MS_CARD)) { in rtsx_reinit_cards() 445 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in card_cd_debounce() 449 if (!(chip->int_reg & XD_EXIST)) in card_cd_debounce() [all …]
|
D | rtsx_transport.c | 262 chip->int_reg); in rtsx_send_cmd() 426 chip->int_reg); in rtsx_transfer_sglist_adma_partial() 450 chip->int_reg); in rtsx_transfer_sglist_adma_partial() 570 chip->int_reg); in rtsx_transfer_sglist_adma() 597 chip->int_reg); in rtsx_transfer_sglist_adma() 684 chip->int_reg); in rtsx_transfer_buf()
|
D | rtsx_chip.c | 491 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_reset_chip() 496 chip->int_reg); in rtsx_reset_chip() 497 if (chip->int_reg & SD_EXIST) { in rtsx_reset_chip() 521 if (chip->int_reg & XD_EXIST) in rtsx_reset_chip() 523 if (chip->int_reg & MS_EXIST) in rtsx_reset_chip() 525 if (chip->int_reg & CARD_EXIST) { in rtsx_reset_chip() 1840 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_pre_handle_interrupt() 1842 if (((chip->int_reg & int_enable) == 0) || in rtsx_pre_handle_interrupt() 1843 chip->int_reg == 0xFFFFFFFF) in rtsx_pre_handle_interrupt() 1846 status = chip->int_reg &= (int_enable | 0x7FFFFF); in rtsx_pre_handle_interrupt() [all …]
|
D | rtsx.c | 518 if (chip->int_reg == 0xFFFFFFFF) in rtsx_interrupt() 523 status = chip->int_reg; in rtsx_interrupt()
|
D | rtsx_chip.h | 696 u32 int_reg; /* Bus interrupt pending register */ member
|
/drivers/mailbox/ |
D | mailbox-mpfs.c | 68 void __iomem *int_reg; member 188 writel_relaxed(0, mbox->int_reg); in mpfs_mbox_inbox_isr() 238 mbox->int_reg = devm_platform_get_and_ioremap_resource(pdev, 1, ®s); in mpfs_mbox_probe() 239 if (IS_ERR(mbox->int_reg)) in mpfs_mbox_probe() 240 return PTR_ERR(mbox->int_reg); in mpfs_mbox_probe()
|
/drivers/tty/serial/ |
D | icom.c | 258 void __iomem * int_reg; member 612 writew(0x3FFF, icom_port->int_reg); in load_code() 748 writew(0x3FFF, icom_port->int_reg); in load_code() 820 writew(0x00FF, icom_port->int_reg); in startup() 822 writew(0x3F00, icom_port->int_reg); in startup() 1110 void __iomem * int_reg; in icom_interrupt() local 1120 int_reg = icom_adapter->base_addr + 0x8024; in icom_interrupt() 1122 adapter_interrupts = readl(int_reg); in icom_interrupt() 1143 writel(adapter_interrupts, int_reg); in icom_interrupt() 1145 int_reg = icom_adapter->base_addr + 0x8004; in icom_interrupt() [all …]
|
/drivers/scsi/pcmcia/ |
D | sym53c500_cs.c | 354 unsigned char status, int_reg; in SYM53C500_intr() 372 int_reg = inb(port_base + INT_REG); in SYM53C500_intr() 377 status, seq_reg, int_reg, fifo_size); in SYM53C500_intr() 381 if (int_reg & 0x80) { /* SCSI reset intr */ in SYM53C500_intr() 405 if (int_reg & 0x20) { /* Disconnect */ in SYM53C500_intr() 418 if (int_reg & 0x10) { /* Target requesting info transfer */ in SYM53C500_intr() 437 if (int_reg & 0x10) { /* Target requesting info transfer */ in SYM53C500_intr()
|
/drivers/misc/cardreader/ |
D | rtsx_pcr.c | 969 u32 int_reg; in rtsx_pci_isr() local 976 int_reg = rtsx_pci_readl(pcr, RTSX_BIPR); in rtsx_pci_isr() 978 rtsx_pci_writel(pcr, RTSX_BIPR, int_reg); in rtsx_pci_isr() 979 if ((int_reg & pcr->bier) == 0) { in rtsx_pci_isr() 983 if (int_reg == 0xFFFFFFFF) { in rtsx_pci_isr() 988 int_reg &= (pcr->bier | 0x7FFFFF); in rtsx_pci_isr() 990 if (int_reg & SD_OC_INT) in rtsx_pci_isr() 993 if (int_reg & SD_INT) { in rtsx_pci_isr() 994 if (int_reg & SD_EXIST) { in rtsx_pci_isr() 1008 if (int_reg & MS_INT) { in rtsx_pci_isr() [all …]
|
/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 1023 static const int int_reg[] = { 0, 1, 2, 3, 10, 11, 12, 13, 14}; in ipu_irq_handler() local 1027 ipu_irq_handle(ipu, int_reg, ARRAY_SIZE(int_reg)); in ipu_irq_handler() 1036 static const int int_reg[] = { 4, 5, 8, 9}; in ipu_err_irq_handler() local 1040 ipu_irq_handle(ipu, int_reg, ARRAY_SIZE(int_reg)); in ipu_err_irq_handler()
|
/drivers/scsi/ |
D | ipr.c | 5326 u32 int_reg) in ipr_handle_other_interrupt() argument 5332 int_reg &= ~int_mask_reg; in ipr_handle_other_interrupt() 5337 if ((int_reg & IPR_PCII_OPER_INTERRUPTS) == 0) { in ipr_handle_other_interrupt() 5340 int_reg = readl(ioa_cfg->regs.sense_interrupt_reg) & ~int_mask_reg; in ipr_handle_other_interrupt() 5341 if (int_reg & IPR_PCII_IPL_STAGE_CHANGE) { in ipr_handle_other_interrupt() 5345 int_reg = readl(ioa_cfg->regs.sense_interrupt_reg) & ~int_mask_reg; in ipr_handle_other_interrupt() 5356 if (int_reg & IPR_PCII_IOA_TRANS_TO_OPER) { in ipr_handle_other_interrupt() 5359 int_reg = readl(ioa_cfg->regs.sense_interrupt_reg); in ipr_handle_other_interrupt() 5364 } else if ((int_reg & IPR_PCII_HRRQ_UPDATED) == int_reg) { in ipr_handle_other_interrupt() 5368 "Spurious interrupt detected. 0x%08X\n", int_reg); in ipr_handle_other_interrupt() [all …]
|
/drivers/iio/light/ |
D | vcnl4000.c | 220 u8 int_reg; member 1526 ret = i2c_smbus_read_word_data(data->client, data->chip_spec->int_reg); in vcnl4040_irq_thread() 1879 .int_reg = VCNL4040_INT_FLAGS, 1896 .int_reg = VCNL4200_INT_FLAGS,
|
/drivers/i2c/busses/ |
D | i2c-mlxbf.c | 1768 u32 int_reg; in mlxbf_i2c_init_slave() local 1782 int_reg = MLXBF_I2C_CAUSE_READ_WAIT_FW_RESPONSE; in mlxbf_i2c_init_slave() 1783 int_reg |= MLXBF_I2C_CAUSE_WRITE_SUCCESS; in mlxbf_i2c_init_slave() 1784 writel(int_reg, priv->slv_cause->io + MLXBF_I2C_CAUSE_OR_EVTEN0); in mlxbf_i2c_init_slave()
|
/drivers/memstick/core/ |
D | mspro_block.c | 519 t_val = (*mrq)->int_reg; in h_mspro_block_transfer_data() 577 t_val = (*mrq)->int_reg; in h_mspro_block_transfer_data()
|
/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 1494 u32 int_reg; in isp1760_irq() local 1506 int_reg = priv->is_isp1763 ? ISP1763_HC_INTERRUPT : in isp1760_irq() 1508 isp1760_reg_write(priv->regs, int_reg, imask); in isp1760_irq()
|