Home
last modified time | relevance | path

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

12345678910>>...23

/linux-6.1.9/drivers/usb/host/
Dxhci-pci.c116 xhci->quirks |= driver_data->quirks; in xhci_pci_quirks()
125 xhci->quirks |= XHCI_RESET_EP_QUIRK; in xhci_pci_quirks()
131 xhci->quirks |= XHCI_SLOW_SUSPEND; in xhci_pci_quirks()
138 xhci->quirks |= XHCI_BROKEN_STREAMS; in xhci_pci_quirks()
143 xhci->quirks |= XHCI_BROKEN_MSI; in xhci_pci_quirks()
148 xhci->quirks |= XHCI_TRUST_TX_LENGTH; in xhci_pci_quirks()
153 xhci->quirks |= XHCI_BROKEN_STREAMS; in xhci_pci_quirks()
157 xhci->quirks |= XHCI_TRUST_TX_LENGTH; in xhci_pci_quirks()
160 xhci->quirks |= XHCI_NEC_HOST; in xhci_pci_quirks()
163 xhci->quirks |= XHCI_AMD_0x96_HOST; in xhci_pci_quirks()
[all …]
/linux-6.1.9/drivers/net/can/flexcan/
Dflexcan.h73 u32 quirks; /* quirks needed for different IP cores */ member
122 const u32 quirks = priv->devtype_data.quirks; in flexcan_supports_rx_mailbox() local
124 return quirks & FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX; in flexcan_supports_rx_mailbox()
130 const u32 quirks = priv->devtype_data.quirks; in flexcan_supports_rx_mailbox_rtr() local
132 return (quirks & (FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX | in flexcan_supports_rx_mailbox_rtr()
141 const u32 quirks = priv->devtype_data.quirks; in flexcan_supports_rx_fifo() local
143 return quirks & FLEXCAN_QUIRK_SUPPORT_RX_FIFO; in flexcan_supports_rx_fifo()
149 const u32 quirks = priv->devtype_data.quirks; in flexcan_active_rx_rtr() local
151 if (quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) { in flexcan_active_rx_rtr()
152 if (quirks & FLEXCAN_QUIRK_SUPPORT_RX_MAILBOX_RTR) in flexcan_active_rx_rtr()
Dflexcan-ethtool.c30 if (priv->devtype_data.quirks & FLEXCAN_QUIRK_USE_RX_MAILBOX) in flexcan_get_ringparam()
64 u32 quirks = priv->devtype_data.quirks; in flexcan_set_priv_flags() local
68 quirks |= FLEXCAN_QUIRK_USE_RX_MAILBOX; in flexcan_set_priv_flags()
70 quirks &= ~FLEXCAN_QUIRK_USE_RX_MAILBOX; in flexcan_set_priv_flags()
72 quirks |= FLEXCAN_QUIRK_USE_RX_MAILBOX; in flexcan_set_priv_flags()
75 quirks |= FLEXCAN_QUIRK_USE_RX_MAILBOX; in flexcan_set_priv_flags()
77 quirks &= ~FLEXCAN_QUIRK_USE_RX_MAILBOX; in flexcan_set_priv_flags()
80 if (quirks != priv->devtype_data.quirks && netif_running(ndev)) in flexcan_set_priv_flags()
83 priv->devtype_data.quirks = quirks; in flexcan_set_priv_flags()
/linux-6.1.9/drivers/irqchip/
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-6.1.9/drivers/hid/
Dhid-microsoft.c32 unsigned long quirks; member
63 unsigned long quirks = ms->quirks; in ms_report_fixup() local
69 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 && in ms_report_fixup()
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
216 if (quirks & MS_DUPLICATE_USAGES) in ms_input_mapped()
226 unsigned long quirks = ms->quirks; in ms_event() local
[all …]
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()
103 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); in cp_event() local
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()
[all …]
Dhid-multitouch.c112 __s32 quirks; member
142 __s32 quirks; member
244 .quirks = MT_QUIRK_ALWAYS_VALID |
247 .quirks = MT_QUIRK_NOT_SEEN_MEANS_UP },
249 .quirks = MT_QUIRK_ALWAYS_VALID},
251 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE },
253 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
256 .quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
259 .quirks = MT_QUIRK_VALID_IS_INRANGE |
263 .quirks = MT_QUIRK_VALID_IS_INRANGE |
[all …]
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()
Dhid-sony.c573 unsigned long quirks; member
944 if (sc->quirks & (SINO_LITE_CONTROLLER | FUTUREMAX_DANCE_MAT)) in sony_report_fixup()
951 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 && in sony_report_fixup()
963 if (sc->quirks & MOTION_CONTROLLER) in sony_report_fixup()
966 if (sc->quirks & PS3REMOTE) in sony_report_fixup()
973 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) && *rsize >= 45 && in sony_report_fixup()
1003 offset = (sc->quirks & MOTION_CONTROLLER) ? 12 : 30; in sixaxis_parse_report()
1019 if (sc->quirks & SIXAXIS_CONTROLLER) { in sixaxis_parse_report()
1049 int data_offset = (sc->quirks & DUALSHOCK4_CONTROLLER_BT) ? 2 : 0; in dualshock4_parse_report()
1205 max_touch_data = (sc->quirks & DUALSHOCK4_CONTROLLER_BT) ? 4 : 3; in dualshock4_parse_report()
[all …]
Dhid-asus.c115 unsigned long quirks; member
333 if (drvdata->quirks & QUIRK_MEDION_E1239T) in asus_raw_event()
336 if (drvdata->quirks & QUIRK_USE_KBD_BACKLIGHT) { in asus_raw_event()
356 if (drvdata->quirks & QUIRK_ROG_NKEY_KEYBOARD) { in asus_raw_event()
368 if (drvdata->quirks & QUIRK_ROG_CLAYMORE_II_KEYBOARD) { in asus_raw_event()
553 if (drvdata->quirks & QUIRK_ROG_NKEY_KEYBOARD) { in asus_kbd_register_leds()
761 if (drvdata->quirks & QUIRK_T100CHI && in asus_input_configured()
766 if (drvdata->tp && (drvdata->quirks & QUIRK_MEDION_E1239T)) { in asus_input_configured()
830 if (drvdata->quirks & QUIRK_SKIP_INPUT_MAPPING) { in asus_input_mapping()
842 if ((drvdata->quirks & (QUIRK_T100CHI | QUIRK_T90CHI)) && in asus_input_mapping()
[all …]
Dhid-lg.c435 if ((drv_data->quirks & LG_RDESC) && *rsize >= 91 && rdesc[83] == 0x26 && in lg_report_fixup()
442 if ((drv_data->quirks & LG_RDESC_REL_ABS) && *rsize >= 51 && in lg_report_fixup()
655 if ((drv_data->quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max)) in lg_input_mapping()
665 if ((drv_data->quirks & LG_IGNORE_DOUBLED_WHEEL) && in lg_input_mapping()
669 if ((drv_data->quirks & LG_EXPANDED_KEYMAP) && in lg_input_mapping()
687 if ((drv_data->quirks & LG_BAD_RELATIVE_KEYS) && usage->type == EV_KEY && in lg_input_mapped()
691 if ((drv_data->quirks & LG_DUPLICATE_USAGES) && (usage->type == EV_KEY || in lg_input_mapped()
727 if ((drv_data->quirks & LG_INVERT_HWHEEL) && usage->code == REL_HWHEEL) { in lg_event()
732 if (drv_data->quirks & LG_FF4) { in lg_event()
744 if (drv_data->quirks & LG_FF4) in lg_raw_event()
[all …]
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()
Dhid-a4tech.c29 unsigned long quirks; member
40 if (a4->quirks & A4_2WHEEL_MOUSE_HACK_B8 && in a4_input_mapping()
67 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) in a4_input_mapped()
84 if (a4->quirks & A4_2WHEEL_MOUSE_HACK_B8) { in a4_event()
99 if ((a4->quirks & A4_2WHEEL_MOUSE_HACK_7) && usage->hid == 0x00090007) { in a4_event()
124 a4->quirks = id->driver_data; in a4_probe()
/linux-6.1.9/drivers/mmc/core/
Dcard.h158 card->quirks |= data; in add_quirk()
163 card->quirks &= ~data; in remove_quirk()
182 card->quirks |= MMC_QUIRK_NONSTD_SDIO; in wl1251_quirk()
196 card->quirks |= data; in add_quirk_mmc()
203 card->quirks &= ~data; in remove_quirk_mmc()
212 card->quirks |= data; in add_quirk_sd()
219 card->quirks &= ~data; in remove_quirk_sd()
224 return c->quirks & MMC_QUIRK_LENIENT_FN0; in mmc_card_lenient_fn0()
229 return c->quirks & MMC_QUIRK_BLKSZ_FOR_BYTE_MODE; in mmc_blksz_for_byte_mode()
234 return c->quirks & MMC_QUIRK_DISABLE_CD; in mmc_card_disable_cd()
[all …]
/linux-6.1.9/drivers/platform/x86/
Deeepc-wmi.c99 static struct quirk_entry *quirks; variable
109 quirks = &quirk_asus_et2012_type1; in et2012_quirks()
111 quirks = &quirk_asus_et2012_type3; in et2012_quirks()
121 quirks = dmi->driver_data; in dmi_matched()
188 quirks = &quirk_asus_unknown; in eeepc_wmi_quirks()
189 quirks->hotplug_wireless = hotplug_wireless; in eeepc_wmi_quirks()
193 driver->quirks = quirks; in eeepc_wmi_quirks()
194 driver->quirks->wapf = -1; in eeepc_wmi_quirks()
Dmsi-laptop.c138 static struct quirk_entry *quirks; variable
210 if (quirks->ec_read_only) in set_device_state()
311 if (quirks->old_ec_model) { in show_wlan()
335 if (quirks->old_ec_model) { in show_bluetooth()
360 if (quirks->old_ec_model) in show_threeg()
588 quirks = dmi->driver_data; in dmi_check_cb()
595 if (quirks->ec_delay) in msi_work_delay()
775 if (quirks->ec_read_only) in msi_rfkill_set_state()
919 if (!quirks->load_scm_model) in msi_scm_disable_hw_fn_handling()
974 if (!quirks->ec_read_only) { in load_scm_model_init()
[all …]
/linux-6.1.9/drivers/gpu/drm/panfrost/
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_VAR_ALGORITHM; in panfrost_gpu_init_quirks()
115 quirks |= SC_TLS_HASH_ENABLE; in panfrost_gpu_init_quirks()
117 if (quirks) in panfrost_gpu_init_quirks()
118 gpu_write(pfdev, GPU_SHADER_CONFIG, quirks); in panfrost_gpu_init_quirks()
[all …]
/linux-6.1.9/drivers/usb/core/
Dquirks.c169 device_param_cb(quirks, &quirks_param_ops, &quirks_param_string, 0644);
170 MODULE_PARM_DESC(quirks, "Add/modify USB quirks by specifying quirks=vendorID:productID:quirks");
642 u32 quirks = 0; in usb_detect_static_quirks() local
652 quirks |= (u32)(id->driver_info); in usb_detect_static_quirks()
655 return quirks; in usb_detect_static_quirks()
683 udev->quirks = usb_detect_static_quirks(udev, usb_quirk_list); in usb_detect_quirks()
690 udev->quirks |= usb_detect_static_quirks(udev, in usb_detect_quirks()
693 udev->quirks ^= usb_detect_dynamic_quirks(udev); in usb_detect_quirks()
695 if (udev->quirks) in usb_detect_quirks()
697 udev->quirks); in usb_detect_quirks()
[all …]
/linux-6.1.9/drivers/mmc/host/
Drenesas_sdhi_internal_dmac.c232 .quirks = &sdhi_quirks_bad_taps2367,
237 .quirks = &sdhi_quirks_bad_taps1357,
242 .quirks = &sdhi_quirks_r8a77965,
247 .quirks = &sdhi_quirks_nohs400,
252 .quirks = &sdhi_quirks_r8a77990,
261 .quirks = &sdhi_quirks_nohs400,
266 .quirks = &sdhi_quirks_fixed_addr,
384 if (!(priv->quirks && priv->quirks->fixed_addr_mode)) in renesas_sdhi_internal_dmac_start_dma()
392 if (priv->quirks && priv->quirks->dma_one_rx_only && in renesas_sdhi_internal_dmac_start_dma()
548 const struct renesas_sdhi_quirks *quirks; in renesas_sdhi_internal_dmac_probe() local
[all …]
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()
Drenesas_sdhi_core.c144 bool use_4tap = priv->quirks && priv->quirks->hs400_4taps; in renesas_sdhi_clk_update()
385 u32 bad_taps = priv->quirks ? priv->quirks->hs400_bad_taps : 0; in renesas_sdhi_hs400_complete()
386 bool use_4tap = priv->quirks && priv->quirks->hs400_4taps; in renesas_sdhi_hs400_complete()
398 if (priv->quirks && priv->quirks->manual_tap_correction) in renesas_sdhi_hs400_complete()
549 if (priv->quirks && (priv->quirks->hs400_calib_table || priv->quirks->hs400_bad_taps)) in renesas_sdhi_reset_hs400_mode()
735 if (priv->quirks && priv->quirks->manual_tap_correction && in renesas_sdhi_manual_correction()
737 u32 bad_taps = priv->quirks ? priv->quirks->hs400_bad_taps : 0; in renesas_sdhi_manual_correction()
799 bool use_4tap = priv->quirks && priv->quirks->hs400_4taps; in renesas_sdhi_check_scc_error()
907 const struct renesas_sdhi_quirks *quirks) in renesas_sdhi_probe() argument
927 priv->quirks = quirks; in renesas_sdhi_probe()
[all …]
/linux-6.1.9/drivers/acpi/x86/
Dutils.c380 long quirks; in acpi_quirk_skip_i2c_client_enumeration() local
386 quirks = (unsigned long)dmi_id->driver_data; in acpi_quirk_skip_i2c_client_enumeration()
387 if (!(quirks & ACPI_QUIRK_SKIP_I2C_CLIENTS)) in acpi_quirk_skip_i2c_client_enumeration()
398 long quirks = 0; in acpi_quirk_skip_serdev_enumeration() local
414 quirks = (unsigned long)dmi_id->driver_data; in acpi_quirk_skip_serdev_enumeration()
416 if (quirks & ACPI_QUIRK_UART1_TTY_UART2_SKIP) { in acpi_quirk_skip_serdev_enumeration()
441 long quirks = 0; in acpi_quirk_skip_acpi_ac_and_battery() local
446 quirks = (unsigned long)dmi_id->driver_data; in acpi_quirk_skip_acpi_ac_and_battery()
448 if (quirks & ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY) in acpi_quirk_skip_acpi_ac_and_battery()
451 if (quirks & ACPI_QUIRK_USE_ACPI_AC_AND_BATTERY) in acpi_quirk_skip_acpi_ac_and_battery()
/linux-6.1.9/arch/arm/mach-davinci/
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-6.1.9/drivers/net/ethernet/via/
Dvia-rhine.c467 u32 quirks; member
556 if (rp->quirks & rqStatusWBRace) in rhine_get_events()
565 if (rp->quirks & rqStatusWBRace) in rhine_ack_events()
580 if (rp->quirks & rqWOL) { in rhine_power_init()
590 if (rp->quirks & rq6patterns) in rhine_power_init()
595 if (rp->quirks & rq6patterns) in rhine_power_init()
600 if (rp->quirks & rq6patterns) in rhine_power_init()
643 if (rp->quirks & rqForceReset) in rhine_chip_reset()
655 static void enable_mmio(long pioaddr, u32 quirks) in enable_mmio() argument
659 if (quirks & rqNeedEnMMIO) { in enable_mmio()
[all …]
/linux-6.1.9/drivers/gpu/drm/rcar-du/
Drcar_lvds.c56 unsigned int quirks; member
314 if (WARN_ON(!(lvds->info->quirks & RCAR_LVDS_QUIRK_EXT_PLL))) in rcar_lvds_pclk_enable()
333 if (WARN_ON(!(lvds->info->quirks & RCAR_LVDS_QUIRK_EXT_PLL))) in rcar_lvds_pclk_disable()
420 if (lvds->info->quirks & RCAR_LVDS_QUIRK_LANES) in __rcar_lvds_atomic_enable()
429 if (lvds->info->quirks & RCAR_LVDS_QUIRK_DUAL_LINK) { in __rcar_lvds_atomic_enable()
491 if (!(lvds->info->quirks & RCAR_LVDS_QUIRK_EXT_PLL)) { in __rcar_lvds_atomic_enable()
500 if (lvds->info->quirks & RCAR_LVDS_QUIRK_PWD) { in __rcar_lvds_atomic_enable()
506 if (lvds->info->quirks & RCAR_LVDS_QUIRK_GEN3_LVEN) { in __rcar_lvds_atomic_enable()
512 if (!(lvds->info->quirks & RCAR_LVDS_QUIRK_PWD)) in __rcar_lvds_atomic_enable()
516 if (!(lvds->info->quirks & RCAR_LVDS_QUIRK_EXT_PLL)) { in __rcar_lvds_atomic_enable()
[all …]

12345678910>>...23