Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/memstick/host/
Drtsx_pci_ms.c200 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 …]
Drtsx_usb_ms.c317 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 …]
Dr592.c540 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()
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.6.21/drivers/edac/
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.6.21/drivers/mmc/host/
Dtoshsd.c292 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 …]
/linux-6.6.21/drivers/gpio/
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.6.21/drivers/spi/
Dspi-iproc-qspi.c23 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()
Dspi-orion.c385 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()
/linux-6.6.21/drivers/rtc/
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.6.21/drivers/staging/rts5208/
Drtsx_card.c328 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 …]
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()
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 …]
Drtsx.c518 if (chip->int_reg == 0xFFFFFFFF) in rtsx_interrupt()
523 status = chip->int_reg; in rtsx_interrupt()
/linux-6.6.21/arch/m68k/include/asm/
Dintersil.h42 unsigned char int_reg; member
48 #define intersil_clear() (void)intersil_clock->int_reg
/linux-6.6.21/drivers/mailbox/
Dmailbox-mpfs.c68 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, &regs); 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()
/linux-6.6.21/drivers/tty/serial/
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
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 …]
/linux-6.6.21/drivers/scsi/pcmcia/
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.6.21/drivers/misc/cardreader/
Drtsx_pcr.c969 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 …]
/linux-6.6.21/sound/soc/codecs/
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.6.21/arch/m68k/sun3/
Dconfig.c157 intersil_clock->int_reg=INTERSIL_HZ_100_MASK; in sun3_sched_init()
/linux-6.6.21/drivers/gpu/ipu-v3/
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.6.21/drivers/scsi/
Dipr.c5326 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 …]
/linux-6.6.21/arch/alpha/kernel/
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.6.21/include/linux/
Dmemstick.h240 unsigned char int_reg; member

12