/freebsd/tools/tools/drm/ |
H A D | gen-drm_pciids | 29 my $device_id = uc($2); 32 $pciids{$current_vendor_define}{$device_id} = { 61 my $device_id = uc($2); 65 $pciids{$current_vendor_define}{$device_id} = { 103 my $device_id = uc($1); 138 foreach my $device_id (sort keys(%{$linux_pciids{$vendor_define}})) { 141 if (exists($freebsd_pciids{$vendor_define}{$device_id})) { 146 my $flags = $linux_pciids{$vendor_define}{$device_id}{'flags'}; 149 $freebsd_pciids{$vendor_define}{$device_id} = { 170 foreach my $device_id (sort keys(%{$freebsd_pciids{$vendor_define}})) { [all …]
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_drive.c | 70 if (device_id == 0xffff) in mfi_drive_name() 175 *device_id = val; in mfi_lookup_drive() 217 *device_id = list->addr[i].device_id; in mfi_lookup_drive() 385 uint16_t device_id; in drive_set_state() local 494 uint16_t device_id; in start_rebuild() local 551 uint16_t device_id; in abort_rebuild() local 608 uint16_t device_id; in drive_progress() local 661 uint16_t device_id; in drive_clear() local 709 device_id); in drive_clear() 722 uint16_t device_id; in drive_locate() local [all …]
|
H A D | mfi_show.c | 349 uint16_t device_id; in show_config() local 384 device_id = ar->pd[j].ref.v.device_id; in show_config() 386 device_id, in show_config() 388 if (device_id != 0xffff) { in show_config() 389 if (mfi_pd_get_info(fd, device_id, &pinfo, in show_config() 566 list->addr[i].device_id); in show_drives() 589 list->addr[i].device_id); in show_drives() 674 uint16_t device_id; in show_progress() local 743 device_id = plist->addr[i].device_id; in show_progress() 753 printf("drive %s ", mfi_drive_name(NULL, device_id, in show_progress() [all …]
|
H A D | mfi_config.c | 292 uint16_t device_id; in parse_array() local 351 error = mfi_lookup_drive(fd, cp, &device_id); in parse_array() 374 warnx("Drive %u is foreign", device_id); in parse_array() 437 array_info->drives[i].ref.v.device_id, in build_array() 929 uint16_t device_id; in add_spare() local 1056 uint16_t device_id; in remove_spare() local 1114 uint16_t device_id; in dump_config() local 1136 device_id = ar->pd[j].ref.v.device_id; in dump_config() 1137 if (device_id == 0xffff) in dump_config() 1140 printf(" drive %u %s\n", device_id, in dump_config() [all …]
|
H A D | mfi_foreign.c | 181 uint16_t device_id; in foreign_show_cfg() local 192 device_id = ar->pd[k].ref.v.device_id; in foreign_show_cfg() 193 if (device_id == 0xffff) in foreign_show_cfg() 196 printf(" drive %u %s\n", device_id, in foreign_show_cfg()
|
H A D | mfiutil.h | 154 int mfi_lookup_drive(int fd, char *drive, uint16_t *device_id); 163 int mfi_pd_get_info(int fd, uint16_t device_id, struct mfi_pd_info *info, 168 const char *mfi_drive_name(struct mfi_pd_info *pinfo, uint16_t device_id,
|
H A D | mfi_patrol.c | 168 if (mfi_pd_get_info(fd, list->addr[i].device_id, &info, in show_patrol() 172 list->addr[i].device_id); in show_patrol() 180 list->addr[i].device_id, in show_patrol()
|
/freebsd/sys/dev/wbwd/ |
H A D | wbwd.c | 130 .device_id = 0x52, 135 .device_id = 0x59, 140 .device_id = 0x60, 145 .device_id = 0x68, 150 .device_id = 0x70, 155 .device_id = 0x82, 160 .device_id = 0x85, 165 .device_id = 0x88, 170 .device_id = 0xa0, 175 .device_id = 0xa2, [all …]
|
/freebsd/sys/arm/xilinx/ |
H A D | zy7_mp.c | 60 int device_id; in zynq7_mp_setmaxid() local 71 device_id = bus_space_read_4(fdtbus_bs_tag, slcr_handle, 0) & in zynq7_mp_setmaxid() 80 if (device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z007S || in zynq7_mp_setmaxid() 81 device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z012S || in zynq7_mp_setmaxid() 82 device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z014S) { in zynq7_mp_setmaxid()
|
/freebsd/sys/dev/isci/ |
H A D | isci_oem_parameters.c | 45 uint16_t device_id; member 107 uint16_t device_id = isci->pci_common_header.device_id; in isci_get_oem_parameters() local 118 pcir_header->device_id == device_id) in isci_get_oem_parameters()
|
/freebsd/sys/dev/mrsas/ |
H A D | mrsas_cam.c | 266 u_int32_t device_id; in mrsas_action() local 282 device_id = ccb_h->target_id; in mrsas_action() 793 u_int32_t device_id; in mrsas_build_ldio_rw() local 796 device_id = ccb_h->target_id; in mrsas_build_ldio_rw() 978 io_info.ldTgtId = device_id; in mrsas_setup_io() 1144 u_int32_t device_id, ld; in mrsas_build_ldio_nonrw() local 1150 device_id = ccb_h->target_id; in mrsas_build_ldio_nonrw() 1160 io_request->DevHandle = device_id; in mrsas_build_ldio_nonrw() 1201 u_int32_t device_id; in mrsas_build_syspdio() local 1207 device_id = ccb_h->target_id; in mrsas_build_syspdio() [all …]
|
/freebsd/sys/dev/isci/scil/ |
H A D | scic_sds_library.c | 122 this_library->pci_device = pci_header->device_id; in scic_library_set_pci_info() 199 U16 device_id; in scic_library_get_pci_device_controller_count() local 202 device_id = this_library->pci_device; in scic_library_get_pci_device_controller_count() 210 ((device_id & 0xFFF1) == 0x1D60) in scic_library_get_pci_device_controller_count()
|
/freebsd/sys/arm/mv/clk/ |
H A D | periph_clk_d.c | 70 dev_id = device_def->common_def.device_id; in a37x0_periph_d_register_full_clk_dd() 134 dev_id = device_def->common_def.device_id; in a37x0_periph_d_register_full_clk() 143 A37x0_INTERNAL_CLK_ID(device_def->common_def.device_id, MUX_POS)); in a37x0_periph_d_register_full_clk() 149 A37x0_INTERNAL_CLK_ID(device_def->common_def.device_id, DIV1_POS)); in a37x0_periph_d_register_full_clk() 188 dev_id = device_def->common_def.device_id; in a37x0_periph_d_register_periph_cpu() 233 dev_id = device_def->common_def.device_id; in a37x0_periph_d_register_mdd()
|
H A D | periph.h | 65 .common_def.device_id = _id, \ 107 .common_def.device_id = _id, \ 140 .common_def.device_id = _id, \ 165 .common_def.device_id = _id, \ 183 .common_def.device_id = _id, \ 217 .common_def.device_id = _id, \ 239 .common_def.device_id = _id, \ 261 .common_def.device_id = _id, \ 363 int device_id; member
|
H A D | periph_clk_mux_gate.c | 68 dev_id = device_def->common_def.device_id; in a37x0_periph_register_mux_gate() 120 dev_id = device_def->common_def.device_id; in a37x0_periph_register_mux_gate_fixed()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2838_xhci.c | 78 uint32_t device_id; in bcm_xhci_probe() local 80 device_id = pci_get_devid(dev); in bcm_xhci_probe() 81 if (device_id != 0x34831106) /* VIA VL805 USB 3.0 controller. */ in bcm_xhci_probe()
|
H A D | bcm2835_mbox_prop.h | 81 uint32_t device_id; member 84 uint32_t device_id; member 96 uint32_t device_id; member 100 uint32_t device_id; member
|
/freebsd/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/sys/arm/freescale/vybrid/ |
H A D | vf_edma.c | 157 if ((sc->device_id == 0 && mux_grp == 1) || \ in channel_configure() 158 (sc->device_id == 1 && mux_grp == 0)) { in channel_configure() 160 mux_num = (sc->device_id * 2) + 1; in channel_configure() 163 mux_num = sc->device_id * 2; in channel_configure() 288 sc->device_id = dts_value; in edma_attach()
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | qat_uclo.c | 1270 ICP_QAT_CSS_FWSK_MODULUS_LEN(device_id) + in qat_uclo_map_simg() 1271 ICP_QAT_CSS_FWSK_EXPONENT_LEN(device_id); in qat_uclo_map_simg() 1505 if (IS_QAT_GEN4(device_id)) { in qat_uclo_broadcast_load_fw() 1545 if (IS_QAT_GEN4(device_id)) in qat_uclo_broadcast_load_fw() 1659 ICP_QAT_CSS_FWSK_PAD_LEN(device_id)); in qat_uclo_map_auth_fw() 1664 ICP_QAT_CSS_FWSK_PAD_LEN(device_id)), in qat_uclo_map_auth_fw() 1671 ICP_QAT_CSS_FWSK_PUB_LEN(device_id); in qat_uclo_map_auth_fw() 1680 ICP_QAT_CSS_SIGNATURE_LEN(device_id)); in qat_uclo_map_auth_fw() 1684 ICP_QAT_CSS_SIGNATURE_LEN(device_id); in qat_uclo_map_auth_fw() 1711 ICP_QAT_CSS_FWSK_PUB_LEN(device_id) + in qat_uclo_map_auth_fw() [all …]
|
/freebsd/sys/dev/sound/macio/ |
H A D | davbus.c | 65 int device_id; member 418 if (d->device_id == 5 || d->device_id == 11) { in screamer_set_outputs() 422 if (d->device_id == 8 || d->device_id == 11) { in screamer_set_outputs() 438 switch (d->device_id) { in screamer_read_status() 542 OF_getprop(sc->soundnode, "device-id", &sc->device_id, sizeof(u_int)); in davbus_attach()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mmio.c | 200 u32 device_id) in mt7996_mmio_init() argument 208 switch (device_id) { in mt7996_mmio_init() 229 mdev->rev = (device_id << 16) | (mt76_rr(dev, MT_HW_REV) & 0xff); in mt7996_mmio_init() 328 void __iomem *mem_base, u32 device_id) in mt7996_mmio_probe() argument 359 ret = mt7996_mmio_init(mdev, mem_base, device_id); in mt7996_mmio_probe()
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_xpt.c | 414 if (path->device->device_id != NULL) { in nvme_probe_done() 415 free(path->device->device_id, M_CAMXPT); in nvme_probe_done() 416 path->device->device_id = NULL; in nvme_probe_done() 433 path->device->device_id = (uint8_t *) in nvme_probe_done() 437 if (path->device->device_id != NULL) { in nvme_probe_done() 438 did = (struct scsi_vpd_device_id *)path->device->device_id; in nvme_probe_done() 612 device->device_id = NULL; in nvme_alloc_device() 670 memcpy(cdai->buf, device->device_id, amt); in nvme_dev_advinfo()
|
/freebsd/sys/dev/qat/include/common/ |
H A D | icp_qat_hal.h | 205 #define GET_CSR_OFFSET(device_id, cap_offset_, ae_offset_, ep_offset_) \ argument 207 if (IS_QAT_GEN3(device_id)) { \ 211 } else if (IS_QAT_GEN4(device_id)) { \
|
/freebsd/contrib/ofed/libirdma/ |
H A D | irdma_umain.c | 224 unsigned vendor_id, device_id; in irdma_driver_init() local 238 sscanf(buf, "%i", &device_id); in irdma_driver_init() 242 if (device_id != hca_table[i].device) in irdma_driver_init()
|