/linux/include/linux/ |
H A D | dmi.h | 113 extern bool dmi_match(enum dmi_field f, const char *str); 142 static inline bool dmi_match(enum dmi_field f, const char *str) in dmi_match() function
|
/linux/drivers/platform/chrome/ |
H A D | cros_ec_lpc.c | 796 const struct dmi_system_id *dmi_match; in cros_ec_lpc_init() local 800 dmi_match = dmi_first_match(cros_ec_lpc_dmi_table); in cros_ec_lpc_init() 802 if (!cros_ec_lpc_acpi_device_found && !dmi_match) { in cros_ec_lpc_init() 816 platform_set_drvdata(&cros_ec_lpc_device, dmi_match->driver_data); in cros_ec_lpc_init()
|
/linux/drivers/ata/ |
H A D | ata_piix.c | 980 if (dmi_match(DMI_SYS_VENDOR, "TOSHIBA") && in piix_broken_suspend() 981 dmi_match(DMI_PRODUCT_NAME, "000000") && in piix_broken_suspend() 982 dmi_match(DMI_PRODUCT_VERSION, "000000") && in piix_broken_suspend() 983 dmi_match(DMI_PRODUCT_SERIAL, "000000") && in piix_broken_suspend() 984 dmi_match(DMI_BOARD_VENDOR, "TOSHIBA") && in piix_broken_suspend() 985 dmi_match(DMI_BOARD_NAME, "Portable PC") && in piix_broken_suspend() 986 dmi_match(DMI_BOARD_VERSION, "Version A0")) in piix_broken_suspend()
|
/linux/drivers/nvme/host/ |
H A D | pci.c | 3101 if (dmi_match(DMI_SYS_VENDOR, "Dell Inc.") && in check_vendor_combination_bug() 3102 (dmi_match(DMI_PRODUCT_NAME, "XPS 15 9550") || in check_vendor_combination_bug() 3103 dmi_match(DMI_PRODUCT_NAME, "Precision 5510"))) in check_vendor_combination_bug() 3112 if (dmi_match(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC.") && in check_vendor_combination_bug() 3113 (dmi_match(DMI_BOARD_NAME, "PRIME B350M-A") || in check_vendor_combination_bug() 3114 dmi_match(DMI_BOARD_NAME, "PRIME Z370-A"))) in check_vendor_combination_bug() 3125 if ((dmi_match(DMI_BOARD_VENDOR, "LENOVO")) && in check_vendor_combination_bug() 3126 dmi_match(DMI_BOARD_NAME, "LNVNB161216")) in check_vendor_combination_bug() 3135 if (dmi_match(DMI_BOARD_NAME, "NS5X_NS7XAU") || in check_vendor_combination_bug() 3136 dmi_match(DMI_BOARD_NAME, "NS5x_7xAU") || in check_vendor_combination_bug() [all …]
|
/linux/drivers/watchdog/ |
H A D | ebc-c384_wdt.c | 125 if (!dmi_match(DMI_BOARD_NAME, "EBC-C384 SBC")) in ebc_c384_wdt_init()
|
/linux/arch/x86/kernel/ |
H A D | quirks.c | 667 x86_apple_machine = dmi_match(DMI_SYS_VENDOR, "Apple Inc.") || in early_platform_quirks() 668 dmi_match(DMI_SYS_VENDOR, "Apple Computer, Inc."); in early_platform_quirks()
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_exar.c | 1327 const struct dmi_system_id *dmi_match; in exar_get_platform() local 1329 dmi_match = dmi_first_match(exar_platforms); in exar_get_platform() 1330 if (dmi_match) in exar_get_platform() 1331 return dmi_match->driver_data; in exar_get_platform()
|
/linux/drivers/leds/ |
H A D | leds-mlxcpld.c | 405 if (!dmi_match(DMI_CHASSIS_VENDOR, "Mellanox Technologies Ltd.")) in mlxcpld_led_init()
|
/linux/drivers/mfd/ |
H A D | cros_ec_dev.c | 279 dmi_match(DMI_PRODUCT_NAME, "Link")) { in ec_device_probe()
|
/linux/drivers/power/supply/ |
H A D | cros_charge-control.c | 266 if (!dmi_match(DMI_SYS_VENDOR, "Framework")) in cros_chctl_fwk_charge_control_versions()
|
/linux/drivers/firmware/ |
H A D | dmi_scan.c | 1142 bool dmi_match(enum dmi_field f, const char *str) in dmi_match() function 1151 EXPORT_SYMBOL_GPL(dmi_match);
|
/linux/drivers/hid/ |
H A D | hid-asus.c | 1028 if (dmi_match(DMI_PRODUCT_NAME, "T100HAN")) in asus_probe() 1030 else if (dmi_match(DMI_PRODUCT_NAME, "T200TA")) in asus_probe()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atombios_encoders.c | 204 !(dmi_match(DMI_PRODUCT_NAME, "iMac12,1") || dmi_match(DMI_PRODUCT_NAME, "iMac12,2"))) in radeon_atom_backlight_init() 2131 if (dmi_match(DMI_PRODUCT_NAME, "iMac10,1") || in radeon_atom_pick_dig_encoder() 2132 dmi_match(DMI_PRODUCT_NAME, "iMac11,2")) in radeon_atom_pick_dig_encoder()
|
/linux/drivers/input/keyboard/ |
H A D | atkbd.c | 780 if (dmi_match(DMI_CHASSIS_TYPE, chassis_types[i])) in atkbd_is_portable_device()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-i801.c | 1216 if (!dmi_match(DMI_SYS_VENDOR, "Dell Inc.")) in is_dell_system_with_lis3lv02d()
|