Searched defs:context (Results 1 - 25 of 55) sorted by relevance

123

/arch/tile/gxio/
H A Dtrio.c28 int gxio_trio_init(gxio_trio_context_t *context, unsigned int trio_index) argument
36 context->fd = -1;
44 context->fd = fd;
H A Duart.c28 int gxio_uart_init(gxio_uart_context_t *context, int uart_index) argument
42 context->fd = fd;
45 context->mmio_base = (void __force *)
48 if (context->mmio_base == NULL) {
49 hv_dev_close(context->fd);
50 context->fd = -1;
59 int gxio_uart_destroy(gxio_uart_context_t *context) argument
61 iounmap((void __force __iomem *)(context->mmio_base));
62 hv_dev_close(context->fd);
64 context
73 gxio_uart_write(gxio_uart_context_t *context, uint64_t offset, uint64_t word) argument
82 gxio_uart_read(gxio_uart_context_t *context, uint64_t offset) argument
[all...]
H A Dusb_host.c29 int gxio_usb_host_init(gxio_usb_host_context_t *context, int usb_index, argument
50 context->fd = fd;
53 context->mmio_base =
56 if (context->mmio_base == NULL) {
57 hv_dev_close(context->fd);
66 int gxio_usb_host_destroy(gxio_usb_host_context_t *context) argument
68 iounmap((void __force __iomem *)(context->mmio_base));
69 hv_dev_close(context->fd);
71 context->mmio_base = NULL;
72 context
79 gxio_usb_host_get_reg_start(gxio_usb_host_context_t *context) argument
86 gxio_usb_host_get_reg_len(gxio_usb_host_context_t *context) argument
[all...]
H A Diorpc_mpipe_info.c22 int gxio_mpipe_info_instance_aux(gxio_mpipe_info_context_t *context, argument
30 return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
41 int gxio_mpipe_info_enumerate_aux(gxio_mpipe_info_context_t *context, argument
51 hv_dev_pread(context->fd, 0, (HV_VirtAddr) params, sizeof(*params),
66 int gxio_mpipe_info_get_mmio_base(gxio_mpipe_info_context_t *context, argument
74 hv_dev_pread(context->fd, 0, (HV_VirtAddr) params, sizeof(*params),
88 int gxio_mpipe_info_check_mmio_offset(gxio_mpipe_info_context_t *context, argument
97 return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
H A Diorpc_uart.c22 int gxio_uart_cfg_interrupt(gxio_uart_context_t *context, int inter_x, argument
33 return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
43 int gxio_uart_get_mmio_base(gxio_uart_context_t *context, HV_PTE *base) argument
50 hv_dev_pread(context->fd, 0, (HV_VirtAddr) params, sizeof(*params),
64 int gxio_uart_check_mmio_offset(gxio_uart_context_t *context, argument
73 return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
H A Diorpc_usb_host.c22 int gxio_usb_host_cfg_interrupt(gxio_usb_host_context_t *context, int inter_x, argument
33 return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
44 int gxio_usb_host_register_client_memory(gxio_usb_host_context_t *context, argument
53 return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
64 int gxio_usb_host_get_mmio_base(gxio_usb_host_context_t *context, HV_PTE *base) argument
71 hv_dev_pread(context->fd, 0, (HV_VirtAddr) params, sizeof(*params),
85 int gxio_usb_host_check_mmio_offset(gxio_usb_host_context_t *context, argument
94 return hv_dev_pwrite(context->fd, 0, (HV_VirtAddr) params,
/arch/x86/include/asm/
H A Dinit.h6 void *context; /* context for alloc_pgt_page */ member in struct:x86_mapping_info
/arch/parisc/include/asm/
H A Dmmu_context.h26 mm->context = alloc_sid();
33 free_sid(mm->context);
34 mm->context = 0;
37 static inline unsigned long __space_to_prot(mm_context_t context) argument
40 return context << 1;
42 return context >> (SPACEID_SHIFT - 1);
46 static inline void load_context(mm_context_t context) argument
48 mtsp(context, 3);
49 mtctl(__space_to_prot(context), 8);
57 load_context(next->context);
[all...]
/arch/arm/mach-davinci/
H A Dcommon.c31 void davinci_get_mac_addr(struct memory_accessor *mem_acc, void *context) argument
34 off_t offset = (off_t)context;
/arch/arm/mach-ks8695/
H A Dboard-acs5k.c59 void *context)
57 acs5k_pca9555_setup(struct i2c_client *client, unsigned gpio_base, unsigned ngpio, void *context) argument
/arch/x86/kernel/cpu/mcheck/
H A Dmce-inject.c113 int context = MCJ_CTX(m->inject_flags); local
119 switch (context) {
131 printk(KERN_INFO "Invalid MCE context\n");
148 int context = MCJ_CTX(m->inject_flags); local
152 if (context == MCJ_CTX_RANDOM)
/arch/x86/power/
H A Dhibernate_64.c42 static void *alloc_pgt_page(void *context) argument
/arch/arm/mach-at91/
H A Dboard-gsia18s.c425 unsigned int ngpio, void *context)
458 unsigned ngpio, void *context)
424 pcf8574x_0x20_setup(struct i2c_client *client, int gpio, unsigned int ngpio, void *context) argument
457 pcf8574x_0x20_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *context) argument
/arch/arm/mach-omap1/
H A Dboard-h2.c319 static int tps_setup(struct i2c_client *client, void *context) argument
/arch/arm/mach-s3c24xx/
H A Dmach-osiris.c315 static int osiris_tps_setup(struct i2c_client *client, void *context) argument
321 static int osiris_tps_remove(struct i2c_client *client, void *context) argument
/arch/cris/include/arch-v32/arch/hwregs/
H A Ddma.h30 struct dma_descr_context *context; member in union:dma_descr_group::__anon447
/arch/ia64/hp/common/
H A Daml_nfw.c119 struct ia64_nfw_context *context = handler_context; local
120 u8 *offset = (u8 *) context + address;
132 aml_nfw_execute(context);
185 * We would normally allocate a new context structure and install
187 * But the HP-UX implementation shares a single global context
/arch/ia64/include/asm/
H A Dmmu_context.h10 * Routines to manage the allocation of task context numbers. Task context
12 * due to context switches. Context numbers are implemented using ia-64
36 unsigned int next; /* next context number to use */
38 unsigned int max_ctx; /* max. context value supported by all CPUs */
56 * When the context counter wraps around all TLBs need to be flushed because
57 * an old context number might have been reused. This is signalled by the
81 nv_mm_context_t context = mm->context; local
83 if (likely(context))
131 reload_context(nv_mm_context_t context) argument
165 nv_mm_context_t context; local
[all...]
/arch/m68k/include/asm/
H A Dmmu_context.h34 if (mm->context != NO_CONTEXT)
47 mm->context = ctx;
52 * Set up the context for a new address space.
54 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
57 * We're finished using the context for an address space.
61 if (mm->context != NO_CONTEXT) {
62 clear_bit(mm->context, context_map);
63 mm->context = NO_CONTEXT;
68 static inline void set_context(mm_context_t context, pgd_t *pgd) argument
70 __asm__ __volatile__ ("movec %0,%%asid" : : "d" (context));
[all...]
/arch/openrisc/kernel/
H A Dtraps.c51 struct thread_info *context; local
54 context = (struct thread_info *)
57 while (valid_stack_ptr(context, stack)) {
/arch/powerpc/platforms/44x/
H A Dwarp.c143 static irqreturn_t temp_isr(int irq, void *context) argument
/arch/sh/kernel/
H A Ddumpstack.c89 struct thread_info *context; local
92 context = (struct thread_info *)
102 context, &graph);
/arch/um/drivers/
H A Dmconsole.h52 enum mc_context context; member in struct:mconsole_command
/arch/x86/kernel/
H A Ddumpstack_32.c64 struct thread_info *context; local
71 context = task_thread_info(task);
72 bp = ops->walk_stack(context, stack, bp, ops, data,
/arch/x86/platform/olpc/
H A Dolpc-xo15-sci.c136 static u32 xo15_sci_gpe_handler(acpi_handle gpe_device, u32 gpe, void *context) argument

Completed in 633 milliseconds

123