Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94a6d3e4 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: cntrl: qcom: add arm 32-bit compilation support"

parents 3a4d4796 96664302
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@


/* timesync time calculations */
/* timesync time calculations */
#define REMOTE_TICKS_TO_US(x) (div_u64((x) * 100ULL, \
#define REMOTE_TICKS_TO_US(x) (div_u64((x) * 100ULL, \
			       (mhi_cntrl->remote_timer_freq / 10000ULL)))
			       div_u64(mhi_cntrl->remote_timer_freq, 10000ULL)))
#define REMOTE_TICKS_TO_SEC(x) (div_u64((x), \
#define REMOTE_TICKS_TO_SEC(x) (div_u64((x), \
				mhi_cntrl->remote_timer_freq))
				mhi_cntrl->remote_timer_freq))
#define REMOTE_TIME_REMAINDER_US(x) (REMOTE_TICKS_TO_US((x)) % \
#define REMOTE_TIME_REMAINDER_US(x) (REMOTE_TICKS_TO_US((x)) % \
+2 −2
Original line number Original line Diff line number Diff line
@@ -227,9 +227,9 @@ extern struct bus_type mhi_bus_type;


/* timesync time calculations */
/* timesync time calculations */
#define LOCAL_TICKS_TO_US(x) (div_u64((x) * 100ULL, \
#define LOCAL_TICKS_TO_US(x) (div_u64((x) * 100ULL, \
				(mhi_cntrl->local_timer_freq / 10000ULL)))
				div_u64(mhi_cntrl->local_timer_freq, 10000ULL)))
#define REMOTE_TICKS_TO_US(x) (div_u64((x) * 100ULL, \
#define REMOTE_TICKS_TO_US(x) (div_u64((x) * 100ULL, \
				(mhi_cntrl->remote_timer_freq / 10000ULL)))
			       div_u64(mhi_cntrl->remote_timer_freq, 10000ULL)))


struct mhi_event_ctxt {
struct mhi_event_ctxt {
	u32 reserved : 8;
	u32 reserved : 8;