/freebsd/sys/dev/pci/ |
H A D | hostb_pci.c | 197 int *capreg) in pci_hostb_find_cap() argument 200 return (pci_find_cap(dev, capability, capreg)); in pci_hostb_find_cap() 205 int start, int *capreg) in pci_hostb_find_next_cap() argument 208 return (pci_find_next_cap(dev, capability, start, capreg)); in pci_hostb_find_next_cap() 213 int *capreg) in pci_hostb_find_extcap() argument 216 return (pci_find_extcap(dev, capability, capreg)); in pci_hostb_find_extcap() 221 int start, int *capreg) in pci_hostb_find_next_extcap() argument 224 return (pci_find_next_extcap(dev, capability, start, capreg)); in pci_hostb_find_next_extcap() 229 int *capreg) in pci_hostb_find_htcap() argument 232 return (pci_find_htcap(dev, capability, capreg)); in pci_hostb_find_htcap() 237 pci_hostb_find_next_htcap(device_t dev,device_t child,int capability,int start,int * capreg) pci_hostb_find_next_htcap() argument [all...] |
H A D | vga_pci.c | 592 int *capreg) in vga_pci_find_cap() argument 595 return (pci_find_cap(dev, capability, capreg)); in vga_pci_find_cap() 600 int start, int *capreg) in vga_pci_find_next_cap() argument 603 return (pci_find_next_cap(dev, capability, start, capreg)); in vga_pci_find_next_cap() 608 int *capreg) in vga_pci_find_extcap() argument 611 return (pci_find_extcap(dev, capability, capreg)); in vga_pci_find_extcap() 616 int start, int *capreg) in vga_pci_find_next_extcap() argument 619 return (pci_find_next_extcap(dev, capability, start, capreg)); in vga_pci_find_next_extcap() 624 int *capreg) in vga_pci_find_htcap() argument 627 return (pci_find_htcap(dev, capability, capreg)); in vga_pci_find_htcap() [all …]
|
H A D | pcivar.h | 535 pci_find_cap(device_t dev, int capability, int *capreg) in pci_find_cap() argument 537 return (PCI_FIND_CAP(device_get_parent(dev), dev, capability, capreg)); in pci_find_cap() 541 pci_find_next_cap(device_t dev, int capability, int start, int *capreg) in pci_find_next_cap() argument 544 capreg)); in pci_find_next_cap() 548 pci_find_extcap(device_t dev, int capability, int *capreg) in pci_find_extcap() argument 550 return (PCI_FIND_EXTCAP(device_get_parent(dev), dev, capability, capreg)); in pci_find_extcap() 554 pci_find_next_extcap(device_t dev, int capability, int start, int *capreg) in pci_find_next_extcap() argument 557 start, capreg)); in pci_find_next_extcap() 561 pci_find_htcap(device_t dev, int capability, int *capreg) in pci_find_htcap() argument 563 return (PCI_FIND_HTCAP(device_get_parent(dev), dev, capability, capreg)); in pci_find_htcap() [all …]
|
H A D | pci_if.m | 141 int *capreg; 149 int *capreg; 156 int *capreg; 164 int *capreg; 171 int *capreg; 179 int *capreg;
|
H A D | pci.c | 1426 pci_find_htcap_method(device_t dev, device_t child, int capability, int *capreg) in pci_find_htcap_method() argument 1447 if (capreg != NULL) in pci_find_htcap_method() 1448 *capreg = ptr; in pci_find_htcap_method() 1467 int start, int *capreg) in pci_find_next_htcap_method() argument 1492 if (capreg != NULL) in pci_find_next_htcap_method() 1493 *capreg = ptr; in pci_find_next_htcap_method() 1508 int *capreg) in pci_find_cap_method() argument 1544 if (capreg != NULL) in pci_find_cap_method() 1545 *capreg = ptr; in pci_find_cap_method() 1561 int start, int *capreg) in pci_find_next_cap_method() argument [all …]
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_vsc.c | 238 int *capreg = &mdev->vsc_addr; in mlx5_vsc_find_cap() local 241 err = pci_find_cap(mdev->pdev->dev.bsddev, PCIY_VENDOR, capreg); in mlx5_vsc_find_cap() 244 *capreg = 0; in mlx5_vsc_find_cap()
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_mgmt.c | 310 int capreg; in bnxt_mgmt_get_dev_info() local 361 if (pci_find_cap(softc->dev, PCIY_EXPRESS, &capreg)) { in bnxt_mgmt_get_dev_info() 365 lnk = pci_read_config(softc->dev, capreg + PCIER_LINK_STA, 2); in bnxt_mgmt_get_dev_info()
|
/freebsd/sys/dev/agp/ |
H A D | agp.c | 92 int capreg; in agp_find_caps() local 94 if (pci_find_cap(dev, PCIY_AGP, &capreg) != 0) in agp_find_caps() 95 capreg = 0; in agp_find_caps() 96 return (capreg); in agp_find_caps()
|