Searched refs:hi (Results 1 - 25 of 219) sorted by relevance

123456789

/drivers/gpu/drm/nouveau/core/subdev/timer/
H A Dgk20a.c31 u32 hi = upper_32_bits(priv->suspend_time); local
40 nv_debug(priv, "time high : 0x%08x\n", hi);
43 nv_wr32(priv, NV04_PTIMER_TIME_1, hi);
H A Dnv04.c31 u32 hi, lo; local
34 hi = nv_rd32(priv, NV04_PTIMER_TIME_1);
36 } while (hi != nv_rd32(priv, NV04_PTIMER_TIME_1));
38 return ((u64)hi << 32 | lo);
145 u32 m = 1, f, n, d, lo, hi; local
204 hi = (priv->suspend_time >> 32);
212 nv_debug(priv, "time high : 0x%08x\n", hi);
218 nv_wr32(priv, NV04_PTIMER_TIME_1, hi);
/drivers/infiniband/hw/mthca/
H A Dmthca_doorbell.h59 static inline void mthca_write64(u32 hi, u32 lo, void __iomem *dest, argument
62 __raw_writeq((__force u64) cpu_to_be64((u64) hi << 32 | lo), dest);
88 static inline void mthca_write64(u32 hi, u32 lo, void __iomem *dest, argument
93 hi = (__force u32) cpu_to_be32(hi);
97 __raw_writel(hi, dest);
/drivers/acpi/acpica/
H A Dutmath.c62 u32 hi; member in struct:uint64_struct
112 ACPI_DIV_64_BY_32(0, dividend_ovl.part.hi, divisor,
113 quotient.part.hi, remainder32);
169 if (divisor.part.hi == 0) {
174 remainder.part.hi = 0;
180 ACPI_DIV_64_BY_32(0, dividend.part.hi, divisor.part.lo,
181 quotient.part.hi, partial1);
191 quotient.part.hi = 0;
198 ACPI_SHIFT_RIGHT_64(normalized_divisor.part.hi,
200 ACPI_SHIFT_RIGHT_64(normalized_dividend.part.hi,
[all...]
/drivers/hid/
H A Dhid-penmount.c22 struct hid_input *hi, struct hid_field *field,
26 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH);
21 penmount_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-icade.c191 static int icade_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
203 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to);
204 set_bit(trans->to, hi->input->keybit);
214 static int icade_input_mapped(struct hid_device *hdev, struct hid_input *hi, argument
219 set_bit(usage->type, hi->input->evbit);
H A Dhid-kensington.c21 #define ks_map_key(c) hid_map_usage(hi, usage, bit, max, EV_KEY, (c))
23 static int ks_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
H A Dhid-lcpower.c21 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
23 static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
H A Dhid-chicony.c26 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
28 static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
35 set_bit(EV_REP, hi->input->evbit);
H A Dhid-ezkey.c25 #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, argument
H A Dhid-microsoft.c58 #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
60 static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage, argument
63 struct input_dev *input = hi->input;
95 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL);
122 static int ms_presenter_8k_quirk(struct hid_input *hi, struct hid_usage *usage, argument
128 set_bit(EV_REP, hi->input->evbit);
141 static int ms_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
148 int ret = ms_ergonomy_kb_quirk(hi, usage, bit, max);
154 ms_presenter_8k_quirk(hi, usage, bit, max))
160 static int ms_input_mapped(struct hid_device *hdev, struct hid_input *hi, argument
[all...]
H A Dhid-multitouch.c344 struct hid_input *hi)
354 static int mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
379 set_bit(INPUT_PROP_DIRECT, hi->input->propbit);
381 set_bit(INPUT_PROP_POINTER, hi->input->propbit);
394 hid_map_usage(hi, usage, bit, max,
396 set_abs(hi->input, ABS_MT_TOOL_X, field,
399 hid_map_usage(hi, usage, bit, max,
401 set_abs(hi->input, ABS_MT_POSITION_X, field,
405 mt_store_field(usage, td, hi);
409 hid_map_usage(hi, usag
343 mt_store_field(struct hid_usage *usage, struct mt_device *td, struct hid_input *hi) argument
509 mt_touch_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
714 mt_touch_input_configured(struct hid_device *hdev, struct hid_input *hi) argument
743 mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
776 mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
894 mt_input_configured(struct hid_device *hdev, struct hid_input *hi) argument
[all...]
H A Dhid-gyration.c25 #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, argument
34 set_bit(EV_REP, hi->input->evbit);
H A Dhid-belkin.c27 #define belkin_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
29 static int belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument
/drivers/gpu/drm/nouveau/core/subdev/i2c/
H A Dnve0.c28 nve0_aux_stat(struct nouveau_i2c *i2c, u32 *hi, u32 *lo, u32 *rq, u32 *tx) argument
32 for (i = 0, *hi = *lo = *rq = *tx = 0; i < 8; i++) {
33 if ((stat & (1 << (i * 4)))) *hi |= 1 << i;
/drivers/cpufreq/
H A De_powersaver.c93 u32 lo, hi; local
102 rdmsr(MSR_IA32_PERF_STATUS, lo, hi);
110 u32 lo, hi; local
114 rdmsr(MSR_IA32_PERF_STATUS, lo, hi);
118 rdmsr(MSR_IA32_PERF_STATUS, lo, hi);
130 rdmsr(MSR_IA32_PERF_STATUS, lo, hi);
142 rdmsr(MSR_IA32_PERF_STATUS, lo, hi);
176 u32 lo, hi; local
201 rdmsr(0x1153, lo, hi);
206 rdmsr(0x1154, lo, hi);
[all...]
/drivers/lguest/
H A Dinterrupts_and_traps.c27 static unsigned long idt_address(u32 lo, u32 hi) argument
29 return (lo & 0x0000FFFF) | (hi & 0xFFFF0000);
36 static int idt_type(u32 lo, u32 hi) argument
38 return (hi >> 8) & 0xF;
42 static bool idt_present(u32 lo, u32 hi) argument
44 return (hi & 0x8000);
64 * "lo" and "hi" are the two parts of the Interrupt Descriptor Table for this
72 static void set_guest_interrupt(struct lg_cpu *cpu, u32 lo, u32 hi, argument
140 cpu->regs->eip = idt_address(lo, hi);
156 if (idt_type(lo, hi)
475 set_trap(struct lg_cpu *cpu, struct desc_struct *trap, unsigned int num, u32 lo, u32 hi) argument
509 load_guest_idt_entry(struct lg_cpu *cpu, unsigned int num, u32 lo, u32 hi) argument
[all...]
/drivers/scsi/esas2r/
H A Desas2r_ioctl.c668 struct atto_ioctl *hi,
677 hi->status = ATTO_STS_OUT_OF_RSRC;
690 struct atto_ioctl *hi = (struct atto_ioctl *)rq->aux_req_cx; local
691 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru;
749 struct atto_ioctl *hi = (struct atto_ioctl *)esas2r_buffered_ioctl; local
751 hi->status = ATTO_STS_SUCCESS;
753 switch (hi->function) {
759 &hi->data.get_adap_info;
762 if (hi->flags & HBAF_TUNNEL) {
763 hi
667 hba_ioctl_tunnel(struct esas2r_adapter *a, struct atto_ioctl *hi, struct esas2r_request *rq, struct esas2r_sg_context *sgc) argument
[all...]
/drivers/isdn/hardware/eicon/
H A Dcapidtmf.c252 long d, e, q1, q2, lo, mid, hi; local
272 hi = k >> 16;
275 hi += k >> 16;
276 hi += ((dword)(d >> 16)) * ((dword)(e >> 16));
286 hi = -((long)(k >> 16));
289 hi -= k >> 16;
290 hi -= ((dword)(d >> 16)) * ((dword)(e >> 16));
296 hi = -hi;
304 hi
495 dword lo, hi; local
[all...]
/drivers/char/
H A Dds1620.c203 ds1620_out(THERM_WRITE_TH, 9, therm->hi);
210 therm->hi = cvt_9_to_int(ds1620_in(THERM_READ_TH, 9));
254 if (get_user(therm.hi, uarg.i))
256 therm.lo = therm.hi - 3;
263 therm.hi <<= 1;
273 therm.hi >>= 1;
276 if (put_user(therm.hi, uarg.i))
342 th.hi >> 1, th.hi & 1 ? 5 : 0,
395 th_start.hi
[all...]
/drivers/char/tpm/
H A Dtpm_atmel.h118 int lo, hi; local
124 hi = tpm_read_index(TPM_ADDR, TPM_ATMEL_BASE_ADDR_HI);
126 *base = (hi << 8) | lo;
/drivers/char/hw_random/
H A Dvia-rng.c136 u32 lo, hi, old_lo; local
157 rdmsr(MSR_VIA_RNG, lo, hi);
177 wrmsr(MSR_VIA_RNG, lo, hi);
181 rdmsr(MSR_VIA_RNG, lo, hi);
/drivers/video/fbdev/
H A Dedid.h66 #define COMBINE_HI_8LO( hi, lo ) \
67 ( (((unsigned)hi) << 8) | (unsigned)lo )
69 #define COMBINE_HI_4LO( hi, lo ) \
70 ( (((unsigned)hi) << 4) | (unsigned)lo )
/drivers/ptp/
H A Dptp_ixp46x.c57 u32 lo, hi; local
60 hi = __raw_readl(&regs->systime_hi);
62 ns = ((u64) hi) << 32;
71 u32 hi, lo; local
74 hi = ns >> 32;
78 __raw_writel(hi, &regs->systime_hi);
90 u32 ack = 0, lo, hi, val; local
97 hi = __raw_readl(&regs->asms_hi);
101 event.timestamp = ((u64) hi) << 32;
111 hi
[all...]
/drivers/net/hamradio/
H A Dbaycom_epp.c1003 struct hdlcdrv_ioctl hi; local
1008 if (copy_from_user(&hi, ifr->ifr_data, sizeof(hi)))
1010 switch (hi.cmd) {
1015 hi.data.cp.tx_delay = bc->ch_params.tx_delay;
1016 hi.data.cp.tx_tail = bc->ch_params.tx_tail;
1017 hi.data.cp.slottime = bc->ch_params.slottime;
1018 hi.data.cp.ppersist = bc->ch_params.ppersist;
1019 hi.data.cp.fulldup = bc->ch_params.fulldup;
1025 bc->ch_params.tx_delay = hi
[all...]

Completed in 564 milliseconds

123456789