pcivar.h (ec603c729718833fbce3b91ed477d961a393c14a) pcivar.h (87dd2f95d2fd6921a6b442bc309888a653410001)
1/*-
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 533 unchanged lines hidden (view full) ---

542/* Can be used by drivers to manage the MSI-X table. */
543int pci_pending_msix(device_t dev, u_int index);
544
545int pci_msi_device_blacklisted(device_t dev);
546int pci_msix_device_blacklisted(device_t dev);
547
548void pci_ht_map_msi(device_t dev, uint64_t addr);
549
1/*-
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 533 unchanged lines hidden (view full) ---

542/* Can be used by drivers to manage the MSI-X table. */
543int pci_pending_msix(device_t dev, u_int index);
544
545int pci_msi_device_blacklisted(device_t dev);
546int pci_msix_device_blacklisted(device_t dev);
547
548void pci_ht_map_msi(device_t dev, uint64_t addr);
549
550device_t pci_find_pcie_root_port(device_t dev);
550int pci_get_max_read_req(device_t dev);
551void pci_restore_state(device_t dev);
552void pci_save_state(device_t dev);
553int pci_set_max_read_req(device_t dev, int size);
554uint32_t pcie_read_config(device_t dev, int reg, int width);
555void pcie_write_config(device_t dev, int reg, uint32_t value, int width);
556uint32_t pcie_adjust_config(device_t dev, int reg, uint32_t mask,
557 uint32_t value, int width);

--- 38 unchanged lines hidden ---
551int pci_get_max_read_req(device_t dev);
552void pci_restore_state(device_t dev);
553void pci_save_state(device_t dev);
554int pci_set_max_read_req(device_t dev, int size);
555uint32_t pcie_read_config(device_t dev, int reg, int width);
556void pcie_write_config(device_t dev, int reg, uint32_t value, int width);
557uint32_t pcie_adjust_config(device_t dev, int reg, uint32_t mask,
558 uint32_t value, int width);

--- 38 unchanged lines hidden ---