epf_test 75 drivers/pci/endpoint/functions/pci-epf-test.c static int pci_epf_test_copy(struct pci_epf_test *epf_test) epf_test 82 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf *epf = epf_test->epf; epf_test 85 drivers/pci/endpoint/functions/pci-epf-test.c enum pci_barno test_reg_bar = epf_test->test_reg_bar; epf_test 86 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test_reg *reg = epf_test->reg[test_reg_bar]; epf_test 137 drivers/pci/endpoint/functions/pci-epf-test.c static int pci_epf_test_read(struct pci_epf_test *epf_test) epf_test 144 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf *epf = epf_test->epf; epf_test 147 drivers/pci/endpoint/functions/pci-epf-test.c enum pci_barno test_reg_bar = epf_test->test_reg_bar; epf_test 148 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test_reg *reg = epf_test->reg[test_reg_bar]; epf_test 190 drivers/pci/endpoint/functions/pci-epf-test.c static int pci_epf_test_write(struct pci_epf_test *epf_test) epf_test 196 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf *epf = epf_test->epf; epf_test 199 drivers/pci/endpoint/functions/pci-epf-test.c enum pci_barno test_reg_bar = epf_test->test_reg_bar; epf_test 200 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test_reg *reg = epf_test->reg[test_reg_bar]; epf_test 247 drivers/pci/endpoint/functions/pci-epf-test.c static void pci_epf_test_raise_irq(struct pci_epf_test *epf_test, u8 irq_type, epf_test 250 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf *epf = epf_test->epf; epf_test 253 drivers/pci/endpoint/functions/pci-epf-test.c enum pci_barno test_reg_bar = epf_test->test_reg_bar; epf_test 254 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test_reg *reg = epf_test->reg[test_reg_bar]; epf_test 279 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test *epf_test = container_of(work, struct pci_epf_test, epf_test 281 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf *epf = epf_test->epf; epf_test 284 drivers/pci/endpoint/functions/pci-epf-test.c enum pci_barno test_reg_bar = epf_test->test_reg_bar; epf_test 285 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test_reg *reg = epf_test->reg[test_reg_bar]; epf_test 306 drivers/pci/endpoint/functions/pci-epf-test.c ret = pci_epf_test_write(epf_test); epf_test 311 drivers/pci/endpoint/functions/pci-epf-test.c pci_epf_test_raise_irq(epf_test, reg->irq_type, epf_test 317 drivers/pci/endpoint/functions/pci-epf-test.c ret = pci_epf_test_read(epf_test); epf_test 322 drivers/pci/endpoint/functions/pci-epf-test.c pci_epf_test_raise_irq(epf_test, reg->irq_type, epf_test 328 drivers/pci/endpoint/functions/pci-epf-test.c ret = pci_epf_test_copy(epf_test); epf_test 333 drivers/pci/endpoint/functions/pci-epf-test.c pci_epf_test_raise_irq(epf_test, reg->irq_type, epf_test 359 drivers/pci/endpoint/functions/pci-epf-test.c queue_delayed_work(kpcitest_workqueue, &epf_test->cmd_handler, epf_test 365 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test *epf_test = epf_get_drvdata(epf); epf_test 367 drivers/pci/endpoint/functions/pci-epf-test.c queue_delayed_work(kpcitest_workqueue, &epf_test->cmd_handler, epf_test 373 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test *epf_test = epf_get_drvdata(epf); epf_test 378 drivers/pci/endpoint/functions/pci-epf-test.c cancel_delayed_work(&epf_test->cmd_handler); epf_test 383 drivers/pci/endpoint/functions/pci-epf-test.c if (epf_test->reg[bar]) { epf_test 385 drivers/pci/endpoint/functions/pci-epf-test.c pci_epf_free_space(epf, epf_test->reg[bar], bar); epf_test 397 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test *epf_test = epf_get_drvdata(epf); epf_test 398 drivers/pci/endpoint/functions/pci-epf-test.c enum pci_barno test_reg_bar = epf_test->test_reg_bar; epf_test 401 drivers/pci/endpoint/functions/pci-epf-test.c epc_features = epf_test->epc_features; epf_test 417 drivers/pci/endpoint/functions/pci-epf-test.c pci_epf_free_space(epf, epf_test->reg[bar], bar); epf_test 429 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test *epf_test = epf_get_drvdata(epf); epf_test 434 drivers/pci/endpoint/functions/pci-epf-test.c enum pci_barno test_reg_bar = epf_test->test_reg_bar; epf_test 438 drivers/pci/endpoint/functions/pci-epf-test.c epc_features = epf_test->epc_features; epf_test 451 drivers/pci/endpoint/functions/pci-epf-test.c epf_test->reg[test_reg_bar] = base; epf_test 468 drivers/pci/endpoint/functions/pci-epf-test.c epf_test->reg[bar] = base; epf_test 494 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test *epf_test = epf_get_drvdata(epf); epf_test 516 drivers/pci/endpoint/functions/pci-epf-test.c epf_test->test_reg_bar = test_reg_bar; epf_test 517 drivers/pci/endpoint/functions/pci-epf-test.c epf_test->epc_features = epc_features; epf_test 550 drivers/pci/endpoint/functions/pci-epf-test.c queue_work(kpcitest_workqueue, &epf_test->cmd_handler.work); epf_test 564 drivers/pci/endpoint/functions/pci-epf-test.c struct pci_epf_test *epf_test; epf_test 567 drivers/pci/endpoint/functions/pci-epf-test.c epf_test = devm_kzalloc(dev, sizeof(*epf_test), GFP_KERNEL); epf_test 568 drivers/pci/endpoint/functions/pci-epf-test.c if (!epf_test) epf_test 572 drivers/pci/endpoint/functions/pci-epf-test.c epf_test->epf = epf; epf_test 574 drivers/pci/endpoint/functions/pci-epf-test.c INIT_DELAYED_WORK(&epf_test->cmd_handler, pci_epf_test_cmd_handler); epf_test 576 drivers/pci/endpoint/functions/pci-epf-test.c epf_set_drvdata(epf, epf_test);