Loading drivers/bus/mhi/controllers/mhi_qcom.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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)) % \ Loading drivers/bus/mhi/core/mhi_internal.h +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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; Loading Loading
drivers/bus/mhi/controllers/mhi_qcom.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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)) % \ Loading
drivers/bus/mhi/core/mhi_internal.h +2 −2 Original line number Original line Diff line number Diff line Loading @@ -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; Loading