Home
last modified time | relevance | path

Searched refs:fw_data (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_ops.c247 array_data = p_dev->fw_data->arr_data;
444 modes_tree_buf = p_dev->fw_data->modes_tree_buf;
502 num_init_ops = p_dev->fw_data->init_ops_size;
503 init_ops = p_dev->fw_data->init_ops;
608 struct ecore_fw_data *fw = p_dev->fw_data;
H A Decore_hw.h318 const u8 *fw_data);
H A Decore.h825 struct ecore_fw_data *fw_data; member
H A Decore_dev.c190 OSAL_FREE(p_dev, p_dev->fw_data); in ecore_resc_free()
191 p_dev->fw_data = OSAL_NULL; in ecore_resc_free()
864 p_dev->fw_data = OSAL_ZALLOC(p_dev, GFP_KERNEL, in ecore_resc_alloc()
865 sizeof(*p_dev->fw_data)); in ecore_resc_alloc()
866 if (!p_dev->fw_data) in ecore_resc_alloc()
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.h622 int t4_load_fw(struct adapter *adapter, const u8 *fw_data, unsigned int size,
651 const u8 *fw_data, unsigned int fw_size,
807 const u8 *fw_data, unsigned int size, int force);
H A Dt4_hw.c3999 const u8 *fw_data, unsigned int fw_size, in t4_prep_fw() argument
4021 if (fw_data != NULL) { in t4_prep_fw()
4022 fs_fw = (const void *)fw_data; in t4_prep_fw()
4043 ret = -t4_fw_upgrade(adap, adap->mbox, fw_data, in t4_prep_fw()
4172 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size, in t4_load_fw() argument
4179 const __be32 *p = (const __be32 *)fw_data; in t4_load_fw()
4180 const struct fw_hdr *hdr = (const struct fw_hdr *)fw_data; in t4_load_fw()
4237 memcpy(first_page, fw_data, SF_PAGE_SIZE); in t4_load_fw()
4246 fw_data += SF_PAGE_SIZE; in t4_load_fw()
4247 ret = t4_write_flash(adap, addr, SF_PAGE_SIZE, fw_data, 1); in t4_load_fw()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_nexus.c1167 unsigned char *fw_data; in prep_firmware() local
1227 fw_data = kmem_zalloc(fw_size, KM_SLEEP); in prep_firmware()
1228 if (firmware_read(fw_hdl, 0, fw_data, fw_size) != 0) { in prep_firmware()
1232 kmem_free(fw_data, fw_size); in prep_firmware()
1240 hdr = (struct fw_hdr *)fw_data; in prep_firmware()
1255 rc = -t4_prep_fw(sc, fw_info, fw_data, fw_size, card_fw, in prep_firmware()
1259 kmem_free(fw_data, fw_size); in prep_firmware()