Lines Matching refs:cmd_buf
30 uint8_t cmd_buf[] = { MCP2515_OPCODE_RESET }; in mcp2515_cmd_soft_reset() local
33 .buf = cmd_buf, .len = sizeof(cmd_buf), in mcp2515_cmd_soft_reset()
48 uint8_t cmd_buf[] = { MCP2515_OPCODE_BIT_MODIFY, reg_addr, mask, data }; in mcp2515_cmd_bit_modify() local
51 .buf = cmd_buf, .len = sizeof(cmd_buf), in mcp2515_cmd_bit_modify()
65 uint8_t cmd_buf[] = { MCP2515_OPCODE_WRITE, reg_addr }; in mcp2515_cmd_write_reg() local
68 { .buf = cmd_buf, .len = sizeof(cmd_buf) }, in mcp2515_cmd_write_reg()
99 uint8_t cmd_buf[] = { MCP2515_OPCODE_LOAD_TX_BUFFER | abc }; in mcp2515_cmd_load_tx_buffer() local
102 { .buf = cmd_buf, .len = sizeof(cmd_buf) }, in mcp2515_cmd_load_tx_buffer()
125 uint8_t cmd_buf[] = { MCP2515_OPCODE_RTS | nnn }; in mcp2515_cmd_rts() local
128 { .buf = cmd_buf, .len = sizeof(cmd_buf) } in mcp2515_cmd_rts()
142 uint8_t cmd_buf[] = { MCP2515_OPCODE_READ, reg_addr }; in mcp2515_cmd_read_reg() local
145 { .buf = cmd_buf, .len = sizeof(cmd_buf) }, in mcp2515_cmd_read_reg()
152 { .buf = NULL, .len = sizeof(cmd_buf) }, in mcp2515_cmd_read_reg()
180 uint8_t cmd_buf[] = { MCP2515_OPCODE_READ_RX_BUFFER | (nm << 1) }; in mcp2515_cmd_read_rx_buffer() local
183 { .buf = cmd_buf, .len = sizeof(cmd_buf) }, in mcp2515_cmd_read_rx_buffer()
190 { .buf = NULL, .len = sizeof(cmd_buf) }, in mcp2515_cmd_read_rx_buffer()