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

123456789

/freebsd-current/tools/tools/drm/
H A Dgen-drm_pciids29 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);
105 $pciids{$current_vendor_id}{'devices'}{$device_id} = $device_name;
138 foreach my $device_id (sort keys(%{$linux_pciids{$vendor_define}})) {
139 my $vendor_id = $linux_pciids{$vendor_define}{$device_id}{'vendor_id'};
141 if (exists($freebsd_pciids{$vendor_define}{$device_id})) {
142 print STDERR " $vendor_define: $vendor_id:$device_id alread
[all...]
/freebsd-current/usr.sbin/mfiutil/
H A Dmfi_drive.c53 * both). We prefer pinfo if given, otherwise try to look it up by device_id.
56 mfi_drive_name(struct mfi_pd_info *pinfo, uint16_t device_id, uint32_t def) argument
70 if (device_id == 0xffff)
73 snprintf(buf, sizeof(buf), "%2u", device_id);
82 if (mfi_pd_get_info(fd, device_id, &info, NULL) < 0) {
83 warn("Failed to fetch info for drive %2u", device_id);
95 if (device_id == 0xffff)
98 error = snprintf(p, len, "%2u", device_id);
115 else if (pinfo->encl_device_id == pinfo->ref.v.device_id)
161 mfi_lookup_drive(int fd, char *drive, uint16_t *device_id) argument
233 mbox_store_device_id(uint8_t *mbox, uint16_t device_id) argument
282 mfi_pd_get_info(int fd, uint16_t device_id, struct mfi_pd_info *info, uint8_t *statusp) argument
385 uint16_t device_id; local
494 uint16_t device_id; local
551 uint16_t device_id; local
608 uint16_t device_id; local
661 uint16_t device_id; local
722 uint16_t device_id; local
[all...]
H A Dmfi_show.c349 uint16_t device_id; local
384 device_id = ar->pd[j].ref.v.device_id;
386 device_id,
388 if (device_id != 0xffff) {
389 if (mfi_pd_get_info(fd, device_id, &pinfo,
425 "global", mfi_drive_name(NULL, sp->ref.v.device_id,
427 if (mfi_pd_get_info(fd, sp->ref.v.device_id, &pinfo, NULL) < 0)
562 if (mfi_pd_get_info(fd, list->addr[i].device_id, &info,
566 list->addr[i].device_id);
674 uint16_t device_id; local
[all...]
H A Dmfi_config.c292 uint16_t device_id; local
351 error = mfi_lookup_drive(fd, cp, &device_id);
358 if (mfi_pd_get_info(fd, device_id, pinfo, NULL) < 0) {
367 warnx("Drive %u is not available", device_id);
374 warnx("Drive %u is foreign", device_id);
437 array_info->drives[i].ref.v.device_id,
929 uint16_t device_id; local
948 error = mfi_lookup_drive(fd, av[1], &device_id);
952 if (mfi_pd_get_info(fd, device_id, &info, NULL) < 0) {
959 warnx("Drive %u is not available", device_id);
1056 uint16_t device_id; local
1114 uint16_t device_id; local
[all...]
H A Dmfi_foreign.c181 uint16_t device_id; local
192 device_id = ar->pd[k].ref.v.device_id;
193 if (device_id == 0xffff)
196 printf(" drive %u %s\n", device_id,
/freebsd-current/sys/dev/isci/scil/
H A Dintel_pci.h70 U16 device_id; member in struct:sci_pci_common_header
H A Dscic_sds_library.c122 this_library->pci_device = pci_header->device_id;
199 U16 device_id; local
202 device_id = this_library->pci_device;
210 ((device_id & 0xFFF1) == 0x1D60)
/freebsd-current/sys/arm/xilinx/
H A Dzy7_mp.c60 int device_id; local
71 device_id = bus_space_read_4(fdtbus_bs_tag, slcr_handle, 0) &
80 if (device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z007S ||
81 device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z012S ||
82 device_id == ZY7_SLCR_PSS_IDCODE_DEVICE_7Z014S) {
/freebsd-current/sys/dev/wbwd/
H A Dwbwd.c125 uint8_t device_id; member in struct:winbond_vendor_device_id
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
[all...]
/freebsd-current/sys/dev/qat/include/common/
H A Dadf_cfg_user.h36 u32 device_id; member in struct:adf_user_cfg_ctl_data
H A Dicp_qat_hal.h205 #define GET_CSR_OFFSET(device_id, cap_offset_, ae_offset_, ep_offset_) \
207 if (IS_QAT_GEN3(device_id)) { \
211 } else if (IS_QAT_GEN4(device_id)) { \
/freebsd-current/sys/dev/isci/
H A Disci_oem_parameters.c45 uint16_t device_id; member in struct:pcir_header
107 uint16_t device_id = isci->pci_common_header.device_id; local
118 pcir_header->device_id == device_id)
/freebsd-current/sys/arm/mv/clk/
H A Dperiph_clk_d.c70 dev_id = device_def->common_def.device_id;
134 dev_id = device_def->common_def.device_id;
143 A37x0_INTERNAL_CLK_ID(device_def->common_def.device_id, MUX_POS));
149 A37x0_INTERNAL_CLK_ID(device_def->common_def.device_id, DIV1_POS));
188 dev_id = device_def->common_def.device_id;
233 dev_id = device_def->common_def.device_id;
H A Dperiph_clk_gate.c62 dev_id = device_def->common_def.device_id;
H A Dperiph.h65 .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 in struct:a37x0_periph_common_defs
H A Dperiph_clk_mux_gate.c68 dev_id = device_def->common_def.device_id;
120 dev_id = device_def->common_def.device_id;
H A Dperiph_clk_fixed.c67 dev_id = device_def->common_def.device_id;
/freebsd-current/sys/dev/mrsas/
H A Dmrsas_cam.c75 union ccb *ccb, u_int32_t device_id,
266 u_int32_t device_id; local
282 device_id = ccb_h->target_id;
288 sc->pd_list[device_id].driveState != MR_PD_STATE_SYSTEM) {
793 u_int32_t device_id; local
796 device_id = ccb_h->target_id;
799 io_request->RaidContext.raid_context.VirtualDiskTgtId = htole16(device_id);
806 if (mrsas_setup_io(sc, cmd, ccb, device_id, io_request) != SUCCESS)
835 u_int32_t device_id = io_info->ldTgtId; local
836 LD_STREAM_DETECT *current_ld_SD = sc->streamDetectByLD[device_id];
903 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
1144 u_int32_t device_id, ld; local
1201 u_int32_t device_id; local
[all...]
/freebsd-current/sys/arm/broadcom/bcm2835/
H A Dbcm2838_xhci.c78 uint32_t device_id; local
80 device_id = pci_get_devid(dev);
81 if (device_id != 0x34831106) /* VIA VL805 USB 3.0 controller. */
H A Dbcm2835_mbox_prop.h81 uint32_t device_id; member in struct:msg_get_power_state::__anon271::__anon272
84 uint32_t device_id; member in struct:msg_get_power_state::__anon271::__anon273
96 uint32_t device_id; member in struct:msg_set_power_state::__anon274::__anon275
100 uint32_t device_id; member in struct:msg_set_power_state::__anon274::__anon276
/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dvendstat.c69 uint16_t device_id; member in struct:__anon5579
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-current/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dcoredump.h25 u32 device_id; member in struct:mt7996_coredump
/freebsd-current/sys/dev/sound/macio/
H A Ddavbus.c65 int device_id; member in struct:davbus_softc
418 if (d->device_id == 5 || d->device_id == 11) {
422 if (d->device_id == 8 || d->device_id == 11) {
438 switch (d->device_id) {
542 OF_getprop(sc->soundnode, "device-id", &sc->device_id, sizeof(u_int));
/freebsd-current/sys/arm/freescale/vybrid/
H A Dvf_edma.c157 if ((sc->device_id == 0 && mux_grp == 1) || \
158 (sc->device_id == 1 && mux_grp == 0)) {
160 mux_num = (sc->device_id * 2) + 1;
163 mux_num = sc->device_id * 2;
288 sc->device_id = dts_value;
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dcoredump.h33 u32 device_id; member in struct:mt7915_coredump

Completed in 416 milliseconds

123456789