Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 184) sorted by relevance

12345678

/linux-2.4.37.9/drivers/ieee1394/
Dhighlevel.c54 struct hl_host_info *hi = NULL; in hl_get_hostinfo() local
62 hi = list_entry(lh, struct hl_host_info, list); in hl_get_hostinfo()
63 if (hi->host == host) in hl_get_hostinfo()
65 hi = NULL; in hl_get_hostinfo()
69 return hi; in hl_get_hostinfo()
77 struct hl_host_info *hi = hl_get_hostinfo(hl, host); in hpsb_get_hostinfo() local
79 if (hi) in hpsb_get_hostinfo()
80 return hi->data; in hpsb_get_hostinfo()
90 struct hl_host_info *hi; in hpsb_create_hostinfo() local
94 hi = hl_get_hostinfo(hl, host); in hpsb_create_hostinfo()
[all …]
Dsbp2.c389 sbp2util_allocate_write_packet(struct sbp2scsi_host_info *hi, in sbp2util_allocate_write_packet() argument
396 packet = hpsb_make_writepacket(hi->host, ne->nodeid, in sbp2util_allocate_write_packet()
418 struct sbp2scsi_host_info *hi = scsi_id->hi; in sbp2util_create_command_orb_pool() local
435 pci_map_single (hi->host->pdev, &command->command_orb, in sbp2util_create_command_orb_pool()
440 pci_map_single (hi->host->pdev, &command->scatter_gather_element, in sbp2util_create_command_orb_pool()
456 struct hpsb_host *host = scsi_id->hi->host; in sbp2util_remove_command_orb_pool()
640 struct sbp2scsi_host_info *hi; in sbp2_probe() local
650 hi = sbp2_add_host(ud->ne->host); in sbp2_probe()
652 if (!hi) in sbp2_probe()
655 return sbp2_start_ud(hi, ud); in sbp2_probe()
[all …]
Dnodemgr.c363 struct host_info *hi, in nodemgr_create_node() argument
366 struct hpsb_host *host = hi->host; in nodemgr_create_node()
1018 struct host_info *hi, nodeid_t nodeid, in nodemgr_update_node() argument
1124 static void nodemgr_node_probe_one(struct host_info *hi, in nodemgr_node_probe_one() argument
1127 struct hpsb_host *host = hi->host; in nodemgr_node_probe_one()
1155 nodemgr_create_node(guid, buffer[2], hi, nodeid, generation); in nodemgr_node_probe_one()
1157 nodemgr_update_node(ne, buffer[2], hi, nodeid, generation); in nodemgr_node_probe_one()
1187 static void nodemgr_node_probe(struct host_info *hi, int generation) in nodemgr_node_probe() argument
1190 struct hpsb_host *host = hi->host; in nodemgr_node_probe()
1203 nodemgr_node_probe_one(hi, nodeid++, generation); in nodemgr_node_probe()
[all …]
Draw1394.c196 struct host_info *hi; in add_host() local
199 hi = (struct host_info *)kmalloc(sizeof(struct host_info), GFP_KERNEL); in add_host()
201 if (hi != NULL) { in add_host()
202 INIT_LIST_HEAD(&hi->list); in add_host()
203 hi->host = host; in add_host()
204 INIT_LIST_HEAD(&hi->file_info_list); in add_host()
207 list_add_tail(&hi->list, &host_info_list); in add_host()
219 struct host_info *hi; in find_host_info() local
222 hi = list_entry(lh, struct host_info, list); in find_host_info()
223 if (hi->host == host) { in find_host_info()
[all …]
/linux-2.4.37.9/drivers/acpi/utilities/
Dutmath.c102 ACPI_DIV_64_BY_32 (0, dividend.part.hi, divisor, in acpi_ut_short_divide()
103 quotient.part.hi, remainder32); in acpi_ut_short_divide()
165 if (divisor.part.hi == 0) { in acpi_ut_divide()
170 remainder.part.hi = 0; in acpi_ut_divide()
176 ACPI_DIV_64_BY_32 (0, dividend.part.hi, divisor.part.lo, in acpi_ut_divide()
177 quotient.part.hi, partial1); in acpi_ut_divide()
187 quotient.part.hi = 0; in acpi_ut_divide()
194 ACPI_SHIFT_RIGHT_64 (normalized_divisor.part.hi, in acpi_ut_divide()
196 ACPI_SHIFT_RIGHT_64 (normalized_dividend.part.hi, in acpi_ut_divide()
199 } while (normalized_divisor.part.hi != 0); in acpi_ut_divide()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Dtrampoline.S74 sethi %hi(0x80000000), %g5
89 sethi %hi(0x80000000), %g2
98 sethi %hi(prom_entry_lock), %g2
103 sethi %hi(p1275buf), %g2
110 sethi %hi(call_method), %g2
117 sethi %hi(itlb_load), %g2
120 sethi %hi(mmu_ihandle_cache), %g2
123 sethi %hi(KERNBASE), %g2
125 sethi %hi(kern_locked_tte_data), %g2
135 sethi %hi(p1275buf), %g2
[all …]
Dsys32.S19 sethi %hi(sys_mmap), %g1
28 sethi %hi(sys_lseek), %g1
32 sethi %hi(0xffff), %g2
33 sethi %hi(sys_chmod), %g1
38 sethi %hi(0xffff), %g2
39 sethi %hi(sys_mknod), %g1
47 sethi %hi(sys_sendto), %g1
52 sethi %hi(sys_recvfrom), %g1
58 sethi %hi(sys_bdflush), %g1
66 sethi %hi(sys_mmap), %g1
[all …]
Dhead.S144 sethi %hi(_PAGE_PADDR), %g7
193 sethi %hi(KERNBASE), %g3
194 sethi %hi(KERNBASE<<1), %g7
265 sethi %hi(KERNBASE), %g3
277 sethi %hi(_end), %g3 /* Check for bigkernel case */
281 sethi %hi(KERNBASE), %g3 /* Restore for fixup code below */
282 sethi %hi(0x400000), %g3
286 sethi %hi(KERNBASE+0x400000), %g3
299 sethi %hi(KERNBASE), %g3 /* Restore for fixup code below */
340 sethi %hi(_PAGE_PADDR_SF), %g7
[all …]
Dentry.S57 sethi %hi(0), %g5 ! This has to be patched
72 sethi %hi(0), %g5 ! This and following is patched
96 sethi %hi(0), %g5 ! This and following is patched
139 sethi %hi(TSTATE_PEF), %g4 ! IEU0
150 sethi %hi(109f), %g7
284 sethi %hi(fp_other_bounce - 4), %g7
300 sethi %hi(1 << 23), %g1 ! Inexact
307 sethi %hi(FITOS_MASK), %g1
310 sethi %hi(FITOS_COMPARE), %g2
316 sethi %hi(fitos_table_1), %g1
[all …]
/linux-2.4.37.9/arch/sparc/mm/
Dviking.S39 sethi %hi(PAGE_OFFSET), %g2
44 sethi %hi(PAGE_OFFSET + PAGE_SIZE - 0x80000000), %o3
45 sethi %hi(0x80000000), %o4
46 sethi %hi(VIKING_PTAG_VALID), %o5
47 sethi %hi(2*PAGE_SIZE), %o0
48 sethi %hi(PAGE_SIZE), %g7
92 sethi %hi(PAGE_OFFSET), %g2
95 sethi %hi(MXCC_SRCSTREAM), %o3 ! assume %hi(MXCC_SRCSTREAM) == %hi(MXCC_DESTSTREAM)
160 sethi %hi(~((1 << SRMMU_PGDIR_SHIFT) - 1)), %o4
205 sethi %hi(sun4dsmp_flush_tlb_spin), %g3
[all …]
Dhypersparc.S27 sethi %hi(vac_cache_size), %g4
29 sethi %hi(vac_line_size), %g1
47 sethi %hi(vac_line_size), %g1
49 sethi %hi(vac_cache_size), %g2
84 sethi %hi(vac_line_size), %g1
86 sethi %hi(vac_cache_size), %g2
173 sethi %hi(vac_line_size), %g1
221 sethi %hi(vac_line_size), %g1
293 sethi %hi(~((1 << SRMMU_PGDIR_SHIFT) - 1)), %o4
382 sethi %hi(bzero_1page), %o0
[all …]
/linux-2.4.37.9/drivers/char/
Dds1620.c205 ds1620_out(THERM_WRITE_TH, 9, therm->hi); in ds1620_write_state()
212 therm->hi = cvt_9_to_int(ds1620_in(THERM_READ_TH, 9)); in ds1620_read_state()
249 if (get_user(therm.hi, (int *)arg)) in ds1620_ioctl()
251 therm.lo = therm.hi - 3; in ds1620_ioctl()
258 therm.hi <<= 1; in ds1620_ioctl()
268 therm.hi >>= 1; in ds1620_ioctl()
271 if (put_user(therm.hi, (int *)arg)) in ds1620_ioctl()
328 th.hi >> 1, th.hi & 1 ? 5 : 0, in proc_therm_ds1620_read()
370 th_start.hi = 1; in ds1620_init()
395 th.hi >> 1, th.hi & 1 ? 5 : 0, in ds1620_init()
/linux-2.4.37.9/arch/m68k/ifpsp060/src/
Dilsp.S75 # 0x8(sp) = hi(dividend) #
138 mov.l 0xc(%a6), %d5 # get dividend hi
155 tst.l %d5 # chk sign of hi(dividend)
165 # - is (hi(dividend) == 0 && (divisor <= lo(dividend))) ? (32-bit div)
167 tst.l %d5 # is (hi(dividend) == 0)
449 # returns 64 bit result in %d5 (hi) %d6(lo).
452 # multiply hi,lo words of each factor to get 4 intermediate products
528 # | hi(mplier) * hi(mplicand)| #
531 # | hi(mplier) * lo(mplicand) | #
534 # | lo(mplier) * hi(mplicand) | #
[all …]
/linux-2.4.37.9/drivers/net/hamradio/
Dbaycom_epp.c1204 struct hdlcdrv_ioctl hi; in baycom_ioctl() local
1236 if (copy_from_user(&hi, ifr->ifr_data, sizeof(hi))) in baycom_ioctl()
1238 switch (hi.cmd) { in baycom_ioctl()
1243 hi.data.cp.tx_delay = bc->ch_params.tx_delay; in baycom_ioctl()
1244 hi.data.cp.tx_tail = bc->ch_params.tx_tail; in baycom_ioctl()
1245 hi.data.cp.slottime = bc->ch_params.slottime; in baycom_ioctl()
1246 hi.data.cp.ppersist = bc->ch_params.ppersist; in baycom_ioctl()
1247 hi.data.cp.fulldup = bc->ch_params.fulldup; in baycom_ioctl()
1253 bc->ch_params.tx_delay = hi.data.cp.tx_delay; in baycom_ioctl()
1254 bc->ch_params.tx_tail = hi.data.cp.tx_tail; in baycom_ioctl()
[all …]
/linux-2.4.37.9/arch/sparc/kernel/
Dentry.S73 sethi %hi(in_trap_handler), %l4
113 sethi %hi(in_trap_handler), %l4
149 sethi %hi(C_LABEL(doing_pdma)), %l7
156 sethi %hi(C_LABEL(fdc_status)), %l3
160 sethi %hi(C_LABEL(pdma_vaddr)), %l5 ! transfer buffer
162 sethi %hi(C_LABEL(pdma_size)), %l5 ! bytes to go
195 sethi %hi(C_LABEL(pdma_vaddr)), %l5
197 sethi %hi(C_LABEL(pdma_size)), %l5
228 sethi %hi(C_LABEL(doing_pdma)), %l7
238 sethi %hi(C_LABEL(pdma_vaddr)), %l5
[all …]
/linux-2.4.37.9/include/asm-sparc/
Dasmmacro.h23 sethi %hi(___b_smp_processor_id), %reg; \
24 sethi %hi(boot_cpu_id), %reg; \
29 sethi %hi(C_LABEL(mid_xlate)), %tmp; \
37 sethi %hi(C_LABEL(cpu_offset)), %tmp; \
47 sethi %hi(trap_setup), %l4; \
/linux-2.4.37.9/fs/hfs/
Dtrans.c400 int hi, lo; in hfs_colon2mac() local
412 ((hi=dehex(in[0])) & 0xf0) || in hfs_colon2mac()
414 !(code = (hi << 4) | lo) || in hfs_colon2mac()
441 int hi, lo; in hfs_prcnt2mac() local
455 ((hi=dehex(in[0])) & 0xf0) || in hfs_prcnt2mac()
457 !(code = (hi << 4) | lo) || in hfs_prcnt2mac()
515 int hi, lo; in hfs_latin2mac() local
546 ((hi=dehex(in[0])) & 0xf0) || in hfs_latin2mac()
548 !(code = (hi << 4) | lo) || in hfs_latin2mac()
/linux-2.4.37.9/arch/sparc64/lib/
DU3patch.S9 sethi %hi(NEW), %g1; \
11 sethi %hi(OLD), %g2; \
14 sethi %hi(BRANCH_ALWAYS), %g3; \
19 sethi %hi(NOP), %g3; \
/linux-2.4.37.9/drivers/scsi/
Dibmmca.c69 #define IM_CMD_REG(hi) (hosts[(hi)]->io_port) /*Command Interface, (4 bytes long) */ argument
70 #define IM_ATTN_REG(hi) (hosts[(hi)]->io_port+4) /*Attention (1 byte) */ argument
71 #define IM_CTR_REG(hi) (hosts[(hi)]->io_port+5) /*Basic Control (1 byte) */ argument
72 #define IM_INTR_REG(hi) (hosts[(hi)]->io_port+6) /*Interrupt Status (1 byte, r/o) */ argument
73 #define IM_STAT_REG(hi) (hosts[(hi)]->io_port+7) /*Basic Status (1 byte, read only) */ argument
379 #define subsystem_pun(hi) (hosts[(hi)]->this_id) argument
380 #define subsystem_maxid(hi) (hosts[(hi)]->max_id) argument
381 #define ld(hi) (((struct ibmmca_hostdata *) hosts[(hi)]->hostdata)->_ld) argument
382 #define get_ldn(hi) (((struct ibmmca_hostdata *) hosts[(hi)]->hostdata)->_get_ldn) argument
383 #define get_scsi(hi) (((struct ibmmca_hostdata *) hosts[(hi)]->hostdata)->_get_scsi) argument
[all …]
/linux-2.4.37.9/include/asm-sparc64/
Dvisasm.h21 sethi %hi(297f), %g7; \
22 sethi %hi(VISenter), %g1; \
37 sethi %hi(298f), %g7; \
38 sethi %hi(VISenterhalf), %g1; \
/linux-2.4.37.9/arch/ia64/lib/
Dcarta_random.S16 #define hi r9 macro
31 shr.u hi = t0, 32
33 dep t0 = 0, hi, 15, 49 // t0 = (hi & 0x7fff)
36 shr t1 = hi, 15 // t1 = (hi >> 15)
/linux-2.4.37.9/arch/i386/kernel/
Dbluesmoke.c77 u32 loaddr, hi, lotype; in pentium_machine_check() local
78 rdmsr(MSR_IA32_P5_MC_ADDR, loaddr, hi); in pentium_machine_check()
79 rdmsr(MSR_IA32_P5_MC_TYPE, lotype, hi); in pentium_machine_check()
191 u32 lo, hi; in winchip_mcheck_init() local
198 rdmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
201 wrmsr(MSR_IDT_FCR1, lo, hi); in winchip_mcheck_init()
/linux-2.4.37.9/arch/sparc64/mm/
Dultra.S196 sethi %hi(1 << 13), %o2 ! IC_set bit
261 sethi %hi(1 << 14), %o2
405 sethi %hi(PAGE_SIZE), %o4
429 sethi %hi(__flush_tlb_page), %o0
431 sethi %hi(__cheetah_flush_tlb_page), %o1
436 sethi %hi(__flush_tlb_mm), %o0
438 sethi %hi(__cheetah_flush_tlb_mm), %o1
443 sethi %hi(__flush_tlb_range), %o0
445 sethi %hi(__cheetah_flush_tlb_range), %o1
450 sethi %hi(__flush_dcache_page), %o0
[all …]
/linux-2.4.37.9/arch/ppc/boot/lib/
Ddiv64.S26 divwu r7,r5,r4 # if dividend.hi >= divisor,
27 mullw r0,r7,r4 # quotient.hi = dividend.hi / divisor
28 subf. r5,r0,r5 # dividend.hi %= divisor
30 1: mr r11,r5 # here dividend.hi != 0
/linux-2.4.37.9/arch/ppc/lib/
Ddiv64.S26 divwu r7,r5,r4 # if dividend.hi >= divisor,
27 mullw r0,r7,r4 # quotient.hi = dividend.hi / divisor
28 subf. r5,r0,r5 # dividend.hi %= divisor
30 1: mr r11,r5 # here dividend.hi != 0

12345678