Lines Matching refs:response
345 * @sync_command_response: pointer to buffer to fill with sync response
977 * @response: buffer for storing synchronous response
981 * synchronous commands waits for the corresponding response to be read from
982 * the spi before returning. The response is written to the response parameter.
989 u8 *response,
998 if ((buf[0] & SPI_SYN) && response) { /* if sync wait for confirm */
1000 priv->sync_command_response = response;
1014 if (((buf[0] & SPI_SYN) && response))
1035 if (!((buf[0] & SPI_SYN) && response))
1090 u8 *response,
1113 struct mac_message command, response;
1121 response.command_id = SPI_IDLE;
1125 &response.command_id,
1133 if (response.command_id != SPI_TDME_SETSFR_CONFIRM) {
1136 "sync response to SPI_TDME_SETSFR_REQUEST was not SPI_TDME_SETSFR_CONFIRM, it was %d\n",
1137 response.command_id
1142 return response.pdata.tdme_set_sfr_cnf.status;
1543 struct mac_message command, response;
1553 &response.command_id,
1559 if (response.command_id != SPI_MLME_RESET_CONFIRM)
1562 status = response.pdata.status;
1596 struct mac_message command, response;
1637 &response.command_id,
1642 if (response.command_id != SPI_MLME_SET_CONFIRM)
1645 return response.pdata.status;
1664 struct mac_message command, response;
1679 &response.command_id,
1684 if (response.command_id != SPI_HWME_SET_CONFIRM)
1687 return response.pdata.hwme_set_cnf.status;
1706 struct mac_message command, response;
1715 &response.command_id,
1720 if (response.command_id != SPI_HWME_GET_CONFIRM)
1723 if (response.pdata.hwme_get_cnf.status == MAC_SUCCESS) {
1725 response.pdata.hwme_get_cnf.hw_attribute_length;
1728 response.pdata.hwme_get_cnf.hw_attribute_value,
1733 return response.pdata.hwme_get_cnf.status;
2433 u8 response[CA8210_SPI_BUF_SIZE];
2438 response[0] = SPI_MLME_SET_CONFIRM;
2439 response[1] = 3;
2440 response[2] = MAC_INVALID_PARAMETER;
2441 response[3] = buf[2];
2442 response[4] = buf[3];
2444 cascoda_api_upstream(response, 5, device_ref);