adm 164 arch/s390/include/asm/ap.h unsigned int adm[8]; /* AP (control) domain mask */ adm 742 arch/s390/include/asm/kvm_host.h __u64 adm[APCB0_MASK_SIZE]; /* 0x0010 */ adm 750 arch/s390/include/asm/kvm_host.h __u64 adm[APCB1_MASK_SIZE]; /* 0x0040 */ adm 906 arch/s390/include/asm/kvm_host.h unsigned long *aqm, unsigned long *adm); adm 2308 arch/s390/kvm/kvm-s390.c unsigned long *aqm, unsigned long *adm) adm 2323 arch/s390/kvm/kvm-s390.c memcpy(crycb->apcb1.adm, adm, 32); adm 2325 arch/s390/kvm/kvm-s390.c adm[0], adm[1], adm[2], adm[3]); adm 2331 arch/s390/kvm/kvm-s390.c memcpy(crycb->apcb0.adm, adm, 2); adm 2334 arch/s390/kvm/kvm-s390.c *((unsigned short *)adm)); adm 149 arch/s390/kvm/vsie.c apcb_s->adm[0] = apcb_h->adm[0] & tmp.adm[0] & 0xffff000000000000UL; adm 240 drivers/net/wireless/mediatek/mt76/mt7615/mcu.h u8 adm; adm 284 drivers/s390/crypto/ap_bus.c return ap_test_config(ap_configuration->adm, domain); adm 1054 drivers/s390/crypto/ap_bus.c ap_configuration->adm[0], ap_configuration->adm[1], adm 1055 drivers/s390/crypto/ap_bus.c ap_configuration->adm[2], ap_configuration->adm[3], adm 1056 drivers/s390/crypto/ap_bus.c ap_configuration->adm[4], ap_configuration->adm[5], adm 1057 drivers/s390/crypto/ap_bus.c ap_configuration->adm[6], ap_configuration->adm[7]); adm 877 drivers/s390/crypto/vfio_ap_ops.c set_bit_inv(id, matrix_mdev->matrix.adm); adm 921 drivers/s390/crypto/vfio_ap_ops.c clear_bit_inv(domid, matrix_mdev->matrix.adm); adm 941 drivers/s390/crypto/vfio_ap_ops.c for_each_set_bit_inv(id, matrix_mdev->matrix.adm, max_domid + 1) { adm 1112 drivers/s390/crypto/vfio_ap_ops.c matrix_mdev->matrix.adm); adm 69 drivers/s390/crypto/vfio_ap_private.h DECLARE_BITMAP(adm, 256); adm 1232 drivers/ssb/main.c u32 ssb_admatch_base(u32 adm) adm 1236 drivers/ssb/main.c switch (adm & SSB_ADM_TYPE) { adm 1238 drivers/ssb/main.c base = (adm & SSB_ADM_BASE0); adm 1241 drivers/ssb/main.c WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ adm 1242 drivers/ssb/main.c base = (adm & SSB_ADM_BASE1); adm 1245 drivers/ssb/main.c WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ adm 1246 drivers/ssb/main.c base = (adm & SSB_ADM_BASE2); adm 1256 drivers/ssb/main.c u32 ssb_admatch_size(u32 adm) adm 1260 drivers/ssb/main.c switch (adm & SSB_ADM_TYPE) { adm 1262 drivers/ssb/main.c size = ((adm & SSB_ADM_SZ0) >> SSB_ADM_SZ0_SHIFT); adm 1265 drivers/ssb/main.c WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ adm 1266 drivers/ssb/main.c size = ((adm & SSB_ADM_SZ1) >> SSB_ADM_SZ1_SHIFT); adm 1269 drivers/ssb/main.c WARN_ON(adm & SSB_ADM_NEG); /* unsupported */ adm 1270 drivers/ssb/main.c size = ((adm & SSB_ADM_SZ2) >> SSB_ADM_SZ2_SHIFT); adm 671 include/linux/ssb/ssb.h extern u32 ssb_admatch_base(u32 adm); adm 672 include/linux/ssb/ssb.h extern u32 ssb_admatch_size(u32 adm); adm 53 sound/soc/qcom/qdsp6/q6adm.c struct q6adm *adm; adm 90 sound/soc/qcom/qdsp6/q6adm.c static struct q6copp *q6adm_find_copp(struct q6adm *adm, int port_idx, adm 97 sound/soc/qcom/qdsp6/q6adm.c spin_lock_irqsave(&adm->copps_list_lock, flags); adm 98 sound/soc/qcom/qdsp6/q6adm.c list_for_each_entry(c, &adm->copps_list, node) { adm 106 sound/soc/qcom/qdsp6/q6adm.c spin_unlock_irqrestore(&adm->copps_list_lock, flags); adm 115 sound/soc/qcom/qdsp6/q6adm.c struct q6adm *adm = c->adm; adm 118 sound/soc/qcom/qdsp6/q6adm.c spin_lock_irqsave(&adm->copps_list_lock, flags); adm 119 sound/soc/qcom/qdsp6/q6adm.c clear_bit(c->copp_idx, &adm->copp_bitmap[c->afe_port]); adm 121 sound/soc/qcom/qdsp6/q6adm.c spin_unlock_irqrestore(&adm->copps_list_lock, flags); adm 131 sound/soc/qcom/qdsp6/q6adm.c struct q6adm *adm = dev_get_drvdata(&adev->dev); adm 158 sound/soc/qcom/qdsp6/q6adm.c copp = q6adm_find_copp(adm, port_idx, copp_idx); adm 167 sound/soc/qcom/qdsp6/q6adm.c adm->result = *result; adm 168 sound/soc/qcom/qdsp6/q6adm.c wake_up(&adm->matrix_map_wait); adm 185 sound/soc/qcom/qdsp6/q6adm.c copp = q6adm_find_copp(adm, port_idx, copp_idx); adm 212 sound/soc/qcom/qdsp6/q6adm.c static struct q6copp *q6adm_alloc_copp(struct q6adm *adm, int port_idx) adm 217 sound/soc/qcom/qdsp6/q6adm.c idx = find_first_zero_bit(&adm->copp_bitmap[port_idx], adm 227 sound/soc/qcom/qdsp6/q6adm.c set_bit(idx, &adm->copp_bitmap[port_idx]); adm 230 sound/soc/qcom/qdsp6/q6adm.c c->adm = adm; adm 237 sound/soc/qcom/qdsp6/q6adm.c static int q6adm_apr_send_copp_pkt(struct q6adm *adm, struct q6copp *copp, adm 240 sound/soc/qcom/qdsp6/q6adm.c struct device *dev = adm->dev; adm 244 sound/soc/qcom/qdsp6/q6adm.c mutex_lock(&adm->lock); adm 247 sound/soc/qcom/qdsp6/q6adm.c ret = apr_send_pkt(adm->apr, pkt); adm 275 sound/soc/qcom/qdsp6/q6adm.c mutex_unlock(&adm->lock); adm 279 sound/soc/qcom/qdsp6/q6adm.c static int q6adm_device_close(struct q6adm *adm, struct q6copp *copp, adm 293 sound/soc/qcom/qdsp6/q6adm.c return q6adm_apr_send_copp_pkt(adm, copp, &close, 0); adm 296 sound/soc/qcom/qdsp6/q6adm.c static struct q6copp *q6adm_find_matching_copp(struct q6adm *adm, adm 306 sound/soc/qcom/qdsp6/q6adm.c spin_lock_irqsave(&adm->copps_list_lock, flags); adm 308 sound/soc/qcom/qdsp6/q6adm.c list_for_each_entry(c, &adm->copps_list, node) { adm 316 sound/soc/qcom/qdsp6/q6adm.c spin_unlock_irqrestore(&adm->copps_list_lock, flags); adm 321 sound/soc/qcom/qdsp6/q6adm.c static int q6adm_device_open(struct q6adm *adm, struct q6copp *copp, adm 359 sound/soc/qcom/qdsp6/q6adm.c ret = q6adm_apr_send_copp_pkt(adm, copp, pkt, adm 387 sound/soc/qcom/qdsp6/q6adm.c struct q6adm *adm = dev_get_drvdata(dev->parent); adm 397 sound/soc/qcom/qdsp6/q6adm.c copp = q6adm_find_matching_copp(adm, port_id, topology, perf_mode, adm 404 sound/soc/qcom/qdsp6/q6adm.c spin_lock_irqsave(&adm->copps_list_lock, flags); adm 405 sound/soc/qcom/qdsp6/q6adm.c copp = q6adm_alloc_copp(adm, port_id); adm 407 sound/soc/qcom/qdsp6/q6adm.c spin_unlock_irqrestore(&adm->copps_list_lock, flags); adm 411 sound/soc/qcom/qdsp6/q6adm.c list_add_tail(&copp->node, &adm->copps_list); adm 412 sound/soc/qcom/qdsp6/q6adm.c spin_unlock_irqrestore(&adm->copps_list_lock, flags); adm 423 sound/soc/qcom/qdsp6/q6adm.c ret = q6adm_device_open(adm, copp, port_id, path, topology, adm 463 sound/soc/qcom/qdsp6/q6adm.c struct q6adm *adm = dev_get_drvdata(dev->parent); adm 519 sound/soc/qcom/qdsp6/q6adm.c copp = q6adm_find_copp(adm, port_idx, copp_idx); adm 529 sound/soc/qcom/qdsp6/q6adm.c mutex_lock(&adm->lock); adm 530 sound/soc/qcom/qdsp6/q6adm.c adm->result.status = 0; adm 531 sound/soc/qcom/qdsp6/q6adm.c adm->result.opcode = 0; adm 533 sound/soc/qcom/qdsp6/q6adm.c ret = apr_send_pkt(adm->apr, pkt); adm 539 sound/soc/qcom/qdsp6/q6adm.c ret = wait_event_timeout(adm->matrix_map_wait, adm 540 sound/soc/qcom/qdsp6/q6adm.c adm->result.opcode == pkt->hdr.opcode, adm 547 sound/soc/qcom/qdsp6/q6adm.c } else if (adm->result.status > 0) { adm 549 sound/soc/qcom/qdsp6/q6adm.c adm->result.status); adm 555 sound/soc/qcom/qdsp6/q6adm.c mutex_unlock(&adm->lock); adm 571 sound/soc/qcom/qdsp6/q6adm.c struct q6adm *adm = dev_get_drvdata(dev->parent); adm 574 sound/soc/qcom/qdsp6/q6adm.c ret = q6adm_device_close(adm, copp, copp->afe_port, copp->copp_idx); adm 576 sound/soc/qcom/qdsp6/q6adm.c dev_err(adm->dev, "Failed to close copp %d\n", ret); adm 589 sound/soc/qcom/qdsp6/q6adm.c struct q6adm *adm; adm 591 sound/soc/qcom/qdsp6/q6adm.c adm = devm_kzalloc(&adev->dev, sizeof(*adm), GFP_KERNEL); adm 592 sound/soc/qcom/qdsp6/q6adm.c if (!adm) adm 595 sound/soc/qcom/qdsp6/q6adm.c adm->apr = adev; adm 596 sound/soc/qcom/qdsp6/q6adm.c dev_set_drvdata(&adev->dev, adm); adm 597 sound/soc/qcom/qdsp6/q6adm.c adm->dev = dev; adm 598 sound/soc/qcom/qdsp6/q6adm.c q6core_get_svc_api_info(adev->svc_id, &adm->ainfo); adm 599 sound/soc/qcom/qdsp6/q6adm.c mutex_init(&adm->lock); adm 600 sound/soc/qcom/qdsp6/q6adm.c init_waitqueue_head(&adm->matrix_map_wait); adm 602 sound/soc/qcom/qdsp6/q6adm.c INIT_LIST_HEAD(&adm->copps_list); adm 603 sound/soc/qcom/qdsp6/q6adm.c spin_lock_init(&adm->copps_list_lock);