Lines Matching +full:in +full:- +full:max
5 * SPDX-License-Identifier: Apache-2.0
91 * Set Max Write Length (Broadcast or Direct)
98 * Set Max Read Length (Broadcast or Direct)
117 /** Enter HDR Mode (HDR-DDR) (Broadcast) */
120 /** Enter HDR Mode 0 (HDR-DDR) (Broadcast) */
123 /** Enter HDR Mode 1 (HDR-TSP) (Broadcast) */
126 /** Enter HDR Mode 2 (HDR-TSL) (Broadcast) */
129 /** Enter HDR Mode 3 (HDR-BT) (Broadcast) */
171 /** Multi-Lane Data Transfer Control (Broadcast) */
188 /** Get Max Write Length (Direct) */
191 /** Get Max Read Length (Direct) */
212 /** Get Max Data Speed (Direct) */
243 * - For Write CCC, pointer to the byte array of data
244 * to be sent, which may contain the Sub-Command Byte
246 * - For Read CCC, pointer to the byte buffer for data
251 /** Length in bytes for @p data. */
277 * This is the bytes following the CCC command in CCC frame.
282 /** Length in bytes for optional data array. */
316 * - Bit[0]: ENINT/DISINT:
317 * - Target Interrupt Requests
318 * - Bit[1]: ENCR/DISCR:
319 * - Controller Role Requests
320 * - Bit[3]: ENHJ/DISHJ:
321 * - Hot-Join Event
326 /** Enable Events (ENEC) - Target Interrupt Requests. */
329 /** Enable Events (ENEC) - Controller Role Requests. */
332 /** Enable Events (ENEC) - Hot-Join Event. */
338 /** Disable Events (DISEC) - Target Interrupt Requests. */
341 /** Disable Events (DISEC) - Controller Role Requests. */
344 /** Disable Events (DISEC) - Hot-Join Event. */
355 /** Events - Target Interrupt Requests. */
358 /** Events - Controller Role Requests. */
361 /** Events - Hot-Join Event. */
372 * back from target device is in big endian. This needs to be
385 * back from target device is in big endian. This needs to be
471 /** Indicates that I3C Devices shall return a random 32-bit value
472 * in the PID during the Dynamic Address Assignment procedure
481 * - SETDASA (Set Dynamic Address from Static Address)
482 * - SETNEWDA (Set New Dynamic Address)
483 * - SETGRPA (Set Group Address)
484 * - GETACCCR (Get Accept Controller Role)
487 * struct i3c_ccc_target_payload instead of being encoded in
492 * - For SETDASA, Static Address to be assigned as
494 * - For SETNEWDA, new Dynamic Address to be assigned.
495 * - For SETGRPA, new Group Address to be set.
496 * - For GETACCCR, the correct address of Secondary
500 * the address is left-shift by 1, and bit[0] is always 0.
502 * @note Fpr SET GETACCCR, the address is left-shift by 1,
513 * 48-bit Provisioned ID.
515 * @note Data is big-endian where first byte is MSB.
555 /** PRECR - Alternate status format describing Controller-capable device. */
569 * - Bit[15:8]: Reserved.
570 * - Bit[7:6]: Activity Mode.
571 * - Bit[5]: Protocol Error.
572 * - Bit[4]: Reserved.
573 * - Bit[3:0]: Number of Pending Interrupts.
576 * back from target device is in big endian. This needs to be
593 * - Bit[15:8]: Vendor Reserved
594 * - Bit[7:2]: Reserved
595 * - Bit[1]: Handoff Delay NACK
596 * - Bit[0]: Deep Sleep Detected
599 * back from target device is in big endian. This needs to be
609 /** GETSTATUS Format 1 - Protocol Error bit. */
612 /** GETSTATUS Format 1 - Activity Mode bitmask. */
616 * @brief GETSTATUS Format 1 - Activity Mode
626 /** GETSTATUS Format 1 - Number of Pending Interrupts bitmask. */
630 * @brief GETSTATUS Format 1 - Number of Pending Interrupts
640 /** GETSTATUS Format 2 - PERCR - Deep Sleep Detected bit. */
643 /** GETSTATUS Format 2 - PERCR - Handoff Delay NACK. */
653 * @note The address is left-shift by 1, and bit[0]
659 * 16-bit ID for the bridged target.
662 * back from target device is in big endian. This needs to be
673 * struct i3c_ccc_target_payload instead of being encoded in
699 * @brief Enum for I3C Get Max Data Speed (GETMXDS) Format 3 Defining Byte Values.
706 /** Delay parameters for a Controller-capable Device, and it's expected Activity State
717 * @brief Payload for GETMXDS CCC (Get Max Data Speed).
736 * Maximum Read Turnaround Time in microsecond.
738 * This is in little-endian where first byte is LSB.
753 * - Bit[2]: Set Bus Activity State
754 * - Bit[1:0]: Controller Handoff Activity State
760 /** Get Max Data Speed (GETMXDS) - Default Max Sustained Data Rate. */
763 /** Get Max Data Speed (GETMXDS) - 8MHz Max Sustained Data Rate. */
766 /** Get Max Data Speed (GETMXDS) - 6MHz Max Sustained Data Rate. */
769 /** Get Max Data Speed (GETMXDS) - 4MHz Max Sustained Data Rate. */
772 /** Get Max Data Speed (GETMXDS) - 2MHz Max Sustained Data Rate. */
775 /** Get Max Data Speed (GETMXDS) - Clock to Data Turnaround <= 8ns. */
778 /** Get Max Data Speed (GETMXDS) - Clock to Data Turnaround <= 9ns. */
781 /** Get Max Data Speed (GETMXDS) - Clock to Data Turnaround <= 10ns. */
784 /** Get Max Data Speed (GETMXDS) - Clock to Data Turnaround <= 11ns. */
787 /** Get Max Data Speed (GETMXDS) - Clock to Data Turnaround <= 12ns. */
790 /** Get Max Data Speed (GETMXDS) - Clock to Data Turnaround > 12ns. */
793 /** Get Max Data Speed (GETMXDS) - maxWr - Optional Defining Byte Support. */
796 /** Get Max Data Speed (GETMXDS) - Max Sustained Data Rate bitmask. */
800 * @brief Get Max Data Speed (GETMXDS) - maxWr - Max Sustained Data Rate
802 * Obtain Max Sustained Data Rate value from GETMXDS maxWr value
810 /** Get Max Data Speed (GETMXDS) - maxRd - Write-to-Read Permits Stop Between. */
813 /** Get Max Data Speed (GETMXDS) - maxRd - Clock to Data Turnaround bitmask. */
817 * @brief Get Max Data Speed (GETMXDS) - maxRd - Clock to Data Turnaround
827 /** Get Max Data Speed (GETMXDS) - maxRd - Max Sustained Data Rate bitmask. */
831 * @brief Get Max Data Speed (GETMXDS) - maxRd - Max Sustained Data Rate
833 * Obtain Max Sustained Data Rate value from GETMXDS maxRd value
841 /** Get Max Data Speed (GETMXDS) - CRDHLY1 - Set Bus Activity State bit shift value. */
844 /** Get Max Data Speed (GETMXDS) - CRDHLY1 - Controller Handoff Activity State bitmask. */
848 * @brief Get Max Data Speed (GETMXDS) - CRDHLY1 - Controller Handoff Activity State
885 /** Debug-capable Device capabilities and features. */
895 * @note Only supports GETCAPS Format 1 and Format 2. In I3C v1.0 this was
903 * - Bit[0]: HDR-DDR
904 * - Bit[1]: HDR-TSP
905 * - Bit[2]: HDR-TSL
906 * - Bit[7:3]: Reserved
913 * - Bit[0]: HDR-DDR
914 * - Bit[1]: HDR-TSP
915 * - Bit[2]: HDR-TSL
916 * - Bit[3]: HDR-BT
917 * - Bit[7:4]: Reserved
919 * - Bit[3:0]: I3C 1.x Specification Version
920 * - Bit[5:4]: Group Address Capabilities
921 * - Bit[6]: HDR-DDR Write Abort
922 * - Bit[7]: HDR-DDR Abort CRC
924 * - Bit[0]: Multi-Lane (ML) Data Transfer Support
925 * - Bit[1]: Device to Device Transfer (D2DXFER) Support
926 * - Bit[2]: Device to Device Transfer (D2DXFER) IBI Capable
927 * - Bit[3]: Defining Byte Support in GETCAPS
928 * - Bit[4]: Defining Byte Support in GETSTATUS
929 * - Bit[5]: HDR-BT CRC-32 Support
930 * - Bit[6]: IBI MDB Support for Pending Read Notification
931 * - Bit[7]: Reserved
933 * - Bit[7:0]: Reserved
949 * @note should always be 0xA55AA55A in big endian
956 * - Bit[0]: Hot-Join Support
957 * - Bit[1]: Group Management Support
958 * - Bit[2]: Multi-Lane Support
960 * - Bit[0]: In-Band Interrupt Support
961 * - Bit[1]: Controller Pass-Back
962 * - Bit[2]: Deep Sleep Capable
963 * - Bit[3]: Delayed Controller Handoff
970 * - Bit[2:0]: Virtual Target Type
971 * - Bit[4]: Side Effects
972 * - Bit[5]: Shared Peripheral Detect
974 * - Bit[1:0]: Interrupt Requests
975 * - Bit[2]: Address Remapping
976 * - Bit[4:3]: Bus Context and Conditions
982 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR-DDR mode bit. */
985 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR-TSP mode bit. */
988 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR-TSL mode bit. */
991 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR-BT mode bit. */
995 * @brief Get Optional Feature Capabilities Byte 1 (GETCAPS) - HDR Mode
1003 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR Mode 0. */
1006 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR Mode 1. */
1009 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR Mode 2. */
1012 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR Mode 3. */
1015 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR Mode 4. */
1018 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR Mode 5. */
1021 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR Mode 6. */
1024 /** Get Optional Feature Capabilities Byte 1 (GETCAPS) Format 1 - HDR Mode 7. */
1027 /** Get Optional Feature Capabilities Byte 2 (GETCAPS) Format 1 - HDR-DDR Write Abort bit. */
1030 /** Get Optional Feature Capabilities Byte 2 (GETCAPS) Format 1 - HDR-DDR Abort CRC bit. */
1034 * @brief Get Optional Feature Capabilities Byte 2 (GETCAPS) Format 1 -
1040 * @brief Get Optional Feature Capabilities Byte 2 (GETCAPS) Format 1 - Group Address Capabilities.
1051 * @brief Get Optional Feature Capabilities Byte 2 (GETCAPS) Format 1 -
1057 * @brief Get Optional Feature Capabilities Byte 2 (GETCAPS) Format 1 -
1069 * @brief Get Optional Feature Capabilities Byte 3 (GETCAPS) Format 1 -
1070 * Multi-Lane Data Transfer Support bit.
1075 * @brief Get Optional Feature Capabilities Byte 3 (GETCAPS) Format 1 -
1081 * @brief Get Optional Feature Capabilities Byte 3 (GETCAPS) Format 1 -
1087 * @brief Get Optional Feature Capabilities Byte 3 (GETCAPS) Format 1 -
1088 * Defining Byte Support in GETCAPS bit.
1093 * @brief Get Optional Feature Capabilities Byte 3 (GETCAPS) Format 1 -
1094 * Defining Byte Support in GETSTATUS bit.
1099 * @brief Get Optional Feature Capabilities Byte 3 (GETCAPS) Format 1 -
1100 * HDR-BT CRC-32 Support bit.
1105 * @brief Get Optional Feature Capabilities Byte 3 (GETCAPS) Format 1 -
1111 * @brief Get Fixed Test Pattern (GETCAPS) Format 2 -
1117 * @brief Get Fixed Test Pattern (GETCAPS) Format 2 -
1123 * @brief Get Fixed Test Pattern (GETCAPS) Format 2 -
1129 * @brief Get Fixed Test Pattern (GETCAPS) Format 2 -
1135 * @brief Get Fixed Test Pattern (GETCAPS) Format 2 -
1136 * Fixed Test Pattern Word in Big Endian.
1141 * @brief Get Controller Handoff Capabilities Byte 1 (GETCAPS) Format 2 -
1142 * Hot-Join Support.
1147 * @brief Get Controller Handoff Capabilities Byte 1 (GETCAPS) Format 2 -
1153 * @brief Get Controller Handoff Capabilities Byte 1 (GETCAPS) Format 2 -
1154 * Multi-Lane Support.
1159 * @brief Get Controller Handoff Capabilities Byte 2 (GETCAPS) Format 2 -
1160 * In-Band Interrupt Support.
1165 * @brief Get Controller Handoff Capabilities Byte 2 (GETCAPS) Format 2 -
1166 * Controller Pass-Back.
1171 * @brief Get Controller Handoff Capabilities Byte 2 (GETCAPS) Format 2 -
1177 * @brief Get Controller Handoff Capabilities Byte 2 (GETCAPS) Format 2 -
1182 /** Get Capabilities (GETCAPS) - VTCAP1 - Virtual Target Type bitmask. */
1186 * @brief Get Capabilities (GETCAPS) - VTCAP1 - Virtual Target Type
1197 * @brief Get Virtual Target Capabilities Byte 1 (GETCAPS) Format 2 -
1203 * @brief Get Virtual Target Capabilities Byte 1 (GETCAPS) Format 2 -
1208 /** Get Capabilities (GETCAPS) - VTCAP2 - Interrupt Requests bitmask. */
1212 * @brief Get Capabilities (GETCAPS) - VTCAP2 - Interrupt Requests
1223 * @brief Get Virtual Target Capabilities Byte 2 (GETCAPS) Format 2 -
1228 /** Get Capabilities (GETCAPS) - VTCAP2 - Bus Context and Condition bitmask. */
1232 * @brief Get Capabilities (GETCAPS) - VTCAP2 - Bus Context and Condition
1278 * - CONTEXT[7:6]: 2'b00
1280 * - CONTEXT[5]: I3C Specification Editorial Revision (within Minor Version)
1281 * - 0: Version 1.Y.0
1282 * - 1: Version 1.Y.1 or greater
1284 * - CONTEXT[4]: I3C Specification Family
1285 * - 0: MIPI I3C Specification
1286 * - 1: MIPI I3C Basic Specification
1288 * - CONTEXT[3:0]: I3C Specification Minor Version (v1.Y)
1289 * - 0: Illegal, do not use (see Note below)
1290 * (It would encode v1.0, but SETBUSCON was not available in I3C Basic v1.0)
1291 * - 1-15: Version 1.1 - Version 1.15
1345 * MCTP for system manageability (conforming to the content protocol defined in
1355 * and other ETSI security functions in mobile ecosystem
1366 * @param[in] payload Pointer to the CCC payload.
1373 return (payload->ccc.id <= I3C_CCC_BROADCAST_MAX_ID); in i3c_ccc_is_payload_broadcast()
1382 * @param[in] target Pointer to the target device descriptor.
1396 * @param[in] target Pointer to the target device descriptor.
1410 * @param[in] target Pointer to the target device descriptor.
1424 * @param[in] controller Pointer to the controller device driver instance.
1425 * @param[in] action What reset action to perform.
1438 * @param[in] target Pointer to the target device descriptor.
1439 * @param[in] action What reset action to perform.
1440 * @param[in] get True if a get, False if set
1456 * @param[in] target Pointer to the target device descriptor.
1457 * @param[in] action What reset action to perform.
1473 * @param[in] target Pointer to the target device descriptor.
1474 * @param[in] action What reset action to perform.
1491 * @param[in] controller Pointer to the controller device driver instance.
1505 * @param[in] target Pointer to the target device descriptor where
1507 * @param[in] da Struct of the Dynamic address
1521 * @param[in] target Pointer to the target device descriptor where
1523 * @param[in] new_da Struct of the Dynamic address
1536 * @param[in] controller Pointer to the controller device driver instance.
1537 * @param[in] enable ENEC if true, DISEC if false.
1538 * @param[in] events Pointer to the event struct.
1551 * @param[in] target Pointer to the target device descriptor.
1552 * @param[in] enable ENEC if true, DISEC if false.
1553 * @param[in] events Pointer to the event struct.
1566 * @param[in] target Pointer to the target device descriptor.
1567 * @param[in] as Activity State level
1579 * @param[in] target Pointer to the target device descriptor.
1594 * @param[in] target Pointer to the target device descriptor.
1609 * @param[in] target Pointer to the target device descriptor.
1624 * @param[in] target Pointer to the target device descriptor.
1638 * @param[in] controller Pointer to the controller device driver instance.
1639 * @param[in] as Activity State level
1650 * @param[in] controller Pointer to the controller device driver instance.
1664 * @param[in] controller Pointer to the controller device driver instance.
1678 * @param[in] controller Pointer to the controller device driver instance.
1692 * @param[in] controller Pointer to the controller device driver instance.
1707 * @param[in] controller Pointer to the controller device driver instance.
1708 * @param[in] mwl Pointer to SETMWL payload.
1721 * @param[in] target Pointer to the target device descriptor.
1722 * @param[in] mwl Pointer to SETMWL payload.
1735 * @param[in] target Pointer to the target device descriptor.
1749 * @param[in] controller Pointer to the controller device driver instance.
1750 * @param[in] mrl Pointer to SETMRL payload.
1751 * @param[in] has_ibi_size True if also sending the optional IBI payload
1769 * @param[in] target Pointer to the target device descriptor.
1770 * @param[in] mrl Pointer to SETMRL payload.
1786 * @param[in] target Pointer to the target device descriptor.
1799 * @param[in] controller Pointer to the controller device driver instance.
1800 * @param[in] defbyte Defining Byte for ENTTM.
1816 * @param[in] target Pointer to the target device descriptor.
1818 * @param[in] fmt Which GETSTATUS to use.
1819 * @param[in] defbyte Defining Byte if using format 2.
1834 * @param[in] target Pointer to the target device descriptor.
1853 * @param[in] target Pointer to the target device descriptor.
1855 * @param[in] defbyte Defining Byte for GETSTATUS format 2.
1876 * @param[in] target Pointer to the target device descriptor.
1878 * @param[in] fmt Which GETCAPS to use.
1879 * @param[in] defbyte Defining Byte if using format 2.
1894 * @param[in] target Pointer to the target device descriptor.
1913 * @param[in] target Pointer to the target device descriptor.
1915 * @param[in] defbyte Defining Byte for GETCAPS format 2.
1933 * @param[in] target Pointer to the target device descriptor.
1934 * @param[in] id Vendor CCC ID.
1935 * @param[in] payload Pointer to payload.
1936 * @param[in] len Length of payload. 0 if no payload.
1951 * @param[in] target Pointer to the target device descriptor.
1952 * @param[in] id Vendor CCC ID.
1954 * @param[in] len Maximum Expected Length of the payload
1972 * @param[in] target Pointer to the target device descriptor.
1973 * @param[in] id Vendor CCC ID.
1974 * @param[in] defbyte Defining Byte
1976 * @param[in] len Maximum Expected Length of the payload
1993 * @param[in] controller Pointer to the controller device driver instance.
1994 * @param[in] id Vendor CCC ID.
1995 * @param[in] payload Pointer to payload.
1996 * @param[in] len Length of payload. 0 if no payload.
2012 * @param[in] controller Pointer to the controller device driver instance.
2019 * @brief Single target GETMXDS to Get Max Data Speed.
2021 * Helper function to do GETMXDS (Get Max Data Speed) of
2024 * This should only be supported if Max Data Speed Limit Bit of
2027 * @param[in] target Pointer to the target device descriptor.
2029 * @param[in] fmt Which GETMXDS to use.
2030 * @param[in] defbyte Defining Byte if using format 3.
2040 * @brief Single target GETMXDS to Get Max Data Speed (Format 1).
2042 * Helper function to do GETMXDS (Get Max Data Speed, format 1) of
2045 * @param[in] target Pointer to the target device descriptor.
2059 * @brief Single target GETMXDS to Get Max Data Speed (Format 2).
2061 * Helper function to do GETMXDS (Get Max Data Speed, format 2) of
2064 * @param[in] target Pointer to the target device descriptor.
2078 * @brief Single target GETMXDS to Get Max Data Speed (Format 3).
2080 * Helper function to do GETMXDS (Get Max Data Speed, format 3) of
2083 * @param[in] target Pointer to the target device descriptor.
2085 * @param[in] defbyte Defining Byte for GETMXDS format 3.
2100 * @param[in] controller Pointer to the controller device driver instance.
2101 * @param[in] deftgts Pointer to the deftgts payload.
2113 * @param[in] controller Pointer to the controller device driver instance.
2114 * @param[in] context Pointer to context byte values
2115 * @param[in] length Length of the context buffer