Searched refs:sum2 (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/ptp/ |
D | ptp_dte.c | 54 u32 sum2, sum3; in dte_write_nco() local 56 sum2 = (u32)((ns >> DTE_NCO_SUM2_SHIFT) & DTE_NCO_SUM2_MASK); in dte_write_nco() 58 if (sum2 != DTE_NCO_SUM2_MASK) in dte_write_nco() 59 sum2++; in dte_write_nco() 66 writel(sum2, (regs + DTE_NCO_TIME_REG)); in dte_write_nco() 72 u32 sum2, sum3; in dte_read_nco() local 80 sum2 = readl(regs + DTE_NCO_TIME_REG); in dte_read_nco() 82 ((s64)sum2 << DTE_NCO_SUM2_SHIFT); in dte_read_nco()
|
/linux-6.12.1/drivers/media/rc/ |
D | ir-xmp-decoder.c | 76 u8 addr, subaddr, subaddr2, toggle, oem, obc1, obc2, sum1, sum2; in ir_xmp_decode() local 106 sum2 = (15 + n[8] + n[9] + n[10] + n[11] + in ir_xmp_decode() 109 if (sum1 != 15 || sum2 != 15) { in ir_xmp_decode() 111 sum1, sum2); in ir_xmp_decode()
|
/linux-6.12.1/drivers/hid/ |
D | hid-alps.c | 138 u16 sum1 = 0xFF, sum2 = 0xFF; in t4_calc_check_sum() local 151 sum2 += sum1; in t4_calc_check_sum() 156 sum2 = (sum2 & 0xFF) + (sum2 >> 8); in t4_calc_check_sum() 160 sum2 = (sum2 & 0xFF) + (sum2 >> 8); in t4_calc_check_sum() 162 return(sum2 << 8 | sum1); in t4_calc_check_sum()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | iters.c | 692 int n, sum1, sum2; in iter_pass_iter_ptr_to_subprog() local 717 sum2 = sum(&it, arr2, n); in iter_pass_iter_ptr_to_subprog() 720 bpf_printk("sum1=%d, sum2=%d", sum1, sum2); in iter_pass_iter_ptr_to_subprog()
|
/linux-6.12.1/tools/perf/ |
D | builtin-annotate.c | 375 int sum1, sum2; in print_annotate_item_stat() local 388 sum2 = iter->good + iter->bad; in print_annotate_item_stat() 389 if (sum1 > sum2) in print_annotate_item_stat()
|