MCPcopy Create free account

hub / github.com/Ralim/usb-pd / functions

Functions94 in github.com/Ralim/usb-pd

↓ 16 callersMethodgetOccupied
Returns number of objects queued in the buffer
include/ringbuffer.h:39
↓ 16 callersMethodpop
Give null to just drop the data
include/ringbuffer.h:25
↓ 10 callersFunctioniterateThoughExpectedStates
tests/test_pd_policy_engine.cpp:73
↓ 7 callersFunctioninjectTestmessage
tests/test_pd_policy_engine.cpp:64
↓ 6 callersMethodfusb_rx_pending
src/fusb302b.cpp:60
↓ 5 callersMethodpush
include/ringbuffer.h:12
↓ 5 callersMethodsetRegister
tests/mock_fusb302.cpp:101
↓ 4 callersMethodfusb_get_typec_current
src/fusb302b.cpp:216
↓ 4 callersMethodfusb_read_message
src/fusb302b.cpp:62
↓ 3 callersMethodIRQOccured
src/policy_engine.cpp:285
↓ 3 callersMethodcurrentStateCode
Useful for debug reading out
include/policy_engine.h:113
↓ 3 callersMethodfusb_read_id
src/fusb302b.cpp:241
↓ 2 callersMethodfifoEmpty
tests/mock_fusb302.h:26
↓ 2 callersMethodfusb_get_status
src/fusb302b.cpp:210
↓ 2 callersMethodfusb_send_message
src/fusb302b.cpp:25
↓ 2 callersMethodprintStateName
src/policy_engine.cpp:32
↓ 2 callersMethodreadFiFo
tests/mock_fusb302.cpp:127
↓ 1 callersMethodNegotiationTimeoutReached
src/policy_engine.cpp:174
↓ 1 callersMethodaddToFIFO
tests/mock_fusb302.cpp:109
↓ 1 callersMethodflush
Clear the entire buffer
include/ringbuffer.h:51
↓ 1 callersMethodfusb_reset
src/fusb302b.cpp:224
↓ 1 callersMethodfusb_send_hardrst
src/fusb302b.cpp:90
↓ 1 callersMethodfusb_setup
src/fusb302b.cpp:96
↓ 1 callersMethodi2cRead
tests/mock_fusb302.cpp:42
↓ 1 callersMethodi2cWrite
tests/mock_fusb302.cpp:55
↓ 1 callersMethodisPD3_0
src/policy_engine.cpp:172
↓ 1 callersMethodpdHasNegotiated
Has pd negotiation completed
include/policy_engine.h:97
↓ 1 callersFunctionpdbs_dpm_evaluate_capability
tests/user_functions.cpp:7
↓ 1 callersFunctionpdbs_dpm_get_sink_capability
tests/user_functions.cpp:95
↓ 1 callersFunctiontest_NormalNegotiation
tests/test_pd_policy_engine.cpp:90
↓ 1 callersMethodthread
src/policy_engine.cpp:66
FunctionEPREvaluateCapabilityFunc
tests/user_functions.cpp:85
MethodFUSB302
include/fusb302b.h:29
MethodPolicyEngine
include/policy_engine.h:53
FunctionTEST
Test Scenarios
tests/test_pd_policy_engine.cpp:131
FunctionTEST
tests/test_ringbuffer.cpp:7
FunctionTEST
tests/test_fusb302.cpp:7
FunctionTEST_GROUP
Working through testing the PD state machine
tests/test_pd_policy_engine.cpp:10
FunctionTEST_GROUP
tests/test_ringbuffer.cpp:6
FunctionTEST_GROUP
tests/test_fusb302.cpp:6
MethodTimersCallback
src/policy_engine.cpp:189
MethodclearEvents
src/policy_engine.cpp:236
Methodfusb_read_byte
* Read a single byte from the FUSB302B * * cfg: The FUSB302B to communicate with * addr: The memory address from which to read * * Returns the va
src/fusb302b.cpp:260
Methodfusb_write_byte
* Write a single byte to the FUSB302B * * cfg: The FUSB302B to communicate with * addr: The memory address to which we will write * byte: The valu
src/fusb302b.cpp:275
MethodgetFree
include/ringbuffer.h:49
MethodgetRegister
tests/mock_fusb302.cpp:105
MethodhasExplicitContract
include/policy_engine.h:77
Functioni2c_read
remap's for usin the Mock
tests/test_pd_policy_engine.cpp:13
Functioni2c_write
tests/test_pd_policy_engine.cpp:14
MethodisVBUSConnected
src/fusb302b.cpp:193
Functionmain
tests/main.cpp:2
Methodnotify
src/policy_engine.cpp:25
MethodpdIsEpr
include/policy_engine.h:103
Methodpe_sink_discovery
src/policy_engine_states.cpp:36
Methodpe_sink_epr_eval_cap
src/policy_engine_states.cpp:582
Methodpe_sink_eval_cap
src/policy_engine_states.cpp:99
Methodpe_sink_get_source_cap
src/policy_engine_states.cpp:328
Methodpe_sink_give_sink_cap
src/policy_engine_states.cpp:338
Methodpe_sink_handle_epr_chunk
src/policy_engine_states.cpp:474
Methodpe_sink_hard_reset
src/policy_engine_states.cpp:347
Methodpe_sink_not_supported_received
src/policy_engine_states.cpp:497
Methodpe_sink_ready
src/policy_engine_states.cpp:219
Methodpe_sink_request_epr
src/policy_engine_states.cpp:594
Methodpe_sink_select_cap
src/policy_engine_states.cpp:147
Methodpe_sink_select_cap_tx
src/policy_engine_states.cpp:137
Methodpe_sink_send_epr_keep_alive
src/policy_engine_states.cpp:602
Methodpe_sink_send_not_supported
src/policy_engine_states.cpp:430
Methodpe_sink_send_soft_reset
src/policy_engine_states.cpp:387
Methodpe_sink_send_soft_reset_resp
src/policy_engine_states.cpp:405
Methodpe_sink_send_soft_reset_tx_ok
src/policy_engine_states.cpp:401
Methodpe_sink_setup_wait_cap
src/policy_engine_states.cpp:46
Methodpe_sink_soft_reset
src/policy_engine_states.cpp:375
Methodpe_sink_source_unresponsive
src/policy_engine_states.cpp:504
Methodpe_sink_startup
src/policy_engine_states.cpp:25
Methodpe_sink_transition_default
src/policy_engine_states.cpp:366
Methodpe_sink_transition_sink
src/policy_engine_states.cpp:189
Methodpe_sink_wait_cap
src/policy_engine_states.cpp:56
Methodpe_sink_wait_cap_resp
src/policy_engine_states.cpp:154
Methodpe_sink_wait_epr_chunk
src/policy_engine_states.cpp:448
Methodpe_sink_wait_epr_keep_alive_ack
src/policy_engine_states.cpp:614
Methodpe_sink_wait_event
src/policy_engine_states.cpp:512
Methodpe_sink_wait_good_crc
src/policy_engine_states.cpp:535
Methodpe_sink_wait_send_done
src/policy_engine_states.cpp:554
Methodpe_start_message_tx
src/policy_engine.cpp:205
MethodreadPendingMessage
src/policy_engine.cpp:264
Methodrenegotiate
include/policy_engine.h:120
Methodreset
tests/mock_fusb302.cpp:6
MethodresetFiFo
tests/mock_fusb302.cpp:36
Methodringbuffer
include/ringbuffer.h:10
MethodrunCCLineSelection
src/fusb302b.cpp:154
MethodsetupCompleteOrTimedOut
include/policy_engine.h:78
MethodupdateFiFoStatus
tests/mock_fusb302.cpp:120
MethodvalidateRegister
tests/mock_fusb302.cpp:69
MethodwaitForEvent
src/policy_engine.cpp:238