Searched refs:msg_flags (Results 1 – 15 of 15) sorted by relevance
111 static uint32_t rv32m1_lpi2c_convert_flags(int msg_flags) in rv32m1_lpi2c_convert_flags() argument115 if (!(msg_flags & I2C_MSG_STOP)) { in rv32m1_lpi2c_convert_flags()119 if (msg_flags & I2C_MSG_RESTART) { in rv32m1_lpi2c_convert_flags()
129 static uint32_t i2c_mcux_convert_flags(int msg_flags) in i2c_mcux_convert_flags() argument133 if (!(msg_flags & I2C_MSG_STOP)) { in i2c_mcux_convert_flags()137 if (msg_flags & I2C_MSG_RESTART) { in i2c_mcux_convert_flags()
120 static uint32_t mcux_lpi2c_convert_flags(int msg_flags) in mcux_lpi2c_convert_flags() argument124 if (!(msg_flags & I2C_MSG_STOP)) { in mcux_lpi2c_convert_flags()128 if (msg_flags & I2C_MSG_RESTART) { in mcux_lpi2c_convert_flags()
24 volatile uint8_t msg_flags; member126 data->msg_flags = msg.flags; in i2c_kb1200_poll_write()174 data->msg_flags = msg.flags; in i2c_kb1200_poll_read()
120 static uint32_t mcux_flexcomm_convert_flags(int msg_flags) in mcux_flexcomm_convert_flags() argument124 if (!(msg_flags & I2C_MSG_STOP)) { in mcux_flexcomm_convert_flags()128 if (msg_flags & I2C_MSG_RESTART) { in mcux_flexcomm_convert_flags()
137 static uint32_t mcux_lpi2c_convert_flags(int msg_flags) in mcux_lpi2c_convert_flags() argument141 if (!(msg_flags & I2C_MSG_STOP)) { in mcux_lpi2c_convert_flags()145 if (msg_flags & I2C_MSG_RESTART) { in mcux_lpi2c_convert_flags()
131 *msg_confirm = (msg.msg_flags & MSG_CONFIRM) != 0; in linux_socketcan_read_data()
48 zassert_not_equal(-1, offsetof(struct msghdr, msg_flags)); in ZTEST()
127 int msg_flags; /* flags on received message */ member
571 msg.msg_flags = 0; in nsos_adapt_sendmsg()
876 msg_mid.msg_flags = 0; in nsos_sendmsg()
672 k_usermode_to_copy(&msg->msg_flags, in z_vrfy_zsock_recvmsg()673 &msg_copy.msg_flags, in z_vrfy_zsock_recvmsg()674 sizeof(msg->msg_flags)); in z_vrfy_zsock_recvmsg()
1178 msg->msg_flags |= ZSOCK_MSG_TRUNC; in zsock_recv_dgram()1197 msg->msg_flags |= ZSOCK_MSG_CTRUNC; in zsock_recv_dgram()1204 msg->msg_flags |= ZSOCK_MSG_CTRUNC; in zsock_recv_dgram()
264 int msg_flags; /**< Flags on received message */ member
1648 zassert_true(msg->msg_flags & ZSOCK_MSG_TRUNC, "Message not truncated"); in comm_sendmsg_recvmsg()1866 zassert_true(msg.msg_flags & ZSOCK_MSG_CTRUNC, "Control message not truncated"); in run_ancillary_recvmsg_test()