Home
last modified time | relevance | path

Searched refs:ulong (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_host.h91 ulong remote_tlb_flush;
92 ulong num_2M_pages;
93 ulong num_1G_pages;
387 ulong eaddr;
389 ulong raddr;
404 int (*slbfee)(struct kvm_vcpu *vcpu, gva_t eaddr, ulong *ret_slb);
408 void (*mtsrin)(struct kvm_vcpu *vcpu, u32 srnum, ulong value);
412 void (*tlbie)(struct kvm_vcpu *vcpu, ulong addr, bool large);
413 int (*esid_to_vsid)(struct kvm_vcpu *vcpu, ulong esid, u64 *vsid);
522 ulong host_stack;
[all …]
Dkvm_book3s_asm.h97 ulong host_r1;
98 ulong host_r2;
99 ulong host_msr;
100 ulong vmhandler;
101 ulong scratch0;
102 ulong scratch1;
103 ulong scratch2;
139 ulong gpr[14];
141 ulong xer;
142 ulong ctr;
[all …]
Dkvm_booke.h26 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr()
31 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr()
46 static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_xer()
51 static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) in kvmppc_get_xer()
62 static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_ctr()
67 static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) in kvmppc_get_ctr()
72 static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_lr()
77 static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) in kvmppc_get_lr()
82 static inline void kvmppc_set_pc(struct kvm_vcpu *vcpu, ulong val) in kvmppc_set_pc()
87 static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) in kvmppc_get_pc()
[all …]
Dkvm_book3s.h56 ulong slot;
89 ulong lpcr;
91 ulong pcr;
92 ulong dpdes; /* doorbell state (POWER8) */
93 ulong vtb; /* virtual timebase */
94 ulong conferring_threads;
145 extern void kvmppc_mmu_pte_flush(struct kvm_vcpu *vcpu, ulong ea, ulong ea_mask);
147 extern void kvmppc_mmu_pte_pflush(struct kvm_vcpu *vcpu, ulong pa_start, ulong pa_end);
155 extern int kvmppc_mmu_map_segment(struct kvm_vcpu *vcpu, ulong eaddr);
156 extern void kvmppc_mmu_flush_segment(struct kvm_vcpu *vcpu, ulong eaddr, ulong seg_size);
[all …]
Dkvm_ppc.h89 extern int kvmppc_ld(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr,
91 extern int kvmppc_st(struct kvm_vcpu *vcpu, ulong *eaddr, int size, void *ptr,
115 extern int kvmppc_xlate(struct kvm_vcpu *vcpu, ulong eaddr,
131 extern void kvmppc_core_queue_machine_check(struct kvm_vcpu *vcpu, ulong flags);
132 extern void kvmppc_core_queue_program(struct kvm_vcpu *vcpu, ulong flags);
141 extern void kvmppc_core_queue_dtlb_miss(struct kvm_vcpu *vcpu, ulong dear_flags,
142 ulong esr_flags);
144 ulong dear_flags,
145 ulong esr_flags);
148 ulong esr_flags);
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_tmpl.c15 qla27xx_insert16(uint16_t value, void *buf, ulong *len) in qla27xx_insert16()
25 qla27xx_insert32(uint32_t value, void *buf, ulong *len) in qla27xx_insert32()
35 qla27xx_insertbuf(void *mem, ulong size, void *buf, ulong *len) in qla27xx_insertbuf()
45 qla27xx_read8(void __iomem *window, void *buf, ulong *len) in qla27xx_read8()
56 qla27xx_read16(void __iomem *window, void *buf, ulong *len) in qla27xx_read16()
67 qla27xx_read32(void __iomem *window, void *buf, ulong *len) in qla27xx_read32()
77 static inline void (*qla27xx_read_vector(uint width))(void __iomem*, void *, ulong *) in qla27xx_read_vector()
87 uint offset, void *buf, ulong *len) in qla27xx_read_reg()
108 ulong *len) in qla27xx_read_window()
111 void (*readn)(void __iomem*, void *, ulong *) = qla27xx_read_vector(width); in qla27xx_read_window()
[all …]
/kernel/linux/linux-5.10/drivers/staging/gasket/
Dgasket_page_table.h97 int gasket_page_table_map(struct gasket_page_table *page_table, ulong host_addr,
98 ulong dev_addr, uint num_pages);
109 ulong dev_addr, uint num_pages);
149 ulong dev_addr, struct page **page,
150 ulong *poffset);
166 ulong host_addr, ulong dev_addr,
167 ulong bytes);
182 ulong dev_addr, ulong bytes);
247 dma_addr_t dma_address, ulong vma);
Dgasket_core.h91 ulong phys_base;
94 ulong length_bytes;
133 ulong total_entries;
195 ulong permissions;
217 ulong permissions;
229 ulong phys_base;
232 ulong length_bytes;
367 ulong legacy_mmap_address_offset;
579 static inline ulong gasket_dev_read_64(struct gasket_dev *gasket_dev, int bar, in gasket_dev_read_64()
580 ulong location) in gasket_dev_read_64()
[all …]
Dgasket_page_table.c231 ulong bytes; in gasket_page_table_init()
233 ulong total_entries = page_table_config->total_entries; in gasket_page_table_init()
336 free_page((ulong)page_address(pte->page)); in gasket_free_extended_subtable()
430 static int is_coherent(struct gasket_page_table *pg_tbl, ulong host_addr) in is_coherent()
467 u64 __iomem *slots, ulong host_addr, in gasket_perform_mapping()
471 ulong offset; in gasket_perform_mapping()
474 ulong page_addr; in gasket_perform_mapping()
543 ulong dev_addr) in gasket_simple_page_idx()
553 static ulong gasket_extended_lvl0_page_idx(struct gasket_page_table *pg_tbl, in gasket_extended_lvl0_page_idx()
554 ulong dev_addr) in gasket_extended_lvl0_page_idx()
[all …]
Dgasket_core.c263 ulong desc_bytes = driver_desc->bar_descriptions[bar_num].size; in gasket_map_pci_bar()
283 (ulong)pci_resource_start(gasket_dev->pci_dev, bar_num); in gasket_map_pci_bar()
291 (ulong)pci_resource_len(gasket_dev->pci_dev, bar_num); in gasket_map_pci_bar()
334 ulong base, bytes; in gasket_unmap_pci_bar()
443 ulong min_addr, max_addr; in gasket_write_mappable_regions()
501 (ulong)bar_desc->base); in gasket_sysfs_data_show()
513 (ulong)bar_desc->size); in gasket_sysfs_data_show()
716 ulong address) in gasket_is_coherent_region()
731 ulong phys_addr) in gasket_get_bar_index()
768 ulong bar_offset, ulong requested_length, in gasket_mm_get_mapping_addrs()
[all …]
Dgasket_sysfs.h54 ulong bar;
55 ulong offset;
69 ulong value);
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dkvm.c74 flush_icache_range((ulong)inst, (ulong)inst + 4); in kvm_patch_ins()
125 if ((ulong)inst < (ulong)&__end_interrupts) in kvm_patch_ins_b()
160 ulong next_inst; in kvm_patch_ins_mtmsrd()
167 distance_start = (ulong)p - (ulong)inst; in kvm_patch_ins_mtmsrd()
168 next_inst = ((ulong)inst + 4); in kvm_patch_ins_mtmsrd()
169 distance_end = next_inst - (ulong)&p[kvm_emulate_mtmsrd_branch_offs]; in kvm_patch_ins_mtmsrd()
195 flush_icache_range((ulong)p, (ulong)p + kvm_emulate_mtmsrd_len * 4); in kvm_patch_ins_mtmsrd()
213 ulong next_inst; in kvm_patch_ins_mtmsr()
220 distance_start = (ulong)p - (ulong)inst; in kvm_patch_ins_mtmsr()
221 next_inst = ((ulong)inst + 4); in kvm_patch_ins_mtmsr()
[all …]
/kernel/linux/linux-5.10/drivers/block/aoe/
Daoe.h108 ulong nframesout;
122 ulong waited;
123 ulong waited_total;
134 ulong lost;
149 ulong falloc; /* number of allocated frames */
158 ulong sysminor;
159 ulong aoemajor;
168 ulong ref;
186 ulong maxbcnt;
190 ulong ntargets; /* number of allocated aoetgt pointers */
[all …]
Daoedev.c41 minor_get_dyn(ulong *sysminor) in minor_get_dyn()
43 ulong flags; in minor_get_dyn()
44 ulong n; in minor_get_dyn()
60 minor_get_static(ulong *sysminor, ulong aoemaj, int aoemin) in minor_get_static()
62 ulong flags; in minor_get_static()
63 ulong n; in minor_get_static()
103 minor_get(ulong *sysminor, ulong aoemaj, int aoemin) in minor_get()
112 minor_free(ulong minor) in minor_free()
114 ulong flags; in minor_free()
140 ulong flags; in aoedev_put()
[all …]
/kernel/linux/linux-5.10/arch/x86/kvm/
Dkvm_cache_regs.h116 static inline ulong kvm_read_cr0_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr0_bits()
118 ulong tmask = mask & KVM_POSSIBLE_CR0_GUEST_BITS; in kvm_read_cr0_bits()
125 static inline ulong kvm_read_cr0(struct kvm_vcpu *vcpu) in kvm_read_cr0()
130 static inline ulong kvm_read_cr4_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr4_bits()
132 ulong tmask = mask & KVM_POSSIBLE_CR4_GUEST_BITS; in kvm_read_cr4_bits()
139 static inline ulong kvm_read_cr3(struct kvm_vcpu *vcpu) in kvm_read_cr3()
146 static inline ulong kvm_read_cr4(struct kvm_vcpu *vcpu) in kvm_read_cr4()
Dkvm_emulate.h96 ulong (*read_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg);
103 void (*write_gpr)(struct x86_emulate_ctxt *ctxt, unsigned reg, ulong val);
185 void (*invlpg)(struct x86_emulate_ctxt *ctxt, ulong addr);
205 ulong (*get_cr)(struct x86_emulate_ctxt *ctxt, int cr);
206 int (*set_cr)(struct x86_emulate_ctxt *ctxt, int cr, ulong val);
208 int (*get_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong *dest);
209 int (*set_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong value);
254 ulong ea;
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbooke.h75 int kvmppc_booke_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val);
76 int kvmppc_booke_emulate_mtspr(struct kvm_vcpu *vcpu, int sprn, ulong spr_val);
100 ulong spr_val);
102 ulong *spr_val);
104 ulong spr_val);
106 ulong *spr_val);
Dbook3s_paired_singles.c155 static void kvmppc_inject_pf(struct kvm_vcpu *vcpu, ulong eaddr, bool is_store) in kvmppc_inject_pf()
173 int rs, ulong addr, int ls_type) in kvmppc_emulate_fpr_load()
217 int rs, ulong addr, int ls_type) in kvmppc_emulate_fpr_store()
263 int rs, ulong addr, bool w, int i) in kvmppc_emulate_psq_load()
306 int rs, ulong addr, bool w, int i) in kvmppc_emulate_psq_store()
678 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
688 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
701 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
711 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
731 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
[all …]
Dbook3s_emulate.c303 ulong rs_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_core_emulate_op_pr()
305 ulong new_msr = kvmppc_get_msr(vcpu); in kvmppc_core_emulate_op_pr()
354 ulong addr = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
362 ulong cmd = kvmppc_get_gpr(vcpu, 3); in kvmppc_core_emulate_op_pr()
376 ulong gpr = kvmppc_get_gpr(vcpu, 4 + i); in kvmppc_core_emulate_op_pr()
413 ulong b, t; in kvmppc_core_emulate_op_pr()
414 ulong cr = kvmppc_get_cr(vcpu) & ~CR0_MASK; in kvmppc_core_emulate_op_pr()
430 ulong t, rb_val; in kvmppc_core_emulate_op_pr()
441 ulong t, rb_val; in kvmppc_core_emulate_op_pr()
453 ulong rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
[all …]
/kernel/linux/linux-5.10/drivers/visorbus/
Dvisorbus_private.h35 int visorchannel_read(struct visorchannel *channel, ulong offset,
36 void *dest, ulong nbytes);
37 int visorchannel_write(struct visorchannel *channel, ulong offset,
38 void *dest, ulong nbytes);
40 ulong visorchannel_get_nbytes(struct visorchannel *channel);
/kernel/linux/linux-5.10/drivers/block/
Damiflop.c234 module_param(fd_def_df0, ulong, 0);
626 ulong id = 0; in fd_get_drive_id()
667 … printk(KERN_NOTICE "fd: drive 0 didn't identify, setting default %08lx\n", (ulong)fd_def_df0); in fd_get_drive_id()
733 if ((ulong)unit[drive].track >= unit[drive].type->precomp2) in raw_write()
735 else if ((ulong)unit[drive].track >= unit[drive].type->precomp1) in raw_write()
788 return (ulong)ptr; in scan_sync()
808 ulong *odd, *even; in decode()
822 return (ulong)raw; in decode()
853 raw = decode ((ulong *)&hdr.magic, (ulong *)raw, 4); in amiga_read()
854 raw = decode ((ulong *)&hdr.labels, (ulong *)raw, 16); in amiga_read()
[all …]
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dtargetos.h126 ulong SharedMemSize;
127 ulong SharedMemHeap;
131 ulong QueueSkb;
134 ulong MaxFrameSize;
/kernel/linux/linux-5.10/arch/mips/pic32/pic32mzda/
Dinit.c24 static ulong get_fdtaddr(void) in get_fdtaddr()
26 ulong ftaddr = 0; in get_fdtaddr()
29 return (ulong)fw_passed_dtb; in get_fdtaddr()
32 ftaddr = (ulong)__dtb_start; in get_fdtaddr()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dtraps_misaligned.c132 (ulong *)((ulong)(regs) + REG_OFFSET(insn, pos))
184 DECLARE_UNPRIVILEGED_LOAD_FUNCTION(ulong, ld) in DECLARE_UNPRIVILEGED_LOAD_FUNCTION()
187 DECLARE_UNPRIVILEGED_LOAD_FUNCTION(ulong, lw) in DECLARE_UNPRIVILEGED_LOAD_FUNCTION()
202 static inline ulong get_insn(ulong mepc)
204 register ulong __mepc asm ("a2") = mepc;
205 ulong val, rvc_mask = 3, tmp;
236 ulong data_ulong;
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dn411.c196 module_param_hw(dio_addr, ulong, ioport, 0);
198 module_param_hw(cio_addr, ulong, ioport, 0);
200 module_param_hw(c2io_addr, ulong, ioport, 0);
202 module_param(splashval, ulong, 0);

12345678910>>...14