Home
last modified time | relevance | path

Searched refs:subdevice (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/dev/nvme/
H A Dnvme_pci.c72 uint16_t subdevice; member
100 nvme_match(uint32_t devid, uint16_t subdevice, struct _pcsid *ep) in nvme_match() argument
108 if (subdevice == ep->subdevice) in nvme_match()
120 uint16_t subdevice; in nvme_pci_probe() local
123 subdevice = pci_get_subdevice(device); in nvme_pci_probe()
127 if (nvme_match(devid, subdevice, ep)) in nvme_pci_probe()
/freebsd/sys/dev/puc/
H A Dpuc_pci.c90 uint16_t subvendor, subdevice; in puc_pci_match() local
95 subdevice = pci_get_subdevice(dev); in puc_pci_match()
101 desc->subdevice == subdevice) in puc_pci_match()
H A Dpuc_cfg.h76 uint16_t subdevice; member
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-config.h497 #define IWL_SUBDEVICE_RF_ID(subdevice) ((u16)((subdevice) & 0x00F0) >> 4)
498 #define IWL_SUBDEVICE_NO_160(subdevice) ((u16)((subdevice) & 0x0200) >> 9)
499 #define IWL_SUBDEVICE_CORES(subdevice) ((u16)((subdevice) & 0x1C00) >> 10) argument
503 u16 subdevice;
500 IWL_SUBDEVICE_NO_160(subdevice) global() argument
501 IWL_SUBDEVICE_CORES(subdevice) global() argument
505 u16 subdevice; global() member
/freebsd/sys/dev/sound/pci/
H A Denvy24ht.c117 u_int16_t subvendor, subdevice; member
641 buff->subdevice = envy24ht_rdrom(sc, ENVY24HT_E2PROM_SUBDEVICE) << 8; in envy24ht_rom2cfg()
642 buff->subdevice += envy24ht_rdrom(sc, ENVY24HT_E2PROM_SUBDEVICE + 1); in envy24ht_rom2cfg()
656 for (i = 0; cfg_table[i].subvendor != 0 || cfg_table[i].subdevice != 0; in envy24ht_rom2cfg()
659 cfg_table[i].subdevice == buff->subdevice) in envy24ht_rom2cfg()
680 buff->subdevice = envy24ht_rdrom(sc, ENVY24HT_E2PROM_SUBDEVICE) << 8; in envy24ht_rom2cfg()
681 buff->subdevice += envy24ht_rdrom(sc, ENVY24HT_E2PROM_SUBDEVICE + 1); in envy24ht_rom2cfg()
696 for (i = 0; cfg_table[i].subvendor != 0 || cfg_table[i].subdevice != 0; i++) in envy24ht_rom2cfg()
698 cfg_table[i].subdevice == buff->subdevice) in envy24ht_rom2cfg()
829 if (sc->cfg->subvendor == 0x153b && sc->cfg->subdevice == 0x1150) in envy24ht_gpiord()
[all …]
H A Dcsavar.h32 u_int16_t subvendor, subdevice; member
H A Denvy24.c108 u_int16_t subvendor, subdevice; member
605 buff->subdevice = envy24_rdrom(sc, ENVY24_E2PROM_SUBDEVICE) << 8; in envy24_rom2cfg()
606 buff->subdevice += envy24_rdrom(sc, ENVY24_E2PROM_SUBDEVICE + 1); in envy24_rom2cfg()
615 for (i = 0; cfg_table[i].subvendor != 0 || cfg_table[i].subdevice != 0; i++) in envy24_rom2cfg()
617 cfg_table[i].subdevice == buff->subdevice) in envy24_rom2cfg()
1026 ptr->parent->cfg->subdevice == 0x1138 && ptr->num == 100) { in envy24_delta_ak4524_init()
1142 if (sc->cfg->subvendor==0x153b && sc->cfg->subdevice==0x1138 ) { in envy24_setvolume()
2137 for (i = 0; cfg_table[i].subvendor != 0 || cfg_table[i].subdevice != 0; i++) { in envy24_pci_probe()
2139 cfg_table[i].subdevice == sd) { in envy24_pci_probe()
2294 sc->cfg->subvendor, sc->cfg->subdevice); in envy24_putcfg()
[all …]
H A Demu10kx.c461 uint16_t subdevice; member
564 uint16_t subdevice; in emu_getcard() local
569 subdevice = pci_read_config(dev, PCIR_SUBDEV_0, /* bytes */ 2); in emu_getcard()
574 if (subdevice == emu_cards[i].subdevice) { in emu_getcard()
578 if (0x0000 == emu_cards[i].subdevice) { in emu_getcard()
590 if (subdevice == emu_bad_cards[i].subdevice) { in emu_getcard()
594 if (0x0000 == emu_bad_cards[i].subdevice) { in emu_getcard()
/freebsd/sys/dev/mlx/
H A Dmlx_pci.c82 u_int16_t subdevice; member
102 (m->subdevice == pci_get_subdevice(dev))))) in mlx_pci_match()
/freebsd/sys/dev/aic7xxx/
H A Daic7xxx_pci.c52 ahc_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor)
57 | (subdevice << 16)
671 uint16_t subdevice, uint16_t subvendor);
706 uint16_t subdevice, uint16_t subvendor)
714 && subdevice != device in ahc_9005_subdevinfo_valid()
715 && SUBID_9005_TYPE_KNOWN(subdevice) != 0) { in ahc_9005_subdevinfo_valid()
716 switch (SUBID_9005_TYPE(subdevice)) { in ahc_9005_subdevinfo_valid()
743 uint16_t subdevice;
751 subdevice = aic_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2); in ahc_find_pci_device()
752 full_id = ahc_compose_id(device, vendor, subdevice, subvendo in ahc_find_pci_device()
59 ahc_compose_id(u_int device,u_int vendor,u_int subdevice,u_int subvendor) ahc_compose_id() argument
713 ahc_9005_subdevinfo_valid(uint16_t device,uint16_t vendor,uint16_t subdevice,uint16_t subvendor) ahc_9005_subdevinfo_valid() argument
750 uint16_t subdevice; ahc_find_pci_device() local
[all...]
H A Daic79xx_pci.c50 ahd_compose_id(u_int device, u_int vendor, u_int subdevice, u_int subvendor)
55 | (subdevice << 16)
286 uint16_t subdevice;
294 subdevice = aic_pci_read_config(pci, PCIR_SUBDEV_0, /*bytes*/2); in ahd_find_pci_device()
306 subdevice, in ahd_find_pci_device()
56 ahd_compose_id(u_int device,u_int vendor,u_int subdevice,u_int subvendor) ahd_compose_id() argument
292 uint16_t subdevice; ahd_find_pci_device() local
/freebsd/sys/dev/mps/
H A Dmps_pci.c93 uint16_t subdevice; member
125 // Add Customer specific vendor/subdevice id before generic
126 // (0xffff) vendor/subdevice id.
146 MODULE_PNP_INFO("U16:vendor;U16:device;U16:subvendor;U16:subdevice", pci, mps,
161 if ((m->subdevice != 0xffff) && in mps_find_ident()
162 (m->subdevice != pci_get_subdevice(dev))) in mps_find_ident()
/freebsd/sys/dev/mpr/
H A Dmpr_pci.c93 uint16_t subdevice; member
194 if ((m->subdevice != 0xffff) && in mpr_find_ident()
195 (m->subdevice != pci_get_subdevice(dev))) in mpr_find_ident()
/freebsd/sys/dev/pci/
H A Dpcivar.h187 uint16_t subdevice; /* card device ID, assigned by card vendor */ member
297 uint16_t subdevice; member
311 .match_flag_subdevice = 1, .subdevice = (sd)
377 PCI_ACCESSOR(subdevice, SUBDEVICE, uint16_t) in PCI_ACCESSOR()
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_lpc.c500 uint16_t device, subdevice, subvendor, vendor; in pci_lpc_init() local
532 subdevice = pci_config_read_reg(selp, nvl, PCIR_SUBDEV_0, 2, in pci_lpc_init()
542 pci_set_cfgdata16(pi, PCIR_SUBDEV_0, subdevice); in pci_lpc_init()
/freebsd/sys/dev/aac/
H A Daac_pci.c92 u_int16_t subdevice; member
303 (m->subdevice == sub_devid)) in aac_find_ident()
/freebsd/sys/contrib/device-tree/Bindings/pwm/
H A Datmel-hlcdc-pwm.txt3 The Atmel HLCDC PWM is subdevice of the HLCDC MFD device.
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_pci.c86 uint16_t subdevice; member
215 if ((m->subdevice != 0xffff) && in mpi3mr_find_ident()
216 (m->subdevice != pci_get_subdevice(dev))) in mpi3mr_find_ident()
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Ddrv.c35 .subvendor = PCI_ANY_ID, .subdevice = (subdev), \
557 { .device = (_device), .subdevice = (_subdevice), .cfg = &(_cfg), \
1317 if (dev_info->subdevice != (u16)IWL_CFG_ANY && in iwl_pci_probe()
1318 dev_info->subdevice != subsystem_device) in iwl_pci_probe()
1722 id->vendor, id->device, id->subvendor, id->subdevice,
1731 id->vendor, id->device, id->subvendor, id->subdevice,
1736 id->vendor, id->device, id->subvendor, id->subdevice,
1755 PCI_VENDOR_ID_INTEL, dev_info->device, PCI_ANY_ID, dev_info->subdevice,
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dpci.h67 uint32_t subdevice; member
102 .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID
105 .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID
1282 (ids->subdevice == PCI_ANY_ID || in pci_match_id()
1283 ids->subdevice == pdev->subsystem_device) && in pci_match_id()
/freebsd/sys/contrib/device-tree/Bindings/display/atmel/
H A Dhlcdc-dc.txt3 The Atmel HLCDC Display Controller is subdevice of the HLCDC MFD device.
/freebsd/sys/dev/aacraid/
H A Daacraid_pci.c89 u_int16_t subdevice; member
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Dqcom-pm8xxx.txt29 Definition: specifies the interrupt that indicates a subdevice
/freebsd/sys/dev/virtio/
H A Dvirtio.h163 VIRTIO_READ_IVAR(subdevice, VIRTIO_IVAR_SUBDEVICE);
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_main.c43 u_int16_t subdevice; member
349 (m->subdevice == sub_devid)) { in pqi_find_ident()

12