Searched refs:diff (Results 1 – 7 of 7) sorted by relevance
/include/sound/ |
D | pcm-indirect.h | 53 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() local 56 if (diff) { in snd_pcm_indirect_playback_transfer() 57 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer() 58 diff += runtime->boundary; in snd_pcm_indirect_playback_transfer() 59 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer() 119 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer() local 121 if (diff) { in snd_pcm_indirect_capture_transfer() 122 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer() 123 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer() 124 rec->sw_ready -= frames_to_bytes(runtime, diff); in snd_pcm_indirect_capture_transfer()
|
/include/linux/iio/ |
D | events.h | 27 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument 29 (((u64)type << 56) | ((u64)diff << 55) | \
|
/include/math-emu/ |
D | op-common.h | 236 _FP_I_TYPE diff = X##_e - Y##_e; \ 238 if (diff < 0) \ 240 diff = -diff; \ 241 if (diff <= _FP_WFRACBITS_##fs) \ 242 _FP_FRAC_SRS_##wc(X, diff, _FP_WFRACBITS_##fs); \ 249 if (diff > 0) \ 251 if (diff <= _FP_WFRACBITS_##fs) \ 252 _FP_FRAC_SRS_##wc(Y, diff, _FP_WFRACBITS_##fs); \ 293 _FP_FRAC_CLZ_##wc(diff, R); \ 294 diff -= _FP_WFRACXBITS_##fs; \ [all …]
|
/include/net/ |
D | checksum.h | 123 static inline void csum_replace_by_diff(__sum16 *sum, __wsum diff) in csum_replace_by_diff() argument 125 *sum = csum_fold(csum_add(diff, ~csum_unfold(*sum))); in csum_replace_by_diff() 153 __wsum diff, bool pseudohdr);
|
D | ip_vs.h | 763 struct sk_buff *, int *diff); 770 struct sk_buff *, int *diff); 1526 __be32 diff[2] = { ~old, new }; in ip_vs_check_diff4() local 1528 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff4() 1535 __be32 diff[8] = { ~old[3], ~old[2], ~old[1], ~old[0], in ip_vs_check_diff16() local 1538 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff16() 1544 __be16 diff[2] = { ~old, new }; in ip_vs_check_diff2() local 1546 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff2()
|
/include/rdma/ |
D | ib_umem.h | 53 unsigned long diff; member
|
/include/linux/ |
D | skbuff.h | 558 s32 diff = t1->stamp_jiffies - t0->stamp_jiffies; in skb_mstamp_after() local 560 if (!diff) in skb_mstamp_after() 561 diff = t1->stamp_us - t0->stamp_us; in skb_mstamp_after() 562 return diff > 0; in skb_mstamp_after() 2353 unsigned int diff = len - skb->len; in __skb_grow() local 2355 if (skb_tailroom(skb) < diff) { in __skb_grow() 2356 int ret = pskb_expand_head(skb, 0, diff - skb_tailroom(skb), in __skb_grow()
|