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

12345678

/freebsd-12-stable/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);
106 $pciids{$current_vendor_id}{'devices'}{$device_id} = $device_name;
139 foreach my $device_id (sort keys(%{$linux_pciids{$vendor_define}})) {
140 my $vendor_id = $linux_pciids{$vendor_define}{$device_id}{'vendor_id'};
142 if (exists($freebsd_pciids{$vendor_define}{$device_id})) {
143 print STDERR " $vendor_define: $vendor_id:$device_id alread
[all...]
/freebsd-12-stable/usr.sbin/mfiutil/
H A Dmfi_drive.c55 * both). We prefer pinfo if given, otherwise try to look it up by device_id.
58 mfi_drive_name(struct mfi_pd_info *pinfo, uint16_t device_id, uint32_t def) argument
72 if (device_id == 0xffff)
75 snprintf(buf, sizeof(buf), "%2u", device_id);
84 if (mfi_pd_get_info(fd, device_id, &info, NULL) < 0) {
85 warn("Failed to fetch info for drive %2u", device_id);
97 if (device_id == 0xffff)
100 error = snprintf(p, len, "%2u", device_id);
117 else if (pinfo->encl_device_id == pinfo->ref.v.device_id)
163 mfi_lookup_drive(int fd, char *drive, uint16_t *device_id) argument
235 mbox_store_device_id(uint8_t *mbox, uint16_t device_id) argument
284 mfi_pd_get_info(int fd, uint16_t device_id, struct mfi_pd_info *info, uint8_t *statusp) argument
387 uint16_t device_id; local
496 uint16_t device_id; local
553 uint16_t device_id; local
610 uint16_t device_id; local
663 uint16_t device_id; local
724 uint16_t device_id; local
[all...]
H A Dmfi_config.c293 uint16_t device_id; local
352 error = mfi_lookup_drive(fd, cp, &device_id);
359 if (mfi_pd_get_info(fd, device_id, pinfo, NULL) < 0) {
368 warnx("Drive %u is not available", device_id);
375 warnx("Drive %u is foreign", device_id);
438 array_info->drives[i].ref.v.device_id,
930 uint16_t device_id; local
949 error = mfi_lookup_drive(fd, av[1], &device_id);
953 if (mfi_pd_get_info(fd, device_id, &info, NULL) < 0) {
960 warnx("Drive %u is not available", device_id);
1057 uint16_t device_id; local
1115 uint16_t device_id; local
[all...]
H A Dmfi_show.c351 uint16_t device_id; local
386 device_id = ar->pd[j].ref.v.device_id;
388 device_id,
390 if (device_id != 0xffff) {
391 if (mfi_pd_get_info(fd, device_id, &pinfo,
427 "global", mfi_drive_name(NULL, sp->ref.v.device_id,
429 if (mfi_pd_get_info(fd, sp->ref.v.device_id, &pinfo, NULL) < 0)
564 if (mfi_pd_get_info(fd, list->addr[i].device_id, &info,
568 list->addr[i].device_id);
676 uint16_t device_id; local
[all...]
H A Dmfi_foreign.c183 uint16_t device_id; local
194 device_id = ar->pd[k].ref.v.device_id;
195 if (device_id == 0xffff)
198 printf(" drive %u %s\n", device_id,
H A Dmfi_patrol.c170 if (mfi_pd_get_info(fd, list->addr[i].device_id, &info,
174 list->addr[i].device_id);
182 list->addr[i].device_id,
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,
/freebsd-12-stable/sys/dev/isci/scil/
H A Dintel_pci.h72 U16 device_id; member in struct:sci_pci_common_header
H A Dscic_sds_library.c124 this_library->pci_device = pci_header->device_id;
201 U16 device_id; local
204 device_id = this_library->pci_device;
212 ((device_id & 0xFFF1) == 0x1D60)
/freebsd-12-stable/sys/dev/vx/
H A Dif_vx_pci.c98 u_int32_t device_id; local
100 device_id = pci_read_config(dev, PCIR_DEVVENDOR, 4);
102 if (device_id == 0x590010b7ul) {
106 if (device_id == 0x595010b7ul || device_id == 0x595110b7ul ||
107 device_id == 0x595210b7ul) {
116 if (device_id == 0x900010b7ul || device_id == 0x900110b7ul) {
120 if (device_id == 0x905010b7ul || device_id
[all...]
/freebsd-12-stable/sys/dev/wbwd/
H A Dwbwd.c128 uint8_t device_id; member in struct:winbond_vendor_device_id
133 .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
[all...]
/freebsd-12-stable/usr.sbin/nandsim/
H A Dsample.conf101 # device_id=0x00..0xff
102 device_id=0xd3
/freebsd-12-stable/sys/dev/isci/
H A Disci_oem_parameters.c47 uint16_t device_id; member in struct:pcir_header
109 uint16_t device_id = isci->pci_common_header.device_id; local
120 pcir_header->device_id == device_id)
/freebsd-12-stable/sys/dev/twa/
H A Dtw_cl_init.c60 * device_id -- device id of the controller
66 tw_cl_ctlr_supported(TW_INT32 vendor_id, TW_INT32 device_id) argument
69 ((device_id == TW_CL_DEVICE_ID_9K) ||
70 (device_id == TW_CL_DEVICE_ID_9K_X) ||
71 (device_id == TW_CL_DEVICE_ID_9K_E) ||
72 (device_id == TW_CL_DEVICE_ID_9K_SA)))
83 * Input: device_id -- device id of the controller
93 tw_cl_get_pci_bar_info(TW_INT32 device_id, TW_INT32 bar_type, argument
98 switch(device_id) {
161 * device_id
183 tw_cl_get_mem_requirements(struct tw_cl_ctlr_handle *ctlr_handle, TW_UINT32 flags, TW_INT32 device_id, TW_INT32 max_simult_reqs, TW_INT32 max_aens, TW_UINT32 *alignment, TW_UINT32 *sg_size_factor, TW_UINT32 *non_dma_mem_size, TW_UINT32 *dma_mem_size ) argument
251 tw_cl_init_ctlr(struct tw_cl_ctlr_handle *ctlr_handle, TW_UINT32 flags, TW_INT32 device_id, TW_INT32 max_simult_reqs, TW_INT32 max_aens, TW_VOID *non_dma_mem, TW_VOID *dma_mem, TW_UINT64 dma_mem_phys ) argument
[all...]
H A Dtw_cl_fwif.h159 #define TWA_ARCH_ID(device_id) \
160 (((device_id) == TW_CL_DEVICE_ID_9K) ? TWA_ARCH_ID_9K : \
174 #define TWA_ALIGNMENT(device_id) 0x4
175 #define TWA_SG_ELEMENT_SIZE_FACTOR(device_id) \
176 (((device_id) == TW_CL_DEVICE_ID_9K) ? 512 : 4)
H A Dtw_cl_share.h531 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,
/freebsd-12-stable/sys/dev/ath/
H A Dif_ath_ahb.c97 int vendor_id, device_id; local
109 "device_id", &device_id) != 0) {
110 device_id = AR9130_DEVID;
115 device_id & 0xffff);
118 devname = ath_hal_probe(vendor_id, device_id);
142 int device_id, vendor_id; local
239 "device_id", &device_id) != 0) {
240 device_id
[all...]
/freebsd-12-stable/sys/dev/cy/
H A Dcy_pci.c94 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-stable/contrib/ofed/infiniband-diags/src/
H A Dvendstat.c69 uint16_t device_id; member in struct:__anon6479
169 static int is_ext_fw_info_supported(uint16_t device_id) { argument
172 if (ext_fw_info_device[i][0] <= device_id &&
173 device_id <= ext_fw_info_device[i][1])
469 if (is_ext_fw_info_supported(ntohs(gi_is3->hw_info.device_id))) {
489 printf("hw_dev_id: 0x%04x\n", ntohs(gi_is3->hw_info.device_id));
508 if (ntohs(gi_is3->hw_info.device_id) != IS3_DEVICE_ID) {
511 ntohs(gi_is3->hw_info.device_id));
/freebsd-12-stable/sys/dev/sound/macio/
H A Ddavbus.c67 int device_id; member in struct:davbus_softc
422 if (d->device_id == 5 || d->device_id == 11) {
426 if (d->device_id == 8 || d->device_id == 11) {
442 switch (d->device_id) {
546 OF_getprop(sc->soundnode, "device-id", &sc->device_id, sizeof(u_int));
/freebsd-12-stable/sys/arm/freescale/vybrid/
H A Dvf_edma.c158 if ((sc->device_id == 0 && mux_grp == 1) || \
159 (sc->device_id == 1 && mux_grp == 0)) {
161 mux_num = (sc->device_id * 2) + 1;
164 mux_num = sc->device_id * 2;
289 sc->device_id = dts_value;
/freebsd-12-stable/sys/dev/mrsas/
H A Dmrsas_cam.c77 union ccb *ccb, u_int32_t device_id,
274 u_int32_t device_id; local
290 device_id = ccb_h->target_id;
296 sc->pd_list[device_id].driveState != MR_PD_STATE_SYSTEM) {
855 u_int32_t device_id; local
858 device_id = ccb_h->target_id;
861 io_request->RaidContext.raid_context.VirtualDiskTgtId = device_id;
868 if (mrsas_setup_io(sc, cmd, ccb, device_id, io_request) != SUCCESS)
902 u_int32_t device_id = io_info->ldTgtId; local
903 LD_STREAM_DETECT *current_ld_SD = sc->streamDetectByLD[device_id];
971 mrsas_setup_io(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, union ccb *ccb, u_int32_t device_id, MRSAS_RAID_SCSI_IO_REQUEST * io_request) argument
1213 u_int32_t device_id, ld; local
1278 u_int32_t device_id; local
[all...]
/freebsd-12-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_mbox_prop.h82 uint32_t device_id; member in struct:msg_get_power_state::__anon9366::__anon9367
85 uint32_t device_id; member in struct:msg_get_power_state::__anon9366::__anon9368
97 uint32_t device_id; member in struct:msg_set_power_state::__anon9369::__anon9370
101 uint32_t device_id; member in struct:msg_set_power_state::__anon9369::__anon9371
/freebsd-12-stable/sys/cam/ctl/
H A Dctl_backend.h127 * device_id is the T10 device identifier returned in the SCSI INQUIRY VPD
162 uint8_t device_id[CTL_DEVID_LEN];/* passed to CTL */ member in struct:ctl_be_lun
/freebsd-12-stable/sys/dev/drm2/i915/
H A Dintel_opregion.c357 u32 device_id; local
393 &device_id);
395 if (!device_id)
397 iowrite32((u32)(device_id & 0x0f0f),

Completed in 357 milliseconds

12345678