Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/arch/powerpc/platforms/powermac/
A Dpfunc_core.c99 if ((cmd->cmdend - cmd->cmdptr) < 4) { in pmf_next32()
100 cmd->error = 1; in pmf_next32()
104 cmd->cmdptr += 4; in pmf_next32()
111 if ((cmd->cmdend - cmd->cmdptr) < count) { in pmf_next_blob()
112 cmd->error = 1; in pmf_next_blob()
115 value = cmd->cmdptr; in pmf_next_blob()
126 if (cmd->error) \
131 return handlers->name(cmd->func, cmd->instdata, \
591 cmd.args = args; in pmf_parse_one()
592 cmd.error = 0; in pmf_parse_one()
[all …]
/arch/m68k/atari/
A Datakeyb.c339 ikbd_write(cmd, 2); in ikbd_reset()
352 ikbd_write(cmd, 2); in ikbd_mouse_button_action()
360 ikbd_write(cmd, 1); in ikbd_mouse_rel_pos()
369 ikbd_write(cmd, 5); in ikbd_mouse_abs_pos()
377 ikbd_write(cmd, 3); in ikbd_mouse_kbd_mode()
385 ikbd_write(cmd, 3); in ikbd_mouse_thresh()
394 ikbd_write(cmd, 3); in ikbd_mouse_scale()
402 ikbd_write(cmd, 1); in ikbd_mouse_pos_get()
412 ikbd_write(cmd, 6); in ikbd_mouse_pos_set()
420 ikbd_write(cmd, 1); in ikbd_mouse_y0_bot()
[all …]
/arch/x86/include/asm/
A Dvmware.h104 return vmware_tdx_hypercall(cmd, in1, 0, 0, 0, in vmware_hypercall1()
116 "c" (cmd), in vmware_hypercall1()
129 return vmware_tdx_hypercall(cmd, in1, 0, 0, 0, in vmware_hypercall3()
141 "c" (cmd), in vmware_hypercall3()
154 return vmware_tdx_hypercall(cmd, in1, 0, 0, 0, in vmware_hypercall4()
166 "c" (cmd), in vmware_hypercall4()
192 "c" (cmd), in vmware_hypercall5()
221 "c" (cmd), in vmware_hypercall6()
248 "c" (cmd), in vmware_hypercall7()
287 "b" (cmd), in vmware_hypercall_hb_out()
[all …]
/arch/s390/include/asm/
A Dscsw.h142 struct cmd_scsw cmd; member
248 return scsw->cmd.key; in scsw_key()
263 return scsw->cmd.eswf; in scsw_eswf()
278 return scsw->cmd.cc; in scsw_cc()
293 return scsw->cmd.ectl; in scsw_ectl()
308 return scsw->cmd.pno; in scsw_pno()
323 return scsw->cmd.fctl; in scsw_fctl()
338 return scsw->cmd.actl; in scsw_actl()
353 return scsw->cmd.stctl; in scsw_stctl()
544 if (!scsw->cmd.fctl) in scsw_cmd_is_valid_pno()
[all …]
A Dpage-states.h25 static __always_inline unsigned long essa(unsigned long paddr, unsigned char cmd) in essa() argument
33 [cmd] "i" (cmd)); in essa()
37 static __always_inline void __set_page_state(void *addr, unsigned long num_pages, unsigned char cmd) in __set_page_state() argument
42 essa(paddr, cmd); in __set_page_state()
/arch/x86/kernel/
A Dcpuid.c54 cpuid_count(cmd->regs.eax, cmd->regs.ecx, in cpuid_smp_cpuid()
55 &cmd->regs.eax, &cmd->regs.ebx, in cpuid_smp_cpuid()
56 &cmd->regs.ecx, &cmd->regs.edx); in cpuid_smp_cpuid()
58 complete(&cmd->done); in cpuid_smp_cpuid()
65 struct cpuid_regs_done cmd; in cpuid_read() local
74 init_completion(&cmd.done); in cpuid_read()
78 INIT_CSD(&csd, cpuid_smp_cpuid, &cmd); in cpuid_read()
80 cmd.regs.eax = pos; in cpuid_read()
81 cmd.regs.ecx = pos >> 32; in cpuid_read()
86 wait_for_completion(&cmd.done); in cpuid_read()
[all …]
A Dcrash.c274 struct crash_memmap_data *cmd = arg; in memmap_entry_callback() local
275 struct boot_params *params = cmd->params; in memmap_entry_callback()
280 ei.type = cmd->type; in memmap_entry_callback()
322 struct crash_memmap_data cmd; in crash_setup_memmap_entries() local
337 memset(&cmd, 0, sizeof(struct crash_memmap_data)); in crash_setup_memmap_entries()
338 cmd.params = params; in crash_setup_memmap_entries()
341 cmd.type = E820_TYPE_RAM; in crash_setup_memmap_entries()
347 cmd.type = E820_TYPE_ACPI; in crash_setup_memmap_entries()
353 cmd.type = E820_TYPE_NVS; in crash_setup_memmap_entries()
358 cmd.type = E820_TYPE_RESERVED; in crash_setup_memmap_entries()
[all …]
/arch/sparc/kernel/
A Dleon_pci.c67 u16 cmd, oldcmd; in pcibios_enable_device() local
70 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
71 oldcmd = cmd; in pcibios_enable_device()
79 cmd |= PCI_COMMAND_IO; in pcibios_enable_device()
81 cmd |= PCI_COMMAND_MEMORY; in pcibios_enable_device()
84 if (cmd != oldcmd) { in pcibios_enable_device()
85 pci_info(dev, "enabling device (%04x -> %04x)\n", oldcmd, cmd); in pcibios_enable_device()
86 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_device()
A Dreboot.c41 void machine_restart(char *cmd) in machine_restart() argument
48 if (cmd) in machine_restart()
49 prom_reboot(cmd); in machine_restart()
/arch/powerpc/kernel/
A Dsmp-tbsync.c27 volatile int cmd; member
47 int cmd; in smp_generic_take_timebase() local
62 cmd = tbsync->cmd; in smp_generic_take_timebase()
66 if (cmd == kExit) in smp_generic_take_timebase()
71 if (cmd == kSetAndTest) in smp_generic_take_timebase()
78 static int start_contest(int cmd, long offset, int num) in start_contest() argument
84 tbsync->cmd = cmd; in start_contest()
162 tbsync->cmd = kExit; in smp_generic_give_timebase()
/arch/s390/hypfs/
A Dhypfs_sprp.c26 static inline unsigned long __hypfs_sprp_diag304(void *data, unsigned long cmd) in __hypfs_sprp_diag304() argument
32 : [r3] "d" (cmd) in __hypfs_sprp_diag304()
37 static unsigned long hypfs_sprp_diag304(void *data, unsigned long cmd) in hypfs_sprp_diag304() argument
40 return __hypfs_sprp_diag304(data, cmd); in hypfs_sprp_diag304()
71 unsigned long cmd; in __hypfs_sprp_ioctl() local
96 cmd = *(unsigned long *) &diag304->args[0]; in __hypfs_sprp_ioctl()
97 diag304->rc = hypfs_sprp_diag304(data, cmd); in __hypfs_sprp_ioctl()
112 static long hypfs_sprp_ioctl(struct file *file, unsigned int cmd, in hypfs_sprp_ioctl() argument
123 switch (cmd) { in hypfs_sprp_ioctl()
/arch/powerpc/include/asm/
A Dsmu.h395 u8 cmd; /* command */ member
401 void (*done)(struct smu_cmd *cmd, void *misc);
411 extern int smu_queue_cmd(struct smu_cmd *cmd);
419 struct smu_cmd cmd; member
429 void (*done)(struct smu_cmd *cmd, void *misc),
438 extern void smu_done_complete(struct smu_cmd *cmd, void *misc);
443 extern void smu_spinwait_cmd(struct smu_cmd *cmd);
447 smu_spinwait_cmd(&scmd->cmd); in smu_spinwait_simple()
498 void (*done)(struct smu_i2c_cmd *cmd, void *misc);
517 extern int smu_queue_i2c(struct smu_i2c_cmd *cmd);
[all …]
/arch/arm/mach-footbridge/
A Ddc21285.c151 unsigned int cmd; in dc21285_abort_irq() local
154 cmd = *CSR_PCICMD; in dc21285_abort_irq()
155 status = cmd >> 16; in dc21285_abort_irq()
156 cmd = cmd & 0xffff; in dc21285_abort_irq()
174 *CSR_PCICMD = cmd; in dc21285_abort_irq()
211 unsigned int cmd; in dc21285_dparity_irq() local
217 cmd = *CSR_PCICMD & 0xffff; in dc21285_dparity_irq()
218 *CSR_PCICMD = cmd | 1 << 24; in dc21285_dparity_irq()
226 unsigned int cmd; in dc21285_parity_irq() local
232 cmd = *CSR_PCICMD & 0xffff; in dc21285_parity_irq()
[all …]
/arch/x86/include/asm/xen/
A Dhypercall.h285 HYPERVISOR_callback_op(int cmd, void *arg) in HYPERVISOR_callback_op() argument
287 return _hypercall2(int, callback_op, cmd, arg); in HYPERVISOR_callback_op()
392 HYPERVISOR_sched_op(int cmd, void *arg) in HYPERVISOR_sched_op() argument
394 return _hypercall2(int, sched_op, cmd, arg); in HYPERVISOR_sched_op()
422 return _hypercall2(long, memory_op, cmd, arg); in HYPERVISOR_memory_op()
432 HYPERVISOR_event_channel_op(int cmd, void *arg) in HYPERVISOR_event_channel_op() argument
438 HYPERVISOR_xen_version(int cmd, void *arg) in HYPERVISOR_xen_version() argument
440 return _hypercall2(int, xen_version, cmd, arg); in HYPERVISOR_xen_version()
450 HYPERVISOR_physdev_op(int cmd, void *arg) in HYPERVISOR_physdev_op() argument
452 return _hypercall2(int, physdev_op, cmd, arg); in HYPERVISOR_physdev_op()
[all …]
/arch/arm/mach-omap2/
A Dcommon.h134 void omap2xxx_restart(enum reboot_mode mode, const char *cmd);
136 static inline void omap2xxx_restart(enum reboot_mode mode, const char *cmd) in omap2xxx_restart() argument
142 void am33xx_restart(enum reboot_mode mode, const char *cmd);
144 static inline void am33xx_restart(enum reboot_mode mode, const char *cmd) in am33xx_restart() argument
150 void omap3xxx_restart(enum reboot_mode mode, const char *cmd);
152 static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd) in omap3xxx_restart() argument
158 void ti81xx_restart(enum reboot_mode mode, const char *cmd);
160 static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd) in ti81xx_restart() argument
167 void omap44xx_restart(enum reboot_mode mode, const char *cmd);
169 static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd) in omap44xx_restart() argument
A Domap3-restart.c28 void omap3xxx_restart(enum reboot_mode mode, const char *cmd) in omap3xxx_restart() argument
30 omap3_ctrl_write_boot_mode((cmd ? (u8)*cmd : 0)); in omap3xxx_restart()
/arch/m68k/kernel/
A Dpcibios.c48 u16 cmd, newcmd; in pcibios_enable_device() local
51 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
52 newcmd = cmd; in pcibios_enable_device()
78 if (newcmd != cmd) { in pcibios_enable_device()
80 pci_name(dev), cmd, newcmd); in pcibios_enable_device()
/arch/powerpc/platforms/cell/spufs/
A Dspu_save.c53 unsigned int cmd = 0x24; /* PUTL */ in save_upper_240kb() local
64 spu_writech(MFC_Cmd, cmd); in save_upper_240kb()
109 unsigned int cmd = 0x20; /* PUT */ in spill_regs_to_mem() local
120 spu_writech(MFC_Cmd, cmd); in spill_regs_to_mem()
126 unsigned int cmd = 0xCC; in enqueue_sync() local
132 spu_writech(MFC_Cmd, cmd); in enqueue_sync()
/arch/s390/kernel/
A Dcpcmd.c64 int __cpcmd(const char *cmd, char *response, int rlen, int *response_code) in __cpcmd() argument
70 cmdlen = strlen(cmd); in __cpcmd()
72 memcpy(cpcmd_buf, cmd, cmdlen); in __cpcmd()
90 int cpcmd(const char *cmd, char *response, int rlen, int *response_code) in cpcmd() argument
103 len = __cpcmd(cmd, lowbuf, rlen, response_code); in cpcmd()
109 len = __cpcmd(cmd, response, rlen, response_code); in cpcmd()
/arch/parisc/kernel/
A Dpci.c230 u16 cmd, old_cmd; in pcibios_enable_device() local
236 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
237 old_cmd = cmd; in pcibios_enable_device()
239 cmd |= (PCI_COMMAND_SERR | PCI_COMMAND_PARITY); in pcibios_enable_device()
244 cmd |= PCI_COMMAND_FAST_BACK; in pcibios_enable_device()
247 if (cmd != old_cmd) { in pcibios_enable_device()
249 old_cmd, cmd); in pcibios_enable_device()
250 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_device()
/arch/powerpc/platforms/powernv/
A Dsetup.c308 static void __noreturn pnv_restart(char *cmd) in pnv_restart() argument
315 if (!cmd || !strlen(cmd)) in pnv_restart()
317 else if (strcmp(cmd, "full") == 0) in pnv_restart()
319 else if (strcmp(cmd, "mpipl") == 0) in pnv_restart()
321 else if (strcmp(cmd, "error") == 0) in pnv_restart()
323 else if (strcmp(cmd, "fast") == 0) in pnv_restart()
333 } else if (cmd && rc) { in pnv_restart()
336 pr_err("Unsupported '%s' reboot.\n", cmd); in pnv_restart()
339 cmd, rc); in pnv_restart()
341 cmd = NULL; in pnv_restart()
/arch/powerpc/xmon/
A Dxmon.c634 cmd = 1; in xmon_core()
722 return cmd != 'X' && cmd != EOF; in xmon_core()
1033 int cmd = 0; in cmds() local
1111 return cmd; in cmds()
1115 return cmd; in cmds()
1164 if (' ' < cmd && cmd <= '~') in cmds()
1220 int cmd; in bootcmds() local
1276 int cmd; in batch_cmds() local
1500 int cmd; in bpt_cmds() local
1922 int cmd; in cacheflush() local
[all …]
/arch/mips/pci/
A Dpci-legacy.c254 u16 cmd, old_cmd; in pcibios_enable_resources() local
258 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_resources()
259 old_cmd = cmd; in pcibios_enable_resources()
276 cmd |= PCI_COMMAND_IO; in pcibios_enable_resources()
278 cmd |= PCI_COMMAND_MEMORY; in pcibios_enable_resources()
280 if (cmd != old_cmd) { in pcibios_enable_resources()
281 pci_info(dev, "enabling device (%04x -> %04x)\n", old_cmd, cmd); in pcibios_enable_resources()
282 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_resources()
/arch/arm/kernel/
A Dxscale-cp0.c33 static int dsp_do(struct notifier_block *self, unsigned long cmd, void *t) in dsp_do() argument
37 switch (cmd) { in dsp_do()
58 static int iwmmxt_do(struct notifier_block *self, unsigned long cmd, void *t) in iwmmxt_do() argument
62 switch (cmd) { in iwmmxt_do()
/arch/sh/drivers/pci/
A Dpci-sh7780.c97 unsigned int cmd; in sh7780_pci_err_irq() local
111 cmd = pcibios_handle_status_errors(addr, status, hose); in sh7780_pci_err_irq()
112 if (likely(cmd)) in sh7780_pci_err_irq()
113 __raw_writew(cmd, hose->reg_base + PCI_STATUS); in sh7780_pci_err_irq()
120 for (i = cmd = 0; i < ARRAY_SIZE(pci_arbiter_errors); i++) { in sh7780_pci_err_irq()
124 cmd |= pci_arbiter_errors[i].mask; in sh7780_pci_err_irq()
127 __raw_writel(cmd, hose->reg_base + SH4_PCIAINT); in sh7780_pci_err_irq()
133 for (i = cmd = 0; i < ARRAY_SIZE(pci_interrupt_errors); i++) { in sh7780_pci_err_irq()
137 cmd |= pci_interrupt_errors[i].mask; in sh7780_pci_err_irq()
140 __raw_writel(cmd, hose->reg_base + SH4_PCIINT); in sh7780_pci_err_irq()

Completed in 146 milliseconds

12345678910>>...21