Home
last modified time | relevance | path

Searched refs:int_reg (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.3-rc2/drivers/memstick/host/
A Drtsx_pci_ms.c229 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()
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()
332 if (int_reg) in ms_read_bytes()
333 *int_reg = *ptr & 0x0F; in ms_read_bytes()
[all …]
A Drtsx_usb_ms.c357 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()
426 *int_reg = val & 0x0F; in ms_read_bytes()
451 *int_reg = *ptr & 0x0F; in ms_read_bytes()
460 u8 cfg = 0, int_reg; in rtsx_usb_ms_issue_cmd() local
491 if (int_reg & MS_INT_CMDNK) in rtsx_usb_ms_issue_cmd()
493 if (int_reg & MS_INT_BREQ) in rtsx_usb_ms_issue_cmd()
495 if (int_reg & MS_INT_ERR) in rtsx_usb_ms_issue_cmd()
[all …]
A Dr592.c542 dev->req->int_reg = 0; in r592_execute_tpc()
546 dev->req->int_reg |= MEMSTICK_INT_CMDNAK; in r592_execute_tpc()
548 dev->req->int_reg |= MEMSTICK_INT_BREQ; in r592_execute_tpc()
550 dev->req->int_reg |= MEMSTICK_INT_ERR; in r592_execute_tpc()
552 dev->req->int_reg |= MEMSTICK_INT_CED; in r592_execute_tpc()
A Dtifm_ms.c342 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()
/linux-6.3-rc2/drivers/edac/
A Docteon_edac-lmc.c74 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 …]
/linux-6.3-rc2/drivers/mmc/host/
A Dtoshsd.c292 u32 int_reg, int_mask, int_status, detail; in toshsd_irq() local
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()
323 int_reg & SD_BUF_CMD_INDEX_ERR ? "CMD_INDEX " : "", in toshsd_irq()
325 int_reg & SD_BUF_OVERFLOW ? "OVERFLOW " : "", in toshsd_irq()
326 int_reg & SD_BUF_UNDERFLOW ? "UNDERFLOW " : "", in toshsd_irq()
368 if (int_reg & SD_CARD_CARD_INSERTED_0) in toshsd_irq()
385 if (int_reg & SD_CARD_RESP_END) { in toshsd_irq()
[all …]
/linux-6.3-rc2/drivers/gpio/
A Dgpio-ixp4xx.c94 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()
/linux-6.3-rc2/drivers/spi/
A Dspi-iproc-qspi.c23 void __iomem *int_reg; member
73 void __iomem *mmio = priv->int_reg; in bcm_iproc_qspi_int_set()
108 priv->int_reg = devm_ioremap_resource(dev, res); in bcm_iproc_probe()
109 if (IS_ERR(priv->int_reg)) in bcm_iproc_probe()
110 return PTR_ERR(priv->int_reg); in bcm_iproc_probe()
A Dspi-orion.c386 void __iomem *tx_reg, *rx_reg, *int_reg; in orion_spi_write_read_8bit() local
399 int_reg = spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG); in orion_spi_write_read_8bit()
402 writel(0x0, int_reg); in orion_spi_write_read_8bit()
435 void __iomem *tx_reg, *rx_reg, *int_reg; in orion_spi_write_read_16bit() local
446 int_reg = spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG); in orion_spi_write_read_16bit()
449 writel(0x0, int_reg); in orion_spi_write_read_16bit()
/linux-6.3-rc2/drivers/rtc/
A Drtc-rk808.c48 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,
/linux-6.3-rc2/drivers/staging/rts5208/
A Drtsx_card.c331 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()
449 if (!(chip->int_reg & XD_EXIST)) in card_cd_debounce()
452 if (!(chip->int_reg & SD_EXIST)) in card_cd_debounce()
455 if (!(chip->int_reg & MS_EXIST)) in card_cd_debounce()
459 if (chip->int_reg & XD_EXIST) in card_cd_debounce()
474 if (chip->int_reg & XD_EXIST) in card_cd_debounce()
479 if (chip->int_reg & SD_EXIST) in card_cd_debounce()
484 if (chip->int_reg & MS_EXIST) in card_cd_debounce()
[all …]
A Drtsx_transport.c262 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()
A Drtsx_chip.c491 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 …]
A Drtsx.c524 if (chip->int_reg == 0xFFFFFFFF) in rtsx_interrupt()
529 status = chip->int_reg; in rtsx_interrupt()
/linux-6.3-rc2/arch/m68k/include/asm/
A Dintersil.h42 unsigned char int_reg; member
48 #define intersil_clear() (void)intersil_clock->int_reg
/linux-6.3-rc2/drivers/mailbox/
A Dmailbox-mpfs.c67 void __iomem *int_reg; member
181 writel_relaxed(0, mbox->int_reg); in mpfs_mbox_inbox_isr()
231 mbox->int_reg = devm_platform_get_and_ioremap_resource(pdev, 1, &regs); in mpfs_mbox_probe()
232 if (IS_ERR(mbox->int_reg)) in mpfs_mbox_probe()
233 return PTR_ERR(mbox->int_reg); in mpfs_mbox_probe()
/linux-6.3-rc2/drivers/tty/serial/
A Dicom.c258 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
1122 adapter_interrupts = readl(int_reg); in icom_interrupt()
1143 writel(adapter_interrupts, int_reg); in icom_interrupt()
1150 adapter_interrupts = readl(int_reg); in icom_interrupt()
1170 writel(adapter_interrupts, int_reg); in icom_interrupt()
[all …]
/linux-6.3-rc2/drivers/scsi/pcmcia/
A Dsym53c500_cs.c354 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()
/linux-6.3-rc2/drivers/misc/cardreader/
A Drtsx_pcr.c969 u32 int_reg; in rtsx_pci_isr() local
976 int_reg = rtsx_pci_readl(pcr, RTSX_BIPR); 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()
1009 if (int_reg & MS_EXIST) { in rtsx_pci_isr()
[all …]
/linux-6.3-rc2/sound/soc/codecs/
A Dts3a227e.c199 unsigned int int_reg, kp_int_reg, acc_reg, i; in ts3a227e_interrupt() local
204 ret = regmap_read(regmap, TS3A227E_REG_INTERRUPT, &int_reg); in ts3a227e_interrupt()
210 if (int_reg & (DETECTION_COMPLETE_EVENT | INS_REM_EVENT)) { in ts3a227e_interrupt()
/linux-6.3-rc2/arch/m68k/sun3/
A Dconfig.c157 intersil_clock->int_reg=INTERSIL_HZ_100_MASK; in sun3_sched_init()
/linux-6.3-rc2/drivers/gpu/ipu-v3/
A Dipu-common.c1023 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()
/linux-6.3-rc2/drivers/scsi/
A Dipr.c5644 u32 int_reg) in ipr_handle_other_interrupt() argument
5650 int_reg &= ~int_mask_reg; in ipr_handle_other_interrupt()
5674 if (int_reg & IPR_PCII_IOA_TRANS_TO_OPER) { in ipr_handle_other_interrupt()
5682 } else if ((int_reg & IPR_PCII_HRRQ_UPDATED) == int_reg) { in ipr_handle_other_interrupt()
5692 if (int_reg & IPR_PCII_IOA_UNIT_CHECKED) in ipr_handle_other_interrupt()
5694 else if (int_reg & IPR_PCII_NO_HOST_RRQ) in ipr_handle_other_interrupt()
5696 "No Host RRQ. 0x%08X\n", int_reg); in ipr_handle_other_interrupt()
5819 u32 int_reg = 0; in ipr_isr() local
5853 int_reg & IPR_PCII_HRRQ_UPDATED) { in ipr_isr()
8381 volatile u32 int_reg; in ipr_reset_next_stage() local
[all …]
/linux-6.3-rc2/arch/alpha/kernel/
A Dcore_mcpcia.c531 unsigned int int_reg; in mcpcia_print_system_area() member
561 printk(" INT_REG = %8x\n", iodpp->int_reg); in mcpcia_print_system_area()
/linux-6.3-rc2/include/linux/
A Dmemstick.h240 unsigned char int_reg; member

Completed in 73 milliseconds

12