| /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(sizeof(*quirk), GFP_KERNEL); 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/arch/arm/mach-shmobile/ |
| H A D | regulator-quirk-rcar-gen2.c | 3 * R-Car Generation 2 da9063(L)/da9210 regulator quirk 15 * To handle this, install a quirk that masks the interrupts in both the 16 * da9063 and da9210. This quirk has to run after the i2c master driver has 124 dev_info(dev, "IRQ2 is not asserted, removing quirk\n"); in regulator_quirk_notify() 143 struct regulator_quirk *quirk, *pos, *tmp; in rcar_gen2_regulator_quirk() local 167 quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); in rcar_gen2_regulator_quirk() 168 if (!quirk) { in rcar_gen2_regulator_quirk() 174 argsa = &quirk->irq_args; in rcar_gen2_regulator_quirk() 175 memcpy(&quirk->i2c_msg, id->data, sizeof(quirk->i2c_msg)); in rcar_gen2_regulator_quirk() 177 quirk->id = id; in rcar_gen2_regulator_quirk() [all …]
|
| 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/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/net/bluetooth/ |
| H A D | hci.h | 75 /* When this quirk is set, the HCI Reset command is send when 78 * This quirk must be set before hci_register_dev is called. 82 /* When this quirk is set, the device is turned into a raw-only 85 * This quirk must be set before hci_register_dev is called. 89 /* When this quirk is set, the buffer sizes reported by 92 * This quirk must be set before hci_register_dev is called. 96 /* When this quirk is set, then a controller that does not 104 * This quirk must be set before hci_register_dev is called. 108 /* When this quirk is set, then the HCI Read Local Supported 114 * This quirk must be set before hci_register_dev is called. [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.
|
| H A D | ufshcd.h | 543 * Control Command) coming from device then enable this quirk. 544 * When this quirk is enabled, host controller driver should disable 558 * This quirk needs to be enabled if the host controller only allows 565 * This quirk needs to be enabled if the host controller doesn't 566 * advertise the correct version in UFS_VER register. If this quirk 578 * This quirk needs to be enabled if host controller doesn't allow 590 * This quirk needs to be enabled if the host controller regards 596 * This quirk needs to be enabled if the host controller reports 602 * This quirk needs to be enabled if the host controller has 608 * This quirk needs to disable manual flush for write booster [all …]
|
| /linux/sound/soc/intel/boards/ |
| 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/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. 0123abc… 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->vendor_name; in usb_audio_make_longname() 727 /* take the default quirk from the quirk table */ in snd_usb_init_quirk_flags() 730 /* add or correct quirk bits from options */ in snd_usb_init_quirk_flags() [all …]
|
| 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 | 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 | 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/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 …]
|
| /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/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/drivers/misc/mei/ |
| H A D | hw-me.h | 21 * @quirk_probe: device exclusion quirk 90 * with quirk for Node Manager exclusion. 96 * servers platforms with quirk for 100 * servers platforms with quirk for 103 * servers platforms with quirk for 109 * servers platforms with quirk for
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-acpi-quirks.c | 378 const struct acpi_gpiolib_dmi_quirk *quirk = NULL; in acpi_gpio_setup_params() local 383 quirk = id->driver_data; in acpi_gpio_setup_params() 386 if (quirk && quirk->no_edge_events_on_boot) in acpi_gpio_setup_params() 392 if (ignore_wake == NULL && quirk && quirk->ignore_wake) in acpi_gpio_setup_params() 393 ignore_wake = quirk->ignore_wake; in acpi_gpio_setup_params() 395 if (ignore_interrupt == NULL && quirk && quirk->ignore_interrupt) in acpi_gpio_setup_params() 396 ignore_interrupt = quirk->ignore_interrupt; in acpi_gpio_setup_params()
|
| /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/soundwire/ |
| H A D | dmi-quirks.c | 110 /* quirk used for NUC15 'Bishop County' LAPBC510 and LAPBC710 skews */ 118 /* quirk used for NUC15 LAPBC710 skew */ 126 /* quirk used for NUC15 'Rooks County' LAPRC510 and LAPRC710 skews */ 134 /* quirk used for NUC15 LAPRC710 skew */ 163 /* check if any address remap quirk applies */ in sdw_dmi_override_adr()
|
| /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/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/include/linux/ |
| H A D | arm-smccc.h | 474 * struct arm_smccc_quirk - Contains quirk information 475 * @id: quirk identification 476 * @state: quirk specific information 477 * @a6: Qualcomm quirk entry for returning post-smc call contents of a6 490 * @quirk: points to an arm_smccc_quirk, or NULL when no quirks are required. 496 * quirk structure provides vendor specific behavior. 502 struct arm_smccc_res *res, struct arm_smccc_quirk *quirk); 507 struct arm_smccc_res *res, struct arm_smccc_quirk *quirk) in __arm_smccc_smc() argument 517 * @quirk: points to an arm_smccc_quirk, or NULL when no quirks are required. 523 * optional quirk structure provides vendor specific behavior. [all …]
|