Lines Matching refs:dev
49 struct mhu_v2_x_dev_t *dev = &MHU1_HSE_DEV; in signal_and_wait_for_clear() local
52 uint32_t channel_notify = mhu_v2_x_get_num_channel_implemented(dev) - 1; in signal_and_wait_for_clear()
54 err = mhu_v2_x_channel_send(dev, channel_notify, val); in signal_and_wait_for_clear()
60 err = mhu_v2_x_channel_poll(dev, channel_notify, &val); in signal_and_wait_for_clear()
72 struct mhu_v2_x_dev_t *dev = &MHU1_SEH_DEV; in wait_for_signal() local
75 uint32_t channel_notify = mhu_v2_x_get_num_channel_implemented(dev) - 1; in wait_for_signal()
78 err = mhu_v2_x_channel_receive(dev, channel_notify, &val); in wait_for_signal()
90 struct mhu_v2_x_dev_t *dev = &MHU1_SEH_DEV; in clear_and_wait_for_next_signal() local
91 uint32_t num_channels = mhu_v2_x_get_num_channel_implemented(dev); in clear_and_wait_for_next_signal()
96 err = mhu_v2_x_channel_clear(dev, i); in clear_and_wait_for_next_signal()
166 struct mhu_v2_x_dev_t *dev = &MHU1_HSE_DEV; in mhu_send_data() local
167 uint32_t num_channels = mhu_v2_x_get_num_channel_implemented(dev); in mhu_send_data()
177 err = mhu_v2_x_initiate_transfer(dev); in mhu_send_data()
183 err = mhu_v2_x_channel_send(dev, chan, (uint32_t)size); in mhu_send_data()
191 err = mhu_v2_x_channel_send(dev, chan, *p++); in mhu_send_data()
216 err = mhu_v2_x_close_transfer(dev); in mhu_send_data()
239 struct mhu_v2_x_dev_t *dev = &MHU1_SEH_DEV; in mhu_receive_data() local
240 uint32_t num_channels = mhu_v2_x_get_num_channel_implemented(dev); in mhu_receive_data()
261 err = mhu_v2_x_channel_receive(dev, chan, &message_len); in mhu_receive_data()
275 err = mhu_v2_x_channel_receive(dev, chan, p++); in mhu_receive_data()
293 err = mhu_v2_x_channel_clear(dev, i); in mhu_receive_data()
306 struct mhu_v2_x_dev_t *dev = &MHU1_SEH_DEV; in mhu_get_max_message_size() local
307 uint32_t num_channels = mhu_v2_x_get_num_channel_implemented(dev); in mhu_get_max_message_size()