Home
last modified time | relevance | path

Searched refs:cmd (Results 2326 – 2350 of 6838) sorted by relevance

1...<<919293949596979899100>>...274

/openbmc/linux/drivers/nfc/st-nci/
H A Dndlc.c57 struct nci_mode_set_cmd cmd; in ndlc_close() local
59 cmd.cmd_type = ST_NCI_SET_NFC_MODE; in ndlc_close()
60 cmd.mode = 0; in ndlc_close()
66 sizeof(struct nci_mode_set_cmd), (__u8 *)&cmd); in ndlc_close()
/openbmc/linux/sound/firewire/tascam/
H A Dtascam-pcm.c188 static int pcm_capture_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_capture_trigger() argument
192 switch (cmd) { in pcm_capture_trigger()
206 static int pcm_playback_trigger(struct snd_pcm_substream *substream, int cmd) in pcm_playback_trigger() argument
210 switch (cmd) { in pcm_playback_trigger()
/openbmc/linux/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c58 uint64_t cmd; in vcpu_worker() local
69 cmd = get_ucall(vcpu, &uc); in vcpu_worker()
70 if (cmd != UCALL_SYNC) in vcpu_worker()
90 if (run->exit_reason == KVM_EXIT_IO && cmd == UCALL_ABORT) in vcpu_worker()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dndfc.c56 static void ndfc_hwcontrol(struct nand_chip *chip, int cmd, unsigned int ctrl) in ndfc_hwcontrol() argument
60 if (cmd == NAND_CMD_NONE) in ndfc_hwcontrol()
64 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_CMD); in ndfc_hwcontrol()
66 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_ALE); in ndfc_hwcontrol()
/openbmc/linux/drivers/fsi/
H A Dfsi-master-hub.c72 __be32 cmd; in hub_master_break() local
75 cmd = cpu_to_be32(0xc0de0000); in hub_master_break()
77 return hub_master_write(master, link, 0, addr, &cmd, sizeof(cmd)); in hub_master_break()
/openbmc/linux/drivers/leds/
H A Dleds-turris-omnia.c44 static int omnia_cmd_write_u8(const struct i2c_client *client, u8 cmd, u8 val) in omnia_cmd_write_u8() argument
46 u8 buf[2] = { cmd, val }; in omnia_cmd_write_u8()
51 static int omnia_cmd_read_u8(const struct i2c_client *client, u8 cmd) in omnia_cmd_read_u8() argument
60 msgs[0].buf = &cmd; in omnia_cmd_read_u8()
/openbmc/linux/drivers/mailbox/
H A Drockchip-mailbox.c26 u32 cmd; member
68 chans->idx, msg->cmd); in rockchip_mbox_send_data()
72 writel_relaxed(msg->cmd, mb->mbox_base + MAILBOX_A2B_CMD(chans->idx)); in rockchip_mbox_send_data()
146 idx, msg->cmd); in rockchip_mbox_isr()
/openbmc/qemu/hw/char/
H A Dmcf_uart.c139 static void mcf_do_command(mcf_uart_state *s, uint8_t cmd) in mcf_do_command() argument
142 switch ((cmd >> 4) & 7) { in mcf_do_command()
169 switch ((cmd >> 2) & 3) { in mcf_do_command()
186 switch (cmd & 3) { in mcf_do_command()
/openbmc/linux/drivers/parport/
H A Ddaisy.c301 static int cpp_daisy(struct parport *port, int cmd) in cpp_daisy() argument
333 parport_write_data(port, cmd); udelay(2); in cpp_daisy()
347 static int cpp_mux(struct parport *port, int cmd) in cpp_mux() argument
359 parport_write_data(port, cmd); udelay(2); in cpp_mux()
364 port->name, cmd, s); in cpp_mux()
/openbmc/u-boot/drivers/dma/
H A Dapbh_dma.c48 return desc->address + offsetof(struct mxs_dma_desc, cmd); in mxs_dma_cmd_address()
133 if (!(pdesc->cmd.data & MXS_DMA_DESC_CHAIN)) in mxs_dma_enable()
417 pdesc->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append()
427 last->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append()
428 last->cmd.data |= MXS_DMA_DESC_CHAIN; in mxs_dma_desc_append()
/openbmc/linux/net/atm/
H A Dpppoatm.c370 static int pppoatm_devppp_ioctl(struct ppp_channel *chan, unsigned int cmd, in pppoatm_devppp_ioctl() argument
373 switch (cmd) { in pppoatm_devppp_ioctl()
439 static int pppoatm_ioctl(struct socket *sock, unsigned int cmd, in pppoatm_ioctl() argument
445 if (cmd != ATM_SETBACKEND && atmvcc->push != pppoatm_push) in pppoatm_ioctl()
447 switch (cmd) { in pppoatm_ioctl()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-ali1563.c234 unsigned short flags, char rw, u8 cmd, in ali1563_access() argument
283 outb_p(cmd, SMB_HST_DAT0); in ali1563_access()
286 outb_p(cmd, SMB_HST_CMD); in ali1563_access()
291 outb_p(cmd, SMB_HST_CMD); in ali1563_access()
298 outb_p(cmd, SMB_HST_CMD); in ali1563_access()
/openbmc/linux/drivers/platform/olpc/
H A Dolpc-ec.c22 u8 cmd; member
97 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, in olpc_ec_worker()
126 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) in olpc_ec_cmd() argument
147 desc.cmd = cmd; in olpc_ec_cmd()
/openbmc/pldm/tools/visualize-pdr/
H A Dpldm_visualise_pdrs.py47 def exec_command(self, cmd): argument
87 def exec_command(self, cmd): argument
88 _, stdout, stderr = self.client.exec_command(cmd)
109 def exec_command(self, cmd): argument
110 args = shlex.split(cmd)
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dgen6_engine_cs.c180 u32 cmd, *cs; in mi_flush_dw() local
186 cmd = MI_FLUSH_DW; in mi_flush_dw()
194 cmd |= MI_FLUSH_DW_STORE_INDEX | MI_FLUSH_DW_OP_STOREDW; in mi_flush_dw()
202 cmd |= flags; in mi_flush_dw()
204 *cs++ = cmd; in mi_flush_dw()
/openbmc/linux/tools/perf/
H A Dbuiltin-help.c119 static void exec_failed(const char *cmd) in exec_failed() argument
122 pr_warning("failed to exec '%s': %s", cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in exec_failed()
180 static void exec_man_cmd(const char *cmd, const char *page) in exec_man_cmd() argument
184 if (asprintf(&shell_cmd, "%s %s", cmd, page) > 0) { in exec_man_cmd()
188 exec_failed(cmd); in exec_man_cmd()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_sysfs.c42 uint8_t cmd; in reboot_store() member
81 param->cmd = words[i].cmd; in reboot_store()
249 param->cmd = MOTIONSENSE_CMD_KB_WAKE_ANGLE; in kb_wake_angle_show()
286 param->cmd = MOTIONSENSE_CMD_KB_WAKE_ANGLE; in kb_wake_angle_store()
/openbmc/linux/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c170 int cmd, unsigned int ctrl) in bcm47xxnflash_ops_bcm4706_cmd_ctrl() argument
175 if (cmd == NAND_CMD_NONE) in bcm47xxnflash_ops_bcm4706_cmd_ctrl()
178 if (cmd & NAND_CTRL_CLE) in bcm47xxnflash_ops_bcm4706_cmd_ctrl()
179 code = cmd | NCTL_CMD0; in bcm47xxnflash_ops_bcm4706_cmd_ctrl()
182 if (cmd != NAND_CMD_RESET) in bcm47xxnflash_ops_bcm4706_cmd_ctrl()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_perf.c362 u32 cmd; in live_noa_gpr() local
371 cmd = MI_STORE_REGISTER_MEM; in live_noa_gpr()
373 cmd++; in live_noa_gpr()
374 cmd |= MI_USE_GGTT; in live_noa_gpr()
376 *cs++ = cmd; in live_noa_gpr()
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rpf.c244 struct vsp1_dl_ext_cmd *cmd; in vsp1_rpf_configure_autofld() local
248 cmd = vsp1_dl_get_pre_cmd(dl); in vsp1_rpf_configure_autofld()
249 if (WARN_ONCE(!cmd, "Failed to obtain an autofld cmd")) in vsp1_rpf_configure_autofld()
253 auto_fld = cmd->data; in vsp1_rpf_configure_autofld()
267 cmd->flags |= VI6_DL_EXT_AUTOFLD_INT | BIT(16 + rpf->entity.index); in vsp1_rpf_configure_autofld()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.h80 uint32_t (*post_prepare)(struct vmw_du_update_plane *update, void *cmd);
92 uint32_t (*pre_clip)(struct vmw_du_update_plane *update, void *cmd,
108 uint32_t (*clip)(struct vmw_du_update_plane *update, void *cmd,
119 uint32_t (*post_clip)(struct vmw_du_update_plane *update, void *cmd,
190 void *cmd; member
/openbmc/qemu/hw/intc/
H A Di8259.c237 int priority, cmd, irq; in pic_ioport_write() local
259 cmd = val >> 5; in pic_ioport_write()
260 switch (cmd) { in pic_ioport_write()
263 s->rotate_on_auto_eoi = cmd >> 2; in pic_ioport_write()
271 if (cmd == 5) { in pic_ioport_write()
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dspeedfax.c176 sfax_ctrl(struct sfax_hw *sf, u32 cmd, u_long arg) in sfax_ctrl() argument
180 switch (cmd) { in sfax_ctrl()
200 sf->name, __func__, cmd, arg); in sfax_ctrl()
236 sfax_dctrl(struct mISDNchannel *ch, u32 cmd, void *arg) in sfax_dctrl() argument
244 pr_debug("%s: cmd:%x %p\n", sf->name, cmd, arg); in sfax_dctrl()
245 switch (cmd) { in sfax_dctrl()
266 pr_debug("%s: unknown command %x\n", sf->name, cmd); in sfax_dctrl()
/openbmc/linux/drivers/atm/
H A Datmtcp.c157 static int atmtcp_v_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) in atmtcp_v_ioctl() argument
164 if (cmd != ATM_SETCIRANGE) return -ENOIOCTLCMD; in atmtcp_v_ioctl()
451 static int atmtcp_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in atmtcp_ioctl() argument
456 if (cmd != SIOCSIFATMTCP && cmd != ATMTCP_CREATE && cmd != ATMTCP_REMOVE) in atmtcp_ioctl()
462 switch (cmd) { in atmtcp_ioctl()
/openbmc/linux/drivers/spi/
H A Dspi-microchip-core-qspi.c143 if (op->cmd.buswidth == 1 && (op->addr.buswidth == 1 || op->addr.buswidth == 0)) in mchp_coreqspi_set_mode()
145 else if (op->cmd.buswidth == 1) in mchp_coreqspi_set_mode()
319 cmd_bytes = op->cmd.nbytes + op->addr.nbytes; in mchp_coreqspi_config_op()
393 u8 opcode = op->cmd.opcode; in mchp_coreqspi_exec_op()
412 if (op->cmd.opcode) { in mchp_coreqspi_exec_op()
415 qspi->tx_len = op->cmd.nbytes; in mchp_coreqspi_exec_op()
464 (op->cmd.buswidth == 1 && (op->addr.buswidth == 1 || op->addr.buswidth == 0))) { in mchp_coreqspi_supports_op()

1...<<919293949596979899100>>...274