/drivers/soc/bcm/brcmstb/ |
D | common.c | 17 static u32 product_id; variable 47 return product_id; in brcmstb_get_product_id() 85 product_id = readl(sun_top_ctrl_base + 0x4); in brcmstb_soc_device_early_init() 117 product_id >> 28 ? in brcmstb_soc_device_init() 118 product_id >> 16 : product_id >> 8); in brcmstb_soc_device_init() 120 ((product_id & 0xf0) >> 4) + 'A', in brcmstb_soc_device_init() 121 product_id & 0xf); in brcmstb_soc_device_init()
|
/drivers/soc/samsung/ |
D | exynos-chipid.c | 38 static const char * __init product_id_to_soc_id(unsigned int product_id) in product_id_to_soc_id() argument 43 if ((product_id & EXYNOS_MASK) == soc_ids[i].id) in product_id_to_soc_id() 54 u32 product_id; in exynos_chipid_early_init() local 62 ret = regmap_read(regmap, EXYNOS_CHIPID_REG_PRO_ID, &product_id); in exynos_chipid_early_init() 66 revision = product_id & EXYNOS_REV_MASK; in exynos_chipid_early_init() 79 soc_dev_attr->soc_id = product_id_to_soc_id(product_id); in exynos_chipid_early_init() 95 soc_dev_attr->soc_id, product_id, revision); in exynos_chipid_early_init()
|
/drivers/input/mouse/ |
D | cyapa_gen6.c | 237 memcpy(&cyapa->product_id[0], &resp_data[51], 5); in cyapa_gen6_read_sys_info() 238 cyapa->product_id[5] = '-'; in cyapa_gen6_read_sys_info() 239 memcpy(&cyapa->product_id[6], &resp_data[56], 6); in cyapa_gen6_read_sys_info() 240 cyapa->product_id[12] = '-'; in cyapa_gen6_read_sys_info() 241 memcpy(&cyapa->product_id[13], &resp_data[62], 2); in cyapa_gen6_read_sys_info() 242 cyapa->product_id[15] = '\0'; in cyapa_gen6_read_sys_info() 279 memcpy(&cyapa->product_id[0], &resp_data[13], 5); in cyapa_gen6_bl_read_app_info() 280 cyapa->product_id[5] = '-'; in cyapa_gen6_bl_read_app_info() 281 memcpy(&cyapa->product_id[6], &resp_data[18], 6); in cyapa_gen6_bl_read_app_info() 282 cyapa->product_id[12] = '-'; in cyapa_gen6_bl_read_app_info() [all …]
|
D | cyapa_gen3.c | 992 memcpy(&cyapa->product_id[0], &query_data[0], 5); in cyapa_gen3_get_query_data() 993 cyapa->product_id[5] = '-'; in cyapa_gen3_get_query_data() 994 memcpy(&cyapa->product_id[6], &query_data[5], 6); in cyapa_gen3_get_query_data() 995 cyapa->product_id[12] = '-'; in cyapa_gen3_get_query_data() 996 memcpy(&cyapa->product_id[13], &query_data[11], 2); in cyapa_gen3_get_query_data() 997 cyapa->product_id[15] = '\0'; in cyapa_gen3_get_query_data() 1104 if (memcmp(cyapa->product_id, product_id, in cyapa_gen3_do_operational_check() 1105 strlen(product_id)) != 0) { in cyapa_gen3_do_operational_check() 1107 cyapa->product_id); in cyapa_gen3_do_operational_check()
|
D | elan_i2c_core.c | 83 u16 product_id; member 214 error = data->ops->get_product_id(data->client, &data->product_id); in elan_query_product() 229 switch (data->product_id) { in elan_check_ASUS_special_fw() 235 } else if (data->ic_type == 0x08 && data->product_id == 0x26) { in elan_check_ASUS_special_fw() 556 data->product_id); in elan_sysfs_read_product_id() 604 fw_name = kasprintf(GFP_KERNEL, ETP_FW_NAME, data->product_id); in elan_sysfs_update_fw() 730 static DEVICE_ATTR(product_id, S_IRUGO, elan_sysfs_read_product_id, NULL); 1055 input->id.product = data->product_id; in elan_setup_trackpoint_input_device() 1087 input->id.product = data->product_id; in elan_setup_input_device() 1219 data->product_id, in elan_probe()
|
D | cyapa_gen5.c | 2461 memcpy(&cyapa->product_id[0], &resp_data[8], 5); in cyapa_gen5_bl_query_data() 2462 cyapa->product_id[5] = '-'; in cyapa_gen5_bl_query_data() 2463 memcpy(&cyapa->product_id[6], &resp_data[13], 6); in cyapa_gen5_bl_query_data() 2464 cyapa->product_id[12] = '-'; in cyapa_gen5_bl_query_data() 2465 memcpy(&cyapa->product_id[13], &resp_data[19], 2); in cyapa_gen5_bl_query_data() 2466 cyapa->product_id[15] = '\0'; in cyapa_gen5_bl_query_data() 2524 memcpy(&cyapa->product_id[0], &resp_data[33], 5); in cyapa_gen5_get_query_data() 2525 cyapa->product_id[5] = '-'; in cyapa_gen5_get_query_data() 2526 memcpy(&cyapa->product_id[6], &resp_data[38], 6); in cyapa_gen5_get_query_data() 2527 cyapa->product_id[12] = '-'; in cyapa_gen5_get_query_data() [all …]
|
D | cyapa.h | 353 char product_id[16]; member 441 extern const char product_id[];
|
/drivers/usb/misc/ |
D | usb251xb.c | 122 u16 product_id; member 155 u16 product_id; member 163 .product_id = 0x2512, 171 .product_id = 0x2512, 179 .product_id = 0x2513, 187 .product_id = 0x2513, 195 .product_id = 0x2514, 203 .product_id = 0x2514, 211 .product_id = 0x2517, 219 .product_id = 0x2517, [all …]
|
D | iowarrior.c | 85 u16 product_id; member 358 switch (dev->product_id) { in iowarrior_write() 442 __func__, dev->product_id); in iowarrior_write() 495 if (dev->product_id == USB_DEVICE_ID_CODEMERCS_IOW24 || in iowarrior_ioctl() 496 dev->product_id == USB_DEVICE_ID_CODEMERCS_IOWPV1 || in iowarrior_ioctl() 497 dev->product_id == USB_DEVICE_ID_CODEMERCS_IOWPV2 || in iowarrior_ioctl() 498 dev->product_id == USB_DEVICE_ID_CODEMERCS_IOW40) { in iowarrior_ioctl() 515 dev->product_id); in iowarrior_ioctl() 541 info.product = dev->product_id; in iowarrior_ioctl() 759 dev->product_id = le16_to_cpu(udev->descriptor.idProduct); in iowarrior_probe() [all …]
|
/drivers/hid/ |
D | hid-lg4ff.c | 65 const u32 product_id; member 99 const u32 product_id; member 119 const u16 product_id; member 126 const u16 product_id; member 311 switch (entry->wdata.product_id) { in lg4ff_adjust_input_event() 337 switch (entry->wdata.product_id) { in lg4ff_raw_event() 392 struct lg4ff_wheel_data t_wdata = { .product_id = wheel->product_id, in lg4ff_init_wheel_data() 515 switch (entry->wdata.product_id) { in lg4ff_set_autocenter_default() 828 … !lg4ff_alternate_modes[i].product_id ? entry->wdata.real_name : lg4ff_alternate_modes[i].name); in lg4ff_alternate_modes_show() 833 if (lg4ff_alternate_modes[i].product_id == entry->wdata.product_id || in lg4ff_alternate_modes_show() [all …]
|
/drivers/iio/chemical/ |
D | sgp30.c | 105 u16 product_id; member 410 unsigned int product_id) in sgp_check_compat() argument 425 if (product != product_id) { in sgp_check_compat() 475 data->product_id = SGP30; in sgp_init() 482 data->product_id = SGPC3; in sgp_init() 505 unsigned long product_id; in sgp_probe() local 514 product_id = (unsigned long)of_id->data; in sgp_probe() 516 product_id = id->driver_data; in sgp_probe() 532 ret = sgp_check_compat(data, product_id); in sgp_probe() 540 indio_dev->channels = sgp_devices[product_id].channels; in sgp_probe() [all …]
|
/drivers/input/keyboard/ |
D | cap11xx.c | 91 u8 product_id; member 103 [CAP1106] = { .product_id = 0x55, .num_channels = 6, .num_leds = 0 }, 104 [CAP1126] = { .product_id = 0x53, .num_channels = 6, .num_leds = 2 }, 105 [CAP1188] = { .product_id = 0x50, .num_channels = 8, .num_leds = 8 }, 357 if (val != cap->product_id) { in cap11xx_i2c_probe() 359 val, cap->product_id); in cap11xx_i2c_probe() 433 priv->idev->id.product = cap->product_id; in cap11xx_i2c_probe()
|
/drivers/media/usb/pwc/ |
D | pwc-if.c | 766 int vendor_id, product_id, type_id; in usb_pwc_probe() local 774 product_id = le16_to_cpu(udev->descriptor.idProduct); in usb_pwc_probe() 778 vendor_id, product_id, in usb_pwc_probe() 789 switch (product_id) { in usb_pwc_probe() 856 switch(product_id) { in usb_pwc_probe() 868 switch(product_id) { in usb_pwc_probe() 931 switch(product_id) { in usb_pwc_probe() 953 switch(product_id) { in usb_pwc_probe() 972 switch(product_id) { in usb_pwc_probe() 984 switch(product_id) { in usb_pwc_probe() [all …]
|
/drivers/input/rmi4/ |
D | rmi_f01.c | 52 u8 product_id[RMI_PRODUCT_ID_LENGTH + 1]; member 177 memcpy(props->product_id, &queries[11], in rmi_f01_read_properties() 179 props->product_id[RMI_PRODUCT_ID_LENGTH] = '\0'; in rmi_f01_read_properties() 258 return f01->properties.product_id; in rmi_f01_get_product_ID() 293 return scnprintf(buf, PAGE_SIZE, "%s\n", f01->properties.product_id); in rmi_driver_product_id_show() 296 static DEVICE_ATTR(product_id, 0444, rmi_driver_product_id_show, NULL); 465 f01->properties.product_id, f01->properties.firmware_id); in rmi_f01_probe()
|
D | rmi_f34.h | 211 unsigned char product_id[PRODUCT_ID_SIZE + 1]; member 245 u8 product_id[10]; member
|
/drivers/media/usb/gspca/gl860/ |
D | gl860.c | 34 u16 vendor_id, u16 product_id); 321 u16 vendor_id, product_id; in sd_config() local 325 product_id = id->idProduct; in sd_config() 341 if (gl860_guess_sensor(gspca_dev, vendor_id, product_id) == -1) in sd_config() 625 u16 vendor_id, u16 product_id) in gl860_guess_sensor() argument 630 if (product_id == 0xf191) in gl860_guess_sensor()
|
/drivers/staging/greybus/ |
D | bootrom.c | 137 intf->product_id = le32_to_cpu(response.product_id); in bootrom_es2_fixup_vid_pid() 140 intf->vendor_id, intf->product_id); in bootrom_es2_fixup_vid_pid() 169 intf->vendor_id, intf->product_id); in find_firmware()
|
/drivers/bluetooth/ |
D | btqca.h | 86 __le32 product_id; member 103 __le16 product_id; member
|
/drivers/usb/serial/ |
D | keyspan.c | 157 int product_id; member 207 .product_id = keyspan_usa18x_product_id, 224 .product_id = keyspan_usa19_product_id, 241 .product_id = keyspan_usa19qi_product_id, 258 .product_id = keyspan_mpr_product_id, 275 .product_id = keyspan_usa19qw_product_id, 292 .product_id = keyspan_usa19w_product_id, 309 .product_id = keyspan_usa19hs_product_id, 326 .product_id = keyspan_usa28_product_id, 343 .product_id = keyspan_usa28x_product_id, [all …]
|
D | metro-usb.c | 60 u16 product_id = le16_to_cpu(serial->dev->descriptor.idProduct); in metrousb_is_unidirectional_mode() local 62 return product_id == FOCUS_PRODUCT_ID_UNI; in metrousb_is_unidirectional_mode()
|
/drivers/phy/broadcom/ |
D | phy-brcm-usb-init.h | 23 u32 product_id; member
|
/drivers/net/wireless/ath/ath10k/ |
D | usb.c | 983 int ret, vendor_id, product_id; in ath10k_usb_probe() local 1004 product_id = le16_to_cpu(dev->descriptor.idProduct); in ath10k_usb_probe() 1008 vendor_id, product_id); in ath10k_usb_probe() 1014 ar->dev_id = product_id; in ath10k_usb_probe() 1016 ar->id.device = product_id; in ath10k_usb_probe()
|
/drivers/input/touchscreen/ |
D | melfas_mip4.c | 154 u16 product_id; member 282 ts->product_id = get_unaligned_le16(&buf[0]); in mip4_query_device() 283 dev_dbg(&ts->client->dev, "product id: %04X\n", ts->product_id); in mip4_query_device() 288 "melfas_mip4_%04X.fw", ts->product_id); in mip4_query_device() 1385 count = snprintf(buf, PAGE_SIZE, "%04X\n", ts->product_id); in mip4_sysfs_read_product_id() 1392 static DEVICE_ATTR(product_id, S_IRUGO, mip4_sysfs_read_product_id, NULL); 1475 input->id.product = ts->product_id; in mip4_probe()
|
/drivers/greybus/ |
D | core.c | 38 (id->product != bundle->intf->product_id)) in greybus_match_one_id() 129 intf->vendor_id, intf->product_id)) in greybus_uevent()
|
/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_dev.c | 214 if (!komeda_product_match(mdev, product->product_id)) { in komeda_dev_create() 216 product->product_id, in komeda_dev_create()
|