/linux-4.4.14/include/linux/ |
D | time.h | 24 static inline int timespec_compare(const struct timespec *lhs, const struct timespec *rhs) in timespec_compare() argument 26 if (lhs->tv_sec < rhs->tv_sec) in timespec_compare() 28 if (lhs->tv_sec > rhs->tv_sec) in timespec_compare() 30 return lhs->tv_nsec - rhs->tv_nsec; in timespec_compare() 33 static inline int timeval_compare(const struct timeval *lhs, const struct timeval *rhs) in timeval_compare() argument 35 if (lhs->tv_sec < rhs->tv_sec) in timeval_compare() 37 if (lhs->tv_sec > rhs->tv_sec) in timeval_compare() 39 return lhs->tv_usec - rhs->tv_usec; in timeval_compare() 64 extern struct timespec timespec_add_safe(const struct timespec lhs, 68 static inline struct timespec timespec_add(struct timespec lhs, in timespec_add() argument [all …]
|
D | time64.h | 126 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare() argument 128 if (lhs->tv_sec < rhs->tv_sec) in timespec64_compare() 130 if (lhs->tv_sec > rhs->tv_sec) in timespec64_compare() 132 return lhs->tv_nsec - rhs->tv_nsec; in timespec64_compare() 142 extern struct timespec64 timespec64_add_safe(const struct timespec64 lhs, 146 static inline struct timespec64 timespec64_add(struct timespec64 lhs, in timespec64_add() argument 150 set_normalized_timespec64(&ts_delta, lhs.tv_sec + rhs.tv_sec, in timespec64_add() 151 lhs.tv_nsec + rhs.tv_nsec); in timespec64_add() 158 static inline struct timespec64 timespec64_sub(struct timespec64 lhs, in timespec64_sub() argument 162 set_normalized_timespec64(&ts_delta, lhs.tv_sec - rhs.tv_sec, in timespec64_sub() [all …]
|
D | ktime.h | 59 #define ktime_sub(lhs, rhs) \ argument 60 ({ (ktime_t){ .tv64 = (lhs).tv64 - (rhs).tv64 }; }) 63 #define ktime_add(lhs, rhs) \ argument 64 ({ (ktime_t){ .tv64 = (lhs).tv64 + (rhs).tv64 }; }) 234 extern ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs);
|
D | compat.h | 395 static inline int compat_timeval_compare(struct compat_timeval *lhs, in compat_timeval_compare() argument 398 if (lhs->tv_sec < rhs->tv_sec) in compat_timeval_compare() 400 if (lhs->tv_sec > rhs->tv_sec) in compat_timeval_compare() 402 return lhs->tv_usec - rhs->tv_usec; in compat_timeval_compare() 405 static inline int compat_timespec_compare(struct compat_timespec *lhs, in compat_timespec_compare() argument 408 if (lhs->tv_sec < rhs->tv_sec) in compat_timespec_compare() 410 if (lhs->tv_sec > rhs->tv_sec) in compat_timespec_compare() 412 return lhs->tv_nsec - rhs->tv_nsec; in compat_timespec_compare()
|
D | rtc.h | 30 static inline time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) in rtc_tm_sub() argument 32 return rtc_tm_to_time64(lhs) - rtc_tm_to_time64(rhs); in rtc_tm_sub()
|
/linux-4.4.14/drivers/md/ |
D | dm-bio-prison.c | 83 static int cmp_keys(struct dm_cell_key *lhs, in cmp_keys() argument 86 if (lhs->virtual < rhs->virtual) in cmp_keys() 89 if (lhs->virtual > rhs->virtual) in cmp_keys() 92 if (lhs->dev < rhs->dev) in cmp_keys() 95 if (lhs->dev > rhs->dev) in cmp_keys() 98 if (lhs->block_end <= rhs->block_begin) in cmp_keys() 101 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
|
D | dm-snap.c | 169 static int bdev_equal(struct block_device *lhs, struct block_device *rhs) in bdev_equal() argument 175 return lhs == rhs; in bdev_equal()
|
D | dm-thin.c | 2049 static int cmp_cells(const void *lhs, const void *rhs) in cmp_cells() argument 2051 struct dm_bio_prison_cell *lhs_cell = *((struct dm_bio_prison_cell **) lhs); in cmp_cells()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 309 u64 lhs, rhs; in fec_ptp_adjfreq() local 326 lhs = NSEC_PER_SEC; in fec_ptp_adjfreq() 329 if (lhs >= rhs) { in fec_ptp_adjfreq() 331 corr_period = div_u64(lhs, rhs); in fec_ptp_adjfreq() 334 lhs += NSEC_PER_SEC; in fec_ptp_adjfreq()
|
/linux-4.4.14/kernel/time/ |
D | time.c | 752 struct timespec timespec_add_safe(const struct timespec lhs, in timespec_add_safe() argument 757 set_normalized_timespec(&res, lhs.tv_sec + rhs.tv_sec, in timespec_add_safe() 758 lhs.tv_nsec + rhs.tv_nsec); in timespec_add_safe() 760 if (res.tv_sec < lhs.tv_sec || res.tv_sec < rhs.tv_sec) in timespec_add_safe()
|
D | hrtimer.c | 308 ktime_t ktime_add_safe(const ktime_t lhs, const ktime_t rhs) in ktime_add_safe() argument 310 ktime_t res = ktime_add(lhs, rhs); in ktime_add_safe() 316 if (res.tv64 < 0 || res.tv64 < lhs.tv64 || res.tv64 < rhs.tv64) in ktime_add_safe()
|
/linux-4.4.14/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 282 cmp_v4l2_format(const struct v4l2_format *lhs, const struct v4l2_format *rhs) in cmp_v4l2_format() argument 284 return lhs->type == rhs->type && in cmp_v4l2_format() 285 lhs->fmt.pix.width == rhs->fmt.pix.width && in cmp_v4l2_format() 286 lhs->fmt.pix.height == rhs->fmt.pix.height && in cmp_v4l2_format() 287 lhs->fmt.pix.pixelformat == rhs->fmt.pix.pixelformat && in cmp_v4l2_format() 288 lhs->fmt.pix.field == rhs->fmt.pix.field && in cmp_v4l2_format() 289 lhs->fmt.pix.colorspace == rhs->fmt.pix.colorspace && in cmp_v4l2_format() 290 lhs->fmt.pix.ycbcr_enc == rhs->fmt.pix.ycbcr_enc && in cmp_v4l2_format() 291 lhs->fmt.pix.quantization == rhs->fmt.pix.quantization && in cmp_v4l2_format() 292 lhs->fmt.pix.xfer_func == rhs->fmt.pix.xfer_func; in cmp_v4l2_format()
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | tegra20-trimslice.dts | 137 "lhs", "lm0", "lm1", "lpp", "lpw0", 250 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|
D | tegra20-tamonten.dtsi | 129 "lhs", "lm0", "lm1", "lpp", "lpw0", 235 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|
D | tegra20-paz00.dts | 135 "lhs", "lm0", "lm1", "lpp", "lpw0", 235 "ldc", "ldi", "lhs", "lsc0", "lspi",
|
D | tegra20-ventana.dts | 150 "lhp1", "lhp2", "lhs", "lpp", "lpw0", 257 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|
D | tegra20-harmony.dts | 147 "lhs", "lm0", "lm1", "lpp", "lpw0", 253 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|
D | tegra20-seaboard.dts | 152 "lhp1", "lhp2", "lhs", "lpp", "lsc0", 261 "lhp1", "lhp2", "lhs", "lm0", "lpp",
|
D | tegra20-colibri-512.dtsi | 55 "lhs", "lpw0", "lpw2", "lsc0",
|
D | tegra20-whistler.dts | 137 "lhp0", "lhp1", "lhp2", "lhs", "lm0",
|
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/ |
D | nvidia,tegra20-pinmux.txt | 79 ld14, ld15, ld16, ld17, ldc, ldi, lhp0, lhp1, lhp2, lhs, lm0, lm1, lpp,
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | entry.S | 377 l.bf lhs 393 lhs: l.lbs r5,0(r2)
|
/linux-4.4.14/drivers/net/ethernet/3com/ |
D | 3c59x.c | 507 #define BFINS(lhs, rhs, offset, bitcount) \ argument 508 (((lhs) & ~((((1 << (bitcount)) - 1)) << (offset))) | \
|
/linux-4.4.14/drivers/pinctrl/ |
D | pinctrl-tegra20.c | 2113 MUX_PG(lhs, DISPLAYA, DISPLAYB, XIO, RSVD4, 0x20, 7, 0x90, 22, -1, -1),
|