Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c518 for (mailbox_idx = 0; mailbox_idx < MCP251XFD_TX_QUEUE_ITEMS; mailbox_idx++) { in mcp251xfd_send()
525 if (mailbox_idx >= MCP251XFD_TX_QUEUE_ITEMS) { in mcp251xfd_send()
850 for (int i = 0; i < MCP251XFD_TX_QUEUE_ITEMS; i++) { in mcp251xfd_reset_tx_fifos()
1319 if (mailbox_idx >= MCP251XFD_TX_QUEUE_ITEMS) { in mcp251xfd_tef_fifo_handler()
1424 tmp |= FIELD_PREP(MCP251XFD_REG_TEFCON_FSIZE_MASK, MCP251XFD_TX_QUEUE_ITEMS - 1); in mcp251xfd_init_tef_fifo()
1438 tmp |= FIELD_PREP(MCP251XFD_REG_TXQCON_FSIZE_MASK, MCP251XFD_TX_QUEUE_ITEMS - 1); in mcp251xfd_init_tx_queue()
1536 k_sem_init(&dev_data->tx_sem, MCP251XFD_TX_QUEUE_ITEMS, MCP251XFD_TX_QUEUE_ITEMS); in mcp251xfd_init()
1667 LOG_DBG("%d TX FIFOS: 1 element", MCP251XFD_TX_QUEUE_ITEMS); in mcp251xfd_init()
Dcan_mcp251xfd.h42 #define MCP251XFD_TX_QUEUE_ITEMS CONFIG_CAN_MCP251XFD_MAX_TX_QUEUE macro
43 #define MCP251XFD_TX_QUEUE_SIZE (MCP251XFD_TX_QUEUE_ITEMS * MCP251XFD_TX_QUEUE_ITEM_SIZE)