Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
Dconf_space_quirks.c46 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 …]
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/
Dregulator-quirk-rcar-gen2.c142 struct regulator_quirk *quirk, *pos, *tmp; in rcar_gen2_regulator_quirk() local
166 quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); in rcar_gen2_regulator_quirk()
167 if (!quirk) { in rcar_gen2_regulator_quirk()
173 argsa = &quirk->irq_args; in rcar_gen2_regulator_quirk()
174 memcpy(&quirk->i2c_msg, id->data, sizeof(quirk->i2c_msg)); in rcar_gen2_regulator_quirk()
176 quirk->id = id; in rcar_gen2_regulator_quirk()
177 quirk->np = np; in rcar_gen2_regulator_quirk()
178 quirk->i2c_msg.addr = addr; in rcar_gen2_regulator_quirk()
182 kfree(quirk); in rcar_gen2_regulator_quirk()
197 quirk->shared = true; in rcar_gen2_regulator_quirk()
[all …]
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
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dbytcht_es8316.c48 #define BYT_CHT_ES8316_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument
53 static unsigned long quirk; variable
56 module_param_named(quirk, quirk_override, int, 0444);
57 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
61 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN1_MAP) in log_quirks()
63 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN2_MAP) in log_quirks()
65 if (quirk & BYT_CHT_ES8316_SSP0) in log_quirks()
67 if (quirk & BYT_CHT_ES8316_MONO_SPEAKER) in log_quirks()
69 if (quirk & BYT_CHT_ES8316_JD_INVERTED) in log_quirks()
168 switch (BYT_CHT_ES8316_MAP(quirk)) { in byt_cht_es8316_init()
[all …]
Dsof_sdw_common.h44 #define SOF_RT711_JDSRC(quirk) ((quirk) & GENMASK(1, 0)) argument
49 #define SOF_SSP_GET_PORT(quirk) (((quirk) >> 5) & GENMASK(5, 0)) argument
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
97 module_param_named(quirk, quirk_override, int, 0444);
98 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
Dbytcr_rt5640.c62 #define BYT_RT5640_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument
63 #define BYT_RT5640_JDSRC(quirk) (((quirk) & GENMASK(7, 4)) >> 4) argument
64 #define BYT_RT5640_OVCD_TH(quirk) (((quirk) & GENMASK(12, 8)) >> 8) argument
65 #define BYT_RT5640_OVCD_SF(quirk) (((quirk) & GENMASK(14, 13)) >> 13) argument
94 module_param_named(quirk, quirk_override, int, 0444);
95 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
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 …]
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
Dserial_cs.c90 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()
588 if (info->quirk && info->quirk->wakeup) in multi_config()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/
Dsmiapp-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)
Dsmiapp.h101 const struct smiapp_quirk *quirk; member
125 const struct smiapp_quirk *quirk; member
134 .quirk = _quirk, }
142 .quirk = _quirk, }
157 .quirk = _quirk, }
/kernel/linux/linux-5.10/sound/usb/
Dcard.c464 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_shortname() argument
473 else if (quirk && quirk->product_name) in usb_audio_make_shortname()
474 s = quirk->product_name; in usb_audio_make_shortname()
495 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_longname() argument
514 else if (quirk && quirk->vendor_name) in usb_audio_make_longname()
515 s = quirk->vendor_name; in usb_audio_make_longname()
566 const struct snd_usb_audio_quirk *quirk, in snd_usb_audio_create() argument
622 usb_audio_make_shortname(dev, chip, quirk); in snd_usb_audio_create()
623 usb_audio_make_longname(dev, chip, quirk); in snd_usb_audio_create()
702 const struct snd_usb_audio_quirk *quirk = in usb_audio_probe() local
[all …]
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()
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
85 const struct snd_usb_audio_quirk *quirk) in create_align_transfer_quirk() argument
[all …]
Dmidi.h46 const struct snd_usb_audio_quirk *quirk,
52 const struct snd_usb_audio_quirk *quirk) in snd_usbmidi_create() argument
54 return __snd_usbmidi_create(card, iface, midi_list, quirk, 0); in snd_usbmidi_create()
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,
/kernel/linux/linux-5.10/sound/usb/hiface/
Dchip.c65 const struct hiface_vendor_quirk *quirk, in hiface_chip_create() argument
85 if (quirk && quirk->device_name) in hiface_chip_create()
86 strlcpy(card->shortname, quirk->device_name, sizeof(card->shortname)); in hiface_chip_create()
107 const struct hiface_vendor_quirk *quirk = (struct hiface_vendor_quirk *)usb_id->driver_info; in hiface_chip_probe() local
133 ret = hiface_chip_create(intf, device, i, quirk, &chip); in hiface_chip_probe()
137 ret = hiface_pcm_init(chip, quirk ? quirk->extra_freq : 0); in hiface_chip_probe()
/kernel/linux/linux-5.10/drivers/acpi/
Dpci_irq.c116 const struct prt_quirk *quirk; in do_prt_fixups() local
119 quirk = &prt_quirks[i]; in do_prt_fixups()
122 if (dmi_check_system(quirk->system) && in do_prt_fixups()
123 entry->id.segment == quirk->segment && in do_prt_fixups()
124 entry->id.bus == quirk->bus && in do_prt_fixups()
125 entry->id.device == quirk->device && in do_prt_fixups()
126 entry->pin == quirk->pin && in do_prt_fixups()
127 !strcmp(prt->source, quirk->source) && in do_prt_fixups()
128 strlen(prt->source) >= strlen(quirk->actual_source)) { in do_prt_fixups()
134 prt->source, quirk->actual_source); in do_prt_fixups()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dtrf7970a.txt15 - irq-status-read-quirk: Specify that the trf7970a being used has the
17 - en2-rf-quirk: Specify that the trf7970a being used has the "EN2 RF"
39 irq-status-read-quirk;
40 en2-rf-quirk;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Ddwc3.txt41 - snps,dis-start-transfer-quirk: when set, disable isoc START TRANSFER command
48 - snps,u2exit_lfps_quirk: set if we want to enable u2exit lfps quirk
49 - snps,u2ss_inp3_quirk: set if we enable P3 OK for U2/SS Inactive quirk
66 - snps,dis-u1-entry-quirk: set if link entering into U1 needs to be disabled.
67 - snps,dis-u2-entry-quirk: set if link entering into U2 needs to be disabled.
70 - snps,dis-u2-freeclk-exists-quirk: when set, clear the u2_freeclk_exists
73 - snps,dis-del-phy-power-chg-quirk: when set core will change PHY power
75 - snps,dis-tx-ipgap-linecheck-quirk: when set, disable u2mac linestate check
77 - snps,parkmode-disable-ss-quirk: when set, all SuperSpeed bus instances in
81 - snps,dis-split-quirk: when set, change the way URBs are handled by the
[all …]
/kernel/linux/linux-5.10/drivers/firmware/
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()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufs_quirks.h29 unsigned int quirk; member
38 .quirk = (_quirk), \
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
Drcar_du_drv.h108 unsigned int quirk) in rcar_du_needs() argument
110 return rcdu->info->quirks & quirk; in rcar_du_needs()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6dl-prtrvt.dts72 irq-status-read-quirk;
73 en2-rf-quirk;
74 t5t-rmb-extra-byte-quirk;
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-pci.c249 int (*quirk)(struct usb_hcd *ohci); in ohci_pci_reset() local
250 quirk = (void *)quirk_id->driver_data; in ohci_pci_reset()
251 ret = quirk(hcd); in ohci_pci_reset()

123456