/linux-6.1.9/drivers/xen/xen-pciback/ |
D | conf_space_quirks.c | 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() 110 quirk->devid.class = 0; in xen_pcibk_config_quirks_init() [all …]
|
/linux-6.1.9/sound/soc/intel/boards/ |
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 …]
|
D | bytcht_es8316.c | 49 #define BYT_CHT_ES8316_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument 54 static unsigned long quirk; variable 57 module_param_named(quirk, quirk_override, int, 0444); 58 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 62 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN1_MAP) in log_quirks() 64 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN2_MAP) in log_quirks() 66 if (quirk & BYT_CHT_ES8316_SSP0) in log_quirks() 68 if (quirk & BYT_CHT_ES8316_MONO_SPEAKER) in log_quirks() 70 if (quirk & BYT_CHT_ES8316_JD_INVERTED) in log_quirks() 169 switch (BYT_CHT_ES8316_MAP(quirk)) { in byt_cht_es8316_init() [all …]
|
D | sof_sdw_common.h | 40 #define SOF_RT711_JDSRC(quirk) ((quirk) & GENMASK(3, 0)) argument 45 #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)
|
D | sof_ssp_amp.c | 28 #define SOF_AMPLIFIER_SSP(quirk) ((quirk) & GENMASK(3, 0)) argument 35 #define SOF_NO_OF_HDMI_CAPTURE_SSP(quirk) \ argument 36 (((quirk) << SOF_NO_OF_HDMI_CAPTURE_SSP_SHIFT) & SOF_NO_OF_HDMI_CAPTURE_SSP_MASK) 40 #define SOF_HDMI_CAPTURE_1_SSP(quirk) \ argument 41 (((quirk) << SOF_HDMI_CAPTURE_1_SSP_SHIFT) & SOF_HDMI_CAPTURE_1_SSP_MASK) 45 #define SOF_HDMI_CAPTURE_2_SSP(quirk) \ argument 46 (((quirk) << SOF_HDMI_CAPTURE_2_SSP_SHIFT) & SOF_HDMI_CAPTURE_2_SSP_MASK) 52 #define SOF_NO_OF_HDMI_PLAYBACK(quirk) \ argument 53 (((quirk) << SOF_NO_OF_HDMI_PLAYBACK_SHIFT) & SOF_NO_OF_HDMI_PLAYBACK_MASK) 59 #define SOF_BT_OFFLOAD_SSP(quirk) \ argument [all …]
|
D | bytcr_rt5651.c | 61 #define BYT_RT5651_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument 62 #define BYT_RT5651_JDSRC(quirk) (((quirk) & GENMASK(7, 4)) >> 4) argument 63 #define BYT_RT5651_OVCD_TH(quirk) (((quirk) & GENMASK(12, 8)) >> 8) argument 64 #define BYT_RT5651_OVCD_SF(quirk) (((quirk) & GENMASK(14, 13)) >> 13) argument 98 module_param_named(quirk, quirk_override, int, 0444); 99 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
|
D | sof_cs42l42.c | 29 #define SOF_CS42L42_SSP_CODEC(quirk) ((quirk) & GENMASK(2, 0)) argument 34 #define SOF_CS42L42_SSP_AMP(quirk) \ argument 35 (((quirk) << SOF_CS42L42_SSP_AMP_SHIFT) & SOF_CS42L42_SSP_AMP_MASK) 38 #define SOF_CS42L42_NUM_HDMIDEV(quirk) \ argument 39 (((quirk) << SOF_CS42L42_NUM_HDMIDEV_SHIFT) & SOF_CS42L42_NUM_HDMIDEV_MASK) 47 #define SOF_CS42L42_SSP_BT(quirk) \ argument 48 (((quirk) << SOF_CS42L42_SSP_BT_SHIFT) & SOF_CS42L42_SSP_BT_MASK)
|
D | sof_nau8825.c | 29 #define SOF_NAU8825_SSP_CODEC(quirk) ((quirk) & GENMASK(2, 0)) argument 34 #define SOF_NAU8825_SSP_AMP(quirk) \ argument 35 (((quirk) << SOF_NAU8825_SSP_AMP_SHIFT) & SOF_NAU8825_SSP_AMP_MASK) 38 #define SOF_NAU8825_NUM_HDMIDEV(quirk) \ argument 39 (((quirk) << SOF_NAU8825_NUM_HDMIDEV_SHIFT) & SOF_NAU8825_NUM_HDMIDEV_MASK) 44 #define SOF_BT_OFFLOAD_SSP(quirk) \ argument 45 (((quirk) << SOF_BT_OFFLOAD_SSP_SHIFT) & SOF_BT_OFFLOAD_SSP_MASK)
|
/linux-6.1.9/arch/arm/mach-shmobile/ |
D | regulator-quirk-rcar-gen2.c | 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() 178 quirk->np = of_node_get(np); in rcar_gen2_regulator_quirk() 179 quirk->i2c_msg.addr = addr; in rcar_gen2_regulator_quirk() 184 kfree(quirk); in rcar_gen2_regulator_quirk() 199 quirk->shared = true; in rcar_gen2_regulator_quirk() [all …]
|
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-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
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-6.1.9/drivers/tty/serial/8250/ |
D | serial_cs.c | 90 const struct serial_quirk *quirk; member 300 if (info->quirk && info->quirk->wakeup) in serial_resume() 301 info->quirk->wakeup(link); in serial_resume() 367 if (info->quirk && info->quirk->setup) in setup_serial() 368 info->quirk->setup(handle, &uart); in setup_serial() 481 if (info->quirk && info->quirk->config) in simple_config() 482 info->quirk->config(link); in simple_config() 558 if (info->quirk && info->quirk->config) in multi_config() 559 info->quirk->config(link); in multi_config() 585 if (info->quirk && info->quirk->wakeup) in multi_config() [all …]
|
/linux-6.1.9/drivers/media/i2c/ccs/ |
D | ccs-quirk.h | 68 ((sensor)->minfo.quirk && \ 69 (sensor)->minfo.quirk->_quirk ? \ 70 (sensor)->minfo.quirk->_quirk(sensor, ##__VA_ARGS__) : 0) 73 ((sensor)->minfo.quirk ? \ 74 (sensor)->minfo.quirk->flags & _quirk : 0)
|
D | ccs.h | 111 const struct ccs_quirk *quirk; member 135 const struct ccs_quirk *quirk; member 144 .quirk = _quirk, } 152 .quirk = _quirk, } 167 .quirk = _quirk, }
|
/linux-6.1.9/sound/usb/hiface/ |
D | chip.c | 48 const struct hiface_vendor_quirk *quirk, in hiface_chip_create() argument 68 if (quirk && quirk->device_name) in hiface_chip_create() 69 strscpy(card->shortname, quirk->device_name, sizeof(card->shortname)); in hiface_chip_create() 90 const struct hiface_vendor_quirk *quirk = (struct hiface_vendor_quirk *)usb_id->driver_info; in hiface_chip_probe() local 116 ret = hiface_chip_create(intf, device, i, quirk, &chip); in hiface_chip_probe() 120 ret = hiface_pcm_init(chip, quirk ? quirk->extra_freq : 0); in hiface_chip_probe()
|
/linux-6.1.9/sound/usb/ |
D | card.c | 496 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_shortname() argument 505 else if (quirk && quirk->product_name) in usb_audio_make_shortname() 506 s = quirk->product_name; in usb_audio_make_shortname() 527 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_longname() argument 546 else if (quirk && quirk->vendor_name) in usb_audio_make_longname() 547 s = quirk->vendor_name; in usb_audio_make_longname() 597 const struct snd_usb_audio_quirk *quirk, in snd_usb_audio_create() argument 662 usb_audio_make_shortname(dev, chip, quirk); in snd_usb_audio_create() 663 usb_audio_make_longname(dev, chip, quirk); in snd_usb_audio_create() 771 const struct snd_usb_audio_quirk *quirk = in usb_audio_probe() local [all …]
|
D | quirks.c | 38 const struct snd_usb_audio_quirk *quirk; in create_composite_quirk() local 41 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk() 42 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk() 45 if (quirk->ifnum != probed_ifnum && in create_composite_quirk() 48 err = snd_usb_create_quirk(chip, iface, driver, quirk); in create_composite_quirk() 53 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk() 54 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk() 57 if (quirk->ifnum != probed_ifnum && in create_composite_quirk() 72 const struct snd_usb_audio_quirk *quirk) in ignore_interface_quirk() argument 81 const struct snd_usb_audio_quirk *quirk) in create_any_midi_quirk() argument [all …]
|
D | midi.h | 48 const struct snd_usb_audio_quirk *quirk, 54 const struct snd_usb_audio_quirk *quirk) in snd_usbmidi_create() argument 56 return __snd_usbmidi_create(card, iface, midi_list, quirk, 0); in snd_usbmidi_create()
|
D | quirks.h | 12 const struct snd_usb_audio_quirk *quirk); 20 const struct snd_usb_audio_quirk *quirk, 25 const struct snd_usb_audio_quirk *quirk,
|
/linux-6.1.9/drivers/acpi/ |
D | pci_irq.c | 112 const struct prt_quirk *quirk; in do_prt_fixups() local 115 quirk = &prt_quirks[i]; in do_prt_fixups() 118 if (dmi_check_system(quirk->system) && in do_prt_fixups() 119 entry->id.segment == quirk->segment && in do_prt_fixups() 120 entry->id.bus == quirk->bus && in do_prt_fixups() 121 entry->id.device == quirk->device && in do_prt_fixups() 122 entry->pin == quirk->pin && in do_prt_fixups() 123 !strcmp(prt->source, quirk->source) && in do_prt_fixups() 124 strlen(prt->source) >= strlen(quirk->actual_source)) { in do_prt_fixups() 130 prt->source, quirk->actual_source); in do_prt_fixups() [all …]
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_quirks.c | 12 static void intel_set_quirk(struct drm_i915_private *i915, enum intel_quirk_id quirk) in intel_set_quirk() argument 14 i915->display.quirks.mask |= BIT(quirk); in intel_set_quirk() 225 bool intel_has_quirk(struct drm_i915_private *i915, enum intel_quirk_id quirk) in intel_has_quirk() argument 227 return i915->display.quirks.mask & BIT(quirk); in intel_has_quirk()
|
/linux-6.1.9/drivers/firmware/ |
D | qcom_scm-smc.c | 40 struct arm_smccc_quirk quirk = { .id = ARM_SMCCC_QUIRK_QCOM_A6 }; in __scm_smc_do_quirk() local 42 quirk.state.a6 = 0; in __scm_smc_do_quirk() 47 quirk.state.a6, smc->args[7], res, &quirk); in __scm_smc_do_quirk()
|
/linux-6.1.9/Documentation/devicetree/bindings/net/nfc/ |
D | ti,trf7970a.yaml | 27 en2-rf-quirk: 35 irq-status-read-quirk: 95 irq-status-read-quirk; 96 en2-rf-quirk;
|
/linux-6.1.9/Documentation/devicetree/bindings/usb/ |
D | snps,dwc3.yaml | 111 snps,dis-start-transfer-quirk: 132 description: Set if we want to enable u2exit lfps quirk 136 description: Set if we enable P3 OK for U2/SS Inactive quirk 192 snps,dis-u1-entry-quirk: 196 snps,dis-u2-entry-quirk: 205 snps,dis-u2-freeclk-exists-quirk: 211 snps,dis-del-phy-power-chg-quirk: 216 snps,dis-tx-ipgap-linecheck-quirk: 220 snps,parkmode-disable-ss-quirk: 231 snps,dis-split-quirk: [all …]
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | pci.c | 37 const struct nvkm_device_quirk quirk; member 1625 const struct nvkm_device_quirk *quirk = NULL; in nvkm_device_pci_new() local 1648 quirk = &pciv->quirk; in nvkm_device_pci_new() 1668 ret = nvkm_device_ctor(&nvkm_device_pci_func, quirk, &pci_dev->dev, in nvkm_device_pci_new()
|