/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | stv0900_sw.c | 24 int stv0900_check_signal_presence(struct stv0900_internal *intp, in stv0900_check_signal_presence() argument 33 carr_offset = (stv0900_read_reg(intp, CFR2) << 8) in stv0900_check_signal_presence() 34 | stv0900_read_reg(intp, CFR1); in stv0900_check_signal_presence() 36 agc2_integr = (stv0900_read_reg(intp, AGC2I1) << 8) in stv0900_check_signal_presence() 37 | stv0900_read_reg(intp, AGC2I0); in stv0900_check_signal_presence() 38 max_carrier = intp->srch_range[demod] / 1000; in stv0900_check_signal_presence() 42 max_carrier /= intp->mclk / 1000; in stv0900_check_signal_presence() 54 static void stv0900_get_sw_loop_params(struct stv0900_internal *intp, in stv0900_get_sw_loop_params() argument 63 srate = intp->symbol_rate[demod]; in stv0900_get_sw_loop_params() 64 max_carrier = intp->srch_range[demod] / 1000; in stv0900_get_sw_loop_params() [all …]
|
H A D | stv0900_core.c | 118 void stv0900_write_reg(struct stv0900_internal *intp, u16 reg_addr, in stv0900_write_reg() argument 124 .addr = intp->i2c_addr, in stv0900_write_reg() 134 ret = i2c_transfer(intp->i2c_adap, &i2cmsg, 1); in stv0900_write_reg() 139 u8 stv0900_read_reg(struct stv0900_internal *intp, u16 reg) in stv0900_read_reg() argument 146 .addr = intp->i2c_addr, in stv0900_read_reg() 151 .addr = intp->i2c_addr, in stv0900_read_reg() 158 ret = i2c_transfer(intp->i2c_adap, msg, 2); in stv0900_read_reg() 180 void stv0900_write_bits(struct stv0900_internal *intp, u32 label, u8 val) in stv0900_write_bits() argument 184 reg = stv0900_read_reg(intp, (label >> 16) & 0xffff); in stv0900_write_bits() 190 stv0900_write_reg(intp, (label >> 16) & 0xffff, reg); in stv0900_write_bits() [all …]
|
H A D | stv0900_priv.h | 387 stv0900_get_freq_auto(struct stv0900_internal *intp, int demod); 390 stv0900_set_tuner_auto(struct stv0900_internal *intp, u32 Frequency,
|
H A D | tda10023.c | 262 /* 102 */ 0x2c, 0xff, 0x0d, /* INTP/S TRIP=0 TRIS=0 */ in tda10023_init()
|
/openbmc/qemu/hw/vfio/ |
H A D | platform.c | 45 static inline bool vfio_irq_is_automasked(VFIOINTp *intp) in vfio_irq_is_automasked() argument 47 return intp->flags & VFIO_IRQ_INFO_AUTOMASKED; in vfio_irq_is_automasked() 64 VFIOINTp *intp; in vfio_init_intp() local 66 intp = g_malloc0(sizeof(*intp)); in vfio_init_intp() 67 intp->vdev = vdev; in vfio_init_intp() 68 intp->pin = info.index; in vfio_init_intp() 69 intp->flags = info.flags; in vfio_init_intp() 70 intp->state = VFIO_IRQ_INACTIVE; in vfio_init_intp() 71 intp->kvm_accel = false; in vfio_init_intp() 73 sysbus_init_irq(sbdev, &intp->qemuirq); in vfio_init_intp() [all …]
|
/openbmc/u-boot/arch/m68k/cpu/mcf52x2/ |
H A D | interrupts.c | 19 intctrl_t *intp = (intctrl_t *) (MMAP_INTC); in interrupt_init() local 22 out_be32(&intp->int_icr1, 0x88888888); in interrupt_init() 23 out_be32(&intp->int_icr2, 0x88888888); in interrupt_init() 24 out_be32(&intp->int_icr3, 0x88888888); in interrupt_init() 25 out_be32(&intp->int_icr4, 0x88888888); in interrupt_init() 26 out_be32(&intp->int_pitr, 0x00000000); in interrupt_init() 29 out_8(&intp->int_pivr, 0x40); in interrupt_init() 39 intctrl_t *intp = (intctrl_t *) (CONFIG_SYS_INTR_BASE); in dtimer_intr_setup() local 41 clrbits_be32(&intp->int_icr1, INT_ICR1_TMR3MASK); in dtimer_intr_setup() 42 setbits_be32(&intp->int_icr1, CONFIG_SYS_TMRINTR_PRI); in dtimer_intr_setup() [all …]
|
/openbmc/u-boot/arch/m68k/cpu/mcf532x/ |
H A D | interrupts.c | 15 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in interrupt_init() local 18 setbits_be32(&intp->imrh0, 0xffffffff); in interrupt_init() 19 setbits_be32(&intp->imrl0, 0xffffffff); in interrupt_init() 28 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in dtimer_intr_setup() local 30 out_8(&intp->icr0[CONFIG_SYS_TMRINTR_NO], CONFIG_SYS_TMRINTR_PRI); in dtimer_intr_setup() 31 clrbits_be32(&intp->imrh0, CONFIG_SYS_TMRINTR_MASK); in dtimer_intr_setup()
|
/openbmc/u-boot/arch/m68k/cpu/mcf523x/ |
H A D | interrupts.c | 15 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in interrupt_init() local 18 setbits_be32(&intp->imrl0, 0x1); in interrupt_init() 27 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in dtimer_intr_setup() local 29 out_8(&intp->icr0[CONFIG_SYS_TMRINTR_NO], CONFIG_SYS_TMRINTR_PRI); in dtimer_intr_setup() 30 clrbits_be32(&intp->imrl0, INTC_IPRL_INT0); in dtimer_intr_setup() 31 clrbits_be32(&intp->imrl0, CONFIG_SYS_TMRINTR_MASK); in dtimer_intr_setup()
|
/openbmc/u-boot/arch/m68k/cpu/mcf547x_8x/ |
H A D | interrupts.c | 15 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in interrupt_init() local 18 setbits_be32(&intp->imrh0, 0xffffffff); in interrupt_init() 19 setbits_be32(&intp->imrl0, 0xffffffff); in interrupt_init() 29 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in dtimer_intr_setup() local 31 out_8(&intp->icr0[CONFIG_SYS_TMRINTR_NO], CONFIG_SYS_TMRINTR_PRI); in dtimer_intr_setup() 32 clrbits_be32(&intp->imrh0, CONFIG_SYS_TMRINTR_MASK); in dtimer_intr_setup()
|
/openbmc/u-boot/arch/m68k/cpu/mcf5227x/ |
H A D | interrupts.c | 18 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in interrupt_init() local 21 setbits_be32(&intp->imrh0, 0xffffffff); in interrupt_init() 22 setbits_be32(&intp->imrl0, 0xffffffff); in interrupt_init() 31 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in dtimer_intr_setup() local 33 out_8(&intp->icr0[CONFIG_SYS_TMRINTR_NO], CONFIG_SYS_TMRINTR_PRI); in dtimer_intr_setup() 34 clrbits_be32(&intp->imrh0, CONFIG_SYS_TMRINTR_MASK); in dtimer_intr_setup()
|
/openbmc/u-boot/arch/m68k/cpu/mcf5445x/ |
H A D | interrupts.c | 18 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in interrupt_init() local 21 setbits_be32(&intp->imrh0, 0xffffffff); in interrupt_init() 22 setbits_be32(&intp->imrl0, 0xffffffff); in interrupt_init() 31 int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); in dtimer_intr_setup() local 33 out_8(&intp->icr0[CONFIG_SYS_TMRINTR_NO], CONFIG_SYS_TMRINTR_PRI); in dtimer_intr_setup() 34 clrbits_be32(&intp->imrh0, CONFIG_SYS_TMRINTR_MASK); in dtimer_intr_setup()
|
/openbmc/linux/block/ |
H A D | bsg.c | 109 int __user *intp = uarg; in bsg_ioctl() local 125 return put_user(30527, intp); in bsg_ioctl() 127 return put_user(0, intp); in bsg_ioctl() 129 return put_user(0, intp); in bsg_ioctl() 131 if (get_user(val, intp)) in bsg_ioctl() 139 intp); in bsg_ioctl() 141 if (get_user(val, intp)) in bsg_ioctl() 149 return put_user(1, intp); in bsg_ioctl()
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | iopin_8xx.h | 423 ushort __iomem *intp = &immap->im_ioport.iop_pcint; in iopin_set_falledge() local 425 setbits_be16(intp, 1 << (15 - iopin->pin)); in iopin_set_falledge() 434 ushort __iomem *intp = &immap->im_ioport.iop_pcint; in iopin_set_anyedge() local 436 clrbits_be16(intp, 1 << (15 - iopin->pin)); in iopin_set_anyedge() 445 ushort __iomem *intp = &immap->im_ioport.iop_pcint; in iopin_is_falledge() local 447 return (in_be16(intp) >> (15 - iopin->pin)) & 1; in iopin_is_falledge() 457 ushort __iomem *intp = &immap->im_ioport.iop_pcint; in iopin_is_anyedge() local 459 return ((in_be16(intp) >> (15 - iopin->pin)) & 1) ^ 1; in iopin_is_anyedge()
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | analogix,anx7814.yaml | 28 description: Should contain the INTP interrupt. 83 interrupts = <99 IRQ_TYPE_LEVEL_LOW>; /* INTP */
|
/openbmc/linux/sound/core/ |
H A D | control_compat.c | 240 s32 __user *intp = valuep; in copy_ctl_value_from_user() local 242 if (get_user(val, &intp[i])) in copy_ctl_value_from_user() 273 s32 __user *intp = valuep; in copy_ctl_value_to_user() local 276 if (put_user(val, &intp[i])) in copy_ctl_value_to_user()
|
/openbmc/qemu/hw/core/ |
H A D | sysbus-fdt.c | 296 VFIOINTp *intp; in add_amd_xgbe_fdt_node() local 396 QLIST_FOREACH(intp, &vdev->intp_list, next) { in add_amd_xgbe_fdt_node() 397 if (intp->pin == i) { in add_amd_xgbe_fdt_node() 401 if (intp->flags & VFIO_IRQ_INFO_AUTOMASKED) { in add_amd_xgbe_fdt_node()
|
/openbmc/qemu/hw/usb/ |
H A D | redirect.c | 835 struct buf_packet *intp, *intp_to_free; in usbredir_handle_interrupt_in_data() local 857 QTAILQ_FOREACH(intp, &dev->endpoint[EP2I(ep)].bufpq, next) { in usbredir_handle_interrupt_in_data() 858 sum += intp->len; in usbredir_handle_interrupt_in_data() 859 if (intp->len < dev->endpoint[EP2I(ep)].max_packet_size || in usbredir_handle_interrupt_in_data() 864 if (intp == NULL) { in usbredir_handle_interrupt_in_data() 865 DPRINTF2("interrupt-token-in ep %02X, no intp, buffered %d\n", ep, sum); in usbredir_handle_interrupt_in_data() 881 QTAILQ_FOREACH(intp, &dev->endpoint[EP2I(ep)].bufpq, next) { in usbredir_handle_interrupt_in_data() 886 intp->status, intp->len); in usbredir_handle_interrupt_in_data() 888 sum += intp->len; in usbredir_handle_interrupt_in_data() 889 len = intp->len; in usbredir_handle_interrupt_in_data() [all …]
|
/openbmc/qemu/include/hw/vfio/ |
H A D | vfio-platform.h | 48 typedef void (*eventfd_user_side_handler_t)(VFIOINTp *intp);
|
/openbmc/qemu/hw/rtc/ |
H A D | exynos4210_rtc.c | 55 #define INTP 0x0030 macro 317 case INTP: in exynos4210_rtc_read() 393 case INTP: in exynos4210_rtc_write()
|
/openbmc/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix-anx78xx.c | 1257 DRM_ERROR("Failed to get CABLE_DET and INTP IRQ\n"); in anx78xx_i2c_probe() 1335 "anx78xx-intp", anx78xx); in anx78xx_i2c_probe() 1337 DRM_ERROR("Failed to request INTP threaded IRQ: %d\n", err); in anx78xx_i2c_probe()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | cyapa_gen5.c | 2222 s32 *intp; in cyapa_gen5_read_panel_scan_raw_data() local 2231 intp = (s32 *)buffer; in cyapa_gen5_read_panel_scan_raw_data() 2279 if (intp) in cyapa_gen5_read_panel_scan_raw_data() 2280 put_unaligned_le32(value, &intp[count]); in cyapa_gen5_read_panel_scan_raw_data()
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | ite-it6505.c | 3441 dev_err(dev, "Failed to get INTP IRQ"); in it6505_i2c_probe() 3449 "it6505-intp", it6505); in it6505_i2c_probe() 3451 dev_err(dev, "Failed to request INTP threaded IRQ: %d", err); in it6505_i2c_probe()
|
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A D | amd.c | 386 * IntP: interrupt present; if this bit is set, the thresholding in lvt_interrupt_supported()
|
/openbmc/linux/drivers/usb/typec/ |
H A D | anx7411.c | 1536 "anx7411-intp", plat); in anx7411_i2c_probe()
|
/openbmc/linux/drivers/s390/cio/ |
H A D | qdio_main.c | 708 DBF_ERROR("intp :%lx", intparm); in qdio_handle_activate_check()
|