Lines Matching +full:b +full:- +full:facing

1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
195 #define DP_HW2SW_MACID(mac_id) ({ typeof(mac_id) x = (mac_id); x ? x - 1 : 0; })
245 /* To indicate HW of CMEM address, b0-31 are cmem base received via QMI */
248 /* Of 20 bits cookie, b0-b8 is to indicate SPT offset and b9-19 for PPT */
265 #define DP_INVALID_BANK_ID -1
345 * - reo_cmd_list
346 * - reo_cmd_cache_flush_list
347 * - reo_cmd_cache_flush_count
441 /* host -> target HTT_SRING_SETUP message
444 * each host facing LMAC SRING. Target setups up HW registers based
452 * |--------------- +-----------------+----------------+------------------|
454 * |----------------------------------------------------------------------|
456 * |----------------------------------------------------------------------|
458 * |----------------------------------------------------------------------|
460 * |----------------------------------------------------------------------|
462 * |----------------------------------------------------------------------|
464 * |----------------------------------------------------------------------|
466 * |----------------------------------------------------------------------|
468 * |----------------------------------------------------------------------|
470 * |----------------------------------------------------------------------|
472 * |----------------------------------------------------------------------|
474 * |----------------------------------------------------------------------|
476 * |----------------------------------------------------------------------|
478 * |----------------------------------------------------------------------|
485 * dword0 - b'0:7 - msg_type: This will be set to
487 * b'8:15 - pdev_id:
490 * b'16:23 - ring_id: identify which ring is to setup,
492 * b'24:31 - ring_type: identify type of host rings,
494 * dword1 - b'0:31 - ring_base_addr_lo: Lower 32bits of ring base address
495 * dword2 - b'0:31 - ring_base_addr_hi: Upper 32bits of ring base address
496 * dword3 - b'0:15 - ring_size: size of the ring in unit of 4-bytes words
497 * b'16:23 - ring_entry_size: Size of each entry in 4-byte word units
498 * b'24:31 - ring_misc_cfg_flag: Valid only for HW_TO_SW_RING and
501 * dword4 - b'0:31 - ring_head_off32_remote_addr_lo:
503 * storing the 4-byte word offset that identifies the head
507 * dword5 - b'0:31 - ring_head_off32_remote_addr_hi:
509 * storing the 4-byte word offset that identifies the head
513 * dword6 - b'0:31 - ring_tail_off32_remote_addr_lo:
515 * storing the 4-byte word offset that identifies the tail
519 * dword7 - b'0:31 - ring_tail_off32_remote_addr_hi:
521 * storing the 4-byte word offset that identifies the tail
525 * dword8 - b'0:31 - ring_msi_addr_lo: Lower 32bits of MSI cfg address
527 * dword9 - b'0:31 - ring_msi_addr_hi: Upper 32bits of MSI cfg address
529 * dword10 - b'0:31 - ring_msi_data: MSI data
532 * dword11 - b'0:14 - intr_batch_counter_th:
533 * batch counter threshold is in units of 4-byte words.
538 * b'15 - sw_intr_mode:
543 * b'16:31 - intr_timer_th:
547 * dword12 - b'0:15 - intr_low_threshold:
552 * b'16:18 - prefetch_timer_cfg:
563 * b'19 - response_required:
565 * b'20:31 - reserved: reserved for future use
604 /* host -> target FW PPDU_STATS config message
613 * |-----------------------------------------------------------|
615 * |-----------------------------------------------------------|
617 * - MSG_TYPE
621 * - PDEV_MASK
627 * Bit 9 - 15 : Indicates PDEV_MASK in DBDC
629 * - REQ_TLV_BIT_MASK
700 * |-------+--+--+--+--+--+-----------+----------------+---------------|
702 * |-------------------------------------------------------------------|
704 * |-------------------------------------------------------------------|
706 * |-------------------------------------------------------------------|
708 * |-------------------------------------------------------------------|
710 * |-------------------------------------------------------------------|
712 * |-------------------------------------------------------------------|
714 * |-------------------------------------------------------------------|
719 * dword0 - b'0:7 - msg_type: This will be set to
721 * b'8:15 - pdev_id:
724 * b'16:23 - ring_id : Identify the ring to configure.
726 * b'24 - status_swap: 1 is to swap status TLV
727 * b'25 - pkt_swap: 1 is to swap packet TLV
728 * b'26 - rx_offset_valid (OV): flag to indicate rx offsets
730 * b'27 - drop_thresh_valid (DT): flag to indicate if the
732 * b'28 - rx_mon_global_en: Enable/Disable global register
734 * b'29:31 - rsvd1: reserved for future use
735 * dword1 - b'0:16 - ring_buffer_size: size of buffers referenced by rx ring,
738 * - b'16:31 - rsvd2: Reserved for future use
739 * dword2 - b'0:31 - packet_type_enable_flags_0:
741 * bits from low to high: FP, MD, MO - 3 bits
745 * 10 mgmt subtypes * 3 bits -> 30 bits
747 * dword3 - b'0:31 - packet_type_enable_flags_1:
749 * bits from low to high: FP, MD, MO - 3 bits
751 * dword4 - b'0:31 - packet_type_enable_flags_2:
753 * bits from low to high: FP, MD, MO - 3 bits
755 * dword5 - b'0:31 - packet_type_enable_flags_3:
758 * bits from low to high: FP, MD, MO - 3 bits
760 * dword6 - b'0:31 - tlv_filter_in_flags:
1216 /* HTT message target->host */
1327 * |----------------------------------------------------------------------|
1329 * |----------------------------------------------------------------------|
1331 * |----------------------------------------------------------------------|
1333 * |----------------------------------------------------------------------|
1335 * |----------------------------------------------------------------------|
1336 * | type-specific stats info |
1338 * |----------------------------------------------------------------------|
1340 * - MSG_TYPE
1345 * - mac_id
1348 * Value: 0-3
1349 * - pdev_id
1352 * Value: 0-3
1354 * 1/2/3 PDEV -> 0/1/2
1355 * - payload_size
1392 /* bw - HTT_PPDU_STATS_BW */
1406 /* BIT [15 : 0] - phy mode (WLAN_PHY_MODE) with which ppdu was transmitted
1407 * BIT [31 : 16] - bandwidth (in MHz) with which ppdu was transmitted
1583 /* @brief target -> host MLO offset indiciation message
1591 * |---------------------------------------------------------------------|
1593 * |---------------------------------------------------------------------|
1595 * |---------------------------------------------------------------------|
1597 * |---------------------------------------------------------------------|
1599 * |---------------------------------------------------------------------|
1601 * |---------------------------------------------------------------------|
1603 * |---------------------------------------------------------------------|
1605 * |---------------------------------------------------------------------|
1607 * |---------------------------------------------------------------------|
1609 * - MSG_TYPE
1612 * - PDEV_ID
1615 * - CHIP_ID
1618 * - MAC_FREQ
1620 * - SYNC_TIMESTAMP_LO_US
1625 * - SYNC_TIMESTAMP_HI_US
1629 * - MLO_OFFSET_LO
1632 * - MLO_OFFSET_HI
1635 * - MLO_COMP_US
1638 * - MLO_COMP_CLCKS
1641 * - MLO_COMP_TIMER
1660 /* @brief host -> target FW extended statistics retrieve
1668 * |-----------------------------------------------------------|
1670 * |-----------------------------------------------------------|
1672 * |-----------------------------------------------------------|
1674 * |-----------------------------------------------------------|
1676 * |-----------------------------------------------------------|
1678 * |-----------------------------------------------------------|
1680 * |-----------------------------------------------------------|
1682 * |-----------------------------------------------------------|
1684 * |-----------------------------------------------------------|
1686 * - MSG_TYPE
1690 * - PDEV_MASK
1696 * Bit 9 - 15 : Indicates PDEV_MASK in DBDC
1698 * - STATS_TYPE
1702 * - Reserved
1704 * - CONFIG_PARAM [0]
1707 * Value: stats-type specific configuration value
1709 * - CONFIG_PARAM [1]
1712 * Value: stats-type specific configuration value
1714 * - CONFIG_PARAM [2]
1717 * Value: stats-type specific configuration value
1719 * - CONFIG_PARAM [3]
1722 * Value: stats-type specific configuration value
1724 * - Reserved [31:0] for future use.
1725 * - COOKIE_LSBS
1727 * Purpose: Provide a mechanism to match a target->host stats confirmation
1728 * message with its preceding host->target stats request message.
1729 * Value: LSBs of the opaque cookie specified by the host-side requestor
1730 * - COOKIE_MSBS
1732 * Purpose: Provide a mechanism to match a target->host stats confirmation
1733 * message with its preceding host->target stats request message.
1734 * Value: MSBs of the opaque cookie specified by the host-side requestor
1768 * [Bit0] - [0] for sw_peer_id, [1] for mac_addr based request
1816 memcpy(addr + 4, &addr_h16, ETH_ALEN - 4); in ath12k_dp_get_mac_addr()