Home
last modified time | relevance | path

Searched refs:prod_id (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/linux/include/pcmcia/
H A Ddevice_id.h26 .prod_id = { (v1), NULL, NULL, NULL }, \
31 .prod_id = { NULL, (v2), NULL, NULL }, \
36 .prod_id = { NULL, NULL, (v3), NULL }, \
42 .prod_id = { (v1), (v2), NULL, NULL }, \
48 .prod_id = { (v1), NULL, (v3), NULL }, \
54 .prod_id = { (v1), NULL, NULL, (v4) }, \
61 .prod_id = { (v1), (v2), (v3), NULL },\
68 .prod_id = { (v1), (v2), NULL, (v4) }, \
75 .prod_id = { (v1), NULL, (v3), (v4) }, \
83 .prod_id = { (v1), (v2), (v3), (v4) }, \
[all …]
H A Dds.h141 char *prod_id[4]; member
/openbmc/linux/arch/arm/mach-omap1/
H A Did.c78 u32 prod_id, omap_id; in omap_get_jtag_id() local
80 prod_id = omap_readl(OMAP_PRODUCTION_ID_1); in omap_get_jtag_id()
84 if (((prod_id >> 20) == 0) || (prod_id == omap_id)) in omap_get_jtag_id()
85 prod_id = 0; in omap_get_jtag_id()
87 prod_id &= 0xffff; in omap_get_jtag_id()
89 if (prod_id) in omap_get_jtag_id()
90 return prod_id; in omap_get_jtag_id()
93 prod_id = ((omap_id >> 12) & 0xffff); in omap_get_jtag_id()
95 return prod_id; in omap_get_jtag_id()
/openbmc/linux/drivers/pcmcia/
H A Dds.c55 if (!did->prod_id[i]) in pcmcia_check_driver()
58 hash = crc32(0, did->prod_id[i], strlen(did->prod_id[i])); in pcmcia_check_driver()
819 if (!dev->prod_id[0]) in pcmcia_devmatch()
821 if (strcmp(did->prod_id[0], dev->prod_id[0])) in pcmcia_devmatch()
826 if (!dev->prod_id[1]) in pcmcia_devmatch()
828 if (strcmp(did->prod_id[1], dev->prod_id[1])) in pcmcia_devmatch()
833 if (!dev->prod_id[2]) in pcmcia_devmatch()
835 if (strcmp(did->prod_id[2], dev->prod_id[2])) in pcmcia_devmatch()
840 if (!dev->prod_id[3]) in pcmcia_devmatch()
842 if (strcmp(did->prod_id[3], dev->prod_id[3])) in pcmcia_devmatch()
[all …]
/openbmc/u-boot/board/toradex/common/
H A Dtdx-common.c133 char prod_id[5]; in ft_common_board_setup() local
135 sprintf(prod_id, "%04u", tdx_hw_tag.prodid); in ft_common_board_setup()
136 fdt_setprop(blob, 0, "toradex,product-id", prod_id, 5); in ft_common_board_setup()
/openbmc/linux/drivers/iio/gyro/
H A Dadis16136.c110 u16 prod_id; in adis16136_show_product_id() local
114 &prod_id); in adis16136_show_product_id()
118 *val = prod_id; in adis16136_show_product_id()
429 uint16_t prod_id; in adis16136_initial_setup() local
437 &prod_id); in adis16136_initial_setup()
445 if (prod_id != device_id) in adis16136_initial_setup()
447 device_id, prod_id); in adis16136_initial_setup()
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_poweroff.c78 static unsigned int prod_id; variable
233 pr_info("ATCA Detect mfg 0x%X prod 0x%X\n", mfg_id, prod_id); in ipmi_atca_detect()
235 && (prod_id == IPMI_MOTOROLA_PPS_IPMC_PRODUCT_ID)) { in ipmi_atca_detect()
309 && (prod_id == IPMI_CPI1_PRODUCT_ID)); in ipmi_cpi1_detect()
445 && prod_id == HP_BMC_PROD_ID in ipmi_hp_chassis_detect()
604 prod_id = (halt_recv_msg.msg.data[10] in ipmi_po_new_smi()
/openbmc/linux/drivers/iio/imu/
H A Dadis.c411 u16 prod_id; in __adis_initial_startup() local
445 ret = adis_read_reg_16(adis, adis->data->prod_id_reg, &prod_id); in __adis_initial_startup()
449 if (prod_id != adis->data->prod_id) in __adis_initial_startup()
452 adis->data->prod_id, prod_id); in __adis_initial_startup()
H A Dadis16460.c95 u16 prod_id; in adis16460_show_product_id() local
99 &prod_id); in adis16460_show_product_id()
103 *val = prod_id; in adis16460_show_product_id()
348 .prod_id = 16460,
H A Dadis16400.c245 uint16_t prod_id; in adis16400_show_product_id() local
248 ret = adis_read_reg_16(&st->adis, ADIS16400_PRODUCT_ID, &prod_id); in adis16400_show_product_id()
252 *val = prod_id; in adis16400_show_product_id()
436 uint16_t prod_id, smp_prd; in adis16400_initial_setup() local
454 ADIS16400_PRODUCT_ID, &prod_id); in adis16400_initial_setup()
463 if (prod_id != device_id) in adis16400_initial_setup()
465 device_id, prod_id); in adis16400_initial_setup()
468 indio_dev->name, prod_id, in adis16400_initial_setup()
/openbmc/linux/drivers/video/fbdev/
H A Ds1d13xxxfb.c766 u8 revision, prod_id; in s1d13xxxfb_probe() local
835 prod_id = s1d13xxxfb_readreg(default_par, S1DREG_REV_CODE) >> 2; in s1d13xxxfb_probe()
841 if (prod_id == s1d13xxxfb_prod_ids[i]) { in s1d13xxxfb_probe()
843 default_par->prod_id = prod_id; in s1d13xxxfb_probe()
852 prod_id, s1d13xxxfb_prod_names[i]); in s1d13xxxfb_probe()
857 prod_id, revision); in s1d13xxxfb_probe()
875 switch(prod_id) { in s1d13xxxfb_probe()
/openbmc/linux/drivers/media/usb/gspca/m5602/
H A Dm5602_s5k4aa.c341 u8 prod_id[6] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; in s5k4aa_probe() local
390 if (m5602_read_sensor(sd, 0x00, prod_id, 2)) in s5k4aa_probe()
392 if (m5602_read_sensor(sd, 0x02, prod_id+2, 2)) in s5k4aa_probe()
394 if (m5602_read_sensor(sd, 0x04, prod_id+4, 2)) in s5k4aa_probe()
397 if (memcmp(prod_id, expected_prod_id, sizeof(prod_id))) in s5k4aa_probe()
H A Dm5602_ov7660.c196 u8 prod_id = 0, ver_id = 0; in ov7660_probe() local
225 if (m5602_read_sensor(sd, OV7660_PID, &prod_id, 1)) in ov7660_probe()
231 pr_info("Sensor reported 0x%x%x\n", prod_id, ver_id); in ov7660_probe()
233 if ((prod_id == 0x76) && (ver_id == 0x60)) { in ov7660_probe()
H A Dm5602_s5k83a.c172 u8 prod_id = 0, ver_id = 0; in s5k83a_probe() local
202 if (m5602_read_sensor(sd, 0x00, &prod_id, 1)) in s5k83a_probe()
208 if ((prod_id == 0xff) || (ver_id == 0xff)) in s5k83a_probe()
H A Dm5602_ov9650.c297 u8 prod_id = 0, ver_id = 0, i; in ov9650_probe() local
326 if (m5602_read_sensor(sd, OV9650_PID, &prod_id, 1)) in ov9650_probe()
332 if ((prod_id == 0x96) && (ver_id == 0x52)) { in ov9650_probe()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_displayid.c35 base->rev, base->bytes, base->prod_id, base->ext_count); in validate_displayid()
146 iter->primary_use = base->prod_id; in __displayid_iter_next()
/openbmc/linux/arch/arm/mach-omap2/
H A Did.c150 u32 idcode, prod_id; in omap2xxx_check_revision() local
156 prod_id = read_tap_reg(tap_prod_id); in omap2xxx_check_revision()
159 dev_type = (prod_id >> 16) & 0x0f; in omap2xxx_check_revision()
170 prod_id, dev_type); in omap2xxx_check_revision()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dif_cs.c807 unsigned int prod_id; in if_cs_probe() local
866 prod_id = if_cs_read8(card, IF_CS_PRODUCT_ID); in if_cs_probe()
869 if (prod_id < IF_CS_CF8305_B1_REV) { in if_cs_probe()
876 if ((card->model == MODEL_8381) && prod_id < IF_CS_CF8381_B3_REV) { in if_cs_probe()
882 if ((card->model == MODEL_8385) && prod_id < IF_CS_CF8385_B1_REV) { in if_cs_probe()
/openbmc/linux/include/video/
H A Ds1d13xxxfb.h153 unsigned char prod_id; member
/openbmc/linux/include/drm/
H A Ddrm_displayid.h94 u8 prod_id; member
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio-scsi.c310 for (i = 0; i < sizeof(response->prod_id); i++) { in virtio_scsi_inquiry_response_is_cdrom()
311 if (response->prod_id[i] != QEMU_CDROM_SIGNATURE[i]) { in virtio_scsi_inquiry_response_is_cdrom()
/openbmc/linux/drivers/mmc/host/
H A Dsdricoh_cs.c456 " %s %s ...\n", pcmcia_dev->prod_id[0], pcmcia_dev->prod_id[1]); in sdricoh_pcmcia_probe()
/openbmc/linux/drivers/mtd/maps/
H A Dpcmciamtd.c418 if (p_dev->prod_id[0]) { in card_settings()
423 if (p_dev->prod_id[i]) in card_settings()
424 strcat(dev->mtd_name, p_dev->prod_id[i]); in card_settings()
/openbmc/linux/drivers/ata/
H A Dlibata-pmp.c709 u32 prod_id; in sata_pmp_revalidate_quick() local
711 err_mask = sata_pmp_read(dev->link, SATA_PMP_GSCR_PROD_ID, &prod_id); in sata_pmp_revalidate_quick()
719 if (prod_id != dev->gscr[SATA_PMP_GSCR_PROD_ID]) { in sata_pmp_revalidate_quick()
/openbmc/linux/drivers/net/wireless/atmel/
H A Datmel_cs.c213 .prod_id = { (v1), (v2), NULL, NULL }, \

12