Home
last modified time | relevance | path

Searched refs:quirk (Results 1 – 25 of 149) sorted by relevance

123456

/linux/drivers/xen/xen-pciback/
A Dconf_space_quirks.c100 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()
110 quirk->devid.class = 0; in xen_pcibk_config_quirks_init()
111 quirk->devid.class_mask = 0; in xen_pcibk_config_quirks_init()
112 quirk->devid.driver_data = 0UL; in xen_pcibk_config_quirks_init()
114 quirk->pdev = dev; in xen_pcibk_config_quirks_init()
116 register_quirk(quirk); in xen_pcibk_config_quirks_init()
132 if (!quirk) { in xen_pcibk_config_quirk_release()
137 list_del(&quirk->quirks_list); in xen_pcibk_config_quirk_release()
[all …]
/linux/arch/arm/mach-shmobile/
A Dregulator-quirk-rcar-gen2.c142 struct regulator_quirk *quirk, *pos, *tmp; in rcar_gen2_regulator_quirk() local
164 quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); in rcar_gen2_regulator_quirk()
165 if (!quirk) { in rcar_gen2_regulator_quirk()
170 argsa = &quirk->irq_args; in rcar_gen2_regulator_quirk()
171 memcpy(&quirk->i2c_msg, id->data, sizeof(quirk->i2c_msg)); in rcar_gen2_regulator_quirk()
173 quirk->id = id; in rcar_gen2_regulator_quirk()
174 quirk->np = np; in rcar_gen2_regulator_quirk()
175 quirk->i2c_msg.addr = addr; in rcar_gen2_regulator_quirk()
179 kfree(quirk); in rcar_gen2_regulator_quirk()
194 quirk->shared = true; in rcar_gen2_regulator_quirk()
[all …]
A DMakefile25 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/sound/soc/intel/boards/
A Dbytcht_es8316.c49 #define BYT_CHT_ES8316_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument
54 static unsigned long quirk; variable
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()
184 if (quirk & BYT_CHT_ES8316_SSP0) { in byt_cht_es8316_init()
250 if (quirk & BYT_CHT_ES8316_SSP0) { in byt_cht_es8316_codec_fixup()
525 quirk, quirk_override); in snd_byt_cht_es8316_mc_probe()
526 quirk = quirk_override; in snd_byt_cht_es8316_mc_probe()
[all …]
A Dsof_sdw_common.h39 #define SOF_RT711_JDSRC(quirk) ((quirk) & GENMASK(3, 0)) argument
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)
A Dsof_es8336.c24 #define SOF_ES8336_SSP_CODEC(quirk) ((quirk) & GENMASK(3, 0)) argument
30 static unsigned long quirk; variable
33 module_param_named(quirk, quirk_override, int, 0444);
34 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
223 quirk = (unsigned long)id->driver_data; in sof_es8336_quirk_cb()
225 if (quirk & SOF_ES8336_TGL_GPIO_QUIRK) in sof_es8336_quirk_cb()
474 quirk = SOF_ES8336_SSP_CODEC(2); in sof_es8336_probe()
476 if (quirk & SOF_ES8336_ENABLE_DMIC) in sof_es8336_probe()
481 quirk, quirk_override); in sof_es8336_probe()
482 quirk = quirk_override; in sof_es8336_probe()
[all …]
A Dbytcr_rt5651.c61 #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");
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
A Dagp.c106 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/drivers/tty/serial/8250/
A Dserial_cs.c300 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()
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()
635 info->quirk = &quirks[i]; in serial_config()
655 if (info->quirk && info->quirk->multi != -1) in serial_config()
[all …]
/linux/sound/usb/
A Dcard.c497 else if (quirk && quirk->product_name) in usb_audio_make_shortname()
498 s = quirk->product_name; in usb_audio_make_shortname()
538 else if (quirk && quirk->vendor_name) in usb_audio_make_longname()
539 s = quirk->vendor_name; in usb_audio_make_longname()
733 const struct snd_usb_audio_quirk *quirk = in usb_audio_probe() local
746 quirk = get_alias_quirk(dev, id); in usb_audio_probe()
747 if (quirk && quirk->ifnum >= 0 && ifnum != quirk->ifnum) in usb_audio_probe()
749 if (quirk && quirk->ifnum == QUIRK_NODEV_INTERFACE) in usb_audio_probe()
832 if (quirk && quirk->ifnum != QUIRK_NO_INTERFACE) { in usb_audio_probe()
871 if (quirk) in usb_audio_probe()
[all …]
A Dquirks.c38 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()
45 if (quirk->ifnum != probed_ifnum && in create_composite_quirk()
53 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { 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
477 &chip->midi_list, quirk, in create_uaxx_quirk()
531 if (quirk->ifnum < 0) in create_standard_mixer_quirk()
576 if (quirk->type < QUIRK_TYPE_COUNT) { in snd_usb_create_quirk()
[all …]
A Dmidi.h48 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()
A Dquirks.h12 const struct snd_usb_audio_quirk *quirk);
20 const struct snd_usb_audio_quirk *quirk,
25 const struct snd_usb_audio_quirk *quirk,
/linux/drivers/media/i2c/ccs/
A Dccs-quirk.h68 ((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)
A Dccs.h111 const struct ccs_quirk *quirk; member
135 const struct ccs_quirk *quirk; member
144 .quirk = _quirk, }
152 .quirk = _quirk, }
167 .quirk = _quirk, }
/linux/sound/usb/hiface/
A Dchip.c48 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/drivers/acpi/
A Dpci_irq.c112 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/drivers/firmware/
A Dqcom_scm-smc.c40 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/Documentation/devicetree/bindings/net/nfc/
A Dti,trf7970a.yaml27 en2-rf-quirk:
35 irq-status-read-quirk:
94 irq-status-read-quirk;
95 en2-rf-quirk;
/linux/Documentation/devicetree/bindings/usb/
A Dsnps,dwc3.yaml103 snps,dis-start-transfer-quirk:
124 description: Set if we want to enable u2exit lfps quirk
128 description: Set if we enable P3 OK for U2/SS Inactive quirk
184 snps,dis-u1-entry-quirk:
188 snps,dis-u2-entry-quirk:
197 snps,dis-u2-freeclk-exists-quirk:
203 snps,dis-del-phy-power-chg-quirk:
208 snps,dis-tx-ipgap-linecheck-quirk:
212 snps,parkmode-disable-ss-quirk:
223 snps,dis-split-quirk:
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
A Dpci.c37 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()
/linux/drivers/scsi/ufs/
A Dufs_quirks.h29 unsigned int quirk; member
38 .quirk = (_quirk), \
/linux/drivers/ata/
A Dpata_arasan_cf.c798 u32 quirk; in arasan_cf_probe() local
817 quirk = pdata->quirk; in arasan_cf_probe()
819 quirk = CF_BROKEN_UDMA; /* as it is on spear1340 */ in arasan_cf_probe()
832 quirk |= CF_BROKEN_MWDMA | CF_BROKEN_UDMA; in arasan_cf_probe()
871 if (quirk) { in arasan_cf_probe()
872 if (quirk & CF_BROKEN_PIO) { in arasan_cf_probe()
876 if (quirk & CF_BROKEN_MWDMA) in arasan_cf_probe()
878 if (quirk & CF_BROKEN_UDMA) in arasan_cf_probe()
/linux/arch/arm64/boot/dts/ti/
A Dk3-am65-iot2050-common-pg2.dtsi49 snps,dis-u1-entry-quirk;
50 snps,dis-u2-entry-quirk;
/linux/drivers/gpu/drm/rcar-du/
A Drcar_du_drv.h130 unsigned int quirk) in rcar_du_needs() argument
132 return rcdu->info->quirks & quirk; in rcar_du_needs()

Completed in 49 milliseconds

123456