Home
last modified time | relevance | path

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

12

/drivers/pcmcia/
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()
64 "be 0x%x\n", p_drv->name, did->prod_id[i], in pcmcia_check_driver()
244 kfree(p_dev->prod_id[i]); in pcmcia_release_dev()
472 tmp = p_dev->prod_id[i]; in pcmcia_device_query()
473 p_dev->prod_id[i] = new; in pcmcia_device_query()
601 kfree(p_dev->prod_id[i]); in pcmcia_device_add()
824 if (!dev->prod_id[0]) in pcmcia_devmatch()
826 if (strcmp(did->prod_id[0], dev->prod_id[0])) in pcmcia_devmatch()
831 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()
437 uint16_t prod_id; in adis16136_initial_setup() local
445 &prod_id); in adis16136_initial_setup()
453 if (prod_id != device_id) in adis16136_initial_setup()
455 device_id, prod_id); in adis16136_initial_setup()
/drivers/iio/imu/
Dadis.c415 u16 prod_id; in __adis_initial_startup() local
449 ret = adis_read_reg_16(adis, adis->data->prod_id_reg, &prod_id); in __adis_initial_startup()
453 if (prod_id != adis->data->prod_id) in __adis_initial_startup()
456 adis->data->prod_id, prod_id); in __adis_initial_startup()
Dadis16460.c96 u16 prod_id; in adis16460_show_product_id() local
100 &prod_id); in adis16460_show_product_id()
104 *val = prod_id; in adis16460_show_product_id()
363 .prod_id = 16460,
Dadis16400.c252 uint16_t prod_id; in adis16400_show_product_id() local
255 ret = adis_read_reg_16(&st->adis, ADIS16400_PRODUCT_ID, &prod_id); in adis16400_show_product_id()
259 *val = prod_id; in adis16400_show_product_id()
443 uint16_t prod_id, smp_prd; in adis16400_initial_setup() local
461 ADIS16400_PRODUCT_ID, &prod_id); in adis16400_initial_setup()
470 if (prod_id != device_id) in adis16400_initial_setup()
472 device_id, prod_id); in adis16400_initial_setup()
475 indio_dev->name, prod_id, in adis16400_initial_setup()
Dadis16475.c198 u16 prod_id; in adis16475_show_product_id() local
201 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_PROD_ID, &prod_id); in adis16475_show_product_id()
205 *val = prod_id; in adis16475_show_product_id()
552 .prod_id = (_prod_id), \
Dadis16480.c251 u16 prod_id; in adis16480_show_product_id() local
255 &prod_id); in adis16480_show_product_id()
259 *val = prod_id; in adis16480_show_product_id()
826 .prod_id = (_prod_id), \
/drivers/char/ipmi/
Dipmi_poweroff.c78 static unsigned int prod_id; variable
237 pr_info("ATCA Detect mfg 0x%X prod 0x%X\n", mfg_id, prod_id); in ipmi_atca_detect()
239 && (prod_id == IPMI_MOTOROLA_PPS_IPMC_PRODUCT_ID)) { in ipmi_atca_detect()
313 && (prod_id == IPMI_CPI1_PRODUCT_ID)); in ipmi_cpi1_detect()
449 && prod_id == HP_BMC_PROD_ID in ipmi_hp_chassis_detect()
608 prod_id = (halt_recv_msg.msg.data[10] in ipmi_po_new_smi()
/drivers/video/fbdev/
Ds1d13xxxfb.c768 u8 revision, prod_id; in s1d13xxxfb_probe() local
837 prod_id = s1d13xxxfb_readreg(default_par, S1DREG_REV_CODE) >> 2; in s1d13xxxfb_probe()
843 if (prod_id == s1d13xxxfb_prod_ids[i]) { in s1d13xxxfb_probe()
845 default_par->prod_id = prod_id; in s1d13xxxfb_probe()
854 prod_id, s1d13xxxfb_prod_names[i]); in s1d13xxxfb_probe()
859 prod_id, revision); in s1d13xxxfb_probe()
877 switch(prod_id) { in s1d13xxxfb_probe()
/drivers/media/usb/gspca/m5602/
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()
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()
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()
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()
/drivers/net/wireless/marvell/libertas/
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()
/drivers/mtd/maps/
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()
/drivers/ata/
Dlibata-pmp.c713 u32 prod_id; in sata_pmp_revalidate_quick() local
715 err_mask = sata_pmp_read(dev->link, SATA_PMP_GSCR_PROD_ID, &prod_id); in sata_pmp_revalidate_quick()
723 if (prod_id != dev->gscr[SATA_PMP_GSCR_PROD_ID]) { in sata_pmp_revalidate_quick()
/drivers/mmc/host/
Dsdricoh_cs.c464 " %s %s ...\n", pcmcia_dev->prod_id[0], pcmcia_dev->prod_id[1]); in sdricoh_pcmcia_probe()
/drivers/net/wireless/
Dray_cs.c362 link->prod_id[0] ? link->prod_id[0] : " ", in ray_config()
363 link->prod_id[1] ? link->prod_id[1] : " ", in ray_config()
364 link->prod_id[2] ? link->prod_id[2] : " ", in ray_config()
365 link->prod_id[3] ? link->prod_id[3] : " "); in ray_config()
/drivers/net/wireless/atmel/
Datmel_cs.c214 .prod_id = { (v1), (v2), NULL, NULL }, \
/drivers/net/dsa/sja1105/
Dsja1105_spi.c438 .prod_id = 0x100BC3,
472 .prod_id = 0x100BC3,
Dsja1105.h36 u64 prod_id; member
/drivers/net/can/sja1000/
Dpeak_pcmcia.c676 pdev->prod_id[1] ? pdev->prod_id[1] : "PCAN-PC Card", in pcan_probe()
/drivers/iio/light/
Dvcnl4000.c162 int ret, prod_id; in vcnl4000_init() local
168 prod_id = ret >> 4; in vcnl4000_init()
169 switch (prod_id) { in vcnl4000_init()
/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.c363 if (link->prod_id[1]) in tc574_config()
364 cardname = link->prod_id[1]; in tc574_config()

12