/linux-master/arch/mips/loongson2ef/common/ |
H A D | irq.c | 15 u32 int_status; local 19 int_status = LOONGSON_INTISR; 20 while (int_status & (1 << 10)) { 22 int_status = LOONGSON_INTISR; 26 int_status = LOONGSON_INTISR & LOONGSON_INTEN; 28 if (int_status) { 29 i = __ffs(int_status);
|
/linux-master/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_intr.c | 16 u64 int_status; local 20 int_status = readq(priv->base + MLXBF_GIGE_INT_STATUS); 22 if (int_status & MLXBF_GIGE_INT_STATUS_HW_ACCESS_ERROR) 25 if (int_status & MLXBF_GIGE_INT_STATUS_TX_CHECKSUM_INPUTS) { 34 if (int_status & MLXBF_GIGE_INT_STATUS_TX_SMALL_FRAME_SIZE) { 48 if (int_status & MLXBF_GIGE_INT_STATUS_TX_PI_CI_EXCEED_WQ_SIZE) 51 if (int_status & MLXBF_GIGE_INT_STATUS_SW_CONFIG_ERROR) 54 if (int_status & MLXBF_GIGE_INT_STATUS_SW_ACCESS_ERROR) 63 int_status &= ~MLXBF_GIGE_INT_STATUS_RX_RECEIVE_PACKET; 65 writeq(int_status, pri [all...] |
/linux-master/drivers/net/wwan/t7xx/ |
H A D | t7xx_mhccif.c | 47 u32 int_status, val; local 52 int_status = t7xx_mhccif_read_sw_int_sts(t7xx_dev); 53 if (int_status & D2H_SW_INT_MASK) { 60 t7xx_mhccif_clear_interrupts(t7xx_dev, int_status); 62 if (int_status & D2H_INT_DS_LOCK_ACK) 65 if (int_status & D2H_INT_SR_ACK) 70 int_status = t7xx_mhccif_read_sw_int_sts(t7xx_dev); 71 if (!int_status) {
|
/linux-master/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_dma.c | 189 u32 int_status = readl(ioaddr + SXGBE_DMA_CHA_STATUS_REG(channel_no)); local 194 if (likely(int_status & SXGBE_DMA_INT_STATUS_NIS)) { 196 if (int_status & SXGBE_DMA_INT_STATUS_TI) { 202 if (int_status & SXGBE_DMA_INT_STATUS_TBU) { 207 } else if (unlikely(int_status & SXGBE_DMA_INT_STATUS_AIS)) { 209 if (int_status & SXGBE_DMA_INT_STATUS_TPS) { 215 if (int_status & SXGBE_DMA_INT_STATUS_FBE) { 225 if (int_status & SXGBE_DMA_INT_STATUS_TEB0) { 232 if (int_status & SXGBE_DMA_INT_STATUS_TEB1) { 239 if (int_status 261 u32 int_status = readl(ioaddr + SXGBE_DMA_CHA_STATUS_REG(channel_no)); local [all...] |
/linux-master/drivers/usb/c67x00/ |
H A D | c67x00-drv.c | 76 u16 msg, int_status; local 79 int_status = c67x00_ll_hpi_status(c67x00); 80 if (!int_status) 83 while (int_status != 0 && (count-- >= 0)) { 84 c67x00_ll_irq(c67x00, int_status); 88 if (int_status & SIEMSG_FLG(i)) 91 sie->irq(sie, int_status, msg); 93 int_status = c67x00_ll_hpi_status(c67x00); 96 if (int_status) 98 "status = 0x%04x\n", int_status); [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | evsci.c | 35 u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; local 42 return (int_status); 54 int_status |= sci_handler->address(sci_handler->context); 60 return (int_status);
|
H A D | evevent.c | 169 u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; local 185 return (int_status); 214 int_status |= acpi_ev_fixed_event_dispatch(i); 218 return (int_status);
|
H A D | evgpe.c | 354 u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; local 364 return (int_status); 424 int_status |= 436 return (int_status); 629 u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; local 716 int_status |= 723 int_status |= acpi_ev_gpe_dispatch(gpe_device, 729 return (int_status);
|
/linux-master/drivers/thermal/intel/int340x_thermal/ |
H A D | processor_thermal_power_floor.c | 92 u64 int_status; local 94 int_status = readq(proc_priv->mmio_base + SOC_WT_RES_INT_STATUS_OFFSET); 95 return !!(int_status & SOC_POWER_FLOOR_INT_ACTIVE);
|
H A D | processor_thermal_wt_hint.c | 199 u64 int_status; local 201 int_status = readq(proc_priv->mmio_base + SOC_WT_RES_INT_STATUS_OFFSET); 202 if (int_status & SOC_WT_PREDICTION_INT_ACTIVE)
|
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | hpd_regs.h | 54 .int_status = REGI(DC_HPD_INT_STATUS, HPD, id),\ 65 uint32_t int_status; member in struct:hpd_registers 70 /* int_status */
|
/linux-master/drivers/mfd/ |
H A D | mt6397-irq.c | 106 mt6397_irq_handle_reg(mt6397, mt6397->int_status[0], 0); 107 mt6397_irq_handle_reg(mt6397, mt6397->int_status[1], 16); 169 chip->int_status[0] = MT6323_INT_STATUS0; 170 chip->int_status[1] = MT6323_INT_STATUS1; 175 chip->int_status[0] = MT6331_INT_STATUS_CON0; 176 chip->int_status[1] = MT6331_INT_STATUS_CON1; 182 chip->int_status[0] = MT6397_INT_STATUS0; 183 chip->int_status[1] = MT6397_INT_STATUS1;
|
/linux-master/sound/soc/bcm/ |
H A D | bcm63xx-pcm-whistler.c | 235 unsigned int availdepth, ifflevel, offlevel, int_status, val_1, val_2; local 248 regmap_read(regmap_i2s, I2S_RX_IRQ_CTL, &int_status); 250 if (int_status & I2S_RX_DESC_OFF_INTR_EN_MSK) { 257 offlevel = (int_status & I2S_RX_DESC_OFF_LEVEL_MASK) >> 265 ifflevel = (int_status & I2S_RX_DESC_IFF_LEVEL_MASK) >> 296 regmap_read(regmap_i2s, I2S_TX_IRQ_CTL, &int_status); 298 if (int_status & I2S_TX_DESC_OFF_INTR_EN_MSK) { 305 offlevel = (int_status & I2S_TX_DESC_OFF_LEVEL_MASK) >> 314 ifflevel = (int_status & I2S_TX_DESC_IFF_LEVEL_MASK) >>
|
/linux-master/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_ring.c | 56 int int_status; local 62 result = regmap_read(st->map, st->reg->int_status, &int_status); 68 if (!(int_status & INV_MPU6050_BIT_RAW_DATA_RDY_INT))
|
/linux-master/drivers/i2c/busses/ |
H A D | i2c-img-scb.c | 634 u32 int_status, u32 line_status) 642 static unsigned int img_i2c_raw(struct img_i2c *i2c, u32 int_status, argument 645 if (int_status & INT_TIMING) { 648 int_status, line_status); 654 static unsigned int img_i2c_sequence(struct img_i2c *i2c, u32 int_status) argument 666 if (int_status & INT_SLAVE_EVENT) 668 if (int_status & INT_TRANSACTION_DONE) 733 u32 int_status, 739 if (int_status & INT_SLAVE_EVENT) 741 if (int_status 633 img_i2c_raw_atomic_delay_handler(struct img_i2c *i2c, u32 int_status, u32 line_status) argument 732 img_i2c_atomic(struct img_i2c *i2c, u32 int_status, u32 line_status) argument 853 img_i2c_auto(struct img_i2c *i2c, unsigned int int_status, unsigned int line_status) argument 917 u32 int_status, line_status; local [all...] |
H A D | i2c-hix5hd2.c | 161 u32 int_status; local 166 int_status = hix5hd2_i2c_clr_pend_irq(priv); 167 if (!(int_status & I2C_BUSY)) 246 u32 int_status; local 251 int_status = hix5hd2_i2c_clr_pend_irq(priv); 254 if (int_status & I2C_ARBITRATE_INTR) { 260 } else if (int_status & I2C_ACK_INTR) { 268 if (int_status & I2C_OVER_INTR) {
|
/linux-master/sound/soc/xtensa/ |
H A D | xtfpga-i2s.c | 178 unsigned int_status; local 182 &int_status); 191 &int_status); 194 !(int_status & XTFPGA_I2S_INT_LEVEL)) 204 if (!(int_status & XTFPGA_I2S_INT_LEVEL)) 207 else if (!(int_status & XTFPGA_I2S_INT_UNDERRUN)) 211 if (!(int_status & XTFPGA_I2S_INT_UNDERRUN)) 227 unsigned config, int_status, int_mask; local 231 regmap_read(i2s->regmap, XTFPGA_I2S_INT_STATUS, &int_status); 234 !(int_status [all...] |
/linux-master/drivers/media/pci/tw686x/ |
H A D | tw686x-core.c | 170 u32 int_status, dma_en, video_en, pb_status; local 173 int_status = reg_read(dev, INT_STATUS); /* cleared on read */ 177 if (!int_status && !TW686X_FIFO_ERROR(fifo_status)) 180 if (int_status & INT_STATUS_DMA_TOUT) { 203 video_requests = (int_status & video_en) | fifo_errors; 204 audio_requests = (int_status & dma_en) >> 8;
|
/linux-master/arch/mips/loongson32/common/ |
H A D | irq.c | 117 u32 int_status, irq; local 120 int_status = __raw_readl(LS1X_INTC_INTISR(n)) & 123 if (int_status) { 124 irq = LS1X_IRQ(n, __ffs(int_status));
|
/linux-master/include/linux/mfd/mt6397/ |
H A D | core.h | 72 u16 int_status[2]; member in struct:mt6397_chip
|
/linux-master/drivers/spi/ |
H A D | spi-slave-mt27xx.c | 332 u32 int_status, reg_val, cnt, remainder; local 334 int_status = readl(mdata->base + SPIS_IRQ_ST_REG); 335 writel(int_status, mdata->base + SPIS_IRQ_CLR_REG); 340 if ((int_status & DMA_DONE_ST) && 341 ((int_status & DATA_DONE_ST) || 342 (int_status & RSTA_DONE_ST))) { 356 if ((!(int_status & DMA_DONE_ST)) && 357 ((int_status & DATA_DONE_ST) || 358 (int_status & RSTA_DONE_ST))) { 373 if (int_status [all...] |
H A D | spi-qcom-qspi.c | 253 u32 int_status; local 260 int_status = readl(ctrl->base + MSTR_INT_STATUS); 261 writel(int_status, ctrl->base + MSTR_INT_STATUS); 613 u32 int_status; local 619 int_status = readl(ctrl->base + MSTR_INT_STATUS); 620 writel(int_status, ctrl->base + MSTR_INT_STATUS); 623 int_status &= readl(ctrl->base + MSTR_INT_EN); 627 if (int_status & WR_FIFO_EMPTY) 630 if (int_status & RESP_FIFO_RDY) 634 if (int_status [all...] |
/linux-master/drivers/extcon/ |
H A D | extcon-ptn5150.c | 121 unsigned int int_status; local 129 ret = regmap_read(info->regmap, PTN5150_REG_INT_STATUS, &int_status); 136 if (int_status) { 139 cable_attach = int_status & PTN5150_REG_INT_CABLE_ATTACH_MASK; 160 &int_status);
|
/linux-master/drivers/mmc/host/ |
H A D | toshsd.c | 292 u32 int_reg, int_mask, int_status, detail; local 296 int_status = ioread32(host->ioaddr + SD_CARDSTATUS); 298 int_reg = int_status & ~int_mask & ~IRQ_DONT_CARE_BITS; 301 int_status, int_mask); 352 iowrite32(int_status & 364 iowrite32(int_status & 376 iowrite32(int_status & 386 iowrite32(int_status & ~(SD_CARD_RESP_END), 393 iowrite32(int_status & ~(SD_CARD_RW_END),
|
/linux-master/drivers/media/pci/intel/ipu3/ |
H A D | ipu3-cio2.c | 658 static void cio2_irq_handle_once(struct cio2_device *cio2, u32 int_status) argument 663 if (int_status & CIO2_INT_IOOE) { 690 int_status &= ~CIO2_INT_IOOE; 693 if (int_status & CIO2_INT_IOC_MASK) { 699 if (int_status & CIO2_INT_IOC(d)) { 703 int_status &= ~clr; 706 if (int_status & CIO2_INT_IOS_IOLN_MASK) { 712 if (int_status & CIO2_INT_IOS_IOLN(d)) { 718 int_status &= ~clr; 721 if (int_status 762 u32 int_status; local [all...] |