Home
last modified time | relevance | path

Searched full:fw (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dfw-api.h10 #include "fw/api/tdls.h"
11 #include "fw/api/mac-cfg.h"
12 #include "fw/api/offload.h"
13 #include "fw/api/context.h"
14 #include "fw/api/time-event.h"
15 #include "fw/api/datapath.h"
16 #include "fw/api/phy.h"
17 #include "fw/api/config.h"
18 #include "fw/api/system.h"
19 #include "fw/api/alive.h"
[all …]
H A Dtime-event.h9 #include "fw-api.h"
16 * Time Events are a fw feature that allows the driver to control the presence
17 * of the device on the channel. Since the fw supports multiple channels
18 * concurrently, the fw may choose to jump to another channel at any time.
19 * In order to make sure that the fw is on a specific channel at a certain time
25 * smoothly and won't be interrupted by channel switch decided within the fw.
29 * DOC: The flow against the fw
33 * fw goes like this:
34 * 1) Driver sends a TIME_EVENT_CMD to the fw
37 * 3) The fw send
[all...]
/freebsd/sys/modules/iwlwififw/
H A DMakefile2 iwlwifi-3160-fw \
3 iwlwifi-3168-fw \
4 iwlwifi-7260-fw \
5 iwlwifi-7265-fw \
6 iwlwifi-7265D-fw \
7 iwlwifi-8000C-fw \
8 iwlwifi-8265-fw \
9 iwlwifi-9000-pu-b0-jf-b0-fw \
10 iwlwifi-9260-th-b0-jf-b0-fw \
11 iwlwifi-Qu-b0-hr-b0-fw \
[all …]
/freebsd/sys/contrib/dev/iwi/
H A DMakefile4 ALL= ipw2200-bss.fw.uu ipw2200-ibss.fw.uu ipw2200-sniffer.fw.uu
8 ipw2200-bss.fw.uu: ipw2200-bss.fw LICENSE
11 uuencode ipw2200-bss.fw ipw2200-bss.fw) > ${.TARGET}
13 ipw2200-ibss.fw.uu: ipw2200-ibss.fw LICENSE
16 uuencode ipw2200-ibss.fw ipw2200-ibss.fw) > ${.TARGET}
18 ipw2200-sniffer.fw.uu: ipw2200-sniffer.fw LICENSE
21 uuencode ipw2200-sniffer.fw ipw2200-sniffer.fw) > ${.TARGET}
/freebsd/usr.sbin/bluetooth/rtlbtfw/
H A Drtlbt_fw.c154 rtlbt_fw_read(struct rtlbt_firmware *fw, const char *fwname) in rtlbt_fw_read() argument
200 memset(fw, 0, sizeof(*fw)); in rtlbt_fw_read()
202 fw->fwname = strdup(fwname); in rtlbt_fw_read()
203 fw->len = sb.st_size; in rtlbt_fw_read()
204 fw->buf = buf; in rtlbt_fw_read()
211 rtlbt_fw_free(struct rtlbt_firmware *fw) in rtlbt_fw_free() argument
213 if (fw->fwname) in rtlbt_fw_free()
214 free(fw->fwname); in rtlbt_fw_free()
215 if (fw->buf) in rtlbt_fw_free()
216 free(fw->buf); in rtlbt_fw_free()
[all …]
/freebsd/tests/sys/netpfil/common/
H A Ddummynet.sh38 fw=$1
39 firewall_init $fw
40 dummynet_init $fw
53 firewall_config alcatraz ${fw} \
85 fw=$1
86 firewall_init $fw
87 dummynet_init $fw
100 firewall_config alcatraz ${fw} \
129 fw=$1
130 firewall_init $fw
[all …]
/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-drv.c22 #include "fw/img.h"
26 #include "fw/api/alive.h"
27 #include "fw/api/mac.h"
58 * @fw: the iwl_fw structure
71 struct iwl_fw fw;
112 * For the fw storage we are using struct fw_desc.
139 kfree(drv->fw.dbg.dest_tlv); in iwl_dealloc_ucode()
140 for (i = 0; i < ARRAY_SIZE(drv->fw.dbg.conf_tlv); i++) in iwl_dealloc_ucode()
141 kfree(drv->fw.dbg.conf_tlv[i]); in iwl_dealloc_ucode()
142 for (i = 0; i < ARRAY_SIZE(drv->fw in iwl_dealloc_ucode()
70 struct iwl_fw fw; global() member
611 const struct iwl_fw_dump_exclude *fw = tlv_data; iwl_drv_set_dump_exclude() local
1495 struct iwl_fw *fw = &drv->fw; iwl_req_fw_callback() local
[all...]
/freebsd/sys/contrib/dev/iwlwifi/pcie/
H A Dctxt-info.c85 const struct fw_img *fw, in iwl_pcie_init_fw_sec() argument
96 lmac_cnt = iwl_pcie_get_num_sections(fw, 0); in iwl_pcie_init_fw_sec()
98 umac_cnt = iwl_pcie_get_num_sections(fw, lmac_cnt + 1); in iwl_pcie_init_fw_sec()
100 paging_cnt = iwl_pcie_get_num_sections(fw, lmac_cnt + umac_cnt + 2); in iwl_pcie_init_fw_sec()
102 dram->fw = kcalloc(umac_cnt + lmac_cnt, sizeof(*dram->fw), GFP_KERNEL); in iwl_pcie_init_fw_sec()
103 if (!dram->fw) in iwl_pcie_init_fw_sec()
111 ret = iwl_pcie_ctxt_info_alloc_dma(trans, fw->sec[i].data, in iwl_pcie_init_fw_sec()
112 fw->sec[i].len, in iwl_pcie_init_fw_sec()
113 &dram->fw[dra in iwl_pcie_init_fw_sec()
164 iwl_pcie_ctxt_info_init(struct iwl_trans * trans,const struct fw_img * fw) iwl_pcie_ctxt_info_init() argument
[all...]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dpci_mcu.c17 const struct firmware *fw = NULL; in mt76pci_load_rom_patch() local
43 ret = request_firmware(&fw, MT7662_ROM_PATCH, dev->mt76.dev); in mt76pci_load_rom_patch()
47 if (!fw || !fw->data || fw->size <= sizeof(*hdr)) { in mt76pci_load_rom_patch()
53 hdr = (struct mt76x02_patch_header *)fw->data; in mt76pci_load_rom_patch()
58 cur = (__le32 *)(fw->data + sizeof(*hdr)); in mt76pci_load_rom_patch()
59 len = fw->size - sizeof(*hdr); in mt76pci_load_rom_patch()
76 release_firmware(fw); in mt76pci_load_rom_patch()
83 const struct firmware *fw; in mt76pci_load_firmware() local
89 ret = request_firmware(&fw, MT7662_FIRMWARE, dev->mt76.dev); in mt76pci_load_firmware()
93 if (!fw || !fw->data || fw->size < sizeof(*hdr)) in mt76pci_load_firmware()
[all …]
H A Dusb_mcu.c62 const struct firmware *fw; in mt76x2u_mcu_load_rom_patch() local
85 err = request_firmware(&fw, MT7662_ROM_PATCH, dev->mt76.dev); in mt76x2u_mcu_load_rom_patch()
89 if (!fw || !fw->data || fw->size <= sizeof(*hdr)) { in mt76x2u_mcu_load_rom_patch()
95 hdr = (struct mt76x02_patch_header *)fw->data; in mt76x2u_mcu_load_rom_patch()
119 err = mt76x02u_mcu_fw_send_data(dev, fw->data + sizeof(*hdr), in mt76x2u_mcu_load_rom_patch()
120 fw->size - sizeof(*hdr), in mt76x2u_mcu_load_rom_patch()
140 release_firmware(fw); in mt76x2u_mcu_load_rom_patch()
149 const struct firmware *fw; in mt76x2u_mcu_load_firmware() local
151 err = request_firmware(&fw, MT7662_FIRMWARE, dev->mt76.dev); in mt76x2u_mcu_load_firmware()
155 if (!fw || !fw->data || fw->size < sizeof(*hdr)) { in mt76x2u_mcu_load_firmware()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_firmware.c59 _linuxkpi_request_firmware(const char *fw_name, const struct linuxkpi_firmware **fw, in _linuxkpi_request_firmware() argument
68 if (fw_name == NULL || fw == NULL || dev == NULL) { in _linuxkpi_request_firmware()
69 *fw = NULL; in _linuxkpi_request_firmware()
83 * be called "fw", or "dir_fw", or "modname_dir_fw". The latter the in _linuxkpi_request_firmware()
127 *fw = lfw; in _linuxkpi_request_firmware()
130 *fw = NULL; in _linuxkpi_request_firmware()
143 *fw = lfw; in _linuxkpi_request_firmware()
151 const struct linuxkpi_firmware *fw; in lkpi_fw_task() local
160 _linuxkpi_request_firmware(lfwt->fw_name, &fw, lfwt->dev, in lkpi_fw_task()
167 lfwt->cont(fw, lfwt->drv); in lkpi_fw_task()
[all …]
/freebsd/sys/contrib/dev/ral/
H A DMakefile1 FILES= rt2561s.fw.uu rt2561.fw.uu rt2661.fw.uu rt2860.fw.uu
3 rt2561s.fw.uu: microcode.h LICENSE
10 (sed 's/^/# /' LICENSE; ./build | uuencode rt2561s.fw) > ${.TARGET}
12 rt2561.fw.uu: microcode.h LICENSE
19 (sed 's/^/# /' LICENSE; ./build | uuencode rt2561.fw) > ${.TARGET}
21 rt2661.fw.uu: microcode.h LICENSE
28 (sed 's/^/# /' LICENSE; ./build | uuencode rt2661.fw) > ${.TARGET}
30 rt2860.fw.uu: microcode.h LICENSE
37 (sed 's/^/# /' LICENSE; ./build | uuencode rt2860.fw) > ${.TARGET}
/freebsd/usr.sbin/bluetooth/ath3kfw/
H A Dath3k_fw.c44 ath3k_fw_read(struct ath3k_firmware *fw, const char *fwname) in ath3k_fw_read() argument
91 bzero(fw, sizeof(*fw)); in ath3k_fw_read()
93 fw->fwname = strdup(fwname); in ath3k_fw_read()
94 fw->len = sb.st_size; in ath3k_fw_read()
95 fw->size = sb.st_size; in ath3k_fw_read()
96 fw->buf = buf; in ath3k_fw_read()
103 ath3k_fw_free(struct ath3k_firmware *fw) in ath3k_fw_free() argument
105 if (fw->fwname) in ath3k_fw_free()
106 free(fw->fwname); in ath3k_fw_free()
107 if (fw->buf) in ath3k_fw_free()
[all …]
H A Dath3k_hw.c51 const struct ath3k_firmware *fw) in ath3k_load_fwfile() argument
56 count = fw->len; in ath3k_load_fwfile()
61 __func__, fw->fwname, count); in ath3k_load_fwfile()
71 fw->buf + sent, in ath3k_load_fwfile()
94 fw->buf + sent, in ath3k_load_fwfile()
171 struct ath3k_firmware fw; in ath3k_load_patch() local
198 if (ath3k_fw_read(&fw, fwname) <= 0) { in ath3k_load_patch()
207 memcpy(&tmp, fw.buf + fw.len - 8, sizeof(tmp)); in ath3k_load_patch()
209 memcpy(&tmp, fw.buf + fw.len - 4, sizeof(tmp)); in ath3k_load_patch()
222 ath3k_fw_free(&fw); in ath3k_load_patch()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x0/
H A Dusb_mcu.c30 dev_dbg(dev->mt76.dev, "loading FW - ILM %u + IVB %u\n", in mt76x0u_upload_firmware()
39 dev_dbg(dev->mt76.dev, "loading FW - DLM %u\n", dlm_len); in mt76x0u_upload_firmware()
68 const struct firmware **fw) in mt76x0_get_firmware() argument
72 /* try to load mt7610e fw if available in mt76x0_get_firmware()
75 err = firmware_request_nowarn(fw, MT7610E_FIRMWARE, dev->mt76.dev); in mt76x0_get_firmware()
79 return request_firmware(fw, MT7610U_FIRMWARE, in mt76x0_get_firmware()
87 const struct firmware *fw; in mt76x0u_load_firmware() local
98 ret = mt76x0_get_firmware(dev, &fw); in mt76x0u_load_firmware()
102 if (!fw || !fw->data || fw->size < sizeof(*hdr)) in mt76x0u_load_firmware()
105 hdr = (const struct mt76x02_fw_header *)fw->data; in mt76x0u_load_firmware()
[all …]
H A Dpci_mcu.c18 const struct firmware *fw; in mt76x0e_load_firmware() local
28 err = request_firmware(&fw, firmware, dev->mt76.dev); in mt76x0e_load_firmware()
32 if (!fw || !fw->data || fw->size < sizeof(*hdr)) { in mt76x0e_load_firmware()
37 hdr = (const struct mt76x02_fw_header *)fw->data; in mt76x0e_load_firmware()
43 if (fw->size != len) { in mt76x0e_load_firmware()
48 fw_payload = fw->data + sizeof(*hdr); in mt76x0e_load_firmware()
62 "Could not get hardware semaphore for loading fw\n"); in mt76x0e_load_firmware()
74 dev_dbg(dev->mt76.dev, "loading FW - ILM %u\n", ilm_len); in mt76x0e_load_firmware()
80 dev_dbg(dev->mt76.dev, "loading FW - IVB %u\n", in mt76x0e_load_firmware()
88 dev_dbg(dev->mt76.dev, "loading FW - DLM %u\n", dlm_len); in mt76x0e_load_firmware()
[all …]
/freebsd/sys/modules/iwlwifi/
H A DMakefile15 SRCS+= fw/dbg.c fw/dump.c fw/img.c fw/notif-wait.c
16 SRCS+= fw/paging.c fw/pnvm.c fw/regulatory.c fw/rs.c fw/smem.c fw/ini
[all...]
/freebsd/sys/modules/mwlfw/
H A DMakefile2 FIRMWS= mw88W8363.fw:mw88W8363fw mwlboot.fw:mwlboot
4 CLEANFILES+= mw88W8363.fw mwlboot.fw
6 mw88W8363.fw: ${SRCTOP}/sys/contrib/dev/mwl/mw88W8363.fw.uu
9 mwlboot.fw: ${SRCTOP}/sys/contrib/dev/mwl/mwlboot.fw.uu
/freebsd/lib/msun/src/
H A Dk_rem_pio2.c293 double z,fw,f[20],fq[20],q[20]; in __kernel_rem_pio2() local
310 for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw; in __kernel_rem_pio2()
317 fw = (double)((int32_t)(twon24* z)); in __kernel_rem_pio2()
318 iq[i] = (int32_t)(z-two24*fw); in __kernel_rem_pio2()
319 z = q[j-1]+fw; in __kernel_rem_pio2()
369 for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; in __kernel_rem_pio2()
370 q[i] = fw; in __kernel_rem_pio2()
384 fw = (double)((int32_t)(twon24*z)); in __kernel_rem_pio2()
385 iq[jz] = (int32_t)(z-two24*fw); in __kernel_rem_pio2()
387 iq[jz] = (int32_t) fw; in __kernel_rem_pio2()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Dimg.c5 #include <fw/api/commands.h>
8 u8 iwl_fw_lookup_cmd_ver(const struct iwl_fw *fw, u32 cmd_id, u8 def) in iwl_fw_lookup_cmd_ver() argument
16 if (!fw->ucode_capa.cmd_versions || in iwl_fw_lookup_cmd_ver()
17 !fw->ucode_capa.n_cmd_versions) in iwl_fw_lookup_cmd_ver()
20 entry = fw->ucode_capa.cmd_versions; in iwl_fw_lookup_cmd_ver()
21 for (i = 0; i < fw->ucode_capa.n_cmd_versions; i++, entry++) { in iwl_fw_lookup_cmd_ver()
33 u8 iwl_fw_lookup_notif_ver(const struct iwl_fw *fw, u8 grp, u8 cmd, u8 def) in iwl_fw_lookup_notif_ver() argument
38 if (!fw->ucode_capa.cmd_versions || in iwl_fw_lookup_notif_ver()
39 !fw->ucode_capa.n_cmd_versions) in iwl_fw_lookup_notif_ver()
42 entry = fw->ucode_capa.cmd_versions; in iwl_fw_lookup_notif_ver()
[all …]
/freebsd/usr.sbin/bluetooth/iwmbtfw/
H A Diwmbt_fw.c46 iwmbt_fw_read(struct iwmbt_firmware *fw, const char *fwname) in iwmbt_fw_read() argument
92 memset(fw, 0, sizeof(*fw)); in iwmbt_fw_read()
94 fw->fwname = strdup(fwname); in iwmbt_fw_read()
95 fw->len = sb.st_size; in iwmbt_fw_read()
96 fw->buf = buf; in iwmbt_fw_read()
103 iwmbt_fw_free(struct iwmbt_firmware *fw) in iwmbt_fw_free() argument
105 if (fw->fwname) in iwmbt_fw_free()
106 free(fw->fwname); in iwmbt_fw_free()
107 if (fw->buf) in iwmbt_fw_free()
108 free(fw->buf); in iwmbt_fw_free()
[all …]
/freebsd/sys/dev/iwm/
H A Dif_iwm_sta.h86 * All these stations are reflected in the fw's station table. The driver
87 * keeps the fw's station table up to date with the ADD_STA command. Stations
92 * This data includes the index of the station in the fw, per tid information
97 * %ieee80211_sta (and the %iwl_sta embedded into it) based on a fw
100 * paths are triggered by the fw, and the driver needs to get a pointer to the
132 * The FW needs a few internal stations that are not reflected in
139 * One thing to note, is that these stations have an ID in the fw, but not
152 * %iwl_vif includes the index of the AP station in the fw's STA table:
154 * &fw_id_to_mac_id can be used. Due to the way the fw works, we must not remove
155 * the AP station from the fw before setting the MAC context as unassociated.
[all …]
/freebsd/sys/kern/
H A Dsubr_firmware.c62 * fw.name != NULL when an image is registered; file != NULL for
66 * firmware_register --> fw.name = image_name
68 * firmware_unregister --> fw.name = NULL
105 * 'fw' is the externally visible image information.
108 * Use PRIV_FW(fw) to get a pointer to the cointainer of fw.
111 struct firmware fw; /* externally visible information */ member
119 ((intptr_t)(x) - offsetof(struct priv_fw, fw)) )
162 if (fp->fw.name != NULL && strcasecmp(name, fp->fw in lookup()
280 const struct firmware *fw; try_binary_file() local
580 const struct firmware *fw; firmware_binary_files() local
[all...]
/freebsd/sys/dev/ice/
H A Dice_fwlog.c37 * cache_cfg - Cache FW logging config
116 * ice_fwlog_init - Initialize cached structures for tracking FW logging
136 * ice_aq_fwlog_set - Set FW logging configuration AQ command (0xFF30)
188 * ice_fwlog_supported - Cached for whether FW supports FW logging or not
208 * If the PF wishes to receive FW logging then it must register via
233 * update_cached_entries - Update module entries in cached FW logging config
261 * ice_fwlog_update_modules - Update the log level 1 or more FW logging modules
266 * This function should be called to update the log level of 1 or more FW
392 ice_debug(hw, ICE_DBG_FW_LOG, "Failed to get FW lo in ice_aq_fwlog_get()
[all...]
/freebsd/sys/contrib/device-tree/Bindings/display/bridge/
H A Dmegachips-stdpxxxx-ge-b850v3-fw.txt2 STDP4028-ge-b850v3-fw bridges (LVDS-DP)
3 STDP2690-ge-b850v3-fw bridges (DP-DP++)
12 suffix "-ge-b850v3-fw" to make it clear that the driver is for the bridges with
19 stdp4028-ge-b850v3-fw required properties:
20 - compatible : "megachips,stdp4028-ge-b850v3-fw"
26 stdp2690-ge-b850v3-fw required properties:
27 compatible : "megachips,stdp2690-ge-b850v3-fw"
37 compatible = "megachips,stdp4028-ge-b850v3-fw";
66 compatible = "megachips,stdp2690-ge-b850v3-fw";

12345678910>>...41