MCPcopy Create free account

hub / github.com/commaai/panda / functions

Functions953 in github.com/commaai/panda

↓ 172 callersFunctionprint
board/drivers/uart.h:114
↓ 158 callersFunctionprint
board/fake_stm.h:13
↓ 140 callersFunctionhandle_interrupt
board/drivers/interrupts.h:17
↓ 138 callersFunctionregister_set
Do not put bits in the check mask that get changed by the hardware
board/drivers/registers.h:22
↓ 76 callersFunctionset_gpio_mode
board/drivers/gpio.h:14
↓ 60 callersFunctionset_gpio_alternate
board/drivers/gpio.h:47
↓ 59 callersFunctionset_gpio_pullup
board/drivers/gpio.h:57
↓ 53 callersFunctionregister_set_bits
Set individual bits. Also add them to the check_mask. Do not use this to change bits that get reset by the hardware
board/drivers/registers.h:45
↓ 45 callersFunctionputh
board/drivers/uart.h:128
↓ 41 callersMethodcontrolWrite
(self, request_type: int, request: int, value: int, index: int, data, timeout: int = TIMEOUT, expect_disconnec
python/base.py:18
↓ 41 callersFunctionmemcpy
cppcheck-suppress misra-c2012-21.2
board/libc.h:34
↓ 39 callersFunctionset_gpio_output
board/drivers/gpio.h:26
↓ 33 callersFunction__DSB
\brief Data Synchronization Barrier \details Acts as a special kind of Data Memory Barrier. It completes when all explicit memory acces
board/stm32h7/inc/cmsis_gcc.h:944
↓ 33 callersMethodset_safety_mode
(self, mode=CarParams.SafetyModel.silent, param=0)
python/__init__.py:663
↓ 32 callersFunctionled_set
board/drivers/led.h:8
↓ 31 callersMethodcan_recv
(self)
python/__init__.py:721
↓ 26 callersMethodreset
(self)
python/dfu.py:113
↓ 24 callersFunctionregister_clear_bits
Clear individual bits. Also add them to the check_mask. Do not use this to clear bits that get set by the hardware
board/drivers/registers.h:51
↓ 23 callersMethodlist
()
python/dfu.py:134
↓ 22 callersFunctionUSB_WritePacket
board/drivers/usb.h:110
↓ 22 callersMethodcontrolRead
(self, request_type: int, request: int, value: int, index: int, length: int, timeout: int = TIMEOUT)
python/base.py:22
↓ 19 callersFunction__ISB
\brief Instruction Synchronization Barrier \details Instruction Synchronization Barrier flushes the pipeline in the processor, so that
board/stm32h7/inc/cmsis_gcc.h:933
↓ 19 callersMethodcan_send
(self, addr, dat, bus, *, fd=False, timeout=CAN_SEND_TIMEOUT_MS)
python/__init__.py:717
↓ 19 callersFunctiondelay
board/libc.h:3
↓ 17 callersMethodhealth
(self)
python/__init__.py:516
↓ 17 callersFunctionputh4
board/drivers/uart.h:133
↓ 16 callersFunctionadc_get_raw
board/stm32h7/lladc.h:23
↓ 14 callersMethodset_obd
(self, obd)
python/__init__.py:666
↓ 12 callersMethodget_usb_serial
Returns the serial number reported from the USB descriptor; matches the MCU UID
python/__init__.py:628
↓ 12 callersMethodread
(self, l=1)
python/serial.py:11
↓ 12 callersMethodset_panda_power
(self, enabled)
board/jungle/__init__.py:119
↓ 11 callersFunctionSHA_update
board/crypto/sha.c:105
↓ 11 callersFunctiongpio_set_all_output
board/drivers/gpio.h:79
↓ 11 callersFunctionmicrosecond_timer_get
board/drivers/timers.h:14
↓ 10 callersMethodcan_clear
Clears all messages from the specified internal CAN ringbuffer as though it were drained. Args: bus (int): can bus number to clear a tx
python/__init__.py:733
↓ 10 callersMethodget_type
(self)
python/__init__.py:607
↓ 10 callersFunctionhexdump
board/drivers/uart.h:139
↓ 10 callersMethodset_can_speed_kbps
(self, bus, speed)
python/__init__.py:677
↓ 10 callersMethodset_ignition
(self, enabled)
board/jungle/__init__.py:128
↓ 9 callersMethodcan_send_many
(self, arr, *, fd=False, timeout=CAN_SEND_TIMEOUT_MS)
python/__init__.py:710
↓ 9 callersFunctioncan_set_checksum
board/drivers/can_common.h:170
↓ 9 callersMethodset_can_loopback
(self, enable)
python/__init__.py:669
↓ 9 callersMethodwrite
(self, dat)
python/serial.py:19
↓ 8 callersFunctionadc_get_mV
board/stm32h7/lladc.h:67
↓ 8 callersFunctioncan_send
board/drivers/can_common.h:179
↓ 8 callersFunctionclear_can_buffers
(panda, speed: int | None = None)
tests/hitl/helpers.py:54
↓ 8 callersFunctiondetect_with_pull
board/drivers/gpio.h:94
↓ 8 callersFunctionget_gpio_input
board/drivers/gpio.h:69
↓ 8 callersMethodget_serial
Returns the comma-issued dongle ID from our provisioning
python/__init__.py:619
↓ 8 callersMethodget_version
(self)
python/__init__.py:593
↓ 8 callersFunctionset_gpio_output_type
board/drivers/gpio.h:37
↓ 8 callersFunctiontest
(p_send, p_recv)
tests/hitl/4_can_loopback.py:15
↓ 8 callersMethodwait_for_dfu
(dfu_serial: str | None, timeout: int | None = None)
python/__init__.py:480
↓ 7 callersFunctioncan_init
board/drivers/fdcan.h:255
↓ 7 callersFunctioncan_init_all
board/drivers/can_common.h:134
↓ 7 callersFunctioni2c_status_wait
board/stm32h7/lli2c.h:7
↓ 7 callersFunctionmontMul
montgomery c[] = a[] * b[] / R % mod
board/crypto/rsa.c:81
↓ 7 callersMethodreconnect
(self)
python/__init__.py:375
↓ 7 callersMethodset_harness_orientation
(self, mode)
board/jungle/__init__.py:125
↓ 6 callersFunctionadc_init
board/stm32h7/lladc.h:5
↓ 6 callersMethodcan_health
(self, can_number)
python/__init__.py:549
↓ 6 callersFunctioncheck_space
(file, mcu)
scripts/check_fw_size.py:6
↓ 6 callersMethodclose
(self)
python/__init__.py:197
↓ 6 callersMethodcontrolWrite
(self, request_type: int, request: int, value: int, index: int, data, timeout: int = TIMEOUT, expect_disconnec
python/usb.py:13
↓ 6 callersFunctiondotstar_write_byte
board/body/dotstar.h:45
↓ 6 callersFunctionfault_occurred
board/sys/faults.h:6
↓ 6 callersMethodflash
(self, fn=None, code=None, reconnect=True)
python/__init__.py:432
↓ 6 callersFunctionget_current_data_for_pid
(pid)
examples/query_vin_and_stats.py:13
↓ 6 callersMethodget_dfu_serial
(self)
python/__init__.py:635
↓ 6 callersFunctionget_ts_elapsed
compute the time elapsed (in microseconds) from 2 counter samples case where ts < ts_last is ok: overflow is properly re-casted into uint32_t
board/utils.h:45
↓ 6 callersMethodlist
(cls, usb_only: bool = False)
python/__init__.py:318
↓ 6 callersFunctionprint_colored
(text, color)
board/jungle/scripts/loopback_test.py:26
↓ 6 callersFunctionputh
board/fake_stm.h:17
↓ 6 callersFunctionset_intercept_relay
The ignition relay is only used for testing purposes
board/drivers/harness.h:6
↓ 5 callersMethod_cmd
(self, cmd: int, data: list[bytes] | None = None, read_bytes: int = 0, predata=None)
python/spi.py:355
↓ 5 callersMethod_get_ack
(self, spi, timeout=1.0)
python/spi.py:312
↓ 5 callersMethod_status
(self)
python/usb.py:48
↓ 5 callersFunctionassert_fatal
board/libc.h:10
↓ 5 callersFunctionboard_v2_enable_can_transceiver
board/jungle/boards/board_v2.h:99
↓ 5 callersFunctioncan_clear
board/drivers/can_common.h:108
↓ 5 callersMethodclose
(self)
tests/libs/resetter.py:16
↓ 5 callersMethodcontrolRead
(self, request_type: int, request: int, value: int, index: int, length: int, timeout: int = TIMEOUT)
python/usb.py:16
↓ 5 callersFunctiondisable_interrupts
board/sys/critical.h:13
↓ 5 callersFunctionenable_interrupts
board/sys/critical.h:8
↓ 5 callersFunctionget_char
Low-level buffer functions
board/drivers/uart.h:48
↓ 5 callersMethodget_mcu_type
(self)
python/dfu.py:110
↓ 5 callersFunctionllspi_mosi_dma
master -> panda DMA start cppcheck-suppress constParameterPointer ; RX DMA writes through addr after return
board/stm32h7/llspi.h:3
↓ 5 callersFunctionprint_time
(desc)
scripts/benchmark.py:16
↓ 5 callersFunctionprocess_can
CAN FDFDCANx_IT1 IRQ Handler (TX)
board/drivers/fdcan.h:86
↓ 5 callersFunctionsec_since_boot
()
board/jungle/scripts/can_printer.py:10
↓ 5 callersFunctionsec_since_boot
()
scripts/can_printer.py:11
↓ 5 callersMethodserial_read
(self, port_number, maxlen=1024)
python/__init__.py:746
↓ 5 callersMethodset_power_save
(self, power_save_enabled=0)
python/__init__.py:657
↓ 5 callersFunctionset_safety_mode
this is the only way to leave silent mode
board/main.c:41
↓ 5 callersFunctionunpack_can_buffer
(dat)
python/__init__.py:76
↓ 5 callersMethodwait_for_panda
(cls, serial: str | None, timeout: int)
python/__init__.py:492
↓ 4 callersFunctionUSB_WritePacket_EP0
IN EP 0 TX FIFO has a max size of 127 bytes (much smaller than the rest) so use TX FIFO empty interrupt to send larger amounts of data
board/drivers/usb.h:137
↓ 4 callersMethod_ping
(self, mocker, panda)
tests/hitl/5_spi.py:11
↓ 4 callersMethod_transfer
(self, endpoint: int, data, timeout: int, max_rx_len: int = 1000, expect_disconnect: bool = False)
python/spi.py:187
↓ 4 callersMethodacquire
(self)
python/spi.py:103
next →1–100 of 953, ranked by callers