Lines Matching refs:subdevice
58 ahc_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor) in ahc_compose_id() argument
63 | (subdevice << 16) in ahc_compose_id()
605 uint16_t subvendor, uint16_t subdevice);
638 uint16_t subdevice, uint16_t subvendor) in ahc_9005_subdevinfo_valid() argument
646 && subdevice != device in ahc_9005_subdevinfo_valid()
647 && SUBID_9005_TYPE_KNOWN(subdevice) != 0) { in ahc_9005_subdevinfo_valid()
649 switch (SUBID_9005_TYPE(subdevice)) { in ahc_9005_subdevinfo_valid()
676 uint16_t subdevice; in ahc_find_pci_device() local
684 subdevice = ahc_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2); in ahc_find_pci_device()
685 full_id = ahc_compose_id(device, vendor, subdevice, subvendor); in ahc_find_pci_device()
695 && ahc_9005_subdevinfo_valid(device, vendor, subdevice, subvendor) in ahc_find_pci_device()
696 && SUBID_9005_MFUNCENB(subdevice) == 0) in ahc_find_pci_device()