Home
last modified time | relevance | path

Searched refs:LOG_BUFFER_ENTRIES (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dfusb302.c70 #define LOG_BUFFER_ENTRIES 1024 macro
118 u8 *logbuffer[LOG_BUFFER_ENTRIES];
130 (chip->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in fusb302_log_full()
158 chip->logbuffer_head >= LOG_BUFFER_ENTRIES) { in _fusb302_log()
175 chip->logbuffer_head = (chip->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in _fusb302_log()
200 tail = (tail + 1) % LOG_BUFFER_ENTRIES; in fusb302_debug_show()
H A Dtcpm.c255 #define LOG_BUFFER_ENTRIES 1024 macro
500 u8 *logbuffer[LOG_BUFFER_ENTRIES];
600 (port->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in tcpm_log_full()
628 port->logbuffer_head >= LOG_BUFFER_ENTRIES) { in _tcpm_log()
645 port->logbuffer_head = (port->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in _tcpm_log()
747 tail = (tail + 1) % LOG_BUFFER_ENTRIES; in tcpm_debug_show()
773 for (i = 0; i < LOG_BUFFER_ENTRIES; i++) { in tcpm_debugfs_exit()