Home
last modified time | relevance | path

Searched refs:fw (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/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/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/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/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/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/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/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()
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()
197 linuxkpi_request_firmware(const struct linuxkpi_firmware **fw, in linuxkpi_request_firmware() argument
[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/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/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/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/compat/linuxkpi/common/include/linux/
H A Dfirmware.h74 request_firmware(const struct linuxkpi_firmware **fw, in request_firmware() argument
78 return (linuxkpi_request_firmware(fw, fw_name, dev)); in request_firmware()
82 request_firmware_direct(const struct linuxkpi_firmware **fw, in request_firmware_direct() argument
86 return (linuxkpi_request_firmware(fw, fw_name, dev)); in request_firmware_direct()
90 firmware_request_nowarn(const struct linuxkpi_firmware **fw, in firmware_request_nowarn() argument
94 return (linuxkpi_firmware_request_nowarn(fw, fw_name, dev)); in firmware_request_nowarn()
98 release_firmware(const struct linuxkpi_firmware *fw) in release_firmware() argument
101 linuxkpi_release_firmware(fw); in release_firmware()
105 request_partial_firmware_into_buf(const struct linuxkpi_firmware **fw, in request_partial_firmware_into_buf() argument
110 return (linuxkpi_request_partial_firmware_into_buf(fw, fw_name, in request_partial_firmware_into_buf()
/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/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/sys/contrib/dev/iwlwifi/fw/
H A Dimg.c8 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()
43 for (i = 0; i < fw->ucode_capa.n_cmd_versions; i++, entry++) { in iwl_fw_lookup_notif_ver()
/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/contrib/dev/mediatek/mt76/mt76x0/
H A Dusb_mcu.c68 const struct firmware **fw) in mt76x0_get_firmware() argument
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()
114 if (fw->size != len) in mt76x0u_load_firmware()
152 release_firmware(fw); in mt76x0u_load_firmware()
160 release_firmware(fw); in mt76x0u_load_firmware()
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()
111 release_firmware(fw); in mt76x0e_load_firmware()
/freebsd/share/firmwares/iwm/
H A DMakefile13 iwm3160= ${SRCTOP}/sys/contrib/dev/iwm/iwm-3160-17.fw
19 iwm3168= ${SRCTOP}/sys/contrib/dev/iwm/iwm-3168-22.fw
25 iwm7260= ${SRCTOP}/sys/contrib/dev/iwm/iwm-7260-17.fw
31 iwm7265= ${SRCTOP}/sys/contrib/dev/iwm/iwm-7265-17.fw
37 iwm7265D= ${SRCTOP}/sys/contrib/dev/iwm/iwm-7265D-22.fw
43 iwm8000C= ${SRCTOP}/sys/contrib/dev/iwm/iwm-8000C-22.fw
49 iwm8265= ${SRCTOP}/sys/contrib/dev/iwm/iwm-8265-22.fw
55 iwm9000= ${SRCTOP}/sys/contrib/dev/iwm/iwm-9000-34.fw
61 iwm9260= ${SRCTOP}/sys/contrib/dev/iwm/iwm-9260-34.fw
/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/contrib/dev/mwl/
H A DMakefile3 FILES= mw88W8363.fw.uu mwlboot.fw.uu
5 mw88W8363.fw.uu: mv88W8363fw.h LICENSE
10 (sed 's/^/# /' LICENSE; ./build | uuencode mw88W8363.fw) > ${.TARGET}
12 mwlboot.fw.uu: mvbootfw.h LICENSE
17 (sed 's/^/# /' LICENSE; ./build | uuencode mwlboot.fw) > ${.TARGET}
/freebsd/sys/dev/bce/
H A Dif_bce.c3971 struct fw_info *fw) in bce_load_cpu_fw() argument
3980 offset = cpu_reg->spad_base + (fw->text_addr - cpu_reg->mips_view_base); in bce_load_cpu_fw()
3981 if (fw->text) { in bce_load_cpu_fw()
3984 for (j = 0; j < (fw->text_len / 4); j++, offset += 4) { in bce_load_cpu_fw()
3985 REG_WR_IND(sc, offset, fw->text[j]); in bce_load_cpu_fw()
3990 offset = cpu_reg->spad_base + (fw->data_addr - cpu_reg->mips_view_base); in bce_load_cpu_fw()
3991 if (fw->data) { in bce_load_cpu_fw()
3994 for (j = 0; j < (fw->data_len / 4); j++, offset += 4) { in bce_load_cpu_fw()
3995 REG_WR_IND(sc, offset, fw->data[j]); in bce_load_cpu_fw()
4000 offset = cpu_reg->spad_base + (fw->sbss_addr - cpu_reg->mips_view_base); in bce_load_cpu_fw()
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dmain.c13 #include "fw.h"
272 /* fw supports only one station associated to enter lps, if there are in rtw_watch_dog_work()
274 * lps, because fw does not handle the overlapped beacon interval in rtw_watch_dog_work()
410 struct rtw_fwcd_desc *desc = &rtwdev->fw.fwcd_desc; in rtw_fwcd_prep()
434 struct rtw_fwcd_desc *desc = &rtwdev->fw.fwcd_desc; in rtw_fwcd_next()
461 struct rtw_fwcd_desc *desc = &rtwdev->fw.fwcd_desc; in rtw_fwcd_dump()
475 struct rtw_fwcd_desc *desc = &rtwdev->fw.fwcd_desc; in rtw_fwcd_free()
497 rtw_dbg(rtwdev, RTW_DBG_FW, "dump fw fifo fail\n"); in rtw_fw_dump_crash_log()
502 rtw_dbg(rtwdev, RTW_DBG_FW, "fw crash dump's length is 0\n"); in rtw_fw_dump_crash_log()
509 "fw cras in rtw_fw_dump_crash_log()
1334 struct rtw_fw_state *fw; rtw_wait_firmware_completion() local
1352 rtw_update_lps_deep_mode(struct rtw_dev * rtwdev,struct rtw_fw_state * fw) rtw_update_lps_deep_mode() argument
1374 struct rtw_fw_state *fw = &rtwdev->fw; rtw_power_on() local
1731 __update_firmware_feature(struct rtw_dev * rtwdev,struct rtw_fw_state * fw) __update_firmware_feature() argument
1746 __update_firmware_info(struct rtw_dev * rtwdev,struct rtw_fw_state * fw) __update_firmware_info() argument
1760 __update_firmware_info_legacy(struct rtw_dev * rtwdev,struct rtw_fw_state * fw) __update_firmware_info_legacy() argument
1776 update_firmware_info(struct rtw_dev * rtwdev,struct rtw_fw_state * fw) update_firmware_info() argument
1786 struct rtw_fw_state *fw = context; rtw_load_firmware_cb() local
1807 struct rtw_fw_state *fw; rtw_load_firmware() local
1895 struct rtw_fw_state *fw = &rtwdev->fw; rtw_chip_efuse_enable() local
2196 struct rtw_fw_state *fw = &rtwdev->fw; rtw_core_deinit() local
[all...]

12345678910>>...15