| /linux/drivers/xen/xen-pciback/ |
| H A D | conf_space_quirks.c | 41 "quirk didn't match any device known\n"); in xen_pcibk_find_quirk() 46 static inline void register_quirk(struct xen_pcibk_config_quirk *quirk) in register_quirk() argument 48 list_add_tail(&quirk->quirks_list, &xen_pcibk_quirks); in register_quirk() 97 struct xen_pcibk_config_quirk *quirk; in xen_pcibk_config_quirks_init() local 100 quirk = kzalloc_obj(*quirk); in xen_pcibk_config_quirks_init() 101 if (!quirk) { in xen_pcibk_config_quirks_init() 106 quirk->devid.vendor = dev->vendor; in xen_pcibk_config_quirks_init() 107 quirk->devid.device = dev->device; in xen_pcibk_config_quirks_init() 108 quirk->devid.subvendor = dev->subsystem_vendor; in xen_pcibk_config_quirks_init() 109 quirk->devid.subdevice = dev->subsystem_device; in xen_pcibk_config_quirks_init() [all …]
|
| /linux/sound/soc/intel/boards/ |
| H A D | sof_es8336.c | 27 #define SOF_ES8336_SSP_CODEC(quirk) ((quirk) & GENMASK(3, 0)) argument 36 #define SOF_NO_OF_HDMI_CAPTURE_SSP(quirk) \ argument 37 (((quirk) << SOF_NO_OF_HDMI_CAPTURE_SSP_SHIFT) & SOF_NO_OF_HDMI_CAPTURE_SSP_MASK) 41 #define SOF_HDMI_CAPTURE_1_SSP(quirk) \ argument 42 (((quirk) << SOF_HDMI_CAPTURE_1_SSP_SHIFT) & SOF_HDMI_CAPTURE_1_SSP_MASK) 46 #define SOF_HDMI_CAPTURE_2_SSP(quirk) \ argument 47 (((quirk) << SOF_HDMI_CAPTURE_2_SSP_SHIFT) & SOF_HDMI_CAPTURE_2_SSP_MASK) 54 static unsigned long quirk; variable 57 module_param_named(quirk, quirk_override, int, 0444); 58 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); [all …]
|
| H A D | bytcht_es8316.c | 52 #define BYT_CHT_ES8316_MAP(quirk) ((quirk) & BYT_CHT_ES8316_MAP_MASK) argument 57 static unsigned long quirk; variable 60 module_param_named(quirk, quirk_override, int, 0444); 61 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 67 map = BYT_CHT_ES8316_MAP(quirk); in log_quirks() 70 dev_info(dev, "quirk IN1_MAP enabled"); in log_quirks() 73 dev_info(dev, "quirk IN2_MAP enabled"); in log_quirks() 76 dev_warn_once(dev, "quirk sets invalid input map: 0x%x, default to INTMIC_IN1_MAP\n", map); in log_quirks() 77 quirk &= ~BYT_CHT_ES8316_MAP_MASK; in log_quirks() 78 quirk |= BYT_CHT_ES8316_INTMIC_IN1_MAP; in log_quirks() [all …]
|
| H A D | sof_board_helpers.h | 21 #define SOF_SSP_PORT_CODEC(quirk) \ argument 22 (((quirk) << SOF_SSP_PORT_CODEC_SHIFT) & SOF_SSP_PORT_CODEC_MASK) 27 #define SOF_SSP_PORT_AMP(quirk) \ argument 28 (((quirk) << SOF_SSP_PORT_AMP_SHIFT) & SOF_SSP_PORT_AMP_MASK) 33 #define SOF_SSP_PORT_BT_OFFLOAD(quirk) \ argument 34 (((quirk) << SOF_SSP_PORT_BT_OFFLOAD_SHIFT) & SOF_SSP_PORT_BT_OFFLOAD_MASK) 39 #define SOF_SSP_MASK_HDMI_CAPTURE(quirk) \ argument 40 (((quirk) << SOF_SSP_MASK_HDMI_CAPTURE_SHIFT) & SOF_SSP_MASK_HDMI_CAPTURE_MASK) 45 #define SOF_NUM_IDISP_HDMI(quirk) \ argument 46 (((quirk) << SOF_NUM_IDISP_HDMI_SHIFT) & SOF_NUM_IDISP_HDMI_MASK)
|
| H A D | sof_sdw_common.h | 44 #define SOF_SSP_GET_PORT(quirk) (((quirk) >> 7) & GENMASK(5, 0)) argument 51 #define SOF_BT_OFFLOAD_SSP(quirk) \ argument 52 (((quirk) << SOF_BT_OFFLOAD_SSP_SHIFT) & SOF_BT_OFFLOAD_SSP_MASK)
|
| /linux/drivers/media/i2c/ccs/ |
| H A D | ccs-quirk.h | 3 * drivers/media/i2c/ccs/ccs-quirk.h 26 * @init: Quirk initialisation, called the last in probe(). This is 28 * @reg_access: Register access quirk. The quirk may divert the access 34 * by the quirk on read 38 * @flags: Quirk flags 66 ((sensor)->minfo.quirk && \ 67 (sensor)->minfo.quirk->_quirk ? \ 68 (sensor)->minfo.quirk->_quirk(sensor, ##__VA_ARGS__) : 0) 71 ((sensor)->minfo.quirk ? \ 72 (sensor)->minfo.quirk->flags & _quirk : 0)
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
| H A D | agp.c | 106 const struct nvkm_device_agp_quirk *quirk = nvkm_device_agp_quirks; in nvkm_agp_ctor() local 139 while (quirk->hostbridge_vendor) { in nvkm_agp_ctor() 140 if (info.device->vendor == quirk->hostbridge_vendor && in nvkm_agp_ctor() 141 info.device->device == quirk->hostbridge_device && in nvkm_agp_ctor() 142 (quirk->chip_vendor == (u16)PCI_ANY_ID || in nvkm_agp_ctor() 143 pci->pdev->vendor == quirk->chip_vendor) && in nvkm_agp_ctor() 144 (quirk->chip_device == (u16)PCI_ANY_ID || in nvkm_agp_ctor() 145 pci->pdev->device == quirk->chip_device)) { in nvkm_agp_ctor() 148 quirk->mode); in nvkm_agp_ctor() 149 mode = quirk->mode; in nvkm_agp_ctor() [all …]
|
| /linux/include/ufs/ |
| H A D | ufs_quirks.h | 22 * ufs_dev_quirk - ufs device quirk info 24 * @quirk: device quirk 29 unsigned int quirk; member 52 * enable this quirk to initiate quick error recovery and also silence related 76 * PA_TACTIVATE, enabling this quirk ensure this. 92 * enabling this quirk ensure this. 98 * the firmware. Enable this quirk to make UFS core driver probe and enable 105 * Enable this quirk to give it an additional 100us.
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | snps,dwc3-common.yaml | 79 snps,dis-start-transfer-quirk: 100 description: Set if we want to enable u2exit lfps quirk 104 description: Set if we enable P3 OK for U2/SS Inactive quirk 160 snps,dis-u1-entry-quirk: 164 snps,dis-u2-entry-quirk: 173 snps,dis-u2-freeclk-exists-quirk: 179 snps,dis-del-phy-power-chg-quirk: 184 snps,dis-tx-ipgap-linecheck-quirk: 188 snps,parkmode-disable-ss-quirk: 193 snps,parkmode-disable-hs-quirk: [all …]
|
| H A D | rockchip,rk3399-dwc3.yaml | 107 snps,dis-u2-freeclk-exists-quirk; 109 snps,dis-del-phy-power-chg-quirk; 110 snps,dis-tx-ipgap-linecheck-quirk;
|
| /linux/sound/usb/ |
| H A D | card.c | 101 MODULE_PARM_DESC(quirk_alias, "Quirk aliases, e.g. 0123abcd:5678beef."); 103 MODULE_PARM_DESC(delayed_register, "Quirk for delayed registration, given by id:iface, e.g. 0123abcd:4."); 617 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_shortname() argument 626 else if (quirk && quirk->product_name) in usb_audio_make_shortname() 627 s = quirk->product_name; in usb_audio_make_shortname() 649 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_longname() argument 668 else if (quirk && quirk->vendor_name) in usb_audio_make_longname() 669 s = quirk in usb_audio_make_longname() 744 snd_usb_audio_create(struct usb_interface * intf,struct usb_device * dev,int idx,const struct snd_usb_audio_quirk * quirk,unsigned int usb_id,struct snd_usb_audio ** rchip) snd_usb_audio_create() argument 921 const struct snd_usb_audio_quirk *quirk = usb_audio_probe() local [all...] |
| H A D | midi2.h | 10 const struct snd_usb_audio_quirk *quirk, 20 const struct snd_usb_audio_quirk *quirk, in snd_usb_midi_v2_create() argument 24 quirk, usb_id, &chip->num_rawmidis); in snd_usb_midi_v2_create()
|
| H A D | implicit.c | 47 /* Implicit feedback quirk table for playback */ 77 /* Implicit feedback quirk table for capture: only FIXED type */ 176 /* capture quirk for Roland device; always full-duplex */ 259 /* More generic quirk: look for the sync EP next to the data EP */ 290 /* Setup an implicit feedback endpoint from a quirk. Returns 0 if no quirk 291 * applies. Returns 1 if a quirk was found. 306 return 0; /* No quirk */ in audioformat_implicit_fb_quirk() 318 return 0; /* no quirk */ in audioformat_implicit_fb_quirk() 356 /* No quirk */ in audioformat_implicit_fb_quirk() 379 return 1; /* skip the quirk, also don't handle generic sync EP */ in audioformat_capture_quirk()
|
| H A D | midi.h | 48 const struct snd_usb_audio_quirk *quirk, 55 const struct snd_usb_audio_quirk *quirk) in snd_usbmidi_create() argument 57 return __snd_usbmidi_create(card, iface, midi_list, quirk, 0, NULL); in snd_usbmidi_create()
|
| /linux/drivers/usb/host/ |
| H A D | ohci-pci.c | 69 * identify the USB (fn2). This quirk might apply to more or 118 ohci_dbg (ohci, "enabled big endian Toshiba quirk\n"); in ohci_quirk_toshiba_scc() 121 ohci_err (ohci, "unsupported big endian Toshiba quirk\n"); in ohci_quirk_toshiba_scc() 126 /* Check for NEC chip and apply quirk for allegedly lost interrupts. 146 ohci_dbg (ohci, "enabled NEC chipset lost interrupt quirk\n"); in ohci_quirk_nec() 161 ohci_dbg(ohci, "enabled AMD prefetch quirk\n"); in ohci_quirk_amd700() 179 * offset (0x1000) to the OHCI registers as a quirk. in ohci_quirk_loongson() 192 ohci_dbg(ohci, "enabled qemu quirk\n"); in ohci_quirk_qemu() 272 int (*quirk)(struct usb_hcd *ohci); in ohci_pci_reset() local 273 quirk = (void *)quirk_id->driver_data; in ohci_pci_reset() [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | smccc-call.S | 34 beq 1f // No quirk structure 37 bne 1f // No quirk present 50 * struct arm_smccc_quirk *quirk) 60 * struct arm_smccc_quirk *quirk)
|
| /linux/drivers/tty/serial/8250/ |
| H A D | serial_cs.c | 90 const struct serial_quirk *quirk; member 127 * be handled by setting the quirk entry .multi = 0 | 1 ? 294 if (info->quirk && info->quirk->wakeup) in serial_resume() 295 info->quirk->wakeup(link); in serial_resume() 361 if (info->quirk && info->quirk->setup) in setup_serial() 362 info->quirk->setup(handle, &uart); in setup_serial() 475 if (info->quirk && info->quirk->config) in simple_config() 476 info->quirk->config(link); in simple_config() 552 if (info->quirk && info->quirk->config) in multi_config() 553 info->quirk->config(link); in multi_config() [all …]
|
| /linux/sound/core/ |
| H A D | misc.c | 28 * snd_pci_quirk_lookup_id - look up a PCI SSID quirk list 31 * @list: quirk list, terminated by a null entry 33 * Look through the given quirk list and finds a matching entry 57 * snd_pci_quirk_lookup - look up a PCI SSID quirk list 59 * @list: quirk list, terminated by a null entry 61 * Look through the given quirk list and finds a matching entry
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-acpi-quirks.c | 400 const struct acpi_gpiolib_dmi_quirk *quirk = NULL; in acpi_gpio_setup_params() local 405 quirk = id->driver_data; in acpi_gpio_setup_params() 408 if (quirk && quirk->no_edge_events_on_boot) in acpi_gpio_setup_params() 414 if (ignore_wake == NULL && quirk && quirk->ignore_wake) in acpi_gpio_setup_params() 415 ignore_wake = quirk->ignore_wake; in acpi_gpio_setup_params() 417 if (ignore_interrupt == NULL && quirk && quirk->ignore_interrupt) in acpi_gpio_setup_params() 418 ignore_interrupt = quirk->ignore_interrupt; in acpi_gpio_setup_params()
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | imx-ddr.rst | 35 * With DDR_CAP_AXI_ID_FILTER quirk(filter: 1, enhanced_filter: 0, super_filter: 0). 67 * With DDR_CAP_AXI_ID_FILTER_ENHANCED quirk(filter: 1, enhanced_filter: 1, super_filter: 0). 68 This is an extension to the DDR_CAP_AXI_ID_FILTER quirk which permits 72 * With DDR_CAP_AXI_ID_PORT_CHANNEL_FILTER quirk(filter: 0, enhanced_filter: 0, super_filter: 1). 74 at the same time as the filter is shared between counters. This quirk is the
|
| /linux/arch/arm/mach-shmobile/ |
| H A D | Makefile | 25 obj-$(CONFIG_ARCH_R8A7790) += regulator-quirk-rcar-gen2.o 26 obj-$(CONFIG_ARCH_R8A7791) += regulator-quirk-rcar-gen2.o 27 obj-$(CONFIG_ARCH_R8A7793) += regulator-quirk-rcar-gen2.o
|
| /linux/drivers/acpi/ |
| H A D | pci_irq.c | 113 const struct prt_quirk *quirk; in do_prt_fixups() local 116 quirk = &prt_quirks[i]; in do_prt_fixups() 119 if (dmi_check_system(quirk->system) && in do_prt_fixups() 120 entry->id.segment == quirk->segment && in do_prt_fixups() 121 entry->id.bus == quirk->bus && in do_prt_fixups() 122 entry->id.device == quirk->device && in do_prt_fixups() 123 entry->pin == quirk->pin && in do_prt_fixups() 124 !strcmp(prt->source, quirk->source) && in do_prt_fixups() 125 strlen(prt->source) >= strlen(quirk->actual_source)) { in do_prt_fixups() 131 prt->source, quirk->actual_source); in do_prt_fixups() [all …]
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | models.rst | 29 Quirk for FSC S7020 31 Quirk for FSC S7020 with jack modes and HP mic support 499 Toshiba P105 quirk 501 HP 530 quirk 511 Lenovo X200 quirk 524 Thinkpad mute/mic LED quirk 526 Lemote A1004 quirk 528 Lemote A1205 quirk 530 OLPC XO quirk 783 Generic Apple quirk
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am65-iot2050-usb3.dtsi | 25 snps,dis-u1-entry-quirk; 26 snps,dis-u2-entry-quirk;
|
| /linux/arch/x86/kernel/ |
| H A D | ebda.c | 26 * - This code also contains a quirk for Dell systems that neglect 29 * - The same quirk also avoids a problem with the AMD768MPX 35 * 'BIOS RAM size' pointer we can rely on, so we must quirk
|