Lines Matching refs:response

304  * @sync_command_response:  pointer to buffer to fill with sync response
936 * @response: buffer for storing synchronous response
940 * synchronous commands waits for the corresponding response to be read from
941 * the spi before returning. The response is written to the response parameter.
948 u8 *response,
957 if ((buf[0] & SPI_SYN) && response) { /* if sync wait for confirm */
959 priv->sync_command_response = response;
973 if (((buf[0] & SPI_SYN) && response))
994 if (!((buf[0] & SPI_SYN) && response))
1049 u8 *response,
1072 struct mac_message command, response;
1080 response.command_id = SPI_IDLE;
1084 &response.command_id,
1092 if (response.command_id != SPI_TDME_SETSFR_CONFIRM) {
1095 "sync response to SPI_TDME_SETSFR_REQUEST was not SPI_TDME_SETSFR_CONFIRM, it was %d\n",
1096 response.command_id
1101 return response.pdata.tdme_set_sfr_cnf.status;
1501 struct mac_message command, response;
1511 &response.command_id,
1517 if (response.command_id != SPI_MLME_RESET_CONFIRM)
1520 status = response.pdata.status;
1554 struct mac_message command, response;
1595 &response.command_id,
1600 if (response.command_id != SPI_MLME_SET_CONFIRM)
1603 return response.pdata.status;
1622 struct mac_message command, response;
1637 &response.command_id,
1642 if (response.command_id != SPI_HWME_SET_CONFIRM)
1645 return response.pdata.hwme_set_cnf.status;
1664 struct mac_message command, response;
1673 &response.command_id,
1678 if (response.command_id != SPI_HWME_GET_CONFIRM)
1681 if (response.pdata.hwme_get_cnf.status == IEEE802154_SUCCESS) {
1683 response.pdata.hwme_get_cnf.hw_attribute_length;
1686 response.pdata.hwme_get_cnf.hw_attribute_value,
1691 return response.pdata.hwme_get_cnf.status;
2390 u8 response[CA8210_SPI_BUF_SIZE];
2395 response[0] = SPI_MLME_SET_CONFIRM;
2396 response[1] = 3;
2397 response[2] = IEEE802154_INVALID_PARAMETER;
2398 response[3] = buf[2];
2399 response[4] = buf[3];
2401 cascoda_api_upstream(response, 5, device_ref);