| /freebsd-12.1/tools/tools/drm/ |
| H A D | gen-drm_pciids | 30 my $device_id = uc($2); 33 $pciids{$current_vendor_define}{$device_id} = { 62 my $device_id = uc($2); 66 $pciids{$current_vendor_define}{$device_id} = { 104 my $device_id = uc($1); 139 foreach my $device_id (sort keys(%{$linux_pciids{$vendor_define}})) { 142 if (exists($freebsd_pciids{$vendor_define}{$device_id})) { 147 my $flags = $linux_pciids{$vendor_define}{$device_id}{'flags'}; 150 $freebsd_pciids{$vendor_define}{$device_id} = { 175 foreach my $device_id (sort keys(%{$freebsd_pciids{$vendor_define}})) { [all …]
|
| /freebsd-12.1/usr.sbin/mfiutil/ |
| H A D | mfi_drive.c | 72 if (device_id == 0xffff) in mfi_drive_name() 177 *device_id = val; in mfi_lookup_drive() 219 *device_id = list->addr[i].device_id; in mfi_lookup_drive() 387 uint16_t device_id; in drive_set_state() local 496 uint16_t device_id; in start_rebuild() local 553 uint16_t device_id; in abort_rebuild() local 610 uint16_t device_id; in drive_progress() local 663 uint16_t device_id; in drive_clear() local 711 device_id); in drive_clear() 724 uint16_t device_id; in drive_locate() local [all …]
|
| H A D | mfi_show.c | 351 uint16_t device_id; in show_config() local 386 device_id = ar->pd[j].ref.v.device_id; in show_config() 388 device_id, in show_config() 390 if (device_id != 0xffff) { in show_config() 391 if (mfi_pd_get_info(fd, device_id, &pinfo, in show_config() 568 list->addr[i].device_id); in show_drives() 591 list->addr[i].device_id); in show_drives() 676 uint16_t device_id; in show_progress() local 745 device_id = plist->addr[i].device_id; in show_progress() 755 printf("drive %s ", mfi_drive_name(NULL, device_id, in show_progress() [all …]
|
| H A D | mfi_config.c | 293 uint16_t device_id; in parse_array() local 352 error = mfi_lookup_drive(fd, cp, &device_id); in parse_array() 375 warnx("Drive %u is foreign", device_id); in parse_array() 438 array_info->drives[i].ref.v.device_id, in build_array() 930 uint16_t device_id; in add_spare() local 1057 uint16_t device_id; in remove_spare() local 1115 uint16_t device_id; in dump_config() local 1137 device_id = ar->pd[j].ref.v.device_id; in dump_config() 1138 if (device_id == 0xffff) in dump_config() 1141 printf(" drive %u %s\n", device_id, in dump_config() [all …]
|
| H A D | mfi_foreign.c | 183 uint16_t device_id; in foreign_show_cfg() local 194 device_id = ar->pd[k].ref.v.device_id; in foreign_show_cfg() 195 if (device_id == 0xffff) in foreign_show_cfg() 198 printf(" drive %u %s\n", device_id, in foreign_show_cfg()
|
| H A D | mfiutil.h | 153 int mfi_lookup_drive(int fd, char *drive, uint16_t *device_id); 162 int mfi_pd_get_info(int fd, uint16_t device_id, struct mfi_pd_info *info, 167 const char *mfi_drive_name(struct mfi_pd_info *pinfo, uint16_t device_id,
|
| H A D | mfi_patrol.c | 170 if (mfi_pd_get_info(fd, list->addr[i].device_id, &info, in show_patrol() 174 list->addr[i].device_id); in show_patrol() 182 list->addr[i].device_id, in show_patrol()
|
| /freebsd-12.1/sys/dev/vx/ |
| H A D | if_vx_pci.c | 98 u_int32_t device_id; in vx_pci_probe() local 100 device_id = pci_read_config(dev, PCIR_DEVVENDOR, 4); in vx_pci_probe() 102 if (device_id == 0x590010b7ul) { in vx_pci_probe() 106 if (device_id == 0x595010b7ul || device_id == 0x595110b7ul || in vx_pci_probe() 107 device_id == 0x595210b7ul) { in vx_pci_probe() 116 if (device_id == 0x900010b7ul || device_id == 0x900110b7ul) { in vx_pci_probe() 120 if (device_id == 0x905010b7ul || device_id == 0x905110b7ul) { in vx_pci_probe()
|
| /freebsd-12.1/sys/dev/twa/ |
| H A D | tw_cl_init.c | 69 ((device_id == TW_CL_DEVICE_ID_9K) || in tw_cl_ctlr_supported() 70 (device_id == TW_CL_DEVICE_ID_9K_X) || in tw_cl_ctlr_supported() 71 (device_id == TW_CL_DEVICE_ID_9K_E) || in tw_cl_ctlr_supported() 72 (device_id == TW_CL_DEVICE_ID_9K_SA))) in tw_cl_ctlr_supported() 98 switch(device_id) { in tw_cl_get_pci_bar_info() 189 if (device_id == 0) in tw_cl_get_mem_requirements() 190 device_id = TW_CL_DEVICE_ID_9K; in tw_cl_get_mem_requirements() 203 *alignment = TWA_ALIGNMENT(device_id); in tw_cl_get_mem_requirements() 204 *sg_size_factor = TWA_SG_ELEMENT_SIZE_FACTOR(device_id); in tw_cl_get_mem_requirements() 308 ctlr->device_id = (TW_UINT32)device_id; in tw_cl_init_ctlr() [all …]
|
| H A D | tw_cl_fwif.h | 159 #define TWA_ARCH_ID(device_id) \ argument 160 (((device_id) == TW_CL_DEVICE_ID_9K) ? TWA_ARCH_ID_9K : \ 174 #define TWA_ALIGNMENT(device_id) 0x4 argument 175 #define TWA_SG_ELEMENT_SIZE_FACTOR(device_id) \ argument 176 (((device_id) == TW_CL_DEVICE_ID_9K) ? 512 : 4)
|
| H A D | tw_cl_share.h | 531 extern TW_INT32 tw_cl_ctlr_supported(TW_INT32 vendor_id, TW_INT32 device_id); 542 TW_INT32 device_id, TW_INT32 max_simult_reqs, TW_INT32 max_aens, 549 extern TW_INT32 tw_cl_get_pci_bar_info(TW_INT32 device_id, TW_INT32 bar_type, 555 TW_UINT32 flags, TW_INT32 device_id, TW_INT32 max_simult_reqs,
|
| H A D | tw_cl_io.c | 183 if ((ctlr->device_id == TW_CL_DEVICE_ID_9K_E) || in tw_cli_submit_cmd() 184 (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA)) in tw_cli_submit_cmd() 223 if ((ctlr->device_id == TW_CL_DEVICE_ID_9K_E) || in tw_cli_submit_cmd() 224 (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA)) { in tw_cli_submit_cmd() 327 if (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA) in tw_cl_fw_passthru() 1194 if ((ctlr->device_id == TW_CL_DEVICE_ID_9K_X) || in tw_cli_soft_reset() 1195 (ctlr->device_id == TW_CL_DEVICE_ID_9K_E) || in tw_cli_soft_reset() 1196 (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA)) { in tw_cli_soft_reset()
|
| H A D | tw_cl_misc.c | 286 if (ctlr->device_id == TW_CL_DEVICE_ID_9K) { in tw_cli_find_response() 743 if (((ctlr->device_id != TW_CL_DEVICE_ID_9K_E) && in tw_cli_check_ctlr_state() 744 (ctlr->device_id != TW_CL_DEVICE_ID_9K_SA)) || in tw_cli_check_ctlr_state() 797 if (((ctlr->device_id != TW_CL_DEVICE_ID_9K_E) && in tw_cli_check_ctlr_state() 798 (ctlr->device_id != TW_CL_DEVICE_ID_9K_SA)) || in tw_cli_check_ctlr_state()
|
| /freebsd-12.1/sys/dev/wbwd/ |
| H A D | wbwd.c | 161 .device_id = 0x52, 166 .device_id = 0x59, 171 .device_id = 0x60, 176 .device_id = 0x68, 181 .device_id = 0x70, 186 .device_id = 0x82, 191 .device_id = 0x85, 196 .device_id = 0x88, 201 .device_id = 0xa0, 206 .device_id = 0xa2, [all …]
|
| /freebsd-12.1/sys/dev/ath/ |
| H A D | if_ath_ahb.c | 97 int vendor_id, device_id; in ath_ahb_probe() local 109 "device_id", &device_id) != 0) { in ath_ahb_probe() 110 device_id = AR9130_DEVID; in ath_ahb_probe() 115 device_id & 0xffff); in ath_ahb_probe() 118 devname = ath_hal_probe(vendor_id, device_id); in ath_ahb_probe() 142 int device_id, vendor_id; in ath_ahb_attach() local 239 "device_id", &device_id) != 0) { in ath_ahb_attach() 240 device_id = AR9130_DEVID; in ath_ahb_attach() 249 error = ath_attach(device_id, sc); in ath_ahb_attach()
|
| /freebsd-12.1/sys/dev/isci/ |
| H A D | isci_oem_parameters.c | 47 uint16_t device_id; member 109 uint16_t device_id = isci->pci_common_header.device_id; in isci_get_oem_parameters() local 120 pcir_header->device_id == device_id) in isci_get_oem_parameters()
|
| /freebsd-12.1/sys/dev/cy/ |
| H A D | cy_pci.c | 94 u_int32_t device_id; local 96 device_id = pci_get_devid(dev); 97 device_id &= ~0x00060000; 98 if (device_id != 0x0100120e && device_id != 0x0101120e)
|
| /freebsd-12.1/sys/dev/mrsas/ |
| H A D | mrsas_cam.c | 274 u_int32_t device_id; in mrsas_action() local 290 device_id = ccb_h->target_id; in mrsas_action() 855 u_int32_t device_id; in mrsas_build_ldio_rw() local 858 device_id = ccb_h->target_id; in mrsas_build_ldio_rw() 1046 io_info.ldTgtId = device_id; in mrsas_setup_io() 1213 u_int32_t device_id, ld; in mrsas_build_ldio_nonrw() local 1220 device_id = ccb_h->target_id; in mrsas_build_ldio_nonrw() 1232 io_request->DevHandle = device_id; in mrsas_build_ldio_nonrw() 1278 u_int32_t device_id; in mrsas_build_syspdio() local 1287 device_id = ccb_h->target_id; in mrsas_build_syspdio() [all …]
|
| /freebsd-12.1/sys/dev/isci/scil/ |
| H A D | scic_sds_library.c | 124 this_library->pci_device = pci_header->device_id; in scic_library_set_pci_info() 201 U16 device_id; in scic_library_get_pci_device_controller_count() local 204 device_id = this_library->pci_device; in scic_library_get_pci_device_controller_count() 212 ((device_id & 0xFFF1) == 0x1D60) in scic_library_get_pci_device_controller_count()
|
| /freebsd-12.1/contrib/ofed/infiniband-diags/src/ |
| H A D | vendstat.c | 69 uint16_t device_id; member 169 static int is_ext_fw_info_supported(uint16_t device_id) { in is_ext_fw_info_supported() argument 172 if (ext_fw_info_device[i][0] <= device_id && in is_ext_fw_info_supported() 173 device_id <= ext_fw_info_device[i][1]) in is_ext_fw_info_supported() 469 if (is_ext_fw_info_supported(ntohs(gi_is3->hw_info.device_id))) { in main() 489 printf("hw_dev_id: 0x%04x\n", ntohs(gi_is3->hw_info.device_id)); in main() 508 if (ntohs(gi_is3->hw_info.device_id) != IS3_DEVICE_ID) { in main() 511 ntohs(gi_is3->hw_info.device_id)); in main()
|
| /freebsd-12.1/sys/arm/freescale/vybrid/ |
| H A D | vf_edma.c | 158 if ((sc->device_id == 0 && mux_grp == 1) || \ in channel_configure() 159 (sc->device_id == 1 && mux_grp == 0)) { in channel_configure() 161 mux_num = (sc->device_id * 2) + 1; in channel_configure() 164 mux_num = sc->device_id * 2; in channel_configure() 289 sc->device_id = dts_value; in edma_attach()
|
| /freebsd-12.1/sys/dev/sound/macio/ |
| H A D | davbus.c | 67 int device_id; member 422 if (d->device_id == 5 || d->device_id == 11) { in screamer_set_outputs() 426 if (d->device_id == 8 || d->device_id == 11) { in screamer_set_outputs() 442 switch (d->device_id) { in screamer_read_status() 546 OF_getprop(sc->soundnode, "device-id", &sc->device_id, sizeof(u_int)); in davbus_attach()
|
| /freebsd-12.1/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_mbox_prop.h | 82 uint32_t device_id; member 85 uint32_t device_id; member 97 uint32_t device_id; member 101 uint32_t device_id; member
|
| /freebsd-12.1/sys/dev/drm2/i915/ |
| H A D | intel_opregion.c | 357 u32 device_id; in intel_didl_outputs() local 393 &device_id); in intel_didl_outputs() 395 if (!device_id) in intel_didl_outputs() 397 iowrite32((u32)(device_id & 0x0f0f), in intel_didl_outputs()
|
| /freebsd-12.1/sys/cam/ata/ |
| H A D | ata_xpt.c | 962 if (path->device->device_id != NULL) { in probedone() 964 path->device->device_id = NULL; in probedone() 981 path->device->device_id = in probedone() 986 path->device->device_id, 8); in probedone() 988 path->device->device_id + 8, 8); in probedone() 1301 if (path->device->device_id != NULL) { in probedone() 1303 path->device->device_id = NULL; in probedone() 1306 path->device->device_id = in probedone() 1308 if (path->device->device_id != NULL) { in probedone() 1311 path->device->device_id, 8); in probedone() [all …]
|