Home
last modified time | relevance | path

Searched refs:quirks (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/linux/drivers/usb/host/
A Dxhci-pci.c120 xhci->quirks |= driver_data->quirks; in xhci_pci_quirks()
136 xhci->quirks |= XHCI_SLOW_SUSPEND; in xhci_pci_quirks()
148 xhci->quirks |= XHCI_BROKEN_MSI; in xhci_pci_quirks()
165 xhci->quirks |= XHCI_NEC_HOST; in xhci_pci_quirks()
172 xhci->quirks |= XHCI_AMD_PLL_FIX; in xhci_pci_quirks()
205 xhci->quirks |= XHCI_LPM_SUPPORT; in xhci_pci_quirks()
206 xhci->quirks |= XHCI_INTEL_HOST; in xhci_pci_quirks()
207 xhci->quirks |= XHCI_AVOID_BEI; in xhci_pci_quirks()
255 xhci->quirks |= XHCI_MISSING_CAS; in xhci_pci_quirks()
297 xhci->quirks |= XHCI_LPM_SUPPORT; in xhci_pci_quirks()
[all …]
/linux/drivers/irqchip/
A Dirq-gic-common.c16 const struct gic_quirk *quirks, void *data) in gic_enable_of_quirks() argument
18 for (; quirks->desc; quirks++) { in gic_enable_of_quirks()
19 if (!of_device_is_compatible(np, quirks->compatible)) in gic_enable_of_quirks()
21 if (quirks->init(data)) in gic_enable_of_quirks()
23 quirks->desc); in gic_enable_of_quirks()
27 void gic_enable_quirks(u32 iidr, const struct gic_quirk *quirks, in gic_enable_quirks() argument
30 for (; quirks->desc; quirks++) { in gic_enable_quirks()
31 if (quirks->compatible) in gic_enable_quirks()
33 if (quirks->iidr != (quirks->mask & iidr)) in gic_enable_quirks()
35 if (quirks->init(data)) in gic_enable_quirks()
[all …]
/linux/drivers/hid/
A Dhid-microsoft.c32 unsigned long quirks; member
63 unsigned long quirks = ms->quirks; in ms_report_fixup() local
187 unsigned long quirks = ms->quirks; in ms_input_mapping() local
189 if (quirks & MS_ERGONOMY) { in ms_input_mapping()
195 if ((quirks & MS_PRESENTER) && in ms_input_mapping()
199 if (quirks & MS_SURFACE_DIAL) { in ms_input_mapping()
214 unsigned long quirks = ms->quirks; in ms_input_mapped() local
226 unsigned long quirks = ms->quirks; in ms_event() local
375 ms->quirks = quirks; in ms_probe()
379 if (quirks & MS_NOGET) in ms_probe()
[all …]
A Dhid-multitouch.c112 __s32 quirks; member
142 __s32 quirks; member
415 td->mtclass.quirks = val; in mt_set_quirks()
418 application->quirks = val; in mt_set_quirks()
571 mt_application->quirks = td->mtclass.quirks; in mt_allocate_application()
901 __s32 quirks = app->quirks; in mt_compute_slot() local
906 if (quirks & MT_QUIRK_CYPRESS) in mt_compute_slot()
1001 __s32 quirks = app->quirks; in mt_process_slot() local
1130 __s32 quirks = app->quirks; in mt_process_mt_event() local
1541 __s32 quirks = app->quirks; in mt_post_parse_default_settings() local
[all …]
A Dhid-cypress.c73 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_report_fixup() local
75 if (quirks & CP_RDESC_SWAPPED_MIN_MAX) in cp_report_fixup()
77 if (quirks & VA_INVAL_LOGICAL_BOUNDARY) in cp_report_fixup()
87 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_input_mapped() local
89 if (!(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_input_mapped()
106 !usage->type || !(quirks & CP_2WHEEL_MOUSE_HACK)) in cp_event()
111 quirks |= CP_2WHEEL_MOUSE_HACK_ON; in cp_event()
113 quirks &= ~CP_2WHEEL_MOUSE_HACK_ON; in cp_event()
114 hid_set_drvdata(hdev, (void *)quirks); in cp_event()
130 unsigned long quirks = id->driver_data; in cp_probe() local
[all …]
A Dhid-sony.c573 unsigned long quirks; member
963 if (sc->quirks & MOTION_CONTROLLER) in sony_report_fixup()
966 if (sc->quirks & PS3REMOTE) in sony_report_fixup()
1449 if (sc->quirks & BUZZ_CONTROLLER) { in sony_mapping()
1472 if (sc->quirks & PS3REMOTE) in sony_mapping()
1540 if (sc->quirks & NSG_MRXU_REMOTE) { in sony_register_touchpad()
1667 if (sc->quirks & SHANWAN_GAMEPAD) in sixaxis_set_operational_usb()
2267 if (sc->quirks & SHANWAN_GAMEPAD) in sixaxis_send_output_report()
2986 quirks |= FUTUREMAX_DANCE_MAT; in sony_probe()
2990 quirks |= SHANWAN_GAMEPAD; in sony_probe()
[all …]
A Dhid-saitek.c32 unsigned long quirks; member
39 unsigned long quirks = id->driver_data; in saitek_probe() local
49 ssc->quirks = quirks; in saitek_probe()
74 if ((ssc->quirks & SAITEK_FIX_PS1000) && *rsize == 137 && in saitek_report_fixup()
98 if (ssc->quirks & SAITEK_RELEASE_MODE_RAT7 && size == 7) { in saitek_raw_event()
119 } else if (ssc->quirks & SAITEK_RELEASE_MODE_MMO7 && size == 8) { in saitek_raw_event()
157 (((ssc->quirks & SAITEK_RELEASE_MODE_RAT7) && in saitek_event()
159 ((ssc->quirks & SAITEK_RELEASE_MODE_MMO7) && in saitek_event()
A Dhid-asus.c115 unsigned long quirks; member
335 if (drvdata->quirks & QUIRK_MEDION_E1239T) in asus_raw_event()
763 if (drvdata->quirks & QUIRK_T100CHI && in asus_input_configured()
1017 drvdata->quirks = id->driver_data; in asus_probe()
1024 drvdata->quirks &= ~QUIRK_T100CHI; in asus_probe()
1025 drvdata->quirks |= QUIRK_T90CHI; in asus_probe()
1050 if (drvdata->quirks & QUIRK_T100CHI) { in asus_probe()
1055 hdev->quirks |= HID_QUIRK_MULTI_INPUT; in asus_probe()
1065 hdev->quirks |= HID_QUIRK_MULTI_INPUT; in asus_probe()
1160 if (drvdata->quirks & QUIRK_T100CHI) { in asus_report_fixup()
[all …]
A Dhid-lg.c669 if ((drv_data->quirks & LG_EXPANDED_KEYMAP) && in lg_input_mapping()
732 if (drv_data->quirks & LG_FF4) { in lg_event()
744 if (drv_data->quirks & LG_FF4) in lg_raw_event()
776 drv_data->quirks = id->driver_data; in lg_probe()
780 if (drv_data->quirks & LG_NOGET) in lg_probe()
781 hdev->quirks |= HID_QUIRK_NOGET; in lg_probe()
829 if (drv_data->quirks & LG_FF) in lg_probe()
831 else if (drv_data->quirks & LG_FF2) in lg_probe()
833 else if (drv_data->quirks & LG_FF3) in lg_probe()
835 else if (drv_data->quirks & LG_FF4) in lg_probe()
[all …]
A Dhid-belkin.c30 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in belkin_input_mapping() local
33 !(quirks & BELKIN_WKBD)) in belkin_input_mapping()
48 unsigned long quirks = id->driver_data; in belkin_probe() local
51 hid_set_drvdata(hdev, (void *)quirks); in belkin_probe()
60 ((quirks & BELKIN_HIDDEV) ? HID_CONNECT_HIDDEV_FORCE : 0)); in belkin_probe()
/linux/drivers/mmc/core/
A Dcard.h139 card->quirks |= data; in add_quirk()
144 card->quirks &= ~data; in remove_quirk()
159 card->quirks |= data; in add_quirk_mmc()
166 card->quirks &= ~data; in remove_quirk_mmc()
175 card->quirks |= data; in add_quirk_sd()
182 card->quirks &= ~data; in remove_quirk_sd()
187 return c->quirks & MMC_QUIRK_LENIENT_FN0; in mmc_card_lenient_fn0()
197 return c->quirks & MMC_QUIRK_DISABLE_CD; in mmc_card_disable_cd()
202 return c->quirks & MMC_QUIRK_NONSTD_FUNC_IF; in mmc_card_nonstd_func_interface()
212 return c->quirks & MMC_QUIRK_LONG_READ_TIME; in mmc_card_long_read_time()
[all …]
/linux/drivers/mfd/
A Dintel_pmt.c58 unsigned long quirks; member
83 .quirks = PMT_QUIRK_NO_DVSEC,
88 unsigned long quirks) in pmt_add_dev() argument
104 if (quirks & PMT_QUIRK_NO_WATCHER) { in pmt_add_dev()
111 if (quirks & PMT_QUIRK_NO_CRASHLOG) { in pmt_add_dev()
134 if (quirks & PMT_QUIRK_TABLE_SHIFT) in pmt_add_dev()
161 unsigned long quirks = 0; in pmt_pci_probe() local
172 quirks = info->quirks; in pmt_pci_probe()
174 if (info && (info->quirks & PMT_QUIRK_NO_DVSEC)) { in pmt_pci_probe()
179 ret = pmt_add_dev(pdev, *header, quirks); in pmt_pci_probe()
[all …]
/linux/drivers/gpu/drm/panfrost/
A Dpanfrost_gpu.c92 u32 quirks = 0; in panfrost_gpu_init_quirks() local
96 quirks |= SC_LS_PAUSEBUFFER_DISABLE; in panfrost_gpu_init_quirks()
99 quirks |= SC_SDC_DISABLE_OQ_DISCARD; in panfrost_gpu_init_quirks()
102 quirks |= SC_ENABLE_TEXGRD_FLAGS; in panfrost_gpu_init_quirks()
106 quirks |= SC_LS_ATTR_CHECK_DISABLE; in panfrost_gpu_init_quirks()
108 quirks |= SC_LS_ALLOW_ATTR_TYPES; in panfrost_gpu_init_quirks()
112 quirks |= SC_TLS_HASH_ENABLE; in panfrost_gpu_init_quirks()
114 if (quirks) in panfrost_gpu_init_quirks()
122 quirks |= TC_CLOCK_GATE_OVERRIDE; in panfrost_gpu_init_quirks()
139 quirks = 0; in panfrost_gpu_init_quirks()
[all …]
/linux/drivers/platform/x86/
A Deeepc-wmi.c104 static struct quirk_entry *quirks; variable
114 quirks = &quirk_asus_et2012_type1; in et2012_quirks()
116 quirks = &quirk_asus_et2012_type3; in et2012_quirks()
126 quirks = dmi->driver_data; in dmi_matched()
211 quirks = &quirk_asus_unknown; in eeepc_wmi_quirks()
212 quirks->hotplug_wireless = hotplug_wireless; in eeepc_wmi_quirks()
216 driver->quirks = quirks; in eeepc_wmi_quirks()
217 driver->quirks->wapf = -1; in eeepc_wmi_quirks()
A Dasus-nb-wmi.c48 static struct quirk_entry *quirks; variable
129 quirks = dmi->driver_data; in dmi_matched()
481 quirks = &quirk_asus_unknown; in asus_nb_wmi_quirks()
484 driver->quirks = quirks; in asus_nb_wmi_quirks()
489 quirks->wapf = wapf; in asus_nb_wmi_quirks()
491 wapf = quirks->wapf; in asus_nb_wmi_quirks()
495 quirks->use_kbd_dock_devid = false; in asus_nb_wmi_quirks()
496 quirks->use_lid_flip_devid = false; in asus_nb_wmi_quirks()
499 quirks->use_kbd_dock_devid = true; in asus_nb_wmi_quirks()
504 quirks->use_lid_flip_devid = true; in asus_nb_wmi_quirks()
[all …]
A Dmsi-laptop.c212 if (quirks->ec_read_only) in set_device_state()
313 if (quirks->old_ec_model) { in show_wlan()
337 if (quirks->old_ec_model) { in show_bluetooth()
362 if (quirks->old_ec_model) in show_threeg()
590 quirks = dmi->driver_data; in dmi_check_cb()
770 if (quirks->ec_read_only) in msi_rfkill_set_state()
822 if (quirks->ec_delay) { in msi_laptop_i8042_filter()
831 if (quirks->ec_delay) { in msi_laptop_i8042_filter()
902 if (quirks->ec_delay) { in rfkill_init()
1038 if (!quirks) in msi_init()
[all …]
/linux/drivers/usb/core/
A Dquirks.c617 u32 quirks = 0; in usb_detect_static_quirks() local
627 quirks |= (u32)(id->driver_info); in usb_detect_static_quirks()
630 return quirks; in usb_detect_static_quirks()
665 udev->quirks |= usb_detect_static_quirks(udev, in usb_detect_quirks()
670 if (udev->quirks) in usb_detect_quirks()
672 udev->quirks); in usb_detect_quirks()
675 if (!(udev->quirks & USB_QUIRK_RESET)) in usb_detect_quirks()
686 u32 quirks; in usb_detect_interface_quirks() local
689 if (quirks == 0) in usb_detect_interface_quirks()
693 quirks); in usb_detect_interface_quirks()
[all …]
/linux/drivers/net/ethernet/via/
A Dvia-rhine.c467 u32 quirks; member
674 u32 quirks) in verify_mmio() argument
722 if (rp->quirks & rqWOL) in rhine_reload_eeprom()
921 rp->quirks = quirks; in rhine_init_one_common()
973 if (rp->quirks & rqMgmt) in rhine_init_one_common()
1047 u32 quirks = 0; in rhine_init_one_pci() local
1055 quirks |= rqRhineI; in rhine_init_one_pci()
1061 quirks |= rqIntPHY; in rhine_init_one_pci()
1065 quirks |= rqMgmt; in rhine_init_one_pci()
1118 const u32 *quirks; in rhine_init_one_platform() local
[all …]
/linux/drivers/gpu/drm/rcar-du/
A Drcar_lvds.c55 unsigned int quirks; member
419 if (lvds->info->quirks & RCAR_LVDS_QUIRK_LANES) in __rcar_lvds_atomic_enable()
428 if (lvds->info->quirks & RCAR_LVDS_QUIRK_DUAL_LINK) { in __rcar_lvds_atomic_enable()
499 if (lvds->info->quirks & RCAR_LVDS_QUIRK_PWD) { in __rcar_lvds_atomic_enable()
505 if (lvds->info->quirks & RCAR_LVDS_QUIRK_GEN3_LVEN) { in __rcar_lvds_atomic_enable()
511 if (!(lvds->info->quirks & RCAR_LVDS_QUIRK_PWD)) in __rcar_lvds_atomic_enable()
729 if (lvds->info->quirks & RCAR_LVDS_QUIRK_DUAL_LINK) in rcar_lvds_parse_dt()
739 if (lvds->info->quirks & RCAR_LVDS_QUIRK_EXT_PLL) in rcar_lvds_parse_dt()
772 if (!(lvds->info->quirks & RCAR_LVDS_QUIRK_EXT_PLL)) in rcar_lvds_get_clocks()
800 .quirks = RCAR_LVDS_QUIRK_LANES,
[all …]
/linux/drivers/bus/
A Dti-sysc.c164 if (ddata->cfg.quirks & SYSC_QUIRK_16BIT) { in sysc_write()
183 if (ddata->cfg.quirks & SYSC_QUIRK_16BIT) { in sysc_read()
1470 if (ddata->cfg.quirks & in sysc_noirq_suspend()
1489 if (ddata->cfg.quirks & in sysc_noirq_resume()
1524 u32 quirks; member
1537 .quirks = (optquirkmask), \
1734 ddata->cfg.quirks |= q->quirks; in sysc_init_early_quirks()
1763 ddata->cfg.quirks |= q->quirks; in sysc_init_revision_quirks()
2999 ddata->cfg.quirks |= ddata->cap->mod_quirks; in sysc_init_match()
3024 if (ddata->cfg.quirks & SYSC_QUIRK_NO_IDLE) in ti_sysc_idle()
[all …]
/linux/drivers/platform/x86/dell/
A Dalienware-wmi.c59 static struct quirk_entry *quirks; variable
113 quirks = dmi->driver_data; in dmi_matched()
267 for (zone = 0; zone < quirks->num_zones; zone++) { in match_zone()
623 if (quirks->hdmi_mux > 0) in remove_hdmi()
679 if (quirks->amplifier > 0) in remove_amplifier()
760 if (quirks->deepslp > 0) in remove_deepsleep()
788 if (quirks == NULL) in alienware_wmi_init()
789 quirks = &quirk_unknown; in alienware_wmi_init()
803 if (quirks->hdmi_mux > 0) { in alienware_wmi_init()
809 if (quirks->amplifier > 0) { in alienware_wmi_init()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_quirks.c16 i915->quirks |= QUIRK_LVDS_SSC_DISABLE; in quirk_ssc_force_disable()
26 i915->quirks |= QUIRK_INVERT_BRIGHTNESS; in quirk_invert_brightness()
33 i915->quirks |= QUIRK_BACKLIGHT_PRESENT; in quirk_backlight_present()
42 i915->quirks |= QUIRK_INCREASE_T12_DELAY; in quirk_increase_t12_delay()
52 i915->quirks |= QUIRK_INCREASE_DDI_DISABLED_TIME; in quirk_increase_ddi_disabled_time()
58 i915->quirks |= QUIRK_NO_PPS_BACKLIGHT_POWER_HOOK; in quirk_no_pps_backlight_power_hook()
/linux/arch/arm/mach-davinci/
A Dpdata-quirks.c191 static void pdata_quirks_check(struct pdata_init *quirks) in pdata_quirks_check() argument
193 while (quirks->compatible) { in pdata_quirks_check()
194 if (of_machine_is_compatible(quirks->compatible)) { in pdata_quirks_check()
195 if (quirks->fn) in pdata_quirks_check()
196 quirks->fn(); in pdata_quirks_check()
198 quirks++; in pdata_quirks_check()
/linux/drivers/mmc/host/
A Dsdhci-pltfm.c67 host->quirks |= SDHCI_QUIRK_BROKEN_DMA; in sdhci_get_compatibility()
73 host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL; in sdhci_get_compatibility()
87 host->quirks |= SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12; in sdhci_get_property()
92 host->quirks |= SDHCI_QUIRK_FORCE_1_BIT_DATA; in sdhci_get_property()
95 host->quirks |= SDHCI_QUIRK_INVERTED_WRITE_PROTECT; in sdhci_get_property()
98 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION; in sdhci_get_property()
152 host->quirks = pdata->quirks; in sdhci_pltfm_init()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dhwif.c105 int (*quirks)(struct stmmac_priv *priv); member
125 .quirks = stmmac_dwmac1_quirks,
143 .quirks = stmmac_dwmac1_quirks,
161 .quirks = stmmac_dwmac4_quirks,
179 .quirks = NULL,
197 .quirks = NULL,
215 .quirks = NULL,
234 .quirks = NULL,
253 .quirks = stmmac_dwxlgmac_quirks,
335 priv->hwif_quirks = entry->quirks; in stmmac_hwif_init()

Completed in 82 milliseconds

12345678910>>...24