/kernel/linux/linux-5.10/drivers/base/firmware_loader/ |
D | firmware.h | 66 struct fw_priv { struct 91 static inline bool __fw_state_check(struct fw_priv *fw_priv, in __fw_state_check() argument 94 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_check() 99 static inline int __fw_state_wait_common(struct fw_priv *fw_priv, long timeout) in __fw_state_wait_common() argument 101 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_wait_common() 113 static inline void __fw_state_set(struct fw_priv *fw_priv, in __fw_state_set() argument 116 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_set() 126 list_del_init(&fw_priv->pending_list); in __fw_state_set() 132 static inline void fw_state_aborted(struct fw_priv *fw_priv) in fw_state_aborted() argument 134 __fw_state_set(fw_priv, FW_STATUS_ABORTED); in fw_state_aborted() [all …]
|
D | fallback.c | 61 static inline bool fw_sysfs_done(struct fw_priv *fw_priv) in fw_sysfs_done() argument 63 return __fw_state_check(fw_priv, FW_STATUS_DONE); in fw_sysfs_done() 66 static inline bool fw_sysfs_loading(struct fw_priv *fw_priv) in fw_sysfs_loading() argument 68 return __fw_state_check(fw_priv, FW_STATUS_LOADING); in fw_sysfs_loading() 71 static inline int fw_sysfs_wait_timeout(struct fw_priv *fw_priv, long timeout) in fw_sysfs_wait_timeout() argument 73 return __fw_state_wait_common(fw_priv, timeout); in fw_sysfs_wait_timeout() 79 struct fw_priv *fw_priv; member 88 static void __fw_load_abort(struct fw_priv *fw_priv) in __fw_load_abort() argument 94 if (fw_state_is_aborted(fw_priv) || fw_sysfs_done(fw_priv)) in __fw_load_abort() 97 fw_state_aborted(fw_priv); in __fw_load_abort() [all …]
|
D | main.c | 81 static inline struct fw_priv *to_fw_priv(struct kref *ref) in to_fw_priv() 83 return container_of(ref, struct fw_priv, ref); in to_fw_priv() 155 static void fw_state_init(struct fw_priv *fw_priv) in fw_state_init() argument 157 struct fw_state *fw_st = &fw_priv->fw_st; in fw_state_init() 163 static inline int fw_state_wait(struct fw_priv *fw_priv) in fw_state_wait() argument 165 return __fw_state_wait_common(fw_priv, MAX_SCHEDULE_TIMEOUT); in fw_state_wait() 168 static void fw_cache_piggyback_on_request(struct fw_priv *fw_priv); 170 static struct fw_priv *__allocate_fw_priv(const char *fw_name, in __allocate_fw_priv() 177 struct fw_priv *fw_priv; in __allocate_fw_priv() local 187 fw_priv = kzalloc(sizeof(*fw_priv), GFP_ATOMIC); in __allocate_fw_priv() [all …]
|
D | fallback_platform.c | 11 int firmware_fallback_platform(struct fw_priv *fw_priv) in firmware_fallback_platform() argument 17 if (!(fw_priv->opt_flags & FW_OPT_FALLBACK_PLATFORM)) in firmware_fallback_platform() 24 rc = efi_get_embedded_fw(fw_priv->fw_name, &data, &size); in firmware_fallback_platform() 28 if (fw_priv->data && size > fw_priv->allocated_size) in firmware_fallback_platform() 36 if (!fw_priv->data) in firmware_fallback_platform() 37 fw_priv->data = vmalloc(size); in firmware_fallback_platform() 38 if (!fw_priv->data) in firmware_fallback_platform() 41 memcpy(fw_priv->data, data, size); in firmware_fallback_platform() 42 fw_priv->size = size; in firmware_fallback_platform() 43 fw_state_done(fw_priv); in firmware_fallback_platform()
|
D | fallback.h | 70 int firmware_fallback_platform(struct fw_priv *fw_priv); 72 static inline int firmware_fallback_platform(struct fw_priv *fw_priv) in firmware_fallback_platform() argument
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | rtl8712_hal.h | 54 struct fw_priv { /*8-bytes alignment required*/ struct 130 struct fw_priv fwpriv; argument
|
D | hal_init.c | 93 static void fill_fwpriv(struct _adapter *adapter, struct fw_priv *fwpriv) in fill_fwpriv() 98 memset(fwpriv, 0, sizeof(struct fw_priv)); in fill_fwpriv() 145 if (pfwhdr->fw_priv_sz != sizeof(struct fw_priv)) in chk_fwhdr()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | mxl5xx.h | 42 void *fw_priv; member
|
D | mxl5xx.c | 1607 cfg->fw_read(cfg->fw_priv, buf, 0x40000); in load_fw()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | fw.h | 52 struct fw_priv { struct 176 struct fw_priv fwpriv;
|
D | fw.c | 101 struct fw_priv *pfw_priv) in _rtl92s_firmwareheader_priveupdate() 319 struct fw_priv *pfw_priv = NULL; in rtl92s_download_fw()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0013_linux_drivers_base.patch | 103 @@ -464,11 +464,13 @@ static int fw_decompress_xz(struct device *dev, struct fw_priv *fw_priv,
|
D | 0020_linux_drivers_gpu.patch | 33762 + fu = dpu->fw_priv[i]; 33818 + fu = dpu->fw_priv[i]; 33850 + dpu->fw_priv[i] = fu; 35498 + struct dpu_fetchunit *fw_priv[1];
|
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/ |
D | ddbridge-max.c | 419 cfg.fw_priv = link; in ddb_fe_attach_mxl5xx()
|