Home
last modified time | relevance | path

Searched refs:device_id (Results 1 – 25 of 177) sorted by relevance

12345678

/freebsd-13.1/tools/tools/drm/
H A Dgen-drm_pciids30 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-13.1/usr.sbin/mfiutil/
H A Dmfi_drive.c72 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 Dmfi_show.c351 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 Dmfi_config.c293 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 Dmfi_foreign.c183 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 Dmfiutil.h153 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 Dmfi_patrol.c170 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-13.1/sys/dev/wbwd/
H A Dwbwd.c133 .device_id = 0x52,
138 .device_id = 0x59,
143 .device_id = 0x60,
148 .device_id = 0x68,
153 .device_id = 0x70,
158 .device_id = 0x82,
163 .device_id = 0x85,
168 .device_id = 0x88,
173 .device_id = 0xa0,
178 .device_id = 0xa2,
[all …]
/freebsd-13.1/sys/dev/twa/
H A Dtw_cl_init.c66 ((device_id == TW_CL_DEVICE_ID_9K) || in tw_cl_ctlr_supported()
67 (device_id == TW_CL_DEVICE_ID_9K_X) || in tw_cl_ctlr_supported()
68 (device_id == TW_CL_DEVICE_ID_9K_E) || in tw_cl_ctlr_supported()
69 (device_id == TW_CL_DEVICE_ID_9K_SA))) in tw_cl_ctlr_supported()
93 switch(device_id) { in tw_cl_get_pci_bar_info()
182 if (device_id == 0) in tw_cl_get_mem_requirements()
183 device_id = TW_CL_DEVICE_ID_9K; in tw_cl_get_mem_requirements()
196 *alignment = TWA_ALIGNMENT(device_id); in tw_cl_get_mem_requirements()
197 *sg_size_factor = TWA_SG_ELEMENT_SIZE_FACTOR(device_id); in tw_cl_get_mem_requirements()
298 ctlr->device_id = (TW_UINT32)device_id; in tw_cl_init_ctlr()
[all …]
H A Dtw_cl_fwif.h149 #define TWA_ARCH_ID(device_id) \ argument
150 (((device_id) == TW_CL_DEVICE_ID_9K) ? TWA_ARCH_ID_9K : \
164 #define TWA_ALIGNMENT(device_id) 0x4 argument
165 #define TWA_SG_ELEMENT_SIZE_FACTOR(device_id) \ argument
166 (((device_id) == TW_CL_DEVICE_ID_9K) ? 512 : 4)
H A Dtw_cl_share.h473 extern TW_INT32 tw_cl_ctlr_supported(TW_INT32 vendor_id, TW_INT32 device_id);
482 TW_INT32 device_id, TW_INT32 max_simult_reqs, TW_INT32 max_aens,
488 extern TW_INT32 tw_cl_get_pci_bar_info(TW_INT32 device_id, TW_INT32 bar_type,
493 TW_UINT32 flags, TW_INT32 device_id, TW_INT32 max_simult_reqs,
H A Dtw_cl_io.c177 if ((ctlr->device_id == TW_CL_DEVICE_ID_9K_E) || in tw_cli_submit_cmd()
178 (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA)) in tw_cli_submit_cmd()
217 if ((ctlr->device_id == TW_CL_DEVICE_ID_9K_E) || in tw_cli_submit_cmd()
218 (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA)) { in tw_cli_submit_cmd()
319 if (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA) in tw_cl_fw_passthru()
1167 if ((ctlr->device_id == TW_CL_DEVICE_ID_9K_X) || in tw_cli_soft_reset()
1168 (ctlr->device_id == TW_CL_DEVICE_ID_9K_E) || in tw_cli_soft_reset()
1169 (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA)) { in tw_cli_soft_reset()
/freebsd-13.1/sys/arm/xilinx/
H A Dzy7_mp.c62 int device_id; in zynq7_mp_setmaxid() local
73 device_id = bus_space_read_4(fdtbus_bs_tag, slcr_handle, 0) & in zynq7_mp_setmaxid()
82 if (device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z007S || in zynq7_mp_setmaxid()
83 device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z012S || in zynq7_mp_setmaxid()
84 device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z014S) { in zynq7_mp_setmaxid()
/freebsd-13.1/sys/dev/ath/
H A Dif_ath_ahb.c97 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-13.1/sys/dev/isci/
H A Disci_oem_parameters.c47 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-13.1/sys/dev/mrsas/
H A Dmrsas_cam.c274 u_int32_t device_id; in mrsas_action() local
290 device_id = ccb_h->target_id; in mrsas_action()
836 u_int32_t device_id; in mrsas_build_ldio_rw() local
839 device_id = ccb_h->target_id; in mrsas_build_ldio_rw()
1021 io_info.ldTgtId = device_id; in mrsas_setup_io()
1187 u_int32_t device_id, ld; in mrsas_build_ldio_nonrw() local
1194 device_id = ccb_h->target_id; in mrsas_build_ldio_nonrw()
1206 io_request->DevHandle = device_id; in mrsas_build_ldio_nonrw()
1247 u_int32_t device_id; in mrsas_build_syspdio() local
1256 device_id = ccb_h->target_id; in mrsas_build_syspdio()
[all …]
/freebsd-13.1/sys/dev/isci/scil/
H A Dscic_sds_library.c124 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()
H A Dintel_pci.h72 U16 device_id; member
/freebsd-13.1/sys/arm/broadcom/bcm2835/
H A Dbcm2838_xhci.c82 uint32_t device_id; in bcm_xhci_probe() local
84 device_id = pci_get_devid(dev); in bcm_xhci_probe()
85 if (device_id != 0x34831106) /* VIA VL805 USB 3.0 controller. */ in bcm_xhci_probe()
H A Dbcm2835_mbox_prop.h84 uint32_t device_id; member
87 uint32_t device_id; member
99 uint32_t device_id; member
103 uint32_t device_id; member
/freebsd-13.1/contrib/ofed/infiniband-diags/src/
H A Dvendstat.c69 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-13.1/sys/arm/freescale/vybrid/
H A Dvf_edma.c158 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-13.1/sys/dev/sound/macio/
H A Ddavbus.c67 int device_id; member
420 if (d->device_id == 5 || d->device_id == 11) { in screamer_set_outputs()
424 if (d->device_id == 8 || d->device_id == 11) { in screamer_set_outputs()
440 switch (d->device_id) { in screamer_read_status()
544 OF_getprop(sc->soundnode, "device-id", &sc->device_id, sizeof(u_int)); in davbus_attach()
/freebsd-13.1/sys/cam/nvme/
H A Dnvme_xpt.c414 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 = (u_int8_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()
669 memcpy(cdai->buf, device->device_id, amt); in nvme_dev_advinfo()
/freebsd-13.1/sys/cam/ata/
H A Data_xpt.c961 if (path->device->device_id != NULL) { in aprobedone()
963 path->device->device_id = NULL; in aprobedone()
980 path->device->device_id = in aprobedone()
985 path->device->device_id, 8); in aprobedone()
987 path->device->device_id + 8, 8); in aprobedone()
1300 if (path->device->device_id != NULL) { in aprobedone()
1302 path->device->device_id = NULL; in aprobedone()
1305 path->device->device_id = in aprobedone()
1307 if (path->device->device_id != NULL) { in aprobedone()
1310 path->device->device_id, 8); in aprobedone()
[all …]

12345678