/linux/arch/m68k/coldfire/ |
A D | intc-5272.c | 39 unsigned int icr; member 46 /*MCF_IRQ_EINT1*/ { .icr = MCFSIM_ICR1, .index = 28, .ack = 1, }, 47 /*MCF_IRQ_EINT2*/ { .icr = MCFSIM_ICR1, .index = 24, .ack = 1, }, 48 /*MCF_IRQ_EINT3*/ { .icr = MCFSIM_ICR1, .index = 20, .ack = 1, }, 56 /*MCF_IRQ_PLIP*/ { .icr = MCFSIM_ICR2, .index = 20, .ack = 0, }, 57 /*MCF_IRQ_PLIA*/ { .icr = MCFSIM_ICR2, .index = 16, .ack = 0, }, 58 /*MCF_IRQ_USB0*/ { .icr = MCFSIM_ICR2, .index = 12, .ack = 0, }, 89 writel(v, intc_irqmap[irq].icr); in intc_irq_mask() 101 writel(v, intc_irqmap[irq].icr); in intc_irq_unmask() 114 v = readl(intc_irqmap[irq].icr); in intc_irq_ack() [all …]
|
/linux/drivers/i2c/busses/ |
A D | i2c-pxa.c | 137 u32 icr; member 159 .icr = 0x10, 168 .icr = 0x08, 177 .icr = 0x00, 186 .icr = 0x10, 197 .icr = 0x08, 406 icr &= ~ICR_START; in i2c_pxa_abort() 791 u32 icr; in i2c_pxa_start_message() local 808 u32 icr; in i2c_pxa_stop_message() local 824 u32 icr; in i2c_pxa_send_mastercode() local [all …]
|
/linux/drivers/char/ |
A D | dsp56k.c | 52 #define DSP56K_TX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_TREQ 53 #define DSP56K_RX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_RREQ 54 #define DSP56K_TX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_TREQ 369 dsp56k_host_interface.icr |= DSP56K_ICR_HF0; in dsp56k_ioctl() 371 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF0; in dsp56k_ioctl() 373 dsp56k_host_interface.icr |= DSP56K_ICR_HF1; in dsp56k_ioctl() 375 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF1; in dsp56k_ioctl() 378 if (dsp56k_host_interface.icr & DSP56K_ICR_HF0) status |= 0x1; in dsp56k_ioctl() 379 if (dsp56k_host_interface.icr & DSP56K_ICR_HF1) status |= 0x2; in dsp56k_ioctl() 449 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF0; in dsp56k_open() [all …]
|
/linux/arch/x86/kernel/apic/ |
A D | local.h | 36 unsigned int icr = shortcut | dest; in __prepare_ICR() local 40 icr |= APIC_DM_FIXED | vector; in __prepare_ICR() 43 icr |= APIC_DM_NMI; in __prepare_ICR() 46 return icr; in __prepare_ICR()
|
A D | vector.c | 1154 u64 icr; in print_local_APIC() local 1214 icr = apic_icr_read(); in print_local_APIC() 1215 pr_debug("... APIC ICR: %08x\n", (u32)icr); in print_local_APIC() 1216 pr_debug("... APIC ICR2: %08x\n", (u32)(icr >> 32)); in print_local_APIC()
|
/linux/drivers/misc/vmw_vmci/ |
A D | vmci_guest.c | 384 unsigned int icr; in vmci_interrupt() local 387 icr = ioread32(dev->iobase + VMCI_ICR_ADDR); in vmci_interrupt() 388 if (icr == 0 || icr == ~0) in vmci_interrupt() 391 if (icr & VMCI_ICR_DATAGRAM) { in vmci_interrupt() 393 icr &= ~VMCI_ICR_DATAGRAM; in vmci_interrupt() 396 if (icr & VMCI_ICR_NOTIFICATION) { in vmci_interrupt() 398 icr &= ~VMCI_ICR_NOTIFICATION; in vmci_interrupt() 401 if (icr != 0) in vmci_interrupt() 404 icr); in vmci_interrupt()
|
/linux/drivers/rtc/ |
A D | rtc-isl1208.c | 245 if (icr < 0) { in isl1208_rtc_toggle_alarm() 247 return icr; in isl1208_rtc_toggle_alarm() 251 icr |= ISL1208_REG_INT_ALME | ISL1208_REG_INT_IM; in isl1208_rtc_toggle_alarm() 253 icr &= ~(ISL1208_REG_INT_ALME | ISL1208_REG_INT_IM); in isl1208_rtc_toggle_alarm() 255 icr = i2c_smbus_write_byte_data(client, ISL1208_REG_INT, icr); in isl1208_rtc_toggle_alarm() 256 if (icr < 0) { in isl1208_rtc_toggle_alarm() 258 return icr; in isl1208_rtc_toggle_alarm() 351 int icr, yr, sr = isl1208_i2c_get_sr(client); in isl1208_i2c_read_alarm() local 384 if (icr < 0) { in isl1208_i2c_read_alarm() 386 return icr; in isl1208_i2c_read_alarm() [all …]
|
/linux/drivers/tty/serial/ |
A D | stm32-usart.h | 20 u8 icr; member 54 .icr = UNDEF_REG, 73 .icr = 0x20, 95 .icr = 0x20,
|
A D | stm32-usart.c | 237 if ((sr & USART_SR_ERR_MASK) && ofs->icr != UNDEF_REG) in stm32_usart_receive_chars_pio() 239 port->membase + ofs->icr); in stm32_usart_receive_chars_pio() 540 if (ofs->icr == UNDEF_REG) in stm32_usart_transmit_chars() 543 writel_relaxed(USART_ICR_TCCF, port->membase + ofs->icr); in stm32_usart_transmit_chars() 568 if ((sr & USART_SR_RTOF) && ofs->icr != UNDEF_REG) in stm32_usart_interrupt() 570 port->membase + ofs->icr); in stm32_usart_interrupt() 572 if ((sr & USART_SR_WUF) && ofs->icr != UNDEF_REG) { in stm32_usart_interrupt() 575 port->membase + ofs->icr); in stm32_usart_interrupt()
|
/linux/drivers/net/fjes/ |
A D | fjes_main.c | 1002 u32 icr; in fjes_intr() local 1004 icr = fjes_hw_capture_interrupt_status(hw); in fjes_intr() 1006 if (icr & REG_IS_MASK_IS_ASSERT) { in fjes_intr() 1007 if (icr & REG_ICTL_MASK_RX_DATA) { in fjes_intr() 1008 fjes_rx_irq(adapter, icr & REG_IS_MASK_EPID); in fjes_intr() 1009 hw->ep_shm_info[icr & REG_IS_MASK_EPID].ep_stats in fjes_intr() 1013 if (icr & REG_ICTL_MASK_DEV_STOP_REQ) { in fjes_intr() 1015 hw->ep_shm_info[icr & REG_IS_MASK_EPID].ep_stats in fjes_intr() 1019 if (icr & REG_ICTL_MASK_TXRX_STOP_REQ) { in fjes_intr() 1025 if (icr & REG_ICTL_MASK_TXRX_STOP_DONE) in fjes_intr() [all …]
|
/linux/arch/m68k/amiga/ |
A D | cia.c | 55 old = (base->icr_data |= base->cia->icr); in cia_set_irq() 74 base->icr_data |= base->cia->icr; in cia_able_irq() 75 base->cia->icr = mask; in cia_able_irq()
|
/linux/arch/powerpc/platforms/embedded6xx/ |
A D | flipper-pic.c | 235 u32 icr; in flipper_is_reset_button_pressed() local 239 icr = in_be32(io_base + FLIPPER_ICR); in flipper_is_reset_button_pressed() 240 return !(icr & FLIPPER_ICR_RSS); in flipper_is_reset_button_pressed()
|
/linux/drivers/net/can/sja1000/ |
A D | peak_pci.c | 543 u16 icr; in peak_pci_post_irq() local 546 icr = readw(chan->cfg_base + PITA_ICR); in peak_pci_post_irq() 547 if (icr & chan->icr_mask) in peak_pci_post_irq() 557 u16 sub_sys_id, icr; in peak_pci_probe() local 628 icr = readw(cfg_base + PITA_ICR + 2); in peak_pci_probe() 659 icr |= chan->icr_mask; in peak_pci_probe() 695 writew(icr, cfg_base + PITA_ICR + 2); in peak_pci_probe()
|
/linux/drivers/spi/ |
A D | atmel-quadspi.c | 300 u32 iar, icr, ifr; in atmel_qspi_set_cfg() local 305 icr = QSPI_ICR_INST(op->cmd.opcode); in atmel_qspi_set_cfg() 334 icr |= QSPI_ICR_OPT(op->addr.val & 0xff); in atmel_qspi_set_cfg() 394 atmel_qspi_write(icr, aq, QSPI_RICR); in atmel_qspi_set_cfg() 396 atmel_qspi_write(icr, aq, QSPI_WICR); in atmel_qspi_set_cfg() 401 atmel_qspi_write(icr, aq, QSPI_ICR); in atmel_qspi_set_cfg()
|
/linux/arch/arm/mach-pxa/ |
A D | viper.c | 68 static unsigned int icr; variable 72 icr |= bit; in viper_icr_set_bit() 73 VIPER_ICR = icr; in viper_icr_set_bit() 78 icr &= ~bit; in viper_icr_clear_bit() 79 VIPER_ICR = icr; in viper_icr_clear_bit()
|
/linux/arch/x86/kernel/ |
A D | kvm.c | 485 int cpu, apic_id, icr; in __send_ipi_mask() local 501 icr = APIC_DM_FIXED | vector; in __send_ipi_mask() 504 icr = APIC_DM_NMI; in __send_ipi_mask() 519 (unsigned long)(ipi_bitmap >> BITS_PER_LONG), min, icr); in __send_ipi_mask() 530 (unsigned long)(ipi_bitmap >> BITS_PER_LONG), min, icr); in __send_ipi_mask()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
A D | xapic_ipi_test.c | 66 uint32_t icr; member 156 data->icr = icr_val; in sender_guest_code() 496 data->icr, data->icr2, in main()
|
/linux/drivers/mfd/ |
A D | stmpe.c | 1243 u8 icr = 0; in stmpe_chip_init() local 1272 icr = STMPE_SYS_CTRL_INT_EN; in stmpe_chip_init() 1274 icr = STMPE_ICR_LSB_GIM; in stmpe_chip_init() 1280 icr |= STMPE_ICR_LSB_EDGE; in stmpe_chip_init() 1286 icr |= STMPE_SYS_CTRL_INT_HI; in stmpe_chip_init() 1288 icr |= STMPE_ICR_LSB_HIGH; in stmpe_chip_init() 1298 return stmpe_reg_write(stmpe, stmpe->regs[STMPE_IDX_ICR_LSB], icr); in stmpe_chip_init()
|
/linux/drivers/iio/proximity/ |
A D | vcnl3020.c | 276 unsigned int icr; in vcnl3020_is_thr_enabled() local 278 rc = regmap_read(data->regmap, VCNL_PS_ICR, &icr); in vcnl3020_is_thr_enabled() 285 return !!(icr & VCNL_ICR_THRES_EN); in vcnl3020_is_thr_enabled()
|
/linux/drivers/iio/light/ |
A D | vcnl4000.c | 675 int icr; in vcnl4010_config_threshold() local 690 icr = VCNL4010_INT_THR_EN; in vcnl4010_config_threshold() 696 icr = 0; in vcnl4010_config_threshold() 704 ret = i2c_smbus_write_byte_data(data->client, VCNL4010_INT_CTRL, icr); in vcnl4010_config_threshold()
|
/linux/drivers/net/ethernet/marvell/ |
A D | pxa168_eth.c | 843 u32 icr; in pxa168_eth_collect_events() local 846 icr = rdl(pep, INT_CAUSE); in pxa168_eth_collect_events() 847 if (icr == 0) in pxa168_eth_collect_events() 850 wrl(pep, INT_CAUSE, ~icr); in pxa168_eth_collect_events() 851 if (icr & (ICR_TXBUF_H | ICR_TXBUF_L)) { in pxa168_eth_collect_events() 855 if (icr & ICR_RXBUF) in pxa168_eth_collect_events()
|
/linux/include/uapi/linux/ |
A D | atm.h | 144 unsigned int icr; /* Initial Cell Rate (24-bit) */ member
|
/linux/drivers/atm/ |
A D | iphase.c | 365 srv_p->icr = 0x055cb7; in init_abr_vc() 382 u32 icr; in ia_open_abr_vc() local 398 if (!(srv_p->icr)) in ia_open_abr_vc() 399 srv_p->icr = srv_p->pcr; in ia_open_abr_vc() 400 if ((srv_p->icr < srv_p->mcr) || (srv_p->icr > srv_p->pcr)) in ia_open_abr_vc() 433 icr = min( srv_p->icr, (srv_p->tbe > srv_p->frtt) ? in ia_open_abr_vc() 436 f_abr_vc->f_icr = cellrate_to_float(icr); in ia_open_abr_vc() 1855 if (vcc->qos.txtp.icr) 1856 srv_p.icr = vcc->qos.txtp.icr; 1873 if (srv_p.icr > srv_p.pcr) [all …]
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A D | pvrdma_main.c | 266 u32 icr = PVRDMA_INTR_CAUSE_RESPONSE; in pvrdma_intr0_handler() local 273 icr = pvrdma_read_reg(dev, PVRDMA_REG_ICR); in pvrdma_intr0_handler() 274 if (icr == 0) in pvrdma_intr0_handler() 278 if (icr == PVRDMA_INTR_CAUSE_RESPONSE) in pvrdma_intr0_handler()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_main.c | 5074 u32 icr = rd32(IGC_ICR); in igc_msix_other() local 5077 if (icr & IGC_ICR_DRSTA) in igc_msix_other() 5080 if (icr & IGC_ICR_DOUTSYNC) { in igc_msix_other() 5085 if (icr & IGC_ICR_LSC) { in igc_msix_other() 5092 if (icr & IGC_ICR_TS) in igc_msix_other() 5452 u32 icr = rd32(IGC_ICR); in igc_intr_msi() local 5456 if (icr & IGC_ICR_DRSTA) in igc_intr_msi() 5470 if (icr & IGC_ICR_TS) in igc_intr_msi() 5491 u32 icr = rd32(IGC_ICR); in igc_intr() local 5501 if (icr & IGC_ICR_DRSTA) in igc_intr() [all …]
|