• Home
  • Raw
  • Download

Lines Matching refs:command

651 	u8                    *command,
1112 struct mac_message command, response; in tdme_setsfr_request_sync() local
1115 command.command_id = SPI_TDME_SETSFR_REQUEST; in tdme_setsfr_request_sync()
1116 command.length = 3; in tdme_setsfr_request_sync()
1117 command.pdata.tdme_set_sfr_req.sfr_page = sfr_page; in tdme_setsfr_request_sync()
1118 command.pdata.tdme_set_sfr_req.sfr_address = sfr_address; in tdme_setsfr_request_sync()
1119 command.pdata.tdme_set_sfr_req.sfr_value = sfr_value; in tdme_setsfr_request_sync()
1122 &command.command_id, in tdme_setsfr_request_sync()
1123 command.length + 2, in tdme_setsfr_request_sync()
1484 struct mac_message command; in mcps_data_request() local
1486 command.command_id = SPI_MCPS_DATA_REQUEST; in mcps_data_request()
1487 command.pdata.data_req.src_addr_mode = src_addr_mode; in mcps_data_request()
1488 command.pdata.data_req.dst.mode = dst_address_mode; in mcps_data_request()
1490 command.pdata.data_req.dst.pan_id[0] = LS_BYTE(dst_pan_id); in mcps_data_request()
1491 command.pdata.data_req.dst.pan_id[1] = MS_BYTE(dst_pan_id); in mcps_data_request()
1493 command.pdata.data_req.dst.address[0] = LS_BYTE( in mcps_data_request()
1496 command.pdata.data_req.dst.address[1] = MS_BYTE( in mcps_data_request()
1501 command.pdata.data_req.dst.address, in mcps_data_request()
1507 command.pdata.data_req.msdu_length = msdu_length; in mcps_data_request()
1508 command.pdata.data_req.msdu_handle = msdu_handle; in mcps_data_request()
1509 command.pdata.data_req.tx_options = tx_options; in mcps_data_request()
1510 memcpy(command.pdata.data_req.msdu, msdu, msdu_length); in mcps_data_request()
1511 psec = (struct secspec *)(command.pdata.data_req.msdu + msdu_length); in mcps_data_request()
1512 command.length = sizeof(struct mcps_data_request_pset) - in mcps_data_request()
1516 command.length += 1; in mcps_data_request()
1519 command.length += sizeof(struct secspec); in mcps_data_request()
1522 if (ca8210_spi_transfer(device_ref, &command.command_id, in mcps_data_request()
1523 command.length + 2)) in mcps_data_request()
1542 struct mac_message command, response; in mlme_reset_request_sync() local
1545 command.command_id = SPI_MLME_RESET_REQUEST; in mlme_reset_request_sync()
1546 command.length = 1; in mlme_reset_request_sync()
1547 command.pdata.u8param = set_default_pib; in mlme_reset_request_sync()
1550 &command.command_id, in mlme_reset_request_sync()
1551 command.length + 2, in mlme_reset_request_sync()
1595 struct mac_message command, response; in mlme_set_request_sync() local
1621 command.command_id = SPI_MLME_SET_REQUEST; in mlme_set_request_sync()
1622 command.length = sizeof(struct mlme_set_request_pset) - in mlme_set_request_sync()
1624 command.pdata.set_req.pib_attribute = pib_attribute; in mlme_set_request_sync()
1625 command.pdata.set_req.pib_attribute_index = pib_attribute_index; in mlme_set_request_sync()
1626 command.pdata.set_req.pib_attribute_length = pib_attribute_length; in mlme_set_request_sync()
1628 command.pdata.set_req.pib_attribute_value, in mlme_set_request_sync()
1634 &command.command_id, in mlme_set_request_sync()
1635 command.length + 2, in mlme_set_request_sync()
1663 struct mac_message command, response; in hwme_set_request_sync() local
1665 command.command_id = SPI_HWME_SET_REQUEST; in hwme_set_request_sync()
1666 command.length = 2 + hw_attribute_length; in hwme_set_request_sync()
1667 command.pdata.hwme_set_req.hw_attribute = hw_attribute; in hwme_set_request_sync()
1668 command.pdata.hwme_set_req.hw_attribute_length = hw_attribute_length; in hwme_set_request_sync()
1670 command.pdata.hwme_set_req.hw_attribute_value, in hwme_set_request_sync()
1676 &command.command_id, in hwme_set_request_sync()
1677 command.length + 2, in hwme_set_request_sync()
1705 struct mac_message command, response; in hwme_get_request_sync() local
1707 command.command_id = SPI_HWME_GET_REQUEST; in hwme_get_request_sync()
1708 command.length = 1; in hwme_get_request_sync()
1709 command.pdata.hwme_get_req.hw_attribute = hw_attribute; in hwme_get_request_sync()
1712 &command.command_id, in hwme_get_request_sync()
1713 command.length + 2, in hwme_get_request_sync()
1895 static int ca8210_net_rx(struct ieee802154_hw *hw, u8 *command, size_t len) in ca8210_net_rx() argument
1901 dev_dbg(&priv->spi->dev, "%s: CmdID = %d\n", __func__, command[0]); in ca8210_net_rx()
1903 if (command[0] == SPI_MCPS_DATA_INDICATION) { in ca8210_net_rx()
1906 if (command[26] == priv->last_dsn) { in ca8210_net_rx()
1910 command[26] in ca8210_net_rx()
1915 priv->last_dsn = command[26]; in ca8210_net_rx()
1917 return ca8210_skb_rx(hw, len - 2, command + 2); in ca8210_net_rx()
1918 } else if (command[0] == SPI_MCPS_DATA_CONFIRM) { in ca8210_net_rx()
1919 status = command[3]; in ca8210_net_rx()
1923 command[2], in ca8210_net_rx()
2494 u8 command[CA8210_SPI_BUF_SIZE]; in ca8210_test_int_user_write() local
2496 memset(command, SPI_IDLE, 6); in ca8210_test_int_user_write()
2506 ret = copy_from_user(command, in_buf, len); in ca8210_test_int_user_write()
2515 if (len != command[1] + 2) { in ca8210_test_int_user_write()
2523 ret = ca8210_test_check_upstream(command, priv->spi); in ca8210_test_int_user_write()
2526 command, in ca8210_test_int_user_write()
2527 command[1] + 2, in ca8210_test_int_user_write()
2539 if (command[0] & SPI_SYN) in ca8210_test_int_user_write()