/drivers/pcmcia/ |
D | ds.c | 58 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/ |
D | adis16136.c | 115 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/ |
D | m5602_s5k4aa.c | 146 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()
|
D | m5602_ov7660.c | 47 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()
|
D | m5602_s5k83a.c | 52 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()
|
D | m5602_ov9650.c | 149 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/ |
D | adis16400_core.c | 77 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()
|
D | adis16480.c | 203 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/ |
D | s1d13xxxfb.c | 773 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/ |
D | ipmi_poweroff.c | 97 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/ |
D | avm_cs.c | 77 if (link->prod_id[1]) in avmcs_config() 78 strlcpy(devname, link->prod_id[1], sizeof(devname)); in avmcs_config()
|
/drivers/isdn/hisax/ |
D | avma1_cs.c | 85 if (link->prod_id[1]) in avma1cs_config() 86 strlcpy(devname, link->prod_id[1], sizeof(devname)); in avma1cs_config()
|
D | hfc_usb.h | 182 int prod_id; // product id member
|
/drivers/net/wireless/libertas/ |
D | if_cs.c | 849 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/ |
D | libata-pmp.c | 714 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/ |
D | pcmciamtd.c | 419 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/ |
D | sdricoh_cs.c | 480 " %s %s ...\n", pcmcia_dev->prod_id[0], pcmcia_dev->prod_id[1]); in sdricoh_pcmcia_probe()
|
/drivers/net/wireless/ |
D | ray_cs.c | 367 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()
|
D | atmel_cs.c | 207 .prod_id = { (v1), (v2), NULL, NULL }, \
|
/drivers/net/can/sja1000/ |
D | peak_pcmcia.c | 684 pdev->prod_id[1] ? pdev->prod_id[1] : "PCAN-PC Card", in pcan_probe()
|
/drivers/net/ethernet/smsc/ |
D | smc91c92_cs.c | 485 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/ |
D | 3c574_cs.c | 364 if (link->prod_id[1]) in tc574_config() 365 cardname = link->prod_id[1]; in tc574_config()
|
/drivers/atm/ |
D | he.h | 257 char prod_id[30]; member
|
D | he.c | 1082 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/ |
D | xirc2ps_cs.c | 614 if (p_dev->prod_id[2] && strstr(p_dev->prod_id[2], "CE2")) in has_ce2_string()
|