/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
H A D | HalPhyRf_8723B.c | 1238 u32 i, j, diff, SimularityBitMap, bound = 0; in phy_SimularityCompare_8723B() local 1263 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); in phy_SimularityCompare_8723B() 1265 if (diff > MAX_TOLERANCE) { in phy_SimularityCompare_8723B()
|
/kernel/linux/linux-6.6/drivers/char/xillybus/ |
H A D | xillyusb.c | 1458 s32 diff, leap; in xillyusb_read() local 1489 diff = (fifo_checkpoint - complete_checkpoint) << sh; in xillyusb_read() 1491 if (chan->in_synchronous && diff >= 0) { in xillyusb_read()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
H A D | phy_common.c | 1138 u32 i, j, diff, simularity_bitmap, bound; in _rtl92c_phy_simularity_compare() local 1152 diff = (result[c1][i] > result[c2][i]) ? in _rtl92c_phy_simularity_compare() 1156 if (diff > MAX_TOLERANCE) { in _rtl92c_phy_simularity_compare()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | phy.c | 1081 u32 i, j, diff, simularity_bitmap, bound; in _rtl8723e_phy_simularity_compare() local 1091 diff = (result[c1][i] > result[c2][i]) ? in _rtl8723e_phy_simularity_compare() 1095 if (diff > MAX_TOLERANCE) { in _rtl8723e_phy_simularity_compare()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | cypress_dpm.c | 1473 unsigned int i, diff; in cypress_trim_voltage_table_to_fit_state_table() local 1478 diff = voltage_table->count - MAX_NO_VREG_STEPS; in cypress_trim_voltage_table_to_fit_state_table() 1481 voltage_table->entries[i] = voltage_table->entries[i + diff]; in cypress_trim_voltage_table_to_fit_state_table()
|
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | at91-sama5d2_adc.c | 905 int nbits, diff; in at91_adc_adjust_val_osr() local 923 * st->soc_info.platform->chan_realbits, so shift left diff bits. in at91_adc_adjust_val_osr() 925 diff = st->soc_info.platform->chan_realbits - nbits; in at91_adc_adjust_val_osr() 926 *val <<= diff; in at91_adc_adjust_val_osr() local
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | metricgroup.c | 1175 int diff = strcmp(right->default_metricgroup_name, left->default_metricgroup_name); in default_metricgroup_cmp() local 1177 if (diff) in default_metricgroup_cmp() 1178 return diff; in default_metricgroup_cmp()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | es1938.c | 767 unsigned int diff; in snd_es1938_capture_pointer() local 771 diff = chip->dma1_start + chip->dma1_size - ptr - count; in snd_es1938_capture_pointer() 773 if (diff > 3 || ptr < chip->dma1_start in snd_es1938_capture_pointer()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | rc80211_minstrel_ht.c | 723 int diff, incr; in minstrel_ewma() local 725 diff = new - old; in minstrel_ewma() 726 incr = (EWMA_DIV - weight) * diff / EWMA_DIV; in minstrel_ewma()
|
H A D | sta_info.c | 2268 u32 diff; in ieee80211_sta_register_airtime() local 2279 diff = (u32)jiffies - sta->airtime[ac].last_active; in ieee80211_sta_register_airtime() 2280 if (diff <= AIRTIME_ACTIVE_DURATION) in ieee80211_sta_register_airtime()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 1661 int diff = to_cid - from_cid; in vcap_chain_offset() local 1663 if (diff < 0) /* Wrong direction */ in vcap_chain_offset() 1664 return diff; in vcap_chain_offset() 1668 diff %= VCAP_CID_LOOKUP_SIZE; /* Limit to a value within a lookup */ in vcap_chain_offset() 1669 return diff; in vcap_chain_offset()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 546 int64_t diff = (int64_t)div_u64(frame_time_diff * base60_refresh_rates[i], 10) - 10000; in resource_are_vblanks_synchronizable() local 548 if (diff < 0) in resource_are_vblanks_synchronizable() 549 diff = -diff; in resource_are_vblanks_synchronizable() 550 if (diff < stream1->ctx->dc->config.vblank_alignment_max_frame_time_diff) in resource_are_vblanks_synchronizable()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | testmgr.c | 5585 int diff = strcmp(alg_test_descs[i - 1].alg, in alg_check_test_descs_order() local 5588 if (WARN_ON(diff > 0)) { in alg_check_test_descs_order() 5594 if (WARN_ON(diff == 0)) { in alg_check_test_descs_order() 5631 int diff = strcmp(alg_test_descs[i].alg, alg); in alg_find_test() local 5633 if (diff > 0) { in alg_find_test() 5638 if (diff < 0) { in alg_find_test()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_trace.h | 1752 xfs_extlen_t len, xfs_extlen_t diff, bool new), 1753 TP_ARGS(mp, btnum, bno, len, diff, new), 1759 __field(xfs_extlen_t, diff) 1767 __entry->diff = diff; 1770 TP_printk("dev %d:%d btree %s bno 0x%x len 0x%x diff 0x%x new %d", 1773 __entry->bno, __entry->len, __entry->diff, __entry->new)
|
/kernel/linux/linux-5.10/net/core/ |
H A D | skbuff.c | 5714 __be16 diff[] = { ~hdr->h_proto, ethertype }; in skb_mod_eth_type() local 5716 skb->csum = csum_partial((char *)diff, sizeof(diff), skb->csum); in skb_mod_eth_type() 5845 __be32 diff[] = { ~mpls_hdr(skb)->label_stack_entry, mpls_lse }; in skb_mpls_update_lse() local 5847 skb->csum = csum_partial((char *)diff, sizeof(diff), skb->csum); in skb_mpls_update_lse()
|
/kernel/linux/linux-5.10/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 849 char diff, temp; in arcmsr_message_isr_bh_fn() local 898 diff = (*acb_dev_map) ^ temp; in arcmsr_message_isr_bh_fn() 899 if (diff != 0) { in arcmsr_message_isr_bh_fn() 903 if ((diff & 0x01) == 1 && in arcmsr_message_isr_bh_fn() 907 } else if ((diff & 0x01) == 1 in arcmsr_message_isr_bh_fn() 917 diff >>= 1; in arcmsr_message_isr_bh_fn()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | testmgr.c | 5803 int diff = strcmp(alg_test_descs[i - 1].alg, in alg_check_test_descs_order() local 5806 if (WARN_ON(diff > 0)) { in alg_check_test_descs_order() 5812 if (WARN_ON(diff == 0)) { in alg_check_test_descs_order() 5849 int diff = strcmp(alg_test_descs[i].alg, alg); in alg_find_test() local 5851 if (diff > 0) { in alg_find_test() 5856 if (diff < 0) { in alg_find_test()
|
/kernel/linux/linux-6.6/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 856 char diff, temp; in arcmsr_message_isr_bh_fn() local 905 diff = (*acb_dev_map) ^ temp; in arcmsr_message_isr_bh_fn() 906 if (diff != 0) { in arcmsr_message_isr_bh_fn() 910 if ((diff & 0x01) == 1 && in arcmsr_message_isr_bh_fn() 914 } else if ((diff & 0x01) == 1 in arcmsr_message_isr_bh_fn() 924 diff >>= 1; in arcmsr_message_isr_bh_fn()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | skbuff.c | 6116 __be16 diff[] = { ~hdr->h_proto, ethertype }; in skb_mod_eth_type() local 6118 skb->csum = csum_partial((char *)diff, sizeof(diff), skb->csum); in skb_mod_eth_type() 6247 __be32 diff[] = { ~mpls_hdr(skb)->label_stack_entry, mpls_lse }; in skb_mpls_update_lse() local 6249 skb->csum = csum_partial((char *)diff, sizeof(diff), skb->csum); in skb_mpls_update_lse()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | phy.c | 1616 u32 i, j, diff, simularity_bitmap, bound; in _rtl88e_phy_simularity_compare() local 1630 diff = (result[c1][i] > result[c2][i]) ? in _rtl88e_phy_simularity_compare() 1634 if (diff > MAX_TOLERANCE) { in _rtl88e_phy_simularity_compare()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | phy.c | 1927 u32 i, j, diff, simularity_bitmap, bound = 0; in _rtl8723be_phy_simularity_compare() local 1953 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); in _rtl8723be_phy_simularity_compare() 1955 if (diff > MAX_TOLERANCE) { in _rtl8723be_phy_simularity_compare()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
H A D | HalPhyRf_8723B.c | 1407 u32 i, j, diff, SimularityBitMap, bound = 0; in phy_SimularityCompare_8723B() local 1437 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); in phy_SimularityCompare_8723B() 1439 if (diff > MAX_TOLERANCE) { in phy_SimularityCompare_8723B()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | phy.c | 1927 u32 i, j, diff, simularity_bitmap, bound = 0; in _rtl8723be_phy_simularity_compare() local 1953 diff = (tmp1 > tmp2) ? (tmp1 - tmp2) : (tmp2 - tmp1); in _rtl8723be_phy_simularity_compare() 1955 if (diff > MAX_TOLERANCE) { in _rtl8723be_phy_simularity_compare()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | phy.c | 346 u8 diff; in rtw_phy_dig_check_damping() local 353 diff = min_rssi > damping_rssi ? min_rssi - damping_rssi : in rtw_phy_dig_check_damping() 355 if (diff > 3 || dm_info->damping_cnt++ > 20) { in rtw_phy_dig_check_damping()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | phy.c | 1616 u32 i, j, diff, simularity_bitmap, bound; in _rtl88e_phy_simularity_compare() local 1630 diff = (result[c1][i] > result[c2][i]) ? in _rtl88e_phy_simularity_compare() 1634 if (diff > MAX_TOLERANCE) { in _rtl88e_phy_simularity_compare()
|