Lines Matching refs:command

608 	u8                    *command,
1071 struct mac_message command, response; in tdme_setsfr_request_sync() local
1074 command.command_id = SPI_TDME_SETSFR_REQUEST; in tdme_setsfr_request_sync()
1075 command.length = 3; in tdme_setsfr_request_sync()
1076 command.pdata.tdme_set_sfr_req.sfr_page = sfr_page; in tdme_setsfr_request_sync()
1077 command.pdata.tdme_set_sfr_req.sfr_address = sfr_address; in tdme_setsfr_request_sync()
1078 command.pdata.tdme_set_sfr_req.sfr_value = sfr_value; in tdme_setsfr_request_sync()
1081 &command.command_id, in tdme_setsfr_request_sync()
1082 command.length + 2, in tdme_setsfr_request_sync()
1442 struct mac_message command; in mcps_data_request() local
1444 command.command_id = SPI_MCPS_DATA_REQUEST; in mcps_data_request()
1445 command.pdata.data_req.src_addr_mode = src_addr_mode; in mcps_data_request()
1446 command.pdata.data_req.dst.mode = dst_address_mode; in mcps_data_request()
1448 put_unaligned_le16(dst_pan_id, command.pdata.data_req.dst.pan_id); in mcps_data_request()
1450 command.pdata.data_req.dst.address[0] = LS_BYTE( in mcps_data_request()
1453 command.pdata.data_req.dst.address[1] = MS_BYTE( in mcps_data_request()
1458 command.pdata.data_req.dst.address, in mcps_data_request()
1464 command.pdata.data_req.msdu_length = msdu_length; in mcps_data_request()
1465 command.pdata.data_req.msdu_handle = msdu_handle; in mcps_data_request()
1466 command.pdata.data_req.tx_options = tx_options; in mcps_data_request()
1467 memcpy(command.pdata.data_req.msdu, msdu, msdu_length); in mcps_data_request()
1468 psec = (struct secspec *)(command.pdata.data_req.msdu + msdu_length); in mcps_data_request()
1469 command.length = sizeof(struct mcps_data_request_pset) - in mcps_data_request()
1473 command.length += 1; in mcps_data_request()
1476 command.length += sizeof(struct secspec); in mcps_data_request()
1479 if (ca8210_spi_transfer(device_ref, &command.command_id, in mcps_data_request()
1480 command.length + 2)) in mcps_data_request()
1499 struct mac_message command, response; in mlme_reset_request_sync() local
1502 command.command_id = SPI_MLME_RESET_REQUEST; in mlme_reset_request_sync()
1503 command.length = 1; in mlme_reset_request_sync()
1504 command.pdata.u8param = set_default_pib; in mlme_reset_request_sync()
1507 &command.command_id, in mlme_reset_request_sync()
1508 command.length + 2, in mlme_reset_request_sync()
1552 struct mac_message command, response; in mlme_set_request_sync() local
1578 command.command_id = SPI_MLME_SET_REQUEST; in mlme_set_request_sync()
1579 command.length = sizeof(struct mlme_set_request_pset) - in mlme_set_request_sync()
1581 command.pdata.set_req.pib_attribute = pib_attribute; in mlme_set_request_sync()
1582 command.pdata.set_req.pib_attribute_index = pib_attribute_index; in mlme_set_request_sync()
1583 command.pdata.set_req.pib_attribute_length = pib_attribute_length; in mlme_set_request_sync()
1585 command.pdata.set_req.pib_attribute_value, in mlme_set_request_sync()
1591 &command.command_id, in mlme_set_request_sync()
1592 command.length + 2, in mlme_set_request_sync()
1620 struct mac_message command, response; in hwme_set_request_sync() local
1622 command.command_id = SPI_HWME_SET_REQUEST; in hwme_set_request_sync()
1623 command.length = 2 + hw_attribute_length; in hwme_set_request_sync()
1624 command.pdata.hwme_set_req.hw_attribute = hw_attribute; in hwme_set_request_sync()
1625 command.pdata.hwme_set_req.hw_attribute_length = hw_attribute_length; in hwme_set_request_sync()
1627 command.pdata.hwme_set_req.hw_attribute_value, in hwme_set_request_sync()
1633 &command.command_id, in hwme_set_request_sync()
1634 command.length + 2, in hwme_set_request_sync()
1662 struct mac_message command, response; in hwme_get_request_sync() local
1664 command.command_id = SPI_HWME_GET_REQUEST; in hwme_get_request_sync()
1665 command.length = 1; in hwme_get_request_sync()
1666 command.pdata.hwme_get_req.hw_attribute = hw_attribute; in hwme_get_request_sync()
1669 &command.command_id, in hwme_get_request_sync()
1670 command.length + 2, in hwme_get_request_sync()
1852 static int ca8210_net_rx(struct ieee802154_hw *hw, u8 *command, size_t len) in ca8210_net_rx() argument
1858 dev_dbg(&priv->spi->dev, "%s: CmdID = %d\n", __func__, command[0]); in ca8210_net_rx()
1860 if (command[0] == SPI_MCPS_DATA_INDICATION) { in ca8210_net_rx()
1863 if (command[26] == priv->last_dsn) { in ca8210_net_rx()
1867 command[26] in ca8210_net_rx()
1872 priv->last_dsn = command[26]; in ca8210_net_rx()
1874 return ca8210_skb_rx(hw, len - 2, command + 2); in ca8210_net_rx()
1875 } else if (command[0] == SPI_MCPS_DATA_CONFIRM) { in ca8210_net_rx()
1876 status = command[3]; in ca8210_net_rx()
1880 command[2], in ca8210_net_rx()
2452 u8 command[CA8210_SPI_BUF_SIZE]; in ca8210_test_int_user_write() local
2454 memset(command, SPI_IDLE, 6); in ca8210_test_int_user_write()
2464 ret = copy_from_user(command, in_buf, len); in ca8210_test_int_user_write()
2473 if (len != command[1] + 2) { in ca8210_test_int_user_write()
2481 ret = ca8210_test_check_upstream(command, priv->spi); in ca8210_test_int_user_write()
2484 command, in ca8210_test_int_user_write()
2485 command[1] + 2, in ca8210_test_int_user_write()
2497 if (command[0] & SPI_SYN) in ca8210_test_int_user_write()