/openbmc/linux/sound/drivers/vx/ |
H A D | vx_core.c | 109 static int vx_transfer_end(struct vx_core *chip, int cmd) in vx_transfer_end() argument 118 err = vx_send_irq_dsp(chip, cmd); in vx_transfer_end() 368 int vx_send_rih_nolock(struct vx_core *chip, int cmd) in vx_send_rih_nolock() argument 376 printk(KERN_DEBUG "send_rih: cmd = 0x%x\n", cmd); in vx_send_rih_nolock() 382 err = vx_send_irq_dsp(chip, cmd); in vx_send_rih_nolock() 409 int vx_send_rih(struct vx_core *chip, int cmd) in vx_send_rih() argument 414 err = vx_send_rih_nolock(chip, cmd); in vx_send_rih()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | stv0299.c | 392 static int stv0299_send_legacy_dish_cmd (struct dvb_frontend* fe, unsigned long cmd) in stv0299_send_legacy_dish_cmd() argument 410 cmd = cmd << 1; in stv0299_send_legacy_dish_cmd() 412 printk ("%s switch command: 0x%04lx\n",__func__, cmd); in stv0299_send_legacy_dish_cmd() 424 if((cmd & 0x01) != last) { in stv0299_send_legacy_dish_cmd() 430 cmd = cmd >> 1; in stv0299_send_legacy_dish_cmd()
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss_midi.c | 562 ossev.v.cmd = MIDI_NOTEON; break; in send_synth_event() 564 ossev.v.cmd = MIDI_NOTEOFF; break; in send_synth_event() 566 ossev.v.cmd = MIDI_KEY_PRESSURE; break; in send_synth_event() 568 ossev.l.cmd = MIDI_CTL_CHANGE; break; in send_synth_event() 570 ossev.l.cmd = MIDI_PGM_CHANGE; break; in send_synth_event() 572 ossev.l.cmd = MIDI_CHN_PRESSURE; break; in send_synth_event() 574 ossev.l.cmd = MIDI_PITCH_BEND; break; in send_synth_event()
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | ttusb2.c | 71 static int ttusb2_msg(struct dvb_usb_device *d, u8 cmd, in ttusb2_msg() argument 93 s[2] = cmd; in ttusb2_msg() 102 r[2] != cmd || in ttusb2_msg() 120 static int tt3650_ci_msg(struct dvb_usb_device *d, u8 cmd, u8 *data, unsigned int write_len, unsign… in tt3650_ci_msg() argument 124 ret = ttusb2_msg(d, cmd, data, write_len, rx, read_len); in tt3650_ci_msg() 130 static int tt3650_ci_msg_locked(struct dvb_ca_en50221 *ca, u8 cmd, u8 *data, unsigned int write_len… in tt3650_ci_msg_locked() argument 137 ret = tt3650_ci_msg(d, cmd, data, write_len, read_len); in tt3650_ci_msg_locked()
|
/openbmc/linux/sound/soc/kirkwood/ |
H A D | kirkwood-i2s.c | 348 int cmd, struct snd_soc_dai *dai) in kirkwood_i2s_play_trigger() argument 375 switch (cmd) { in kirkwood_i2s_play_trigger() 436 int cmd, struct snd_soc_dai *dai) in kirkwood_i2s_rec_trigger() argument 443 switch (cmd) { in kirkwood_i2s_rec_trigger() 501 static int kirkwood_i2s_trigger(struct snd_pcm_substream *substream, int cmd, in kirkwood_i2s_trigger() argument 505 return kirkwood_i2s_play_trigger(substream, cmd, dai); in kirkwood_i2s_trigger() 507 return kirkwood_i2s_rec_trigger(substream, cmd, dai); in kirkwood_i2s_trigger()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | userspace_msr_exit_test.c | 477 uc.cmd, UCALL_DONE); in process_ucall_done() 501 return uc.cmd; in process_ucall() 606 TEST_FAIL("Unknown ucall %lu", uc.cmd); in handle_ucall() 722 #define test_user_exit_msr_ioctl(vm, cmd, arg, flag, valid_mask) \ argument 724 int r = __vm_ioctl(vm, cmd, arg); \ 727 TEST_ASSERT(!r, __KVM_IOCTL_ERROR(#cmd, r)); \ 731 #cmd, flag, r, errno, strerror(errno)); \
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_ioctl.c | 603 static int dasd_ioctl_readall_cmb(struct dasd_block *block, unsigned int cmd, in dasd_ioctl_readall_cmb() argument 606 size_t size = _IOC_SIZE(cmd); in dasd_ioctl_readall_cmb() 617 unsigned int cmd, unsigned long arg) in dasd_ioctl() argument 629 if ((_IOC_DIR(cmd) != _IOC_NONE) && !arg) in dasd_ioctl() 637 switch (cmd) { in dasd_ioctl() 686 rc = dasd_ioctl_readall_cmb(block, cmd, argp); in dasd_ioctl() 698 rc = base->discipline->ioctl(block, cmd, argp); in dasd_ioctl()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_phc.c | 305 ctx->cmd.lif_setphc.opcode = IONIC_CMD_LIF_SETPHC; in ionic_setphc_cmd() 306 ctx->cmd.lif_setphc.lif_index = cpu_to_le16(phc->lif->index); in ionic_setphc_cmd() 308 ctx->cmd.lif_setphc.tick = cpu_to_le64(phc->tc.cycle_last); in ionic_setphc_cmd() 309 ctx->cmd.lif_setphc.nsec = cpu_to_le64(phc->tc.nsec); in ionic_setphc_cmd() 310 ctx->cmd.lif_setphc.frac = cpu_to_le64(phc->tc.frac); in ionic_setphc_cmd() 311 ctx->cmd.lif_setphc.mult = cpu_to_le32(phc->cc.mult); in ionic_setphc_cmd() 312 ctx->cmd.lif_setphc.shift = cpu_to_le32(phc->cc.shift); in ionic_setphc_cmd()
|
/openbmc/linux/arch/um/drivers/ |
H A D | mconsole_kern.c | 71 req->request.cmd->handler(&req->request); in mc_work_proc() 87 if (req.cmd->context == MCONSOLE_INTR) in mconsole_interrupt() 88 (*req.cmd->handler)(&req); in mconsole_interrupt() 233 if (req->cmd->handler == mconsole_go) in mconsole_stop() 235 if (req->cmd->handler == mconsole_stop) { in mconsole_stop() 239 if (req->cmd->handler == mconsole_sysrq) { in mconsole_stop() 246 (*req->cmd->handler)(req); in mconsole_stop()
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-dev.c | 392 static long i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in i2cdev_ioctl() argument 398 cmd, arg); in i2cdev_ioctl() 400 switch (cmd) { in i2cdev_ioctl() 406 if (cmd == I2C_SLAVE && i2cdev_check_addr(client->adapter, arg)) in i2cdev_ioctl() 519 static long compat_i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in compat_i2cdev_ioctl() argument 523 switch (cmd) { in compat_i2cdev_ioctl() 578 return i2cdev_ioctl(file, cmd, arg); in compat_i2cdev_ioctl()
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm2-space.c | 242 static int tpm2_map_command(struct tpm_chip *chip, u32 cc, u8 *cmd) in tpm2_map_command() argument 257 handle = (__be32 *)&cmd[TPM_HEADER_SIZE]; in tpm2_map_command() 270 const void *cmd, size_t len) in tpm_find_and_validate_cc() argument 272 const struct tpm_header *header = (const void *)cmd; in tpm_find_and_validate_cc() 303 int tpm2_prepare_space(struct tpm_chip *chip, struct tpm_space *space, u8 *cmd, in tpm2_prepare_space() argument 312 cc = tpm_find_and_validate_cc(chip, space, cmd, cmdsiz); in tpm2_prepare_space() 331 rc = tpm2_map_command(chip, cc, cmd); in tpm2_prepare_space()
|
/openbmc/linux/sound/pci/ |
H A D | cmipci.c | 499 outl(data, cm->iobase + cmd); in snd_cmipci_write() 504 return inl(cm->iobase + cmd); in snd_cmipci_read() 510 outw(data, cm->iobase + cmd); in snd_cmipci_write_w() 537 outl(val, cm->iobase + cmd); in snd_cmipci_set_bit() 548 outl(val, cm->iobase + cmd); in snd_cmipci_clear_bit() 560 outb(val, cm->iobase + cmd); in snd_cmipci_set_bit_b() 571 outb(val, cm->iobase + cmd); in snd_cmipci_clear_bit_b() 859 int cmd) in snd_cmipci_pcm_trigger() argument 870 switch (cmd) { in snd_cmipci_pcm_trigger() 945 int cmd) in snd_cmipci_playback_trigger() argument [all …]
|
/openbmc/linux/drivers/net/ieee802154/ |
H A D | mrf24j40.c | 568 u16 cmd; in write_tx_buf() local 577 cmd = MRF24J40_WRITELONG(reg); in write_tx_buf() 578 devrec->tx_hdr_buf[0] = cmd >> 8 & 0xff; in write_tx_buf() 579 devrec->tx_hdr_buf[1] = cmd & 0xff; in write_tx_buf() 782 u16 cmd; in mrf24j40_handle_rx_read_buf() local 789 cmd = MRF24J40_READLONG(REG_RX_FIFO + 1); in mrf24j40_handle_rx_read_buf() 791 devrec->rx_addr_buf[1] = cmd & 0xff; in mrf24j40_handle_rx_read_buf() 803 u16 cmd; in mrf24j40_handle_rx_read_len() local 809 cmd = MRF24J40_READLONG(REG_RX_FIFO); in mrf24j40_handle_rx_read_len() 810 devrec->rx_buf[0] = cmd >> 8 & 0xff; in mrf24j40_handle_rx_read_len() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs35l45.c | 23 static bool cs35l45_check_cspl_mbox_sts(const enum cs35l45_cspl_mboxcmd cmd, in cs35l45_check_cspl_mbox_sts() argument 26 switch (cmd) { in cs35l45_check_cspl_mbox_sts() 48 const enum cs35l45_cspl_mboxcmd cmd) in cs35l45_set_cspl_mbox_cmd() argument 59 ret = regmap_write(regmap, CS35L45_DSP_VIRT1_MBOX_1, cmd); in cs35l45_set_cspl_mbox_cmd() 61 if (cmd != CSPL_MBOX_CMD_OUT_OF_HIBERNATE) in cs35l45_set_cspl_mbox_cmd() 76 if (!cs35l45_check_cspl_mbox_sts(cmd, sts)) in cs35l45_set_cspl_mbox_cmd() 77 dev_dbg(cs35l45->dev, "[%u] cmd %u returned invalid sts %u", i, cmd, sts); in cs35l45_set_cspl_mbox_cmd() 82 if (cmd != CSPL_MBOX_CMD_OUT_OF_HIBERNATE) in cs35l45_set_cspl_mbox_cmd() 975 const unsigned int cmd, in cs35l45_dsp_virt2_mbox3_irq_handle() argument 980 switch (cmd) { in cs35l45_dsp_virt2_mbox3_irq_handle() [all …]
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | cassini.c | 381 u32 cmd; in cas_phy_read() local 387 cmd |= MIF_FRAME_TURN_AROUND_MSB; in cas_phy_read() 403 u32 cmd; in cas_phy_write() local 4492 cmd->base.port = PORT_MII; in cas_get_link_ksettings() 4516 cmd->base.port = PORT_FIBRE; in cas_get_link_ksettings() 4517 cmd->base.phy_address = 0; in cas_get_link_ksettings() 4559 cmd->base.speed = 0; in cas_get_link_ksettings() 4560 cmd->base.duplex = 0xff; in cas_get_link_ksettings() 4562 cmd->base.speed = SPEED_10; in cas_get_link_ksettings() 4586 u32 speed = cmd->base.speed; in cas_set_link_ksettings() [all …]
|
/openbmc/linux/drivers/nvme/host/ |
H A D | rdma.c | 314 nvme_req(rq)->cmd = req->sqe.data; in nvme_rdma_init_request() 1352 domain->sig.dif.ref_tag = le32_to_cpu(cmd->rw.reftag); in nvme_rdma_set_sig_domain() 1367 u16 control = le16_to_cpu(cmd->rw.control); in nvme_rdma_set_sig_attrs() 1377 cmd->rw.control = cpu_to_le16(control); in nvme_rdma_set_sig_attrs() 1661 struct nvme_command *cmd = sqe->data; in nvme_rdma_submit_async_event() local 1667 memset(cmd, 0, sizeof(*cmd)); in nvme_rdma_submit_async_event() 1668 cmd->common.opcode = nvme_admin_async_event; in nvme_rdma_submit_async_event() 1669 cmd->common.command_id = NVME_AQ_BLK_MQ_DEPTH; in nvme_rdma_submit_async_event() 1670 cmd->common.flags |= NVME_CMD_SGL_METABUF; in nvme_rdma_submit_async_event() 1671 nvme_rdma_set_sg_null(cmd); in nvme_rdma_submit_async_event() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 1805 struct ethtool_link_ksettings *cmd) in b44_get_link_ksettings() argument 1838 cmd->base.port = 0; in b44_get_link_ksettings() 1839 cmd->base.phy_address = bp->phy_addr; in b44_get_link_ksettings() 1842 if (cmd->base.autoneg == AUTONEG_ENABLE) in b44_get_link_ksettings() 1851 cmd->base.speed = 0; in b44_get_link_ksettings() 1852 cmd->base.duplex = 0xff; in b44_get_link_ksettings() 1879 speed = cmd->base.speed; in b44_set_link_ksettings() 1882 cmd->link_modes.advertising); in b44_set_link_ksettings() 1892 (cmd->base.duplex != DUPLEX_HALF && in b44_set_link_ksettings() 1893 cmd->base.duplex != DUPLEX_FULL)) { in b44_set_link_ksettings() [all …]
|
/openbmc/linux/drivers/media/pci/pt3/ |
H A D | pt3_i2c.c | 45 static void cmdbuf_add(struct pt3_i2cbuf *cbuf, enum ctl_cmd cmd) in cmdbuf_add() argument 50 cbuf->tmp = cmd; in cmdbuf_add() 52 cbuf->tmp |= cmd << 4; in cmdbuf_add()
|
/openbmc/u-boot/tools/patman/ |
H A D | patman.py | 167 cmd = '' variable 170 cmd = gitutil.EmailPatches(series, cover_fname, args, variable 179 series.ShowActions(args, cmd, options.process_tags)
|
H A D | patman | 167 cmd = '' variable 170 cmd = gitutil.EmailPatches(series, cover_fname, args, variable 179 series.ShowActions(args, cmd, options.process_tags)
|
/openbmc/linux/sound/drivers/opl3/ |
H A D | opl3_oss.c | 13 static int snd_opl3_ioctl_seq_oss(struct snd_seq_oss_arg *arg, unsigned int cmd, unsigned long ioar… 220 static int snd_opl3_ioctl_seq_oss(struct snd_seq_oss_arg *arg, unsigned int cmd, in snd_opl3_ioctl_seq_oss() argument 225 switch (cmd) { in snd_opl3_ioctl_seq_oss()
|
/openbmc/linux/arch/mips/rb532/ |
H A D | devices.c | 137 static void rb532_cmd_ctrl(struct nand_chip *chip, int cmd, unsigned int ctrl) in rb532_cmd_ctrl() argument 150 if (cmd != NAND_CMD_NONE) in rb532_cmd_ctrl() 151 writeb(cmd, chip->legacy.IO_ADDR_W); in rb532_cmd_ctrl()
|
/openbmc/linux/drivers/media/firewire/ |
H A D | firedtv-ci.c | 174 static int fdtv_ca_ioctl(struct file *file, unsigned int cmd, void *arg) in fdtv_ca_ioctl() argument 181 switch (cmd) { in fdtv_ca_ioctl() 198 dev_info(fdtv->device, "unhandled CA ioctl %u\n", cmd); in fdtv_ca_ioctl()
|
/openbmc/phosphor-net-ipmid/ |
H A D | message_handler.cpp | 190 void Handler::sendUnsolicitedIPMIPayload(uint8_t netfn, uint8_t cmd, in sendUnsolicitedIPMIPayload() argument 212 respHeader->cmd = cmd; in sendUnsolicitedIPMIPayload()
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | legacy.py | 210 def cmd(self, cmd: str, **kwds: object) -> QMPReturnValue: member in QEMUMonitorProtocol 215 self._qmp.execute(cmd, kwds),
|