Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/soc/bcm/brcmstb/
Dcommon.c15 static u32 product_id; variable
25 return product_id; in brcmstb_get_product_id()
63 product_id = readl(sun_top_ctrl_base + 0x4); in brcmstb_soc_device_early_init()
95 product_id >> 28 ? in brcmstb_soc_device_init()
96 product_id >> 16 : product_id >> 8); in brcmstb_soc_device_init()
98 ((product_id & 0xf0) >> 4) + 'A', in brcmstb_soc_device_init()
99 product_id & 0xf); in brcmstb_soc_device_init()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_hwdb.c12 .product_id = 0x70001,
44 .product_id = 0x5202,
75 .product_id = 0x70003,
107 .product_id = 0x70003,
139 .product_id = ~0U,
170 .product_id = ~0U,
202 .product_id = 0x45080009,
234 .product_id = 0x5080009,
273 (etnaviv_chip_identities[i].product_id == ident->product_id || in etnaviv_fill_identity_from_hwdb()
274 etnaviv_chip_identities[i].product_id == ~0U) && in etnaviv_fill_identity_from_hwdb()
/linux-6.6.21/drivers/soc/samsung/
Dexynos-chipid.c35 u32 product_id; member
64 static const char *product_id_to_soc_id(unsigned int product_id) in product_id_to_soc_id() argument
69 if (product_id == soc_ids[i].id) in product_id_to_soc_id()
84 soc_info->product_id = val & EXYNOS_MASK; in exynos_chipid_get_chipid_info()
133 soc_dev_attr->soc_id = product_id_to_soc_id(soc_info.product_id); in exynos_chipid_probe()
151 soc_dev_attr->soc_id, soc_info.product_id, soc_info.revision); in exynos_chipid_probe()
Dexynos-asv.c116 u32 product_id = 0; in exynos_asv_init() local
126 &product_id); in exynos_asv_init()
132 switch (product_id & EXYNOS_MASK) { in exynos_asv_init()
/linux-6.6.21/drivers/usb/misc/
Dusb251xb.c119 u16 product_id; member
152 u16 product_id; member
160 .product_id = 0x2422,
168 .product_id = 0x2512,
176 .product_id = 0x2512,
184 .product_id = 0x2513,
192 .product_id = 0x2513,
200 .product_id = 0x2514,
208 .product_id = 0x2514,
216 .product_id = 0x2517,
[all …]
Diowarrior.c94 u16 product_id; member
368 switch (dev->product_id) { in iowarrior_write()
455 __func__, dev->product_id); in iowarrior_write()
507 if (dev->product_id == USB_DEVICE_ID_CODEMERCS_IOW24 || in iowarrior_ioctl()
508 dev->product_id == USB_DEVICE_ID_CODEMERCS_IOW24SAG || in iowarrior_ioctl()
509 dev->product_id == USB_DEVICE_ID_CODEMERCS_IOWPV1 || in iowarrior_ioctl()
510 dev->product_id == USB_DEVICE_ID_CODEMERCS_IOWPV2 || in iowarrior_ioctl()
511 dev->product_id == USB_DEVICE_ID_CODEMERCS_IOW40) { in iowarrior_ioctl()
528 dev->product_id); in iowarrior_ioctl()
554 info.product = dev->product_id; in iowarrior_ioctl()
[all …]
/linux-6.6.21/drivers/input/mouse/
Dcyapa_gen6.c237 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 …]
Delan_i2c_core.c76 u16 product_id; member
99 static u32 elan_i2c_lookup_quirks(u16 ic_type, u16 product_id) in elan_i2c_lookup_quirks() argument
103 u16 product_id; in elan_i2c_lookup_quirks() member
117 elan_i2c_quirks[i].product_id == product_id) { in elan_i2c_lookup_quirks()
122 if (ic_type >= 0x0D && product_id >= 0x123) in elan_i2c_lookup_quirks()
226 error = data->ops->get_product_id(data->client, &data->product_id); in elan_query_product()
246 switch (data->product_id) { in elan_check_ASUS_special_fw()
252 } else if (data->ic_type == 0x08 && data->product_id == 0x26) { in elan_check_ASUS_special_fw()
362 data->quirks = elan_i2c_lookup_quirks(data->ic_type, data->product_id); in elan_query_device_info()
586 data->product_id); in elan_sysfs_read_product_id()
[all …]
Dcyapa_gen3.c993 memcpy(&cyapa->product_id[0], &query_data[0], 5); in cyapa_gen3_get_query_data()
994 cyapa->product_id[5] = '-'; in cyapa_gen3_get_query_data()
995 memcpy(&cyapa->product_id[6], &query_data[5], 6); in cyapa_gen3_get_query_data()
996 cyapa->product_id[12] = '-'; in cyapa_gen3_get_query_data()
997 memcpy(&cyapa->product_id[13], &query_data[11], 2); in cyapa_gen3_get_query_data()
998 cyapa->product_id[15] = '\0'; in cyapa_gen3_get_query_data()
1105 if (memcmp(cyapa->product_id, product_id, in cyapa_gen3_do_operational_check()
1106 strlen(product_id)) != 0) { in cyapa_gen3_do_operational_check()
1108 cyapa->product_id); in cyapa_gen3_do_operational_check()
Dcyapa_gen5.c2462 memcpy(&cyapa->product_id[0], &resp_data[8], 5); in cyapa_gen5_bl_query_data()
2463 cyapa->product_id[5] = '-'; in cyapa_gen5_bl_query_data()
2464 memcpy(&cyapa->product_id[6], &resp_data[13], 6); in cyapa_gen5_bl_query_data()
2465 cyapa->product_id[12] = '-'; in cyapa_gen5_bl_query_data()
2466 memcpy(&cyapa->product_id[13], &resp_data[19], 2); in cyapa_gen5_bl_query_data()
2467 cyapa->product_id[15] = '\0'; in cyapa_gen5_bl_query_data()
2525 memcpy(&cyapa->product_id[0], &resp_data[33], 5); in cyapa_gen5_get_query_data()
2526 cyapa->product_id[5] = '-'; in cyapa_gen5_get_query_data()
2527 memcpy(&cyapa->product_id[6], &resp_data[38], 6); in cyapa_gen5_get_query_data()
2528 cyapa->product_id[12] = '-'; in cyapa_gen5_get_query_data()
[all …]
/linux-6.6.21/drivers/input/keyboard/
Dcap11xx.c91 u8 product_id; member
108 [CAP1106] = { .product_id = 0x55, .num_channels = 6, .num_leds = 0, .no_gain = false },
109 [CAP1126] = { .product_id = 0x53, .num_channels = 6, .num_leds = 2, .no_gain = false },
110 [CAP1188] = { .product_id = 0x50, .num_channels = 8, .num_leds = 8, .no_gain = false },
111 [CAP1203] = { .product_id = 0x6d, .num_channels = 3, .num_leds = 0, .no_gain = true },
112 [CAP1206] = { .product_id = 0x67, .num_channels = 6, .num_leds = 0, .no_gain = true },
113 [CAP1293] = { .product_id = 0x6f, .num_channels = 3, .num_leds = 0, .no_gain = false },
114 [CAP1298] = { .product_id = 0x71, .num_channels = 8, .num_leds = 0, .no_gain = false },
366 if (val != cap->product_id) { in cap11xx_i2c_probe()
368 val, cap->product_id); in cap11xx_i2c_probe()
[all …]
/linux-6.6.21/drivers/input/touchscreen/
Dhimax_hx83112b.c100 static int himax_read_product_id(struct himax_ts_data *ts, u32 *product_id) in himax_read_product_id() argument
104 error = himax_read_config(ts, HIMAX_CFG_PRODUCT_ID, product_id); in himax_read_product_id()
108 *product_id >>= 8; in himax_read_product_id()
115 u32 product_id; in himax_check_product_id() local
117 error = himax_read_product_id(ts, &product_id); in himax_check_product_id()
121 dev_dbg(&ts->client->dev, "Product id: %x\n", product_id); in himax_check_product_id()
123 switch (product_id) { in himax_check_product_id()
129 "Unknown product id: %x\n", product_id); in himax_check_product_id()
Dilitek_ts_i2c.c57 char product_id[30]; member
259 memset(ts->product_id, 0, sizeof(ts->product_id)); in api_protocol_get_mcu_ver()
260 memcpy(ts->product_id, outbuf + 6, 26); in api_protocol_get_mcu_ver()
531 ts->mcu_ver, ts->product_id); in product_id_show()
533 static DEVICE_ATTR_RO(product_id);
/linux-6.6.21/drivers/iio/chemical/
Dsgp30.c105 u16 product_id; member
411 unsigned int product_id) in sgp_check_compat() argument
427 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
513 product_id = (unsigned long)device_get_match_data(dev); in sgp_probe()
515 product_id = id->driver_data; in sgp_probe()
531 ret = sgp_check_compat(data, product_id); in sgp_probe()
538 indio_dev->channels = sgp_devices[product_id].channels; in sgp_probe()
[all …]
/linux-6.6.21/drivers/hid/
Dhid-lg4ff.c65 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 …]
/linux-6.6.21/include/linux/
Dipmi_smi.h231 unsigned int product_id; member
270 id->product_id = data[9] | (data[10] << 8); in ipmi_demangle_device_id()
273 id->product_id = 0; in ipmi_demangle_device_id()
/linux-6.6.21/drivers/media/usb/pwc/
Dpwc-if.c778 int vendor_id, product_id, type_id; in usb_pwc_probe() local
786 product_id = le16_to_cpu(udev->descriptor.idProduct); in usb_pwc_probe()
790 vendor_id, product_id, in usb_pwc_probe()
801 switch (product_id) { in usb_pwc_probe()
867 switch(product_id) { in usb_pwc_probe()
878 switch(product_id) { in usb_pwc_probe()
940 switch(product_id) { in usb_pwc_probe()
961 switch(product_id) { in usb_pwc_probe()
979 switch(product_id) { in usb_pwc_probe()
990 switch(product_id) { in usb_pwc_probe()
[all …]
/linux-6.6.21/drivers/input/rmi4/
Drmi_f01.c52 u8 product_id[RMI_PRODUCT_ID_LENGTH + 1]; member
179 memcpy(props->product_id, &queries[11], in rmi_f01_read_properties()
181 props->product_id[RMI_PRODUCT_ID_LENGTH] = '\0'; in rmi_f01_read_properties()
260 return f01->properties.product_id; in rmi_f01_get_product_ID()
295 return scnprintf(buf, PAGE_SIZE, "%s\n", f01->properties.product_id); in rmi_driver_product_id_show()
298 static DEVICE_ATTR(product_id, 0444, rmi_driver_product_id_show, NULL);
467 f01->properties.product_id, f01->properties.firmware_id); in rmi_f01_probe()
Drmi_f34.h211 unsigned char product_id[PRODUCT_ID_SIZE + 1]; member
231 u8 product_id[10]; member
/linux-6.6.21/drivers/media/usb/gspca/gl860/
Dgl860.c34 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()
/linux-6.6.21/drivers/bluetooth/
Dbtqca.h104 __le32 product_id; member
121 __le16 product_id; member
/linux-6.6.21/drivers/staging/greybus/
Dbootrom.c137 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()
/linux-6.6.21/include/drm/
Ddrm_edid.h533 #define drm_edid_encode_panel_id(vend_chr_0, vend_chr_1, vend_chr_2, product_id) \ argument
537 ((product_id) & 0xffff))
555 static inline void drm_edid_decode_panel_id(u32 panel_id, char vend[4], u16 *product_id) in drm_edid_decode_panel_id() argument
557 *product_id = (u16)(panel_id & 0xffff); in drm_edid_decode_panel_id()
/linux-6.6.21/drivers/usb/serial/
Dkeyspan.c137 int product_id; member
187 .product_id = keyspan_usa18x_product_id,
204 .product_id = keyspan_usa19_product_id,
221 .product_id = keyspan_usa19qi_product_id,
238 .product_id = keyspan_mpr_product_id,
255 .product_id = keyspan_usa19qw_product_id,
272 .product_id = keyspan_usa19w_product_id,
289 .product_id = keyspan_usa19hs_product_id,
306 .product_id = keyspan_usa28_product_id,
323 .product_id = keyspan_usa28x_product_id,
[all …]
/linux-6.6.21/drivers/gpu/drm/panel/
Dpanel-edp.c749 u16 product_id; in generic_edp_panel_probe() local
782 drm_edid_decode_panel_id(panel_id, vend, &product_id); in generic_edp_panel_probe()
794 vend, product_id); in generic_edp_panel_probe()
817 vend, panel->detected_panel->name, product_id); in generic_edp_panel_probe()
1858 #define EDP_PANEL_ENTRY(vend_chr_0, vend_chr_1, vend_chr_2, product_id, _delay, _name) \ argument
1862 product_id), \
1866 #define EDP_PANEL_ENTRY2(vend_chr_0, vend_chr_1, vend_chr_2, product_id, _delay, _name, _mode) \ argument
1870 product_id), \

12345