Lines Matching +full:p +full:- +full:id
4 * SPDX-License-Identifier: Apache-2.0
54 static inline void dsa_buf_write_be16(uint16_t tl, uint8_t **p) in dsa_buf_write_be16() argument
57 **p = v[1]; in dsa_buf_write_be16()
58 (*p)++; in dsa_buf_write_be16()
59 **p = v[0]; in dsa_buf_write_be16()
60 (*p)++; in dsa_buf_write_be16()
75 #define DSA_THREAD(ID, FN_RECV, FN_SEND) \ argument
76 static void dsa_thread_##ID(void *t1, void *t2, void *t3); \
77 K_THREAD_DEFINE(dsa_tid_##ID, DSA_STACK_SIZE, \
78 dsa_thread_##ID, NULL, NULL, NULL, \
81 void dsa_thread_##ID(void *t1, void *t2, void *t3) \
89 iface = user_data_ifaces.lan[ID-1]; \
91 data.if_name = "lan"#ID; \
101 LOG_INF("DSA -> eth/lan"#ID" idx: %d sock: %d", \