/linux-6.1.9/drivers/spmi/ |
D | spmi-pmic-arb.c | 103 #define spec_to_hwirq(slave_id, periph_id, irq_id, apid) \ argument 107 (((apid) & 0x1FF) << 0)) 586 static void cleanup_irq(struct spmi_pmic_arb *pmic_arb, u16 apid, int id) in cleanup_irq() argument 588 u16 ppid = pmic_arb->apid_data[apid].ppid; in cleanup_irq() 594 __func__, apid, sid, per, id); in cleanup_irq() 595 writel_relaxed(irq_mask, pmic_arb->ver_ops->irq_clear(pmic_arb, apid)); in cleanup_irq() 598 static int periph_interrupt(struct spmi_pmic_arb *pmic_arb, u16 apid) in periph_interrupt() argument 603 u8 sid = (pmic_arb->apid_data[apid].ppid >> 8) & 0xF; in periph_interrupt() 604 u8 per = pmic_arb->apid_data[apid].ppid & 0xFF; in periph_interrupt() 606 status = readl_relaxed(pmic_arb->ver_ops->irq_status(pmic_arb, apid)); in periph_interrupt() [all …]
|
/linux-6.1.9/drivers/s390/char/ |
D | sclp_ap.c | 22 static int do_ap_configure(sclp_cmdw_t cmd, u32 apid) in do_ap_configure() argument 35 cmd |= (apid & 0xFF) << 8; in do_ap_configure() 44 apid, cmd, sccb->header.response_code); in do_ap_configure() 53 int sclp_ap_configure(u32 apid) in sclp_ap_configure() argument 55 return do_ap_configure(SCLP_CMDW_CONFIGURE_AP, apid); in sclp_ap_configure() 59 int sclp_ap_deconfigure(u32 apid) in sclp_ap_deconfigure() argument 61 return do_ap_configure(SCLP_CMDW_DECONFIGURE_AP, apid); in sclp_ap_deconfigure()
|
/linux-6.1.9/drivers/s390/crypto/ |
D | vfio_ap_ops.c | 642 unsigned long apid, apqi, apqn; in vfio_ap_mdev_filter_matrix() local 661 for_each_set_bit_inv(apid, apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix() 671 apqn = AP_MKQID(apid, apqi); in vfio_ap_mdev_filter_matrix() 674 clear_bit_inv(apid, in vfio_ap_mdev_filter_matrix() 755 unsigned long apid, apqi; in vfio_ap_mdev_unlink_fr_queues() local 757 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues() 761 AP_MKQID(apid, apqi)); in vfio_ap_mdev_unlink_fr_queues() 796 unsigned long apid, apqi; in vfio_ap_mdev_log_sharing_err() local 800 for_each_set_bit_inv(apid, apm, AP_DEVICES) in vfio_ap_mdev_log_sharing_err() 802 dev_warn(dev, MDEV_SHARING_ERR, apid, apqi, mdev_name); in vfio_ap_mdev_log_sharing_err() [all …]
|
/linux-6.1.9/arch/s390/include/asm/ |
D | sclp.h | 147 int sclp_ap_configure(u32 apid); 148 int sclp_ap_deconfigure(u32 apid);
|
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/ |
D | av7110.h | 292 extern int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid,
|
D | av7110.c | 714 static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, in SetPIDs() argument 721 if (vpid == 0x1fff || apid == 0x1fff || in SetPIDs() 723 vpid = apid = ttpid = subpid = pcrpid = 0; in SetPIDs() 734 pcrpid, vpid, apid, ttpid, subpid, aflags); in SetPIDs() 737 int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, in ChangePIDs() argument 748 if (!(apid & 0x8000)) in ChangePIDs() 749 av7110->pids[DMX_PES_AUDIO] = apid; in ChangePIDs() 759 ret = SetPIDs(av7110, vpid, apid, ttpid, subpid, pcrpid); in ChangePIDs()
|