/linux-4.19.296/block/ |
D | badblocks.c | 64 int hi; in badblocks_check() local 84 hi = bb->count; in badblocks_check() 94 while (hi - lo > 1) { in badblocks_check() 95 int mid = (lo + hi) / 2; in badblocks_check() 105 hi = mid; in badblocks_check() 108 if (hi > lo) { in badblocks_check() 175 int lo, hi; in badblocks_set() local 197 hi = bb->count; in badblocks_set() 199 while (hi - lo > 1) { in badblocks_set() 200 int mid = (lo + hi) / 2; in badblocks_set() [all …]
|
/linux-4.19.296/include/linux/ |
D | cnt32_to_63.h | 24 u32 lo, hi; member 26 u32 hi, lo; 99 __x.hi = __m_cnt_hi; \ 102 if (unlikely((s32)(__x.hi ^ __x.lo) < 0)) \ 103 __m_cnt_hi = __x.hi = (__x.hi ^ 0x80000000) + (__x.hi >> 31); \
|
/linux-4.19.296/drivers/clk/meson/ |
D | sclk-div.c | 110 unsigned int hi = DIV_ROUND_CLOSEST(sclk->cached_div * in sclk_apply_ratio() local 114 if (hi) in sclk_apply_ratio() 115 hi -= 1; in sclk_apply_ratio() 117 meson_parm_write(clk->map, &sclk->hi, hi); in sclk_apply_ratio() 126 if (MESON_PARM_APPLICABLE(&sclk->hi)) { in sclk_div_set_duty_cycle() 139 int hi; in sclk_div_get_duty_cycle() local 141 if (!MESON_PARM_APPLICABLE(&sclk->hi)) { in sclk_div_get_duty_cycle() 147 hi = meson_parm_read(clk->map, &sclk->hi); in sclk_div_get_duty_cycle() 148 duty->num = hi + 1; in sclk_div_get_duty_cycle() 156 if (MESON_PARM_APPLICABLE(&sclk->hi)) in sclk_apply_divider()
|
/linux-4.19.296/drivers/cpufreq/ |
D | e_powersaver.c | 95 u32 lo, hi; in eps_get() local 104 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_get() 112 u32 lo, hi; in eps_set_state() local 116 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 120 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 132 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 144 rdmsr(MSR_IA32_PERF_STATUS, lo, hi); in eps_set_state() 176 u32 lo, hi; in eps_cpu_init() local 200 rdmsr(0x1153, lo, hi); in eps_cpu_init() 205 rdmsr(0x1154, lo, hi); in eps_cpu_init() [all …]
|
D | sfi-cpufreq.c | 58 u32 lo, hi; in sfi_cpufreq_target() local 62 rdmsr_on_cpu(policy->cpu, MSR_IA32_PERF_CTL, &lo, &hi); in sfi_cpufreq_target() 66 wrmsr_on_cpu(policy->cpu, MSR_IA32_PERF_CTL, lo, hi); in sfi_cpufreq_target()
|
/linux-4.19.296/drivers/isdn/hardware/eicon/ |
D | capidtmf.c | 252 long d, e, q1, q2, lo, mid, hi; in capidtmf_goertzel_result() local 272 hi = k >> 16; in capidtmf_goertzel_result() 275 hi += k >> 16; in capidtmf_goertzel_result() 276 hi += ((dword)(d >> 16)) * ((dword)(e >> 16)); in capidtmf_goertzel_result() 286 hi = -((long)(k >> 16)); in capidtmf_goertzel_result() 289 hi -= k >> 16; in capidtmf_goertzel_result() 290 hi -= ((dword)(d >> 16)) * ((dword)(e >> 16)); in capidtmf_goertzel_result() 296 hi = -hi; in capidtmf_goertzel_result() 304 hi += (k >> 16) << 1; in capidtmf_goertzel_result() 305 hi += ((dword)(d >> 16)) * ((dword)(d >> 16)); in capidtmf_goertzel_result() [all …]
|
/linux-4.19.296/drivers/hid/ |
D | hid-microsoft.c | 51 #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 53 static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage, in ms_ergonomy_kb_quirk() argument 56 struct input_dev *input = hi->input; in ms_ergonomy_kb_quirk() 88 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); in ms_ergonomy_kb_quirk() 115 static int ms_presenter_8k_quirk(struct hid_input *hi, struct hid_usage *usage, in ms_presenter_8k_quirk() argument 121 set_bit(EV_REP, hi->input->evbit); in ms_presenter_8k_quirk() 134 static int ms_surface_dial_quirk(struct hid_input *hi, struct hid_field *field, in ms_surface_dial_quirk() argument 158 static int ms_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ms_input_mapping() argument 165 int ret = ms_ergonomy_kb_quirk(hi, usage, bit, max); in ms_input_mapping() 171 ms_presenter_8k_quirk(hi, usage, bit, max)) in ms_input_mapping() [all …]
|
D | hid-icade.c | 191 static int icade_input_mapping(struct hid_device *hdev, struct hid_input *hi, in icade_input_mapping() argument 203 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to); in icade_input_mapping() 204 set_bit(trans->to, hi->input->keybit); in icade_input_mapping() 214 static int icade_input_mapped(struct hid_device *hdev, struct hid_input *hi, in icade_input_mapped() argument 219 set_bit(usage->type, hi->input->evbit); in icade_input_mapped()
|
D | hid-ezkey.c | 25 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c)) 26 #define ez_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c)) 28 static int ez_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ez_input_mapping() argument
|
D | hid-retrode.c | 23 struct hid_input *hi) in retrode_input_configured() argument 25 struct hid_field *field = hi->report->field[0]; in retrode_input_configured() 60 hi->input->name = name; in retrode_input_configured()
|
D | hid-lg.c | 481 #define lg_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 484 static int lg_ultrax_remote_mapping(struct hid_input *hi, in lg_ultrax_remote_mapping() argument 490 set_bit(EV_REP, hi->input->evbit); in lg_ultrax_remote_mapping() 517 static int lg_dinovo_mapping(struct hid_input *hi, struct hid_usage *usage, in lg_dinovo_mapping() argument 533 static int lg_wireless_mapping(struct hid_input *hi, struct hid_usage *usage, in lg_wireless_mapping() argument 594 static int lg_input_mapping(struct hid_device *hdev, struct hid_input *hi, in lg_input_mapping() argument 614 lg_ultrax_remote_mapping(hi, usage, bit, max)) in lg_input_mapping() 618 lg_dinovo_mapping(hi, usage, bit, max)) in lg_input_mapping() 621 if ((drv_data->quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max)) in lg_input_mapping() 638 hid_map_usage(hi, usage, bit, max, EV_KEY, in lg_input_mapping() [all …]
|
D | hid-samsung.c | 98 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) 101 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, in samsung_kbd_mouse_input_mapping() argument 141 static int samsung_input_mapping(struct hid_device *hdev, struct hid_input *hi, in samsung_input_mapping() argument 149 hi, field, usage, bit, max); in samsung_input_mapping()
|
D | hid-lenovo.c | 56 #define map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) 88 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_tpkbd() argument 101 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_cptkbd() argument 161 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_cptkbd() 164 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); in lenovo_input_mapping_cptkbd() 175 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_scrollpoint() argument 179 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_scrollpoint() 186 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping() argument 191 return lenovo_input_mapping_tpkbd(hdev, hi, field, in lenovo_input_mapping() 195 return lenovo_input_mapping_cptkbd(hdev, hi, field, in lenovo_input_mapping() [all …]
|
D | hid-multitouch.c | 685 static int mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, in mt_touch_input_mapping() argument 723 set_abs(hi->input, code, field, cls->sn_move); in mt_touch_input_mapping() 731 hi->input->propbit); in mt_touch_input_mapping() 732 input_set_abs_params(hi->input, in mt_touch_input_mapping() 748 set_abs(hi->input, code, field, cls->sn_move); in mt_touch_input_mapping() 758 input_set_abs_params(hi->input, in mt_touch_input_mapping() 771 input_set_abs_params(hi->input, in mt_touch_input_mapping() 780 input_set_capability(hi->input, in mt_touch_input_mapping() 790 set_abs(hi->input, ABS_MT_TOUCH_MAJOR, field, in mt_touch_input_mapping() 796 set_abs(hi->input, ABS_MT_TOUCH_MINOR, field, in mt_touch_input_mapping() [all …]
|
D | hid-chicony.c | 27 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 29 static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ch_input_mapping() argument 36 set_bit(EV_REP, hi->input->evbit); in ch_input_mapping()
|
D | hid-gyration.c | 25 #define gy_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 27 static int gyration_input_mapping(struct hid_device *hdev, struct hid_input *hi, in gyration_input_mapping() argument 34 set_bit(EV_REP, hi->input->evbit); in gyration_input_mapping()
|
D | hid-gfrm.c | 31 static int gfrm_input_mapping(struct hid_device *hdev, struct hid_input *hi, in gfrm_input_mapping() argument 40 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_INFO); in gfrm_input_mapping() 46 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_OK); in gfrm_input_mapping()
|
/linux-4.19.296/drivers/char/ |
D | ds1620.c | 203 ds1620_out(THERM_WRITE_TH, 9, therm->hi); in ds1620_write_state() 210 therm->hi = cvt_9_to_int(ds1620_in(THERM_READ_TH, 9)); in ds1620_read_state() 254 if (get_user(therm.hi, uarg.i)) in ds1620_ioctl() 256 therm.lo = therm.hi - 3; in ds1620_ioctl() 263 therm.hi <<= 1; in ds1620_ioctl() 273 therm.hi >>= 1; in ds1620_ioctl() 276 if (put_user(therm.hi, uarg.i)) in ds1620_ioctl() 342 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_proc_therm_show() 383 th_start.hi = 1; in ds1620_init() 404 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_init()
|
/linux-4.19.296/drivers/ptp/ |
D | ptp_ixp46x.c | 57 u32 lo, hi; in ixp_systime_read() local 60 hi = __raw_readl(®s->systime_hi); in ixp_systime_read() 62 ns = ((u64) hi) << 32; in ixp_systime_read() 71 u32 hi, lo; in ixp_systime_write() local 74 hi = ns >> 32; in ixp_systime_write() 78 __raw_writel(hi, ®s->systime_hi); in ixp_systime_write() 90 u32 ack = 0, lo, hi, val; in isr() local 97 hi = __raw_readl(®s->asms_hi); in isr() 101 event.timestamp = ((u64) hi) << 32; in isr() 111 hi = __raw_readl(®s->amms_hi); in isr() [all …]
|
D | ptp_pch.c | 160 u32 lo, hi; in pch_systime_read() local 163 hi = ioread32(®s->systime_hi); in pch_systime_read() 165 ns = ((u64) hi) << 32; in pch_systime_read() 174 u32 hi, lo; in pch_systime_write() local 177 hi = ns >> 32; in pch_systime_write() 181 iowrite32(hi, ®s->systime_hi); in pch_systime_write() 258 u32 lo, hi; in pch_rx_snap_read() local 261 hi = ioread32(&chip->regs->rx_snap_hi); in pch_rx_snap_read() 263 ns = ((u64) hi) << 32; in pch_rx_snap_read() 275 u32 lo, hi; in pch_tx_snap_read() local [all …]
|
D | ptp_qoriq.c | 45 u32 lo, hi; in tmr_cnt_read() local 48 hi = qoriq_read(®s->ctrl_regs->tmr_cnt_h); in tmr_cnt_read() 49 ns = ((u64) hi) << 32; in tmr_cnt_read() 58 u32 hi = ns >> 32; in tmr_cnt_write() local 62 qoriq_write(®s->ctrl_regs->tmr_cnt_h, hi); in tmr_cnt_write() 70 u32 lo, hi; in set_alarm() local 75 hi = ns >> 32; in set_alarm() 78 qoriq_write(®s->alarm_regs->tmr_alarm1_h, hi); in set_alarm() 101 u32 ack = 0, lo, hi, mask, val; in isr() local 107 hi = qoriq_read(®s->etts_regs->tmr_etts1_h); in isr() [all …]
|
/linux-4.19.296/fs/ext4/ |
D | bitmap.c | 23 __u32 hi; in ext4_inode_bitmap_csum_verify() local 33 hi = le16_to_cpu(gdp->bg_inode_bitmap_csum_hi); in ext4_inode_bitmap_csum_verify() 34 provided |= (hi << 16); in ext4_inode_bitmap_csum_verify() 61 __u32 hi; in ext4_block_bitmap_csum_verify() local 72 hi = le16_to_cpu(gdp->bg_block_bitmap_csum_hi); in ext4_block_bitmap_csum_verify() 73 provided |= (hi << 16); in ext4_block_bitmap_csum_verify()
|
/linux-4.19.296/crypto/ |
D | fcrypt.c | 58 #define ror56(hi, lo, n) \ argument 61 lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \ 62 hi = (hi >> n) | (t << (24-n)); \ 350 u32 hi, lo; /* hi is upper 24 bits and lo lower 32, total 56 */ in fcrypt_setkey() local 360 hi = lo >> 4; in fcrypt_setkey() 372 ctx->sched[0x0] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() 373 ctx->sched[0x1] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() 374 ctx->sched[0x2] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() 375 ctx->sched[0x3] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() 376 ctx->sched[0x4] = cpu_to_be32(lo); ror56(hi, lo, 11); in fcrypt_setkey() [all …]
|
/linux-4.19.296/drivers/char/hw_random/ |
D | via-rng.c | 132 u32 lo, hi, old_lo; in via_rng_init() local 153 rdmsr(MSR_VIA_RNG, lo, hi); in via_rng_init() 173 wrmsr(MSR_VIA_RNG, lo, hi); in via_rng_init() 177 rdmsr(MSR_VIA_RNG, lo, hi); in via_rng_init()
|
/linux-4.19.296/lib/ |
D | reciprocal_div.c | 53 u64 lo = mlow >> 1, hi = mhigh >> 1; in reciprocal_value_adv() local 55 if (lo >= hi) in reciprocal_value_adv() 59 mhigh = hi; in reciprocal_value_adv()
|