Home
last modified time | relevance | path

Searched full:quirk (Results 1 – 25 of 605) sorted by relevance

12345678910>>...25

/linux/drivers/xen/xen-pciback/
H A Dconf_space_quirks.c41 "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/sound/soc/intel/boards/
H A Dsof_es8336.c27 #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 Dbytcr_wm5102.c57 static unsigned long quirk; variable
60 module_param_named(quirk, quirk_override, int, 0444);
61 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
65 switch (quirk & BYT_WM5102_IN_MAP) { in log_quirks()
67 dev_info_once(dev, "quirk INTMIC_IN3L_HSMIC_IN1L enabled\n"); in log_quirks()
70 dev_info_once(dev, "quirk INTMIC_IN1L_HSMIC_IN2L enabled\n"); in log_quirks()
73 dev_warn_once(dev, "quirk sets invalid input map: 0x%lx, defaulting to INTMIC_IN3L_HSMIC_IN1L\n", in log_quirks()
74 quirk & BYT_WM5102_IN_MAP); in log_quirks()
75 quirk &= ~BYT_WM5102_IN_MAP; in log_quirks()
76 quirk |= BYT_WM5102_INTMIC_IN3L_HSMIC_IN1L; in log_quirks()
[all …]
H A Dbytcht_es8316.c50 #define BYT_CHT_ES8316_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument
55 static unsigned long quirk; variable
58 module_param_named(quirk, quirk_override, int, 0444);
59 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
63 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN1_MAP) in log_quirks()
64 dev_info(dev, "quirk IN1_MAP enabled"); in log_quirks()
65 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN2_MAP) in log_quirks()
66 dev_info(dev, "quirk IN2_MAP enabled"); in log_quirks()
67 if (quirk & BYT_CHT_ES8316_SSP0) in log_quirks()
68 dev_info(dev, "quirk SSP0 enabled"); in log_quirks()
[all …]
H A Dsof_board_helpers.h21 #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 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");
104 dev_info(dev, "quirk DMIC_MAP enabled"); in log_quirks()
106 dev_info(dev, "quirk IN1_MAP enabled"); in log_quirks()
108 dev_info(dev, "quirk IN2_MAP enabled"); in log_quirks()
110 dev_info(dev, "quirk IN1_IN2_MAP enabled"); in log_quirks()
[all …]
H A Dbytcr_rt5640.c71 #define BYT_RT5640_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument
72 #define BYT_RT5640_JDSRC(quirk) (((quirk) & GENMASK(7, 4)) >> 4) argument
73 #define BYT_RT5640_OVCD_TH(quirk) (((quirk) & GENMASK(12, 8)) >> 8) argument
74 #define BYT_RT5640_OVCD_SF(quirk) (((quirk) & GENMASK(14, 13)) >> 13) argument
113 module_param_named(quirk, quirk_override, int, 0444);
114 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
128 dev_info(dev, "quirk DMIC1_MAP enabled\n"); in log_quirks()
131 dev_info(dev, "quirk DMIC2_MAP enabled\n"); in log_quirks()
134 dev_info(dev, "quirk IN1_MAP enabled\n"); in log_quirks()
137 dev_info(dev, "quirk IN3_MAP enabled\n"); in log_quirks()
[all …]
H A Dsof_sdw_common.h44 #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/arch/arm/mach-shmobile/
H A Dregulator-quirk-rcar-gen2.c3 * 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 …]
/linux/drivers/media/i2c/ccs/
H A Dccs-quirk.h3 * 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 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/gpu/drm/i915/display/
H A Dintel_quirks.c12 static void intel_set_quirk(struct intel_display *display, enum intel_quirk_id quirk) in intel_set_quirk() argument
14 display->quirks.mask |= BIT(quirk); in intel_set_quirk()
17 static void intel_set_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk) in intel_set_dpcd_quirk() argument
19 intel_dp->quirks.mask |= BIT(quirk); in intel_set_dpcd_quirk()
28 drm_info(display->drm, "applying lvds SSC disable quirk\n"); in quirk_ssc_force_disable()
38 drm_info(display->drm, "applying inverted panel brightness quirk\n"); in quirk_invert_brightness()
45 drm_info(display->drm, "applying backlight present quirk\n"); in quirk_backlight_present()
54 drm_info(display->drm, "Applying T12 delay quirk\n"); in quirk_increase_t12_delay()
64 drm_info(display->drm, "Applying Increase DDI Disabled quirk\n"); in quirk_increase_ddi_disabled_time()
70 drm_info(display->drm, "Applying no pps backlight power quirk\n"); in quirk_no_pps_backlight_power_hook()
[all …]
/linux/include/ufs/
H A Dufs_quirks.h22 * 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 introduce 5ms delays after VCC power-off during
/linux/include/net/bluetooth/
H A Dhci.h73 /* When this quirk is set, the HCI Reset command is send when
76 * This quirk must be set before hci_register_dev is called.
80 /* When this quirk is set, the device is turned into a raw-only
83 * This quirk must be set before hci_register_dev is called.
87 /* When this quirk is set, the buffer sizes reported by
90 * This quirk must be set before hci_register_dev is called.
94 /* When this quirk is set, then a controller that does not
102 * This quirk must be set before hci_register_dev is called.
106 /* When this quirk is set, then the HCI Read Local Supported
112 * This quirk must be set before hci_register_dev is called.
[all …]
/linux/sound/usb/
H A Dcard.c101 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…
107 MODULE_PARM_DESC(quirk_flags, "Driver quirk bit flags.");
509 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_shortname() argument
518 else if (quirk && quirk->product_name) in usb_audio_make_shortname()
519 s = quirk->product_name; in usb_audio_make_shortname()
540 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_longname() argument
559 else if (quirk && quirk->vendor_name) in usb_audio_make_longname()
560 s = quirk->vendor_name; in usb_audio_make_longname()
610 const struct snd_usb_audio_quirk *quirk, in snd_usb_audio_create() argument
[all …]
H A Dimplicit.c47 /* Implicit feedback quirk table for playback */
76 /* Implicit feedback quirk table for capture: only FIXED type */
175 /* capture quirk for Roland device; always full-duplex */
258 /* More generic quirk: look for the sync EP next to the data EP */
289 /* Setup an implicit feedback endpoint from a quirk. Returns 0 if no quirk
290 * applies. Returns 1 if a quirk was found.
305 return 0; /* No quirk */ in audioformat_implicit_fb_quirk()
317 return 0; /* no quirk */ in audioformat_implicit_fb_quirk()
355 /* No quirk */ in audioformat_implicit_fb_quirk()
378 return 1; /* skip the quirk, also don't handle generic sync EP */ in audioformat_capture_quirk()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfeature.h86 * expand quirk list to enumeration.
119 * brcmf_feat_is_quirk_enabled() - query chip quirk.
122 * @quirk: quirk id to check.
124 * Return: true is quirk is enabled; otherwise false.
127 enum brcmf_feat_quirk quirk);
/linux/drivers/usb/host/
H A Dohci-pci.c69 * 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()
173 ohci_dbg(ohci, "enabled qemu quirk\n"); in ohci_quirk_qemu()
249 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()
/linux/drivers/misc/mei/
H A Dhw-me.h21 * @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/tty/serial/8250/
H A Dserial_cs.c90 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 Dmisc.c28 * 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/sound/usb/hiface/
H 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/arch/arm/kernel/
H A Dsmccc-call.S34 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 Ddmi-quirks.c110 /* 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/devicetree/bindings/net/nfc/
H A Dti,trf7970a.yaml27 en2-rf-quirk:
35 irq-status-read-quirk:
95 irq-status-read-quirk;
96 en2-rf-quirk;

12345678910>>...25