Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 40) sorted by relevance

12

/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dsdio.c89 uint32_t resp = 0; in wlan_card_status() local
94 if (!(sdio_drv_creg_read(CARD_TO_HOST_EVENT_REG, 1, &resp))) in wlan_card_status()
98 if ((resp & bits) == bits) in wlan_card_status()
135 uint32_t resp = 0; in wlan_sdio_init_ioport() local
143 (void)sdio_drv_creg_write(HOST_INT_MASK_REG, 1, 0x0, &resp); in wlan_sdio_init_ioport()
146 (void)sdio_drv_creg_read(CARD_CONFIG_2_1_REG, 1, &resp); in wlan_sdio_init_ioport()
147 data = (t_u8)((resp & 0xff) | CMD53_NEW_MODE); in wlan_sdio_init_ioport()
148 (void)sdio_drv_creg_write(CARD_CONFIG_2_1_REG, 1, data, &resp); in wlan_sdio_init_ioport()
149 (void)sdio_drv_creg_read(CARD_CONFIG_2_1_REG, 1, &resp); in wlan_sdio_init_ioport()
153 (void)sdio_drv_creg_read(CMD_CONFIG_0, 1, &resp); in wlan_sdio_init_ioport()
[all …]
Dmlan_sta_cmdresp.c47 static mlan_status wlan_ret_mfg_tx_cont(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_ioctl_… in wlan_ret_mfg_tx_cont() argument
50 HostCmd_DS_MFG_CMD_TX_CONT *mcmd = (HostCmd_DS_MFG_CMD_TX_CONT *)&resp->params.mfg_tx_cont; in wlan_ret_mfg_tx_cont()
83 static mlan_status wlan_ret_mfg_tx_frame(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_ioctl… in wlan_ret_mfg_tx_frame() argument
86 … HostCmd_DS_MFG_CMD_TX_FRAME2 *mcmd = (HostCmd_DS_MFG_CMD_TX_FRAME2 *)&resp->params.mfg_tx_frame2; in wlan_ret_mfg_tx_frame()
127 static mlan_status wlan_ret_mfg_he_tb_tx(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_ioctl… in wlan_ret_mfg_he_tb_tx() argument
130 HostCmd_DS_MFG_CMD_HE_TBTX_T *mcmd = (HostCmd_DS_MFG_CMD_HE_TBTX_T *)&resp->params.mfg_he_power; in wlan_ret_mfg_he_tb_tx()
162 static mlan_status wlan_ret_mfg_otp_mac_add(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_io… in wlan_ret_mfg_otp_mac_add() argument
165 …HostCmd_DS_MFG_CMD_OTP_MAC_ADD_T *mcmd = (HostCmd_DS_MFG_CMD_OTP_MAC_ADD_T *)&resp->params.mfg_otp… in wlan_ret_mfg_otp_mac_add()
193 static mlan_status wlan_ret_mfg_otp_cal_data(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_i… in wlan_ret_mfg_otp_cal_data() argument
196 …HostCmd_DS_MFG_CMD_OTP_CAL_DATA_T *mcmd = (HostCmd_DS_MFG_CMD_OTP_CAL_DATA_T *)&resp->params.mfg_o… in wlan_ret_mfg_otp_cal_data()
[all …]
Dmlan_glue.c124 void wifi_get_mac_address_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *get_mac_addr);
125 void wifi_get_value1_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint32_t *dev_value1);
126 void wifi_get_firmware_ver_ext_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *fw_ver_ext);
815 static mlan_status do_wlan_ret_11n_addba_resp(HostCmd_DS_COMMAND *resp) in do_wlan_ret_11n_addba_resp() argument
820 dump_addba_req_rsp_packet(resp); in do_wlan_ret_11n_addba_resp()
823 if (resp->result != HostCmd_RESULT_OK) in do_wlan_ret_11n_addba_resp()
825 wifi_d("Failed: ADDBA RESULT: %d", resp->result); in do_wlan_ret_11n_addba_resp()
829 int bss_type = HostCmd_GET_BSS_TYPE(resp->seq_num); in do_wlan_ret_11n_addba_resp()
834 rv = wlan_ret_11n_addba_resp(pmpriv, resp); in do_wlan_ret_11n_addba_resp()
837 wmprintf("ADDBA RESP RESP: %d\n\r", resp->result); in do_wlan_ret_11n_addba_resp()
[all …]
Dwifi-sdio.c106 uint32_t resp; in wifi_send_fw_data() local
144 ret = sdio_drv_write(mlan_adap->ioport + txportno, 1, tx_blocks, buflen, data, &resp); in wifi_send_fw_data()
451 void wifi_get_mac_address_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *mac_addr);
452 void wifi_get_firmware_ver_ext_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint8_t *fw_ver_ext);
453 void wifi_get_value1_from_cmdresp(const HostCmd_DS_COMMAND *resp, uint32_t *dev_value1);
715 uint32_t resp; in wlan_read_rcv_packet() local
730 ret = sdio_drv_read(port, 1, rx_blocks, blksize, inbuf, &resp); in wlan_read_rcv_packet()
734 ret = sdio_drv_read(port, 1, rx_blocks, blksize, inbuf, &resp); in wlan_read_rcv_packet()
741 if (sdio_drv_creg_write(HOST_TO_CARD_EVENT_REG, 1, HOST_TERM_CMD53, &resp) == false) in wlan_read_rcv_packet()
775 ret = sdio_drv_read(port, 1, rx_blocks, blksize, inbuf, &resp); in wlan_read_rcv_packet()
[all …]
Dmlan_cmdevt.c259 mlan_status wlan_ret_802_11_tx_rate_query(IN pmlan_private pmpriv, IN HostCmd_DS_COMMAND *resp, IN … in wlan_ret_802_11_tx_rate_query() argument
265 pmpriv->tx_rate = resp->params.tx_rate.tx_rate; in wlan_ret_802_11_tx_rate_query()
267 pmpriv->tx_htinfo = resp->params.tx_rate.ht_info; in wlan_ret_802_11_tx_rate_query()
362 mlan_status wlan_ret_802_11_tx_rate_query(IN pmlan_private pmpriv, IN HostCmd_DS_COMMAND *resp, IN … in wlan_ret_802_11_tx_rate_query() argument
368 pmpriv->tx_rate = resp->params.tx_rate.tx_rate; in wlan_ret_802_11_tx_rate_query()
369 pmpriv->tx_rate_info = resp->params.tx_rate.tx_rate_info; in wlan_ret_802_11_tx_rate_query()
373 pmpriv->ext_tx_rate_info = resp->params.tx_rate.ext_tx_rate_info; in wlan_ret_802_11_tx_rate_query()
692 mlan_status wlan_ret_tx_rate_cfg(IN pmlan_private pmpriv, IN HostCmd_DS_COMMAND *resp, IN void *pio… in wlan_ret_tx_rate_cfg() argument
710 if (resp == MNULL) in wlan_ret_tx_rate_cfg()
715 prate_cfg = (HostCmd_DS_TX_RATE_CFG *)&(resp->params.tx_rate_cfg); in wlan_ret_tx_rate_cfg()
[all …]
Dwifi.c249 void wifi_wake_up_card(uint32_t *resp) in wifi_wake_up_card() argument
256 (void)sdio_drv_creg_write(0x0, 1, 0x02, resp); in wifi_wake_up_card()
409 uint32_t resp; in wifi_dump_firmware_info() local
428 ret = sdio_drv_creg_write(DEBUG_DUMP_CTRL_REG, 1, DEBUG_HOST_READY, &resp); in wifi_dump_firmware_info()
437 ret = sdio_drv_creg_read(DEBUG_DUMP_CTRL_REG, 1, &resp); in wifi_dump_firmware_info()
443 ctrl_data = resp & 0xff; in wifi_dump_firmware_info()
450 ret = sdio_drv_creg_write(DEBUG_DUMP_CTRL_REG, 1, DEBUG_HOST_READY, &resp); in wifi_dump_firmware_info()
465 ret = sdio_drv_creg_read(reg, 1, &resp); in wifi_dump_firmware_info()
475 ret = sdio_drv_creg_read(reg, 1, &resp); in wifi_dump_firmware_info()
481 data[i++] = resp & 0xff; in wifi_dump_firmware_info()
[all …]
Dmlan_11ax.c458 mlan_status wlan_ret_11ax_cfg(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_ds_11ax_he_cfg *… in wlan_ret_11ax_cfg() argument
460 HostCmd_DS_11AX_CFG *axcfg = (HostCmd_DS_11AX_CFG *)&resp->params.axcfg; in wlan_ret_11ax_cfg()
474 left_len = resp->size - sizeof(HostCmd_DS_11AX_CFG) - S_DS_GEN; in wlan_ret_11ax_cfg()
657 mlan_status wlan_ret_11ax_cmd(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_ioctl_req *pioct… in wlan_ret_11ax_cmd() argument
660 HostCmd_DS_11AX_CMD_CFG *axcmd = &resp->params.axcmd; in wlan_ret_11ax_cmd()
675 left_len = resp->size - sizeof(HostCmd_DS_11AX_CMD_CFG) - S_DS_GEN; in wlan_ret_11ax_cmd()
703 left_len = resp->size - sizeof(HostCmd_DS_11AX_CMD_CFG) - S_DS_GEN; in wlan_ret_11ax_cmd()
Dmlan_sta_cmd.c1594 int wlan_parse_getdata(HostCmd_DS_COMMAND *resp, mlan_ds_subscribe_evt *sub_evt) argument
1596 if (!resp || !sub_evt)
1598 HostCmd_DS_SUBSCRIBE_EVENT *evt = &resp->params.subscribe_event;
1600 …t_u8 *tlv0 = (t_u8 *)resp + sizeof(HostCmd_DS_SUBSCRIBE_E…
1618 if ((tlv - tlv0) > resp->size)
1626 if ((tlv - tlv0) > resp->size)
1634 if ((tlv - tlv0) > resp->size)
1642 if ((tlv - tlv0) > resp->size)
1650 if ((tlv - tlv0) > resp->size)
1658 if ((tlv - tlv0) > resp->size)
[all …]
Dwifi-internal.h384 int wifi_process_cmd_response(HostCmd_DS_COMMAND *resp);
401 void wifi_uap_handle_cmd_resp(HostCmd_DS_COMMAND *resp);
Dmlan_join.c1280 mlan_status wlan_ret_802_11_associate(IN mlan_private *pmpriv, IN HostCmd_DS_COMMAND *resp, IN t_vo… argument
1304 hdr = (IEEEtypes_MgmtHdr_t *)&resp->params;
1307 … passoc_rsp = (IEEEtypes_AssocRsp_t *)((t_u8 *)(&resp->params) + sizeof(IEEEtypes_MgmtHdr_t));
1311 passoc_rsp = (IEEEtypes_AssocRsp_t *)&resp->params;
1317 passoc_rsp = (IEEEtypes_AssocRsp_t *)(void *)&resp->params;
Dmlan_scan.c2802 mlan_status wlan_ret_802_11_scan(IN mlan_private *pmpriv, IN HostCmd_DS_COMMAND *resp, IN t_void *p… in wlan_ret_802_11_scan() argument
2847 is_bgscan_resp = ((resp->command & HostCmd_CMD_ID_MASK) == HostCmd_CMD_802_11_BG_SCAN_QUERY); in wlan_ret_802_11_scan()
2850 pscan_rsp = &resp->params.bg_scan_query_resp.scan_resp; in wlan_ret_802_11_scan()
2855 pscan_rsp = &resp->params.scan_resp; in wlan_ret_802_11_scan()
2870 scan_resp_size = resp->size; in wlan_ret_802_11_scan()
2887 if (is_bgscan_resp && (tlv_buf_size > sizeof(resp->params.bg_scan_query_resp.report_condition))) in wlan_ret_802_11_scan()
2889 tlv_buf_size -= sizeof(resp->params.bg_scan_query_resp.report_condition); in wlan_ret_802_11_scan()
3272 mlan_status wlan_ret_802_11_scan_ext(IN mlan_private *pmpriv, IN HostCmd_DS_COMMAND *resp, IN t_voi… in wlan_ret_802_11_scan_ext() argument
3275 HostCmd_DS_802_11_SCAN_EXT *pext_scan_cmd = &(resp->params.ext_scan); in wlan_ret_802_11_scan_ext()
3294 pmadapter->scan_state |= wlan_get_ext_scan_state(resp); in wlan_ret_802_11_scan_ext()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/sdio_nxp_abs/
Dfwdnld_sdio.c29 uint32_t resp; in wlan_set_fw_dnld_size() local
31 bool rv = sdio_drv_creg_write(FN1_BLOCK_SIZE_0, 0, 0, &resp); in wlan_set_fw_dnld_size()
37 rv = sdio_drv_creg_write(FN1_BLOCK_SIZE_1, 0, 1, &resp); in wlan_set_fw_dnld_size()
48 uint32_t resp = 0; in wlan_card_fw_status() local
50 (void)sdio_drv_creg_read(CARD_FW_STATUS0_REG, 1, &resp); in wlan_card_fw_status()
51 *dat = (t_u16)(resp & 0xffU); in wlan_card_fw_status()
52 (void)sdio_drv_creg_read(CARD_FW_STATUS1_REG, 1, &resp); in wlan_card_fw_status()
53 *dat |= (t_u16)((resp & 0xffU) << 8); in wlan_card_fw_status()
85 uint32_t resp; in wlan_sdio_disable_host_int_mask() local
92 (void)sdio_drv_creg_write(HOST_INT_MASK_REG, 1, host_int_mask, &resp); in wlan_sdio_disable_host_int_mask()
[all …]
Dmlan_sdio.c25 int sdio_drv_creg_read(int addr, int fn, uint32_t *resp) in sdio_drv_creg_read() argument
29 if (sdio_read_byte(func, addr, (uint8_t *)resp) != 0) in sdio_drv_creg_read()
37 int sdio_drv_creg_write(int addr, int fn, uint8_t data, uint32_t *resp) in sdio_drv_creg_write() argument
41 if (sdio_rw_byte(func, addr, data, (uint8_t *)resp) != 0) in sdio_drv_creg_write()
49 …o_drv_read(uint32_t addr, uint32_t fn, uint32_t bcnt, uint32_t bsize, uint8_t *buf, uint32_t *resp) in sdio_drv_read() argument
61 …_drv_write(uint32_t addr, uint32_t fn, uint32_t bcnt, uint32_t bsize, uint8_t *buf, uint32_t *resp) in sdio_drv_write() argument
98 uint32_t resp; in sdio_card_init() local
119 (void)sdio_drv_creg_read(0x0, 0, &resp); in sdio_card_init()
121 sdio_d("Card Version - (0x%x)", resp & 0xff); in sdio_card_init()
127 (void)sdio_drv_creg_write(0x4, 0, 0x3, &resp); in sdio_card_init()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/wpa_supp_if/
Dwifi_nxp_internal.c142 nxp_wifi_event_mlme_t *resp = &wm_wifi.mgmt_resp; in wifi_process_mgmt_tx_status() local
143 resp->frame.frame_len = 0; in wifi_process_mgmt_tx_status()
151 …ifi.supp_if_callbk_fns->mgmt_tx_status_callbk_fn(wm_wifi.hapd_if_priv, resp, resp->frame.frame_len… in wifi_process_mgmt_tx_status()
155 …wm_wifi.supp_if_callbk_fns->mgmt_tx_status_callbk_fn(wm_wifi.if_priv, resp, resp->frame.frame_len); in wifi_process_mgmt_tx_status()
/hal_nxp-latest/mcux/mcux-sdk/components/srtm/srtm/
Dsrtm_dispatcher.c537 srtm_response_t resp; in SRTM_Dispatcher_Request() local
559 req->reqMsg.sync.resp = NULL; in SRTM_Dispatcher_Request()
583 resp = req->reqMsg.sync.resp; in SRTM_Dispatcher_Request()
586 *pResp = resp; /* Now application gets response and will destroy it later */ in SRTM_Dispatcher_Request()
589 if (resp == NULL) /* Failed to get response */ in SRTM_Dispatcher_Request()
597 SRTM_Response_Destroy(resp); in SRTM_Dispatcher_Request()
622 srtm_status_t SRTM_Dispatcher_DeliverResponse(srtm_dispatcher_t disp, srtm_response_t resp) in SRTM_Dispatcher_DeliverResponse() argument
626 return SRTM_Dispatcher_DeliverRawData(disp, resp); in SRTM_Dispatcher_DeliverResponse()
815 srtm_response_t resp; in SRTM_Dispatcher_HandleResponse() local
842 resp = SRTM_Message_Duplicate(msg); in SRTM_Dispatcher_HandleResponse()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/sdio_nxp_abs/incl/
Dmlan_sdio_api.h68 int sdio_drv_creg_read(int addr, int fn, uint32_t *resp);
81 int sdio_drv_creg_write(int addr, int fn, uint8_t data, uint32_t *resp);
96 …_drv_read(uint32_t addr, uint32_t fn, uint32_t bcnt, uint32_t bsize, uint8_t *buf, uint32_t *resp);
118 …drv_write(uint32_t addr, uint32_t fn, uint32_t bcnt, uint32_t bsize, uint8_t *buf, uint32_t *resp);
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/
Dmlan_wmm.h153 const IN HostCmd_DS_COMMAND *resp,
157 const IN HostCmd_DS_COMMAND *resp,
175 IN HostCmd_DS_COMMAND *resp,
179 const IN HostCmd_DS_COMMAND *resp,
183 const IN HostCmd_DS_COMMAND *resp,
201 mlan_status wlan_ret_wmm_param_config(pmlan_private pmpriv, const HostCmd_DS_COMMAND *resp, mlan_io…
Dmlan_main.h2583 IN HostCmd_DS_COMMAND *resp,
2588 IN HostCmd_DS_COMMAND *resp,
2597 mlan_status wlan_ret_tx_rate_cfg(IN pmlan_private pmpriv, IN HostCmd_DS_COMMAND *resp, IN void *pio…
2600 mlan_status wlan_ret_802_11_tx_rate_query(IN pmlan_private pmpriv, IN HostCmd_DS_COMMAND *resp, IN …
2610 mlan_status wlan_ret_bgscan_config(IN mlan_private *pmpriv, IN HostCmd_DS_COMMAND *resp, IN mlan_io…
2619 int wlan_parse_getdata(HostCmd_DS_COMMAND *resp, mlan_ds_subscribe_evt *sub_evt);
2666 mlan_status wlan_ret_802_11_scan(IN mlan_private *pmpriv, IN HostCmd_DS_COMMAND *resp, IN t_void *p…
2672 mlan_status wlan_ret_802_11_scan_ext(IN pmlan_private pmpriv, IN HostCmd_DS_COMMAND *resp, IN t_voi…
2696 mlan_status wlan_ret_802_11_associate(IN mlan_private *pmpriv, IN HostCmd_DS_COMMAND *resp, IN t_vo…
2704 IN HostCmd_DS_COMMAND *resp,
[all …]
Dmlan_11n.h31 mlan_status wlan_ret_11n_delba(mlan_private *priv, HostCmd_DS_COMMAND *resp);
33 mlan_status wlan_ret_11n_addba_req(mlan_private *priv, HostCmd_DS_COMMAND *resp);
35 mlan_status wlan_ret_11n_cfg(IN pmlan_private pmpriv, IN HostCmd_DS_COMMAND *resp, IN mlan_ioctl_re…
47 mlan_status wlan_ret_tx_bf_cfg(IN pmlan_private pmpriv, IN HostCmd_DS_COMMAND *resp, IN mlan_ioctl_…
88 mlan_status wlan_ret_amsdu_aggr_ctrl(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_ioctl_req…
Dmlan_11ax.h47 mlan_status wlan_ret_11ax_cfg(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_ds_11ax_he_cfg *…
49 mlan_status wlan_ret_11ax_cmd(pmlan_private pmpriv, HostCmd_DS_COMMAND *resp, mlan_ioctl_req *pioct…
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/netc_hw/
Dfsl_netc_hw.c237 if (cbd->resp.error != 0U) in NETC_CmdBDSendCommand()
239 status = (status_t)cbd->resp.error; in NETC_CmdBDSendCommand()
423 if (0U != cmdBd.resp.numMatched) in NETC_QueryISITableEntry()
454 if (0U != cmdBd.resp.numMatched) in NETC_QueryISITableEntryWithKey()
526 if (0U != cmdBd.resp.numMatched) in NETC_QueryISTableEntry()
633 if (0U != cmdBd.resp.numMatched) in NETC_QueryISFTableEntry()
788 if (cmdBd.resp.numMatched != 0U) in NETC_QuerySGITableEntry()
868 if (cmdBd.resp.numMatched != 0U) in NETC_GetSGCLGateList()
937 if ((cmd == kNETC_AddEntry) && (cmdBd.resp.numMatched > 0U)) in NETC_AddOrUpdateRPTableEntry()
941 else if ((cmd == kNETC_UpdateEntry) && (cmdBd.resp.numMatched == 0U)) in NETC_AddOrUpdateRPTableEntry()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC804/drivers/
Drom_api.h20 void (*set_pll)(unsigned int cmd[], unsigned int resp[]);
21 void (*set_power)(unsigned int cmd[], unsigned int resp[]);
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC802/drivers/
Drom_api.h20 void (*set_pll)(unsigned int cmd[], unsigned int resp[]);
21 void (*set_power)(unsigned int cmd[], unsigned int resp[]);
/hal_nxp-latest/mcux/mcux-sdk/components/srtm/include/
Dsrtm_dispatcher.h25 …ispatcher_resp_cb_t)(srtm_dispatcher_t disp, srtm_message_t req, srtm_message_t resp, void *param);
154 srtm_status_t SRTM_Dispatcher_DeliverResponse(srtm_dispatcher_t disp, srtm_response_t resp);
/hal_nxp-latest/mcux/middleware/wifi_nxp/firmware_dnld/
Dfirmware_dnld.c65 uint32_t resp; in conn_download_decomp_fw() local
152 sdio_drv_write(ioport, 1, tx_blocks, buflen, (t_u8 *)loutbuf, &resp); in conn_download_decomp_fw()

12