cxl_ops 199 drivers/misc/cxl/api.c cxl_map_irq(ctx->afu->adapter, hwirq, cxl_ops->psl_interrupt, ctx, "psl"); cxl_ops 203 drivers/misc/cxl/api.c if (cxl_ops->update_ivtes) cxl_ops 204 drivers/misc/cxl/api.c cxl_ops->update_ivtes(ctx); cxl_ops 226 drivers/misc/cxl/api.c cxl_ops->release_irq_ranges(&ctx->irqs, ctx->afu->adapter); cxl_ops 312 drivers/misc/cxl/api.c if ((rc = cxl_ops->attach_process(ctx, kernel, wed, 0))) { cxl_ops 508 drivers/misc/cxl/api.c rc = cxl_ops->afu_reset(afu); cxl_ops 512 drivers/misc/cxl/api.c return cxl_ops->afu_check_and_enable(afu); cxl_ops 529 drivers/misc/cxl/api.c return cxl_ops->read_adapter_vpd(afu->adapter, buf, count); cxl_ops 248 drivers/misc/cxl/context.c WARN_ON(cxl_ops->detach_process(ctx) && cxl_ops 249 drivers/misc/cxl/context.c cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)); cxl_ops 256 drivers/misc/cxl/context.c if (cxl_ops->irq_wait) cxl_ops 257 drivers/misc/cxl/context.c cxl_ops->irq_wait(ctx); cxl_ops 1103 drivers/misc/cxl/cxl.h extern const struct cxl_backend_ops *cxl_ops; cxl_ops 101 drivers/misc/cxl/fault.c cxl_ops->ack_irq(ctx, CXL_PSL_TFC_An_AE, 0); cxl_ops 125 drivers/misc/cxl/fault.c cxl_ops->ack_irq(ctx, CXL_PSL_TFC_An_R, 0); cxl_ops 190 drivers/misc/cxl/fault.c cxl_ops->ack_irq(ctx, CXL_PSL_TFC_An_R, 0); cxl_ops 77 drivers/misc/cxl/file.c if (!cxl_ops->link_ok(adapter, afu)) { cxl_ops 253 drivers/misc/cxl/file.c if ((rc = cxl_ops->attach_process(ctx, false, work.work_element_descriptor, cxl_ops 317 drivers/misc/cxl/file.c if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) cxl_ops 347 drivers/misc/cxl/file.c if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) cxl_ops 434 drivers/misc/cxl/file.c if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) cxl_ops 447 drivers/misc/cxl/file.c if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) { cxl_ops 61 drivers/misc/cxl/guest.c return cxl_ops->ack_irq(ctx, 0, errstat); cxl_ops 369 drivers/misc/cxl/guest.c cxl_ops->release_one_irq(afu->adapter, afu->serr_hwirq); cxl_ops 647 drivers/misc/cxl/guest.c if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) cxl_ops 782 drivers/misc/cxl/guest.c cxl_ops->afu_reset(afu); cxl_ops 844 drivers/misc/cxl/guest.c if ((rc = cxl_ops->afu_reset(afu))) cxl_ops 942 drivers/misc/cxl/guest.c if ((rc = cxl_ops->afu_reset(afu))) cxl_ops 1034 drivers/misc/cxl/guest.c cxl_ops->afu_deactivate_mode(afu, afu->current_mode); cxl_ops 50 drivers/misc/cxl/irq.c return cxl_ops->handle_psl_slice_error(ctx, dsisr, cxl_ops 74 drivers/misc/cxl/irq.c cxl_ops->ack_irq(ctx, CXL_PSL_TFC_An_A, 0); cxl_ops 135 drivers/misc/cxl/irq.c return cxl_ops->handle_psl_slice_error(ctx, dsisr, cxl_ops 160 drivers/misc/cxl/irq.c cxl_ops->ack_irq(ctx, CXL_PSL_TFC_An_A, 0); cxl_ops 236 drivers/misc/cxl/irq.c if (cxl_ops->setup_irq) cxl_ops 237 drivers/misc/cxl/irq.c cxl_ops->setup_irq(adapter, hwirq, virq); cxl_ops 264 drivers/misc/cxl/irq.c if ((hwirq = cxl_ops->alloc_one_irq(adapter)) < 0) cxl_ops 276 drivers/misc/cxl/irq.c cxl_ops->release_one_irq(adapter, hwirq); cxl_ops 310 drivers/misc/cxl/irq.c if ((rc = cxl_ops->alloc_irq_ranges(&ctx->irqs, ctx->afu->adapter, cxl_ops 351 drivers/misc/cxl/irq.c cxl_ops->release_irq_ranges(&ctx->irqs, ctx->afu->adapter); cxl_ops 379 drivers/misc/cxl/irq.c handler = cxl_ops->psl_interrupt; cxl_ops 417 drivers/misc/cxl/irq.c cxl_ops->release_irq_ranges(&ctx->irqs, ctx->afu->adapter); cxl_ops 34 drivers/misc/cxl/main.c const struct cxl_backend_ops *cxl_ops; cxl_ops 50 drivers/misc/cxl/main.c if (!cxl_ops->link_ok(afu->adapter, afu)) cxl_ops 252 drivers/misc/cxl/main.c afu->dev.release = cxl_ops->release_afu; cxl_ops 267 drivers/misc/cxl/main.c return cxl_ops->afu_activate_mode(afu, CXL_MODE_DIRECTED); cxl_ops 270 drivers/misc/cxl/main.c return cxl_ops->afu_activate_mode(afu, CXL_MODE_DEDICATED); cxl_ops 338 drivers/misc/cxl/main.c cxl_ops = &cxl_native_ops; cxl_ops 343 drivers/misc/cxl/main.c cxl_ops = &cxl_guest_ops; cxl_ops 44 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(afu->adapter, afu)) { cxl_ops 121 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(afu->adapter, afu)) { cxl_ops 149 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(afu->adapter, afu)) { cxl_ops 171 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(afu->adapter, afu)) { cxl_ops 308 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(adapter, NULL)) cxl_ops 329 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(adapter, NULL)) cxl_ops 340 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(adapter, NULL)) cxl_ops 374 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(adapter, NULL)) { cxl_ops 421 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(adapter, NULL)) cxl_ops 452 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) { cxl_ops 508 drivers/misc/cxl/native.c if (cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) cxl_ops 527 drivers/misc/cxl/native.c if (cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) cxl_ops 729 drivers/misc/cxl/native.c result = cxl_ops->afu_check_and_enable(ctx->afu); cxl_ops 780 drivers/misc/cxl/native.c if ((result = cxl_ops->afu_check_and_enable(ctx->afu))) cxl_ops 822 drivers/misc/cxl/native.c cxl_ops->afu_reset(afu); cxl_ops 925 drivers/misc/cxl/native.c result = cxl_ops->afu_reset(afu); cxl_ops 958 drivers/misc/cxl/native.c if ((rc = cxl_ops->afu_reset(afu))) cxl_ops 994 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(afu->adapter, afu)) { cxl_ops 1011 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(ctx->afu->adapter, ctx->afu)) { cxl_ops 1046 drivers/misc/cxl/native.c cxl_ops->afu_reset(ctx->afu); cxl_ops 1089 drivers/misc/cxl/native.c if (!cxl_ops->link_ok(afu->adapter, afu)) cxl_ops 1149 drivers/misc/cxl/native.c return cxl_ops->ack_irq(ctx, 0, errstat); cxl_ops 1355 drivers/misc/cxl/native.c cxl_ops->release_one_irq(adapter, adapter->native->err_hwirq); cxl_ops 1401 drivers/misc/cxl/native.c cxl_ops->release_one_irq(afu->adapter, afu->serr_hwirq); cxl_ops 1432 drivers/misc/cxl/native.c cxl_ops->release_one_irq(afu->adapter, afu->native->psl_hwirq); cxl_ops 1475 drivers/misc/cxl/native.c if (unlikely(!cxl_ops->link_ok(afu->adapter, afu))) cxl_ops 1486 drivers/misc/cxl/native.c if (unlikely(!cxl_ops->link_ok(afu->adapter, afu))) cxl_ops 1521 drivers/misc/cxl/native.c if (unlikely(!cxl_ops->link_ok(afu->adapter, afu))) cxl_ops 220 drivers/misc/cxl/of.c rc = cxl_ops->afu_cr_read16(afu, i, PCI_DEVICE_ID, cxl_ops 225 drivers/misc/cxl/of.c rc = cxl_ops->afu_cr_read16(afu, i, PCI_VENDOR_ID, cxl_ops 230 drivers/misc/cxl/of.c rc = cxl_ops->afu_cr_read32(afu, i, PCI_CLASS_REVISION, cxl_ops 902 drivers/misc/cxl/pci.c rc = cxl_ops->afu_cr_read32(afu, i, 0, &val); cxl_ops 939 drivers/misc/cxl/pci.c if (cxl_ops->afu_reset(afu)) cxl_ops 985 drivers/misc/cxl/pci.c if (cxl_ops->afu_reset(afu)) cxl_ops 1086 drivers/misc/cxl/pci.c if ((rc = cxl_ops->afu_reset(afu))) cxl_ops 1209 drivers/misc/cxl/pci.c cxl_ops->afu_deactivate_mode(afu, afu->current_mode); cxl_ops 1946 drivers/misc/cxl/pci.c cxl_ops->afu_deactivate_mode(afu, afu->current_mode); cxl_ops 2020 drivers/misc/cxl/pci.c if (cxl_ops->afu_check_and_enable(afu)) cxl_ops 108 drivers/misc/cxl/sysfs.c rc = cxl_ops->adapter_reset(adapter); cxl_ops 115 drivers/misc/cxl/sysfs.c rc = cxl_ops->adapter_reset(adapter); cxl_ops 261 drivers/misc/cxl/sysfs.c if ((rc = cxl_ops->afu_reset(afu))) cxl_ops 421 drivers/misc/cxl/sysfs.c if ((rc = cxl_ops->afu_deactivate_mode(afu, old_mode))) cxl_ops 423 drivers/misc/cxl/sysfs.c if ((rc = cxl_ops->afu_activate_mode(afu, mode))) cxl_ops 452 drivers/misc/cxl/sysfs.c return cxl_ops->afu_read_err_buffer(afu, buf, off, count); cxl_ops 474 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 484 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 498 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 550 drivers/misc/cxl/sysfs.c rc = cxl_ops->afu_cr_read64(afu, cr->cr, off & ~0x7, &val); cxl_ops 598 drivers/misc/cxl/sysfs.c rc = cxl_ops->afu_cr_read16(afu, cr_idx, PCI_DEVICE_ID, &cr->device); cxl_ops 601 drivers/misc/cxl/sysfs.c rc = cxl_ops->afu_cr_read16(afu, cr_idx, PCI_VENDOR_ID, &cr->vendor); cxl_ops 604 drivers/misc/cxl/sysfs.c rc = cxl_ops->afu_cr_read32(afu, cr_idx, PCI_CLASS_REVISION, &cr->class); cxl_ops 660 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 681 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 726 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 740 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 752 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 766 drivers/misc/cxl/sysfs.c if (cxl_ops->support_attributes(dev_attr->attr.name, cxl_ops 37 drivers/misc/cxl/vphb.c if (!cxl_ops->link_ok(afu->adapter, afu)) { cxl_ops 53 drivers/misc/cxl/vphb.c return (cxl_ops->afu_check_and_enable(afu) == 0); cxl_ops 136 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_read8(afu, record, offset, &val8); cxl_ops 140 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_read16(afu, record, offset, &val16); cxl_ops 144 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_read32(afu, record, offset, &val32); cxl_ops 173 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_write8(afu, record, offset, val & 0xff); cxl_ops 176 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_write16(afu, record, offset, val & 0xffff); cxl_ops 179 drivers/misc/cxl/vphb.c rc = cxl_ops->afu_cr_write32(afu, record, offset, val);