Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/memstick/host/
Drtsx_pci_ms.c212 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_write_bytes() argument
241 if (int_reg) in ms_write_bytes()
251 if (int_reg) in ms_write_bytes()
252 *int_reg = val & 0x0F; in ms_write_bytes()
271 if (int_reg) { in ms_write_bytes()
273 *int_reg = *ptr & 0x0F; in ms_write_bytes()
280 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_read_bytes() argument
310 if (int_reg) in ms_read_bytes()
320 if (int_reg) in ms_read_bytes()
321 *int_reg = val & 0x0F; in ms_read_bytes()
[all …]
Drtsx_usb_ms.c329 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_write_bytes() argument
369 if (int_reg) in ms_write_bytes()
370 *int_reg = val & 0x0F; in ms_write_bytes()
389 if (int_reg) in ms_write_bytes()
390 *int_reg = ucr->rsp_buf[1] & 0x0F; in ms_write_bytes()
396 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_read_bytes() argument
437 if (int_reg && (host->ifmode != MEMSTICK_SERIAL)) in ms_read_bytes()
438 *int_reg = val & 0x0F; in ms_read_bytes()
462 if (int_reg && (host->ifmode != MEMSTICK_SERIAL)) in ms_read_bytes()
463 *int_reg = *ptr & 0x0F; in ms_read_bytes()
[all …]
Dr592.c544 dev->req->int_reg = 0; in r592_execute_tpc()
548 dev->req->int_reg |= MEMSTICK_INT_CMDNAK; in r592_execute_tpc()
550 dev->req->int_reg |= MEMSTICK_INT_BREQ; in r592_execute_tpc()
552 dev->req->int_reg |= MEMSTICK_INT_ERR; in r592_execute_tpc()
554 dev->req->int_reg |= MEMSTICK_INT_CED; in r592_execute_tpc()
Dtifm_ms.c347 host->req->int_reg = readl(sock->addr + SOCK_MS_STATUS) & 0xff; in tifm_ms_complete_cmd()
348 host->req->int_reg = (host->req->int_reg & 1) in tifm_ms_complete_cmd()
349 | ((host->req->int_reg << 4) & 0xe0); in tifm_ms_complete_cmd()
/Linux-v4.19/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-v4.19/drivers/mmc/host/
Dtoshsd.c296 u32 int_reg, int_mask, int_status, detail; in toshsd_irq() local
302 int_reg = int_status & ~int_mask & ~IRQ_DONT_CARE_BITS; in toshsd_irq()
308 if (!int_reg) { in toshsd_irq()
313 if (int_reg & SD_BUF_CMD_TIMEOUT) { in toshsd_irq()
316 } else if (int_reg & SD_BUF_CRC_ERR) { in toshsd_irq()
319 } else if (int_reg & (SD_BUF_ILLEGAL_ACCESS in toshsd_irq()
326 int_reg & SD_BUF_ILLEGAL_ACCESS ? "ILLEGAL_ACC " : "", in toshsd_irq()
327 int_reg & SD_BUF_CMD_INDEX_ERR ? "CMD_INDEX " : "", in toshsd_irq()
328 int_reg & SD_BUF_STOP_BIT_END_ERR ? "STOPBIT_END " : "", in toshsd_irq()
329 int_reg & SD_BUF_OVERFLOW ? "OVERFLOW " : "", in toshsd_irq()
[all …]
/Linux-v4.19/drivers/spi/
Dspi-iproc-qspi.c31 void __iomem *int_reg; member
81 void __iomem *mmio = priv->int_reg; in bcm_iproc_qspi_int_set()
116 priv->int_reg = devm_ioremap_resource(dev, res); in bcm_iproc_probe()
117 if (IS_ERR(priv->int_reg)) in bcm_iproc_probe()
118 return PTR_ERR(priv->int_reg); in bcm_iproc_probe()
Dspi-orion.c369 void __iomem *tx_reg, *rx_reg, *int_reg; in orion_spi_write_read_8bit() local
375 int_reg = spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG); in orion_spi_write_read_8bit()
378 writel(0x0, int_reg); in orion_spi_write_read_8bit()
400 void __iomem *tx_reg, *rx_reg, *int_reg; in orion_spi_write_read_16bit() local
406 int_reg = spi_reg(orion_spi, ORION_SPI_INT_CAUSE_REG); in orion_spi_write_read_16bit()
409 writel(0x0, int_reg); in orion_spi_write_read_16bit()
/Linux-v4.19/drivers/staging/rts5208/
Drtsx_card.c339 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_release_cards()
342 if (chip->int_reg & SD_EXIST) in rtsx_release_cards()
348 if (chip->int_reg & XD_EXIST) in rtsx_release_cards()
354 if (chip->int_reg & MS_EXIST) in rtsx_release_cards()
417 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_reinit_cards()
419 if ((chip->int_reg & SD_EXIST) && (chip->need_reinit & SD_CARD)) { in rtsx_reinit_cards()
429 if ((chip->int_reg & XD_EXIST) && (chip->need_reinit & XD_CARD)) { in rtsx_reinit_cards()
438 if ((chip->int_reg & MS_EXIST) && (chip->need_reinit & MS_CARD)) { in rtsx_reinit_cards()
456 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in card_cd_debounce()
460 if (!(chip->int_reg & XD_EXIST)) in card_cd_debounce()
[all …]
Drtsx_transport.c276 chip->int_reg); in rtsx_send_cmd()
441 chip->int_reg); in rtsx_transfer_sglist_adma_partial()
465 chip->int_reg); in rtsx_transfer_sglist_adma_partial()
586 chip->int_reg); in rtsx_transfer_sglist_adma()
613 chip->int_reg); in rtsx_transfer_sglist_adma()
700 chip->int_reg); in rtsx_transfer_buf()
Drtsx_chip.c554 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_reset_chip()
559 chip->int_reg); in rtsx_reset_chip()
560 if (chip->int_reg & SD_EXIST) { in rtsx_reset_chip()
586 if (chip->int_reg & XD_EXIST) in rtsx_reset_chip()
588 if (chip->int_reg & MS_EXIST) in rtsx_reset_chip()
590 if (chip->int_reg & CARD_EXIST) { in rtsx_reset_chip()
1973 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_pre_handle_interrupt()
1975 if (((chip->int_reg & int_enable) == 0) || in rtsx_pre_handle_interrupt()
1976 (chip->int_reg == 0xFFFFFFFF)) in rtsx_pre_handle_interrupt()
1979 status = chip->int_reg &= (int_enable | 0x7FFFFF); in rtsx_pre_handle_interrupt()
[all …]
/Linux-v4.19/arch/m68k/include/asm/
Dintersil.h42 unsigned char int_reg; member
48 #define intersil_clear() (void)intersil_clock->int_reg
/Linux-v4.19/arch/arm/mach-ixp4xx/
Dcommon.c172 volatile u32 *int_reg; in ixp4xx_set_irq_type() local
212 int_reg = IXP4XX_GPIO_GPIT2R; in ixp4xx_set_irq_type()
214 int_reg = IXP4XX_GPIO_GPIT1R; in ixp4xx_set_irq_type()
218 *int_reg &= ~(IXP4XX_GPIO_STYLE_CLEAR << in ixp4xx_set_irq_type()
224 *int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE)); in ixp4xx_set_irq_type()
/Linux-v4.19/drivers/tty/serial/
Dicom.c351 writew(0x3FFF, icom_port->int_reg); in load_code()
487 writew(0x3FFF, icom_port->int_reg); in load_code()
559 writew(0x00FF, icom_port->int_reg); in startup()
561 writew(0x3F00, icom_port->int_reg); in startup()
853 void __iomem * int_reg; in icom_interrupt() local
863 int_reg = icom_adapter->base_addr + 0x8024; in icom_interrupt()
865 adapter_interrupts = readl(int_reg); in icom_interrupt()
886 writel(adapter_interrupts, int_reg); in icom_interrupt()
888 int_reg = icom_adapter->base_addr + 0x8004; in icom_interrupt()
890 int_reg = icom_adapter->base_addr + 0x4004; in icom_interrupt()
[all …]
Dicom.h224 void __iomem * int_reg; member
/Linux-v4.19/drivers/scsi/pcmcia/
Dsym53c500_cs.c357 unsigned char status, int_reg; in SYM53C500_intr()
374 int_reg = inb(port_base + INT_REG); in SYM53C500_intr()
379 status, seq_reg, int_reg, fifo_size); in SYM53C500_intr()
383 if (int_reg & 0x80) { /* SCSI reset intr */ in SYM53C500_intr()
407 if (int_reg & 0x20) { /* Disconnect */ in SYM53C500_intr()
420 if (int_reg & 0x10) { /* Target requesting info transfer */ in SYM53C500_intr()
439 if (int_reg & 0x10) { /* Target requesting info transfer */ in SYM53C500_intr()
/Linux-v4.19/drivers/misc/cardreader/
Drtsx_pcr.c987 u32 int_reg; in rtsx_pci_isr() local
994 int_reg = rtsx_pci_readl(pcr, RTSX_BIPR); in rtsx_pci_isr()
996 rtsx_pci_writel(pcr, RTSX_BIPR, int_reg); in rtsx_pci_isr()
997 if ((int_reg & pcr->bier) == 0) { in rtsx_pci_isr()
1001 if (int_reg == 0xFFFFFFFF) { in rtsx_pci_isr()
1006 int_reg &= (pcr->bier | 0x7FFFFF); in rtsx_pci_isr()
1008 if (int_reg & SD_OC_INT) in rtsx_pci_isr()
1011 if (int_reg & SD_INT) { in rtsx_pci_isr()
1012 if (int_reg & SD_EXIST) { in rtsx_pci_isr()
1021 if (int_reg & MS_INT) { in rtsx_pci_isr()
[all …]
/Linux-v4.19/sound/soc/codecs/
Dts3a227e.c194 unsigned int int_reg, kp_int_reg, acc_reg, i; in ts3a227e_interrupt() local
199 ret = regmap_read(regmap, TS3A227E_REG_INTERRUPT, &int_reg); in ts3a227e_interrupt()
205 if (int_reg & (DETECTION_COMPLETE_EVENT | INS_REM_EVENT)) { in ts3a227e_interrupt()
/Linux-v4.19/drivers/clk/zte/
Dclk.c338 unsigned int int_reg; member
391 div_table->int_reg = reg_int; in audio_calc_reg()
415 return audio_calc_rate(zx_audio_div, divt.frac_reg, divt.int_reg, *prate); in zx_audio_div_round_rate()
433 val |= divt.int_reg | CLK_AUDIO_DIV_INT_FRAC_RE; in zx_audio_div_set_rate()
/Linux-v4.19/drivers/staging/mt7621-mmc/
Dsd.c1914 int_reg->mmcirq, in msdc_irq()
1915 int_reg->cdsc, in msdc_irq()
1916 int_reg->atocmdrdy, in msdc_irq()
1917 int_reg->atocmdtmo, in msdc_irq()
1918 int_reg->atocmdcrc, in msdc_irq()
1919 int_reg->atocmd19done); in msdc_irq()
1922 int_reg->sdioirq, in msdc_irq()
1923 int_reg->cmdrdy, in msdc_irq()
1924 int_reg->cmdtmo, in msdc_irq()
1925 int_reg->rspcrc, in msdc_irq()
[all …]
/Linux-v4.19/drivers/rtc/
Drtc-rk808.c199 uint32_t int_reg; in rk808_rtc_readalarm() local
213 ret = regmap_read(rk808->regmap, RK808_RTC_INT_REG, &int_reg); in rk808_rtc_readalarm()
224 alrm->enabled = (int_reg & BIT_RTC_INTERRUPTS_REG_IT_ALARM_M) ? 1 : 0; in rk808_rtc_readalarm()
/Linux-v4.19/drivers/scsi/
Dipr.c754 volatile u32 int_reg; in ipr_mask_and_clear_interrupts() local
774 int_reg = readl(ioa_cfg->regs.sense_interrupt_reg); in ipr_mask_and_clear_interrupts()
5508 u32 ioasc, int_reg; in ipr_cancel_op() local
5531 int_reg = readl(ioa_cfg->regs.sense_interrupt_reg); in ipr_cancel_op()
5639 u32 int_reg) in ipr_handle_other_interrupt() argument
5645 int_reg &= ~int_mask_reg; in ipr_handle_other_interrupt()
5650 if ((int_reg & IPR_PCII_OPER_INTERRUPTS) == 0) { in ipr_handle_other_interrupt()
5653 int_reg = readl(ioa_cfg->regs.sense_interrupt_reg) & ~int_mask_reg; in ipr_handle_other_interrupt()
5654 if (int_reg & IPR_PCII_IPL_STAGE_CHANGE) { in ipr_handle_other_interrupt()
5658 int_reg = readl(ioa_cfg->regs.sense_interrupt_reg) & ~int_mask_reg; in ipr_handle_other_interrupt()
[all …]
/Linux-v4.19/arch/m68k/sun3/
Dconfig.c161 intersil_clock->int_reg=INTERSIL_HZ_100_MASK; in sun3_sched_init()
/Linux-v4.19/drivers/gpu/ipu-v3/
Dipu-common.c1096 static const int int_reg[] = { 0, 1, 2, 3, 10, 11, 12, 13, 14}; in ipu_irq_handler() local
1100 ipu_irq_handle(ipu, int_reg, ARRAY_SIZE(int_reg)); in ipu_irq_handler()
1109 static const int int_reg[] = { 4, 5, 8, 9}; in ipu_err_irq_handler() local
1113 ipu_irq_handle(ipu, int_reg, ARRAY_SIZE(int_reg)); in ipu_err_irq_handler()
/Linux-v4.19/arch/alpha/kernel/
Dcore_mcpcia.c529 unsigned int int_reg; in mcpcia_print_system_area() member
559 printk(" INT_REG = %8x\n", iodpp->int_reg); in mcpcia_print_system_area()

12