Home
last modified time | relevance | path

Searched refs:lo (Results 1 – 25 of 155) sorted by relevance

1234567

/linux-2.4.37.9/drivers/block/
Dloop.c90 static int transfer_none(struct loop_device *lo, int cmd, char *raw_buf, in transfer_none() argument
103 static int transfer_xor(struct loop_device *lo, int cmd, char *raw_buf, in transfer_xor() argument
117 key = lo->lo_encrypt_key; in transfer_xor()
118 keysize = lo->lo_encrypt_key_size; in transfer_xor()
124 static int none_status(struct loop_device *lo, struct loop_info *info) in none_status() argument
126 lo->lo_flags |= LO_FLAGS_BH_REMAP; in none_status()
130 static int xor_status(struct loop_device *lo, struct loop_info *info) in xor_status() argument
157 static int compute_loop_size(struct loop_device *lo, struct dentry * lo_dentry, kdev_t lodev) in compute_loop_size() argument
160 return (lo_dentry->d_inode->i_size - lo->lo_offset) >> BLOCK_SIZE_BITS; in compute_loop_size()
163 (lo->lo_offset >> BLOCK_SIZE_BITS); in compute_loop_size()
[all …]
Dnbd.c190 void nbd_send_req(struct nbd_device *lo, struct request *req) in nbd_send_req() argument
195 struct socket *sock = lo->sock; in nbd_send_req()
204 down(&lo->tx_lock); in nbd_send_req()
206 if (!sock || !lo->sock) { in nbd_send_req()
224 up(&lo->tx_lock); in nbd_send_req()
228 up(&lo->tx_lock); in nbd_send_req()
232 static struct request *nbd_find_request(struct nbd_device *lo, char *handle) in nbd_find_request() argument
240 spin_lock(&lo->queue_lock); in nbd_find_request()
241 list_for_each(tmp, &lo->queue_head) { in nbd_find_request()
246 spin_unlock(&lo->queue_lock); in nbd_find_request()
[all …]
/linux-2.4.37.9/drivers/acpi/utilities/
Dutmath.c104 ACPI_DIV_64_BY_32 (remainder32, dividend.part.lo, divisor, in acpi_ut_short_divide()
105 quotient.part.lo, remainder32); in acpi_ut_short_divide()
176 ACPI_DIV_64_BY_32 (0, dividend.part.hi, divisor.part.lo, in acpi_ut_divide()
178 ACPI_DIV_64_BY_32 (partial1, dividend.part.lo, divisor.part.lo, in acpi_ut_divide()
179 quotient.part.lo, remainder.part.lo); in acpi_ut_divide()
195 normalized_divisor.part.lo); in acpi_ut_divide()
197 normalized_dividend.part.lo); in acpi_ut_divide()
204 normalized_dividend.part.lo, in acpi_ut_divide()
205 normalized_divisor.part.lo, in acpi_ut_divide()
206 quotient.part.lo, partial1); in acpi_ut_divide()
[all …]
/linux-2.4.37.9/arch/ia64/lib/
Dcarta_random.S15 #define lo r8 macro
30 zxt4 lo = t0
38 add lo = lo, t0
40 cmp.gtu p6, p0 = lo, m
42 (p6) and lo = lo, m
44 (p6) add lo = 1, lo
46 add lo = lo, t1
48 cmp.gtu p6, p0 = lo, m
50 (p6) and lo = lo, m
52 (p6) add lo = 1, lo
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys32.S20 jmpl %g1 + %lo(sys_mmap), %g0
29 jmpl %g1 + %lo(sys_lseek), %g0
34 orcc %g2, %lo(0xffff), %g2
35 jmpl %g1 + %lo(sys_chmod), %g0
40 orcc %g2, %lo(0xffff), %g2
41 jmpl %g1 + %lo(sys_mknod), %g0
48 jmpl %g1 + %lo(sys_sendto), %g0
53 jmpl %g1 + %lo(sys_recvfrom), %g0
59 jmpl %g1 + %lo(sys_bdflush), %g0
68 jmpl %g1 + %lo(sys_mmap), %g0
[all …]
Dtrampoline.S99 1: ldstub [%g2 + %lo(prom_entry_lock)], %g1
104 or %g2, %lo(p1275buf), %g2
111 or %g2, %lo(call_method), %g2
118 or %g2, %lo(itlb_load), %g2
121 lduw [%g2 + %lo(mmu_ihandle_cache)], %g2
126 ldx [%g2 + %lo(kern_locked_tte_data)], %g2
136 or %g2, %lo(p1275buf), %g2
142 lduw [%g2 + %lo(bigkernel)], %g2
148 or %g2, %lo(call_method), %g2
155 or %g2, %lo(itlb_load), %g2
[all …]
/linux-2.4.37.9/drivers/video/
Dfbcon-mac.c56 int l,r,t,b,w,lo,s; in fbcon_mac_bmove() local
83 lo = ((l+31)&~31) - l; in fbcon_mac_bmove()
87 if (lo != dlo) { in fbcon_mac_bmove()
88 lo = ((l+7)&~7) - l; in fbcon_mac_bmove()
92 if (lo != dlo) { in fbcon_mac_bmove()
113 src += lo >> 3; in fbcon_mac_bmove()
114 dest += lo >> 3; in fbcon_mac_bmove()
118 src += lo >> 2; in fbcon_mac_bmove()
119 dest += lo >> 2; in fbcon_mac_bmove()
123 src += lo >> 1; in fbcon_mac_bmove()
[all …]
/linux-2.4.37.9/drivers/char/
Dhw_random.c425 u32 lo, hi, old_lo; in via_init() local
433 rdmsr(MSR_VIA_RNG, lo, hi); in via_init()
435 old_lo = lo; in via_init()
436 lo &= ~(0x7f << VIA_STRFILT_CNT_SHIFT); in via_init()
437 lo &= ~VIA_XSTORE_CNT_MASK; in via_init()
438 lo &= ~(VIA_STRFILT_ENABLE | VIA_STRFILT_FAIL | VIA_RAWBITS_ENABLE); in via_init()
439 lo |= VIA_RNG_ENABLE; in via_init()
441 if (lo != old_lo) in via_init()
442 wrmsr(MSR_VIA_RNG, lo, hi); in via_init()
446 rdmsr(MSR_VIA_RNG, lo, hi); in via_init()
[all …]
Dds1620.c204 ds1620_out(THERM_WRITE_TL, 9, therm->lo); in ds1620_write_state()
211 therm->lo = cvt_9_to_int(ds1620_in(THERM_READ_TL, 9)); in ds1620_read_state()
251 therm.lo = therm.hi - 3; in ds1620_ioctl()
257 therm.lo <<= 1; in ds1620_ioctl()
267 therm.lo >>= 1; in ds1620_ioctl()
329 th.lo >> 1, th.lo & 1 ? 5 : 0, in proc_therm_ds1620_read()
369 th_start.lo = 0; in ds1620_init()
396 th.lo >> 1, th.lo & 1 ? 5 : 0, in ds1620_init()
/linux-2.4.37.9/arch/m68k/ifpsp060/src/
Dilsp.S76 # 0xc(sp) = lo(dividend) #
139 mov.l 0x10(%a6), %d6 # get dividend lo
165 # - is (hi(dividend) == 0 && (divisor <= lo(dividend))) ? (32-bit div)
170 tst.l %d6 # is (lo(dividend) == 0), too
173 cmp.l %d7,%d6 # is (divisor <= lo(dividend))
449 # returns 64 bit result in %d5 (hi) %d6(lo).
452 # multiply hi,lo words of each factor to get 4 intermediate products
531 # | hi(mplier) * lo(mplicand) | #
534 # | lo(mplier) * hi(mplicand) | #
537 # --|-- | lo(mplier) * lo(mplicand) | #
[all …]
/linux-2.4.37.9/arch/sparc/mm/
Dviking.S97 or %o3, %lo(MXCC_SRCSTREAM), %o2
98 or %o3, %lo(MXCC_DESSTREAM), %o3
206 1: ldstub [%g3 + %lo(sun4dsmp_flush_tlb_spin)], %g5
212 stb %g0, [%g3 + %lo(sun4dsmp_flush_tlb_spin)]
215 ldub [%g3 + %lo(sun4dsmp_flush_tlb_spin)], %g5
220 1: ldstub [%g3 + %lo(sun4dsmp_flush_tlb_spin)], %g5
231 stb %g0, [%g3 + %lo(sun4dsmp_flush_tlb_spin)]
234 ldub [%g3 + %lo(sun4dsmp_flush_tlb_spin)], %g5
239 1: ldstub [%g3 + %lo(sun4dsmp_flush_tlb_spin)], %g5
256 stb %g0, [%g3 + %lo(sun4dsmp_flush_tlb_spin)]
[all …]
/linux-2.4.37.9/include/asm-mips/
Ddelay.h42 unsigned long lo; in __udelay() local
50 : "=h" (usecs), "=l" (lo) in __udelay()
58 unsigned long lo; in __ndelay() local
66 : "=h" (nsecs), "=l" (lo) in __ndelay()
/linux-2.4.37.9/fs/hfs/
Dtrans.c400 int hi, lo; in hfs_colon2mac() local
413 ((lo=dehex(in[1])) & 0xf0) || in hfs_colon2mac()
414 !(code = (hi << 4) | lo) || in hfs_colon2mac()
441 int hi, lo; in hfs_prcnt2mac() local
456 ((lo=dehex(in[1])) & 0xf0) || in hfs_prcnt2mac()
457 !(code = (hi << 4) | lo) || in hfs_prcnt2mac()
515 int hi, lo; in hfs_latin2mac() local
547 ((lo=dehex(in[1])) & 0xf0) || in hfs_latin2mac()
548 !(code = (hi << 4) | lo) || in hfs_latin2mac()
/linux-2.4.37.9/include/asm-mips64/
Ddelay.h44 unsigned long lo; in __udelay() local
58 : "=h" (usecs), "=l" (lo) in __udelay()
66 unsigned long lo; in __ndelay() local
80 : "=h" (nsecs), "=l" (lo) in __ndelay()
/linux-2.4.37.9/include/linux/
Dloop.h65 static inline int lo_do_transfer(struct loop_device *lo, int cmd, char *rbuf, in lo_do_transfer() argument
68 if (!lo->transfer) in lo_do_transfer()
71 return lo->transfer(lo, cmd, rbuf, lbuf, size, rblock); in lo_do_transfer()
131 int (*transfer)(struct loop_device *lo, int cmd, char *raw_buf,
/linux-2.4.37.9/arch/sparc64/lib/
DU3patch.S10 or %g1, %lo(NEW), %g1; \
12 or %g2, %lo(OLD), %g2; \
16 or %g3, %lo(BRANCH_ALWAYS), %g3; \
20 or %g3, %lo(NOP), %g3; \
/linux-2.4.37.9/include/asm-sparc64/
Dvisasm.h23 jmpl %g1 + %lo(VISenter), %g0; \
24 or %g7, %lo(297f), %g7; \
39 jmpl %g1 + %lo(VISenterhalf), %g0; \
40 or %g7, %lo(298f), %g7; \
/linux-2.4.37.9/include/asm-sparc/
Dasmmacro.h25 ldub [%reg + %lo(boot_cpu_id)], %reg;
31 or %tmp, %lo(C_LABEL(mid_xlate)), %tmp; \
39 or %tmp, %lo(C_LABEL(cpu_offset)), %tmp; \
48 jmpl %l4 + %lo(trap_setup), %l6;
/linux-2.4.37.9/arch/mips/vr4181/common/
Dint_handler.S130 lhu t0,%lo(VR4181_SYSINT1REG)(t3)
131 lhu t2,%lo(VR4181_MSYSINT1REG)(t3)
146 lhu t0,%lo(VR4181_SYSINT2REG)(t3)
147 lhu t2,%lo(VR4181_MSYSINT2REG)(t3)
155 lhu t0,%lo(VR4181_GPINTMSK)(t3)
156 lhu t2,%lo(VR4181_GPINTSTAT)(t3)
/linux-2.4.37.9/arch/sparc/lib/
Dstrlen.S20 or %o4, %lo(HI_MAGIC), %o3
33 or %o4, %lo(LO_MAGIC), %o2
51 or %o4, %lo(HI_MAGIC), %o3
55 or %o4, %lo(LO_MAGIC), %o2
/linux-2.4.37.9/arch/i386/kernel/
Dmtrr.c656 void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi) in mtrr_centaur_report_mcr() argument
658 centaur_mcr[mcr].low = lo; in mtrr_centaur_report_mcr()
874 unsigned int lo, hi; in set_mtrr_var_range_testing() local
877 rdmsr(MTRRphysBase_MSR(index), lo, hi); in set_mtrr_var_range_testing()
878 if ( (vr->base_lo & 0xfffff0ffUL) != (lo & 0xfffff0ffUL) in set_mtrr_var_range_testing()
885 rdmsr (MTRRphysMask_MSR(index), lo, hi); in set_mtrr_var_range_testing()
887 if ( (vr->mask_lo & 0xfffff800UL) != (lo & 0xfffff800UL) in set_mtrr_var_range_testing()
914 unsigned long lo, hi; in set_fixed_ranges_testing() local
916 rdmsr(MTRRfix64K_00000_MSR, lo, hi); in set_fixed_ranges_testing()
917 if (p[0] != lo || p[1] != hi) in set_fixed_ranges_testing()
[all …]
Dsetup.c1808 u32 lo, hi; in winchip_mcr_insert() local
1811 lo = ~(size-1); /* Size is a power of 2 so this makes a mask */ in winchip_mcr_insert()
1812 lo &= ~0xFFF; /* Remove the ctrl value bits */ in winchip_mcr_insert()
1813 lo |= key; /* Attribute we wish to set */ in winchip_mcr_insert()
1814 wrmsr(reg+MSR_IDT_MCR0, lo, hi); in winchip_mcr_insert()
1815 mtrr_centaur_report_mcr(reg, lo, hi); /* Tell the mtrr driver */ in winchip_mcr_insert()
1975 u32 lo, hi; in winchip2_create_optimal_mcr() local
1994 rdmsr(MSR_IDT_MCR_CTRL, lo, hi); in winchip2_create_optimal_mcr()
1996 lo|=1<<(9+i); in winchip2_create_optimal_mcr()
1997 wrmsr(MSR_IDT_MCR_CTRL, lo, hi); in winchip2_create_optimal_mcr()
[all …]
Dbluesmoke.c191 u32 lo, hi; in winchip_mcheck_init() local
198 rdmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
199 lo|= (1<<2); /* Enable EIERRINT (int 18 MCE) */ in winchip_mcheck_init()
200 lo&= ~(1<<4); /* Enable MCE */ in winchip_mcheck_init()
201 wrmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
/linux-2.4.37.9/arch/x86_64/kernel/
Dmtrr.c283 u32 lo, hi; in set_mtrr_var_range_testing() local
286 rdmsr (MSR_MTRRphysBase(index), lo, hi); in set_mtrr_var_range_testing()
287 if ((vr->base_lo & 0xfffff0ff) != (lo & 0xfffff0ff) || in set_mtrr_var_range_testing()
293 rdmsr (MSR_MTRRphysMask(index), lo, hi); in set_mtrr_var_range_testing()
294 if ((vr->mask_lo & 0xfffff800) != (lo & 0xfffff800) || in set_mtrr_var_range_testing()
322 u32 lo, hi; in set_fixed_ranges_testing() local
325 rdmsr (MSR_MTRRfix64K_00000, lo, hi); in set_fixed_ranges_testing()
326 if (p[0] != lo || p[1] != hi) { in set_fixed_ranges_testing()
327 Dprintk (KERN_INFO "mtrr: Writing %x:%x to 64K MSR. lohi were %x:%x\n", p[0], p[1], lo, hi); in set_fixed_ranges_testing()
334 rdmsr (MSR_MTRRfix16K_80000 + i, lo, hi); in set_fixed_ranges_testing()
[all …]
/linux-2.4.37.9/arch/sparc/kernel/
Dtrampoline.S33 or %g3, %lo(C_LABEL(trapbase_cpu1)), %g3
38 or %g3, %lo(C_LABEL(trapbase_cpu2)), %g3
43 or %g3, %lo(C_LABEL(trapbase_cpu3)), %g3
67 or %sp, %lo(TASK_UNION_SIZE - STACKFRAME_SZ), %sp
144 or %sp, %lo(TASK_UNION_SIZE - STACKFRAME_SZ), %sp

1234567