Home
last modified time | relevance | path

Searched refs:LOG_SIZE (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_debugfs.c23 #define LOG_SIZE (1 << LOG_SHIFT) macro
86 buf_space = CIRC_SPACE(cb->head, cb->tail, LOG_SIZE); in cros_ec_console_log_work()
109 cb->head = CIRC_ADD(cb->head, LOG_SIZE, 1); in cros_ec_console_log_work()
140 while (!CIRC_CNT(cb->head, cb->tail, LOG_SIZE)) { in cros_ec_console_log_read()
149 CIRC_CNT(cb->head, cb->tail, LOG_SIZE)); in cros_ec_console_log_read()
159 ret = min_t(size_t, CIRC_CNT_TO_END(cb->head, cb->tail, LOG_SIZE), in cros_ec_console_log_read()
167 cb->tail = CIRC_ADD(cb->tail, LOG_SIZE, ret); in cros_ec_console_log_read()
185 LOG_SIZE)) in cros_ec_console_log_poll()
363 buf = devm_kzalloc(ec->dev, LOG_SIZE, GFP_KERNEL); in cros_ec_create_console_log()
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dnetjet.c61 #define LOG_SIZE 64 macro
84 char log[LOG_SIZE];
413 snprintf(card->log, LOG_SIZE, in read_dma()
517 snprintf(card->log, LOG_SIZE, "B%1d-send %s %d ", in fill_hdlc_flag()
591 snprintf(card->log, LOG_SIZE, "B%1d-send %s %d ", in fill_dma()
H A Davmfritz.c94 #define LOG_SIZE 63 macro
131 char log[LOG_SIZE + 1];
429 snprintf(fc->log, LOG_SIZE, "B%1d-recv %s %d ", in hdlc_empty_fifo()
500 snprintf(fc->log, LOG_SIZE, "B%1d-send %s %d ", in hdlc_fill_fifo()