| /kernel/linux/linux-4.19/drivers/xen/xen-pciback/ |
| D | conf_space_quirks.c | 39 ": quirk didn't match any device known\n"); in xen_pcibk_find_quirk() 44 static inline void register_quirk(struct xen_pcibk_config_quirk *quirk) in register_quirk() argument 46 list_add_tail(&quirk->quirks_list, &xen_pcibk_quirks); in register_quirk() 95 struct xen_pcibk_config_quirk *quirk; in xen_pcibk_config_quirks_init() local 98 quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); in xen_pcibk_config_quirks_init() 99 if (!quirk) { in xen_pcibk_config_quirks_init() 104 quirk->devid.vendor = dev->vendor; in xen_pcibk_config_quirks_init() 105 quirk->devid.device = dev->device; in xen_pcibk_config_quirks_init() 106 quirk->devid.subvendor = dev->subsystem_vendor; in xen_pcibk_config_quirks_init() 107 quirk->devid.subdevice = dev->subsystem_device; in xen_pcibk_config_quirks_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-shmobile/ |
| 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() 142 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() [all …]
|
| /kernel/linux/linux-4.19/drivers/scsi/ufs/ |
| D | ufs_quirks.h | 30 * ufs_dev_fix - ufs device quirk info 32 * @quirk: device quirk 36 unsigned int quirk; member 41 /* add specific device quirk */ 45 .quirk = (_quirk), \ 50 * Command) coming from UFS host controller then enable this quirk. 51 * When this quirk is enabled, host controller driver should disable 59 * quirk for such devices will make sure that VCCQ rail is not voted. 83 * enable this quirk to initiate quick error recovery and also silence related 90 * in off state during suspend. Enabling this quirk will not allow the [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/smiapp/ |
| D | smiapp-quirk.h | 3 * drivers/media/i2c/smiapp/smiapp-quirk.h 25 * @init: Quirk initialisation, called the last in probe(). This is 27 * @reg_access: Register access quirk. The quirk may divert the access 33 * by the quirk on read 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)
|
| /kernel/linux/linux-5.10/drivers/scsi/ufs/ |
| D | ufs_quirks.h | 22 * ufs_dev_fix - ufs device quirk info 24 * @quirk: device quirk 29 unsigned int quirk; member 34 /* add specific device quirk */ 38 .quirk = (_quirk), \ 61 * enable this quirk to initiate quick error recovery and also silence related 85 * PA_TACTIVATE, enabling this quirk ensure this. 101 * enabling this quirk ensure this. 107 * the firmware. Enable this quirk to make UFS core driver probe and enable 114 * Enable this quirk to introduce 5ms delays after VCC power-off during
|
| /kernel/linux/linux-5.10/sound/soc/intel/boards/ |
| D | bytcht_es8316.c | 48 #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() 62 dev_info(dev, "quirk IN1_MAP enabled"); in log_quirks() 63 if (BYT_CHT_ES8316_MAP(quirk) == BYT_CHT_ES8316_INTMIC_IN2_MAP) in log_quirks() 64 dev_info(dev, "quirk IN2_MAP enabled"); in log_quirks() 65 if (quirk & BYT_CHT_ES8316_SSP0) in log_quirks() 66 dev_info(dev, "quirk SSP0 enabled"); in log_quirks() [all …]
|
| D | bytcr_rt5640.c | 62 #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"); 109 dev_info(dev, "quirk DMIC1_MAP enabled\n"); in log_quirks() 112 dev_info(dev, "quirk DMIC2_MAP enabled\n"); in log_quirks() 115 dev_info(dev, "quirk IN1_MAP enabled\n"); in log_quirks() 118 dev_info(dev, "quirk IN3_MAP enabled\n"); in log_quirks() [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 97 module_param_named(quirk, quirk_override, int, 0444); 98 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 103 dev_info(dev, "quirk DMIC_MAP enabled"); in log_quirks() 105 dev_info(dev, "quirk IN1_MAP enabled"); in log_quirks() 107 dev_info(dev, "quirk IN2_MAP enabled"); in log_quirks() 109 dev_info(dev, "quirk IN1_IN2_MAP enabled"); in log_quirks() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/i2c/smiapp/ |
| D | smiapp-quirk.h | 2 * drivers/media/i2c/smiapp/smiapp-quirk.h 33 * @init: Quirk initialisation, called the last in probe(). This is 35 * @reg_access: Register access quirk. The quirk may divert the access 41 * by the quirk on read 76 ((sensor)->minfo.quirk && \ 77 (sensor)->minfo.quirk->_quirk ? \ 78 (sensor)->minfo.quirk->_quirk(sensor, ##__VA_ARGS__) : 0) 81 ((sensor)->minfo.quirk ? \ 82 (sensor)->minfo.quirk->flags & _quirk : 0)
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | dwc3.txt | 41 - 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-4.19/sound/usb/ |
| D | card.c | 109 MODULE_PARM_DESC(quirk_alias, "Quirk aliases, e.g. 0123abcd:5678beef."); 364 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_shortname() argument 368 if (quirk && quirk->product_name && *quirk->product_name) { in usb_audio_make_shortname() 369 strlcpy(card->shortname, quirk->product_name, in usb_audio_make_shortname() 389 const struct snd_usb_audio_quirk *quirk) in usb_audio_make_longname() argument 395 if (quirk && quirk->profile_name && *quirk->profile_name) { in usb_audio_make_longname() 396 strlcpy(card->longname, quirk->profile_name, in usb_audio_make_longname() 401 if (quirk && quirk->vendor_name && *quirk->vendor_name) { in usb_audio_make_longname() 402 len = strlcpy(card->longname, quirk->vendor_name, sizeof(card->longname)); in usb_audio_make_longname() 451 const struct snd_usb_audio_quirk *quirk, in snd_usb_audio_create() argument [all …]
|
| D | quirks.c | 49 const struct snd_usb_audio_quirk *quirk; in create_composite_quirk() local 52 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk() 53 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk() 56 if (quirk->ifnum != probed_ifnum && in create_composite_quirk() 59 err = snd_usb_create_quirk(chip, iface, driver, quirk); in create_composite_quirk() 64 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk() 65 iface = usb_ifnum_to_if(chip->dev, quirk->ifnum); in create_composite_quirk() 68 if (quirk->ifnum != probed_ifnum && in create_composite_quirk() 79 const struct snd_usb_audio_quirk *quirk) in ignore_interface_quirk() argument 92 const struct snd_usb_audio_quirk *quirk) in create_align_transfer_quirk() argument [all …]
|
| /kernel/linux/linux-5.10/sound/usb/ |
| D | card.c | 98 MODULE_PARM_DESC(quirk_alias, "Quirk aliases, e.g. 0123abcd:5678beef."); 100 MODULE_PARM_DESC(delayed_register, "Quirk for delayed registration, given by id:iface, e.g. 0123abc… 464 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | feature.h | 80 * expand quirk list to enumeration. 113 * brcmf_feat_is_quirk_enabled() - query chip quirk. 116 * @quirk: quirk id to check. 118 * Return: true is quirk is enabled; otherwise false. 121 enum brcmf_feat_quirk quirk);
|
| /kernel/linux/linux-4.19/sound/soc/intel/boards/ |
| D | bytcr_rt5640.c | 72 #define BYT_RT5640_MAP(quirk) ((quirk) & GENMASK(3, 0)) argument 73 #define BYT_RT5640_JDSRC(quirk) (((quirk) & GENMASK(7, 4)) >> 4) argument 74 #define BYT_RT5640_OVCD_TH(quirk) (((quirk) & GENMASK(12, 8)) >> 8) argument 75 #define BYT_RT5640_OVCD_SF(quirk) (((quirk) & GENMASK(14, 13)) >> 13) argument 103 module_param_named(quirk, quirk_override, uint, 0444); 104 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 118 dev_info(dev, "quirk DMIC1_MAP enabled\n"); in log_quirks() 121 dev_info(dev, "quirk DMIC2_MAP enabled\n"); in log_quirks() 124 dev_info(dev, "quirk IN1_MAP enabled\n"); in log_quirks() 127 dev_info(dev, "quirk IN3_MAP enabled\n"); in log_quirks() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | feature.h | 81 * expand quirk list to enumeration. 114 * brcmf_feat_is_quirk_enabled() - query chip quirk. 117 * @quirk: quirk id to check. 119 * Return: true is quirk is enabled; otherwise false. 122 enum brcmf_feat_quirk quirk);
|
| /kernel/linux/linux-5.10/drivers/misc/mei/ |
| D | hw-me.h | 21 * @quirk_probe: device exclusion quirk 78 * with quirk for Node Manager exclusion. 84 * servers platforms with quirk for 88 * servers platforms with quirk for 91 * servers platforms with quirk for 95 * servers platforms with quirk for
|
| /kernel/linux/linux-4.19/drivers/usb/host/ |
| 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() 173 ohci_dbg(ohci, "enabled qemu quirk\n"); in ohci_quirk_qemu() 253 int (*quirk)(struct usb_hcd *ohci); in ohci_pci_reset() local 254 quirk = (void *)quirk_id->driver_data; in ohci_pci_reset() 255 ret = quirk(hcd); in ohci_pci_reset()
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| 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() 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()
|
| /kernel/linux/linux-5.10/sound/core/ |
| D | misc.c | 98 * snd_pci_quirk_lookup_id - look up a PCI SSID quirk list 101 * @list: quirk list, terminated by a null entry 103 * Look through the given quirk list and finds a matching entry 127 * snd_pci_quirk_lookup - look up a PCI SSID quirk list 129 * @list: quirk list, terminated by a null entry 131 * Look through the given quirk list and finds a matching entry
|
| /kernel/linux/linux-4.19/drivers/tty/serial/8250/ |
| D | serial_cs.c | 90 const struct serial_quirk *quirk; member 133 * be handled by setting the quirk entry .multi = 0 | 1 ? 300 if (info->quirk && info->quirk->wakeup) in serial_resume() 301 info->quirk->wakeup(link); in serial_resume() 358 if (info->quirk && info->quirk->setup) in setup_serial() 359 info->quirk->setup(handle, &uart); in setup_serial() 472 if (info->quirk && info->quirk->config) in simple_config() 473 info->quirk->config(link); in simple_config() 549 if (info->quirk && info->quirk->config) in multi_config() 550 info->quirk->config(link); in multi_config() [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
| D | serial_cs.c | 90 const struct serial_quirk *quirk; member 133 * be handled by setting the quirk entry .multi = 0 | 1 ? 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() [all …]
|