Lines Matching refs:ept_addr

215 	uint8_t ept_addr;	/* Endpoint address or zero for MSG_RELEASE_DATA. */  member
520 uint8_t ept_addr, uint8_t block_index) in send_control_message() argument
525 .ept_addr = ept_addr, in send_control_message()
554 enum msg_type msg_type, uint8_t ept_addr) in send_release() argument
564 return send_control_message(dev_data, msg_type, ept_addr, rx_block_index); in send_release()
581 uint8_t ept_addr, size_t tx_block_index, size_t size) in send_block() argument
592 r = send_control_message(dev_data, msg_type, ept_addr, tx_block_index); in send_block()
646 uint8_t ept_addr) in match_bound_msg() argument
666 ept->addr = ept_addr; in match_bound_msg()
670 LOG_ERR("Unexpected bounding from remote on endpoint %d", ept_addr); in match_bound_msg()
680 r = send_release(dev_data, buffer, MSG_RELEASE_BOUND, ept_addr); in match_bound_msg()
808 uint8_t ept_addr) in get_ept_and_rx_validate() argument
813 if (ept_addr >= NUM_EPT || dev_data->ept_map[ept_addr] >= NUM_EPT) { in get_ept_and_rx_validate()
814 LOG_ERR("Received invalid endpoint addr %d", ept_addr); in get_ept_and_rx_validate()
818 ept = &dev_data->ept[dev_data->ept_map[ept_addr]]; in get_ept_and_rx_validate()
845 uint8_t ept_addr) in received_data() argument
855 ept = get_ept_and_rx_validate(dev_data, ept_addr); in received_data()
858 ept_addr); in received_data()
907 uint8_t ept_addr) in received_bound() argument
924 dev_data->waiting_bound[ept_addr] = rx_block_index; in received_bound()
953 uint8_t ept_addr; in control_received() local
962 ept_addr = message->ept_addr; in control_received()
963 if (ept_addr >= NUM_EPT) { in control_received()
975 ept = get_ept_and_rx_validate(dev_data, ept_addr); in control_received()
982 r = received_bound(dev_data, message->block_index, ept_addr); in control_received()
985 r = received_data(dev_data, message->block_index, ept_addr); in control_received()