Home
last modified time | relevance | path

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

/drivers/pcmcia/
Dds.c58 if (!did->prod_id[i]) in pcmcia_check_driver()
61 hash = crc32(0, did->prod_id[i], strlen(did->prod_id[i])); in pcmcia_check_driver()
67 "be 0x%x\n", p_drv->name, did->prod_id[i], in pcmcia_check_driver()
247 kfree(p_dev->prod_id[i]); in pcmcia_release_dev()
477 tmp = p_dev->prod_id[i]; in pcmcia_device_query()
478 p_dev->prod_id[i] = new; in pcmcia_device_query()
603 kfree(p_dev->prod_id[i]); in pcmcia_device_add()
808 if (!dev->prod_id[0]) in pcmcia_devmatch()
810 if (strcmp(did->prod_id[0], dev->prod_id[0])) in pcmcia_devmatch()
815 if (!dev->prod_id[1]) in pcmcia_devmatch()
[all …]
/drivers/iio/gyro/
Dadis16136.c115 u16 prod_id; in adis16136_show_product_id() local
119 &prod_id); in adis16136_show_product_id()
123 *val = prod_id; in adis16136_show_product_id()
426 uint16_t prod_id; in adis16136_initial_setup() local
434 &prod_id); in adis16136_initial_setup()
440 if (prod_id != device_id) in adis16136_initial_setup()
442 device_id, prod_id); in adis16136_initial_setup()
/drivers/media/usb/gspca/m5602/
Dm5602_s5k4aa.c146 u8 prod_id[6] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; in s5k4aa_probe() local
195 if (m5602_read_sensor(sd, 0x00, prod_id, 2)) in s5k4aa_probe()
197 if (m5602_read_sensor(sd, 0x02, prod_id+2, 2)) in s5k4aa_probe()
199 if (m5602_read_sensor(sd, 0x04, prod_id+4, 2)) in s5k4aa_probe()
202 if (memcmp(prod_id, expected_prod_id, sizeof(prod_id))) in s5k4aa_probe()
Dm5602_ov7660.c47 u8 prod_id = 0, ver_id = 0; in ov7660_probe() local
76 if (m5602_read_sensor(sd, OV7660_PID, &prod_id, 1)) in ov7660_probe()
82 pr_info("Sensor reported 0x%x%x\n", prod_id, ver_id); in ov7660_probe()
84 if ((prod_id == 0x76) && (ver_id == 0x60)) { in ov7660_probe()
Dm5602_s5k83a.c52 u8 prod_id = 0, ver_id = 0; in s5k83a_probe() local
82 if (m5602_read_sensor(sd, 0x00, &prod_id, 1)) in s5k83a_probe()
88 if ((prod_id == 0xff) || (ver_id == 0xff)) in s5k83a_probe()
Dm5602_ov9650.c149 u8 prod_id = 0, ver_id = 0, i; in ov9650_probe() local
178 if (m5602_read_sensor(sd, OV9650_PID, &prod_id, 1)) in ov9650_probe()
184 if ((prod_id == 0x96) && (ver_id == 0x52)) { in ov9650_probe()
/drivers/iio/imu/
Dadis16400_core.c77 uint16_t prod_id; in adis16400_show_product_id() local
80 ret = adis_read_reg_16(&st->adis, ADIS16400_PRODUCT_ID, &prod_id); in adis16400_show_product_id()
84 *val = prod_id; in adis16400_show_product_id()
267 uint16_t prod_id, smp_prd; in adis16400_initial_setup() local
285 ADIS16400_PRODUCT_ID, &prod_id); in adis16400_initial_setup()
291 if (prod_id != device_id) in adis16400_initial_setup()
293 device_id, prod_id); in adis16400_initial_setup()
296 indio_dev->name, prod_id, in adis16400_initial_setup()
Dadis16480.c203 u16 prod_id; in adis16480_show_product_id() local
207 &prod_id); in adis16480_show_product_id()
211 *val = prod_id; in adis16480_show_product_id()
748 uint16_t prod_id; in adis16480_initial_setup() local
764 ret = adis_read_reg_16(&st->adis, ADIS16480_REG_PROD_ID, &prod_id); in adis16480_initial_setup()
770 if (prod_id != device_id) in adis16480_initial_setup()
772 device_id, prod_id); in adis16480_initial_setup()
/drivers/video/fbdev/
Ds1d13xxxfb.c773 u8 revision, prod_id; in s1d13xxxfb_probe() local
842 prod_id = s1d13xxxfb_readreg(default_par, S1DREG_REV_CODE) >> 2; in s1d13xxxfb_probe()
848 if (prod_id == s1d13xxxfb_prod_ids[i]) { in s1d13xxxfb_probe()
850 default_par->prod_id = prod_id; in s1d13xxxfb_probe()
859 prod_id, s1d13xxxfb_prod_names[i]); in s1d13xxxfb_probe()
864 prod_id, revision); in s1d13xxxfb_probe()
882 switch(prod_id) { in s1d13xxxfb_probe()
/drivers/char/ipmi/
Dipmi_poweroff.c97 static unsigned int prod_id; variable
258 mfg_id, prod_id); in ipmi_atca_detect()
260 && (prod_id == IPMI_MOTOROLA_PPS_IPMC_PRODUCT_ID)) { in ipmi_atca_detect()
335 && (prod_id == IPMI_CPI1_PRODUCT_ID)); in ipmi_cpi1_detect()
612 prod_id = (halt_recv_msg.msg.data[10] in ipmi_po_new_smi()
/drivers/isdn/hardware/avm/
Davm_cs.c77 if (link->prod_id[1]) in avmcs_config()
78 strlcpy(devname, link->prod_id[1], sizeof(devname)); in avmcs_config()
/drivers/isdn/hisax/
Davma1_cs.c85 if (link->prod_id[1]) in avma1cs_config()
86 strlcpy(devname, link->prod_id[1], sizeof(devname)); in avma1cs_config()
Dhfc_usb.h182 int prod_id; // product id member
/drivers/net/wireless/libertas/
Dif_cs.c849 unsigned int prod_id; in if_cs_probe() local
910 prod_id = if_cs_read8(card, IF_CS_PRODUCT_ID); in if_cs_probe()
913 if (prod_id < IF_CS_CF8305_B1_REV) { in if_cs_probe()
920 if ((card->model == MODEL_8381) && prod_id < IF_CS_CF8381_B3_REV) { in if_cs_probe()
926 if ((card->model == MODEL_8385) && prod_id < IF_CS_CF8385_B1_REV) { in if_cs_probe()
/drivers/ata/
Dlibata-pmp.c714 u32 prod_id; in sata_pmp_revalidate_quick() local
716 err_mask = sata_pmp_read(dev->link, SATA_PMP_GSCR_PROD_ID, &prod_id); in sata_pmp_revalidate_quick()
724 if (prod_id != dev->gscr[SATA_PMP_GSCR_PROD_ID]) { in sata_pmp_revalidate_quick()
/drivers/mtd/maps/
Dpcmciamtd.c419 if (p_dev->prod_id[0]) { in card_settings()
424 if (p_dev->prod_id[i]) in card_settings()
425 strcat(dev->mtd_name, p_dev->prod_id[i]); in card_settings()
/drivers/mmc/host/
Dsdricoh_cs.c480 " %s %s ...\n", pcmcia_dev->prod_id[0], pcmcia_dev->prod_id[1]); in sdricoh_pcmcia_probe()
/drivers/net/wireless/
Dray_cs.c367 link->prod_id[0] ? link->prod_id[0] : " ", in ray_config()
368 link->prod_id[1] ? link->prod_id[1] : " ", in ray_config()
369 link->prod_id[2] ? link->prod_id[2] : " ", in ray_config()
370 link->prod_id[3] ? link->prod_id[3] : " "); in ray_config()
Datmel_cs.c207 .prod_id = { (v1), (v2), NULL, NULL }, \
/drivers/net/can/sja1000/
Dpeak_pcmcia.c684 pdev->prod_id[1] ? pdev->prod_id[1] : "PCAN-PC Card", in pcan_probe()
/drivers/net/ethernet/smsc/
Dsmc91c92_cs.c485 if ((link->prod_id[3]) && in mhz_setup()
486 (cvt_ascii_address(dev, link->prod_id[3]) == 0)) in mhz_setup()
604 if (link->prod_id[2]) { in smc_setup()
605 if (cvt_ascii_address(dev, link->prod_id[2]) == 0) in smc_setup()
/drivers/net/ethernet/3com/
D3c574_cs.c364 if (link->prod_id[1]) in tc574_config()
365 cardname = link->prod_id[1]; in tc574_config()
/drivers/atm/
Dhe.h257 char prod_id[30]; member
Dhe.c1082 he_dev->prod_id[i] = read_prom_byte(he_dev, PROD_ID + i); in he_start()
1089 hprintk("%s%s, %pM\n", he_dev->prod_id, in he_start()
2722 he_dev->prod_id, he_dev->media & 0x40 ? "SM" : "MM"); in he_proc_read()
/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c614 if (p_dev->prod_id[2] && strstr(p_dev->prod_id[2], "CE2")) in has_ce2_string()