Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/typec/tcpm/
Dfusb302.c116 int logbuffer_head; member
130 (chip->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in fusb302_log_full()
141 if (!chip->logbuffer[chip->logbuffer_head]) { in _fusb302_log()
142 chip->logbuffer[chip->logbuffer_head] = in _fusb302_log()
144 if (!chip->logbuffer[chip->logbuffer_head]) in _fusb302_log()
153 chip->logbuffer_head = max(chip->logbuffer_head - 1, 0); in _fusb302_log()
157 if (chip->logbuffer_head < 0 || in _fusb302_log()
158 chip->logbuffer_head >= LOG_BUFFER_ENTRIES) { in _fusb302_log()
160 "Bad log buffer index %d\n", chip->logbuffer_head); in _fusb302_log()
164 if (!chip->logbuffer[chip->logbuffer_head]) { in _fusb302_log()
[all …]
Dtcpm.c489 int logbuffer_head; member
591 (port->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in tcpm_log_full()
602 if (!port->logbuffer[port->logbuffer_head]) { in _tcpm_log()
603 port->logbuffer[port->logbuffer_head] = in _tcpm_log()
605 if (!port->logbuffer[port->logbuffer_head]) { in _tcpm_log()
614 port->logbuffer_head = max(port->logbuffer_head - 1, 0); in _tcpm_log()
618 if (port->logbuffer_head < 0 || in _tcpm_log()
619 port->logbuffer_head >= LOG_BUFFER_ENTRIES) { in _tcpm_log()
621 "Bad log buffer index %d\n", port->logbuffer_head); in _tcpm_log()
625 if (!port->logbuffer[port->logbuffer_head]) { in _tcpm_log()
[all …]