/openbmc/kcsbridge/src/ |
H A D | cmd.cpp | 44 const auto& [netfn, lun, cmd, cc, data] = ret; in write() 54 buffer[1] = cmd; in write() 91 uint8_t netfn = in[0] >> 2, lun = in[0] & 3, cmd = in[1]; in read() local 92 m.append(netfn, lun, cmd, in.subspan(2), options); in read()
|
/openbmc/u-boot/tools/ |
H A D | microcode-tool | 276 cmd = args[0] 277 if cmd not in commands: 278 parser.error("Unknown command '%s'" % cmd) 289 if cmd == 'list': 291 elif cmd == 'license': 293 elif cmd == 'create': 313 parser.error("Unknown command '%s'" % cmd)
|
H A D | microcode-tool.py | 276 cmd = args[0] 277 if cmd not in commands: 278 parser.error("Unknown command '%s'" % cmd) 289 if cmd == 'list': 291 elif cmd == 'license': 293 elif cmd == 'create': 313 parser.error("Unknown command '%s'" % cmd)
|
/openbmc/linux/drivers/media/mc/ |
H A D | mc-devnode.c | 107 __media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg, in __media_ioctl() argument 108 long (*ioctl_func)(struct file *filp, unsigned int cmd, in __media_ioctl() 119 return ioctl_func(filp, cmd, arg); in __media_ioctl() 122 static long media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in media_ioctl() argument 126 return __media_ioctl(filp, cmd, arg, devnode->fops->ioctl); in media_ioctl() 131 static long media_compat_ioctl(struct file *filp, unsigned int cmd, in media_compat_ioctl() argument 136 return __media_ioctl(filp, cmd, arg, devnode->fops->compat_ioctl); in media_compat_ioctl()
|
/openbmc/ipmbbridge/ |
H A D | ipmbbridged.hpp | 173 uint8_t cmd; member 180 uint8_t seq, uint8_t rsLun, uint8_t cmd, 199 uint8_t cmd; member 211 uint8_t seq, uint8_t rqLun, uint8_t cmd, 239 bool isBlocked(const uint8_t reqNetFn, const uint8_t cmd); 241 void addFilter(const uint8_t reqNetFn, const uint8_t cmd); 290 void addFilter(const uint8_t respNetFn, const uint8_t cmd);
|
/openbmc/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-max.c | 54 ddbwritel(dev, cmd | v, tag | LNB_CONTROL(lnb)); in lnb_command() 63 __func__, lnb, cmd); in lnb_command() 68 struct dvb_diseqc_master_cmd *cmd) in max_send_master_cmd() argument 81 dvb->diseqc_send_master_cmd(fe, cmd); in max_send_master_cmd() 85 for (i = 0; i < cmd->msg_len; i++) in max_send_master_cmd() 93 struct dvb_diseqc_master_cmd *cmd) in lnb_send_diseqc() argument 99 for (i = 0; i < cmd->msg_len; i++) in lnb_send_diseqc() 100 ddbwritel(dev, cmd->msg[i], tag | LNB_BUF_WRITE(input)); in lnb_send_diseqc() 108 struct dvb_diseqc_master_cmd cmd = { in lnb_set_sat() local 112 cmd.msg[3] = 0xf0 | (((sat << 2) & 0x0c) | (band ? 1 : 0) | in lnb_set_sat() [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_ll.c | 85 static int send_hcill_cmd(u8 cmd, struct hci_uart *hu) in send_hcill_cmd() argument 91 BT_DBG("hu %p cmd 0x%x", hu, cmd); in send_hcill_cmd() 102 skb_put_u8(skb, cmd); in send_hcill_cmd() 487 struct hci_command *cmd) in send_command_from_firmware() argument 491 if (cmd->opcode == HCI_VS_UPDATE_UART_HCI_BAUDRATE) { in send_command_from_firmware() 499 if (cmd->prefix != 1) in send_command_from_firmware() 502 skb = __hci_cmd_sync(lldev->hu.hdev, cmd->opcode, cmd->plen, in send_command_from_firmware() 503 &cmd->speed, HCI_INIT_TIMEOUT); in send_command_from_firmware() 524 struct hci_command *cmd; in download_firmware() local 564 cmd = (struct hci_command *)action_ptr; in download_firmware() [all …]
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 1640 cmd = cp->cmd; 2398 u_char cmd; local 2422 if ((cmd & 7) != 1 && (cmd & 7) != 5) { 2542 if (((cmd & 2) ? cmd : (cmd & ~4)) != (scr_to_cpu(vdsp[0]) >> 24)) { 2553 if (cmd & 2) { 3207 cmd = cp->cmd; 4840 cp->cmd = NULL; 5142 cp->cmd = cmd; 5331 if (cp2->cmd == cmd) { 5367 cmd = cp->cmd; [all …]
|
/openbmc/linux/net/ieee802154/ |
H A D | nl802154.c | 314 int flags, u8 cmd) in nl802154hdr_put() argument 451 enum nl802154_commands cmd, in nl802154_send_wpan_phy() argument 2635 .cmd = NL802154_CMD_SET_CHANNEL, 2675 .cmd = NL802154_CMD_SET_PAN_ID, 2739 .cmd = NL802154_CMD_ABORT_SCAN, 2772 .cmd = NL802154_CMD_GET_SEC_KEY, 2782 .cmd = NL802154_CMD_NEW_SEC_KEY, 2790 .cmd = NL802154_CMD_DEL_SEC_KEY, 2799 .cmd = NL802154_CMD_GET_SEC_DEV, 2809 .cmd = NL802154_CMD_NEW_SEC_DEV, [all …]
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-mailbox-utils.c | 148 if (cmd->in < sizeof(*in)) { in cmd_tunnel_management_cmd() 241 if (cmd->in < sizeof(log_type)) { in cmd_events_get_records() 2780 cxl_cmd = &cci->cxl_cmd_set[set][cmd]; in cxl_process_cci_message() 2784 set << 8 | cmd); in cxl_process_cci_message() 2831 cci->bg.opcode = (set << 8) | cmd; in cxl_process_cci_message() 2908 for (int cmd = 0; cmd < 256; cmd++) { in cxl_rebuild_cel() local 2909 if (cci->cxl_cmd_set[set][cmd].handler) { in cxl_rebuild_cel() 2914 log->opcode = (set << 8) | cmd; in cxl_rebuild_cel() 2941 for (int cmd = 0; cmd < 256; cmd++) { in cxl_copy_cci_commands() local 2942 if (cxl_cmds[set][cmd].handler) { in cxl_copy_cci_commands() [all …]
|
/openbmc/linux/drivers/input/mouse/ |
H A D | cyapa.h | 31 #define SMBUS_ENCODE_IDX(cmd, idx) ((cmd) | (((idx) & 0x03) << 1)) argument 32 #define SMBUS_ENCODE_RW(cmd, rw) ((cmd) | ((rw) & 0x01)) argument 228 #define VALID_CMD_RESP_HEADER(resp, cmd) \ argument 231 (GET_PIP_CMD_CODE((resp)[PIP_RESP_APP_CMD_OFFSET]) == (cmd))) 389 ssize_t cyapa_smbus_read_block(struct cyapa *cyapa, u8 cmd, size_t len, 404 u8 *cmd, int cmd_len,
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | process_tree.py | 142 if p.cmd == "rc" and p.ppid // 1000 == 1: 206 if logger_proc == p.cmd and not app_tree: 212 if app_tree and monitored_app != None and monitored_app == p.cmd: 237 p.cmd += " (+)" 252 if nextp.cmd == p.cmd: 274 if len(p.child_list) == 1 and p.child_list[0].cmd == p.cmd:
|
H A D | samples.py | 128 def __init__(self, writer, pid, cmd, ppid, start_time): argument 131 self.cmd = cmd 132 self.exe = cmd 150 def split(self, writer, pid, cmd, ppid, start_time): argument 151 split = Process (writer, pid, cmd, ppid, start_time) 160 …return " ".join([str(self.pid), self.cmd, str(self.ppid), '[ ' + str(len(self.samples)) + ' sample… 189 % (self.pid,self.cmd,self.ppid))
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xx/ |
H A D | immap.c | 189 } cmd = DAT; in do_iopset() local 208 cmd = DAT; in do_iopset() 210 cmd = DIR; in do_iopset() 215 cmd = PAR; in do_iopset() 218 cmd = ODR; in do_iopset() 221 cmd = SOR; in do_iopset() 224 cmd = INT; in do_iopset() 240 switch (cmd) { in do_iopset()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_raw.c | 83 req.msg.cmd = 0x52; /* master write-read */ in ipmi_master_write_read() 320 uint8_t netfn, cmd, lun; in ipmi_raw_main() local 353 if (is_valid_param(argv[1], &cmd, "command") != 0) in ipmi_raw_main() 360 req.msg.cmd = cmd; in ipmi_raw_main() 376 req.msg.cmd, req.msg.data_len); in ipmi_raw_main() 385 intf->target_channel & 0x0f, req.msg.netfn, req.msg.lun, req.msg.cmd); in ipmi_raw_main() 391 intf->target_channel & 0x0f, req.msg.netfn, req.msg.lun, req.msg.cmd, rsp->ccode, in ipmi_raw_main()
|
/openbmc/linux/Documentation/userspace-api/media/dvb/ |
H A D | dvbproperty.rst | 28 The actual action is determined by a set of dtv_property cmd/data pairs. 82 { .cmd = DTV_DELIVERY_SYSTEM, .u.data = SYS_DVBC_ANNEX_A }, 83 { .cmd = DTV_FREQUENCY, .u.data = 651000000 }, 84 { .cmd = DTV_MODULATION, .u.data = QAM_256 }, 85 { .cmd = DTV_INVERSION, .u.data = INVERSION_AUTO }, 86 { .cmd = DTV_SYMBOL_RATE, .u.data = 5217000 }, 87 { .cmd = DTV_INNER_FEC, .u.data = FEC_3_4 }, 88 { .cmd = DTV_TUNE }
|
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/ |
H A D | ssh.py | 137 cmd = "mkdir -p %s" % newDir 138 self.run(cmd) 152 cmd = "rm" 157 cmd = "%s %s" % (cmd, os.path.join(remotePath, f)) 159 self.run(cmd) 167 cmd = "rmdir %s" % remotePath 168 self.run(cmd)
|
/openbmc/linux/kernel/power/ |
H A D | user.c | 249 static long snapshot_ioctl(struct file *filp, unsigned int cmd, in snapshot_ioctl() argument 262 if (_IOC_TYPE(cmd) != SNAPSHOT_IOC_MAGIC) in snapshot_ioctl() 264 if (_IOC_NR(cmd) > SNAPSHOT_IOC_MAXNR) in snapshot_ioctl() 275 switch (cmd) { in snapshot_ioctl() 425 snapshot_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in snapshot_compat_ioctl() argument 429 switch (cmd) { in snapshot_compat_ioctl() 435 return snapshot_ioctl(file, cmd, in snapshot_compat_ioctl() 438 return snapshot_ioctl(file, cmd, arg); in snapshot_compat_ioctl()
|
/openbmc/linux/drivers/gpu/host1x/hw/ |
H A D | channel_hw.c | 123 struct host1x_job_cmd *cmd = &job->cmds[i]; in submit_gathers() local 125 if (cmd->is_wait) { in submit_gathers() 126 if (cmd->wait.relative) in submit_gathers() 127 threshold = job_syncpt_base + cmd->wait.threshold; in submit_gathers() 129 threshold = cmd->wait.threshold; in submit_gathers() 131 submit_wait(job, cmd->wait.id, threshold, cmd->wait.next_class); in submit_gathers() 133 struct host1x_job_gather *g = &cmd->gather; in submit_gathers()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7923.c | 165 int i, cmd, len; in ad7923_update_scan_mode() local 173 cmd = AD7923_WRITE_CR | AD7923_CHANNEL_WRITE(i) | in ad7923_update_scan_mode() 176 cmd <<= AD7923_SHIFT_REGISTER; in ad7923_update_scan_mode() 177 st->tx_buf[len++] = cpu_to_be16(cmd); in ad7923_update_scan_mode() 221 int ret, cmd; in ad7923_scan_direct() local 223 cmd = AD7923_WRITE_CR | AD7923_CHANNEL_WRITE(ch) | in ad7923_scan_direct() 226 cmd <<= AD7923_SHIFT_REGISTER; in ad7923_scan_direct() 227 st->tx_buf[0] = cpu_to_be16(cmd); in ad7923_scan_direct()
|
/openbmc/linux/sound/hda/ |
H A D | hdac_device.c | 260 return codec->exec_verb(codec, cmd, flags, res); in snd_hdac_exec_verb() 278 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm); in snd_hdac_read() local 280 return snd_hdac_exec_verb(codec, cmd, 0, res); in snd_hdac_read() 296 unsigned int cmd; in _snd_hdac_read_parm() local 299 return snd_hdac_regmap_read_raw(codec, cmd, res); in _snd_hdac_read_parm() 315 unsigned int cmd, val; in snd_hdac_read_parm_uncached() local 318 if (snd_hdac_regmap_read_raw_uncached(codec, cmd, &val) < 0) in snd_hdac_read_parm_uncached() 992 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read() local 995 if (snd_hdac_exec_verb(hdac, cmd, flags, &res)) in codec_read() 1004 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_write() local [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | ipc4-pcm.c | 125 switch (cmd) { in sof_ipc4_update_pipeline_state() 146 switch (cmd) { in sof_ipc4_update_pipeline_state() 208 int state, int cmd) in sof_ipc4_chain_dma_trigger() argument 222 if (cmd == SNDRV_PCM_TRIGGER_PAUSE_RELEASE) in sof_ipc4_chain_dma_trigger() 280 struct snd_pcm_substream *substream, int state, int cmd) in sof_ipc4_trigger_pipelines() argument 294 dev_dbg(sdev->dev, "trigger cmd: %d state: %d\n", cmd, state); in sof_ipc4_trigger_pipelines() 315 return sof_ipc4_chain_dma_trigger(sdev, pipeline_list, state, cmd); in sof_ipc4_trigger_pipelines() 368 sof_ipc4_update_pipeline_state(sdev, SOF_IPC4_PIPE_PAUSED, cmd, spipe, in sof_ipc4_trigger_pipelines() 407 struct snd_pcm_substream *substream, int cmd) in sof_ipc4_pcm_trigger() argument 412 switch (cmd) { in sof_ipc4_pcm_trigger() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | param.c | 240 enum devlink_command cmd, in devlink_nl_param_fill() argument 282 if (cmd == DEVLINK_CMD_PORT_PARAM_GET || in devlink_nl_param_fill() 283 cmd == DEVLINK_CMD_PORT_PARAM_NEW || in devlink_nl_param_fill() 284 cmd == DEVLINK_CMD_PORT_PARAM_DEL) in devlink_nl_param_fill() 333 enum devlink_command cmd) in devlink_param_notify() argument 338 WARN_ON(cmd != DEVLINK_CMD_PARAM_NEW && cmd != DEVLINK_CMD_PARAM_DEL && in devlink_param_notify() 339 cmd != DEVLINK_CMD_PORT_PARAM_NEW && in devlink_param_notify() 340 cmd != DEVLINK_CMD_PORT_PARAM_DEL); in devlink_param_notify() 364 enum devlink_command cmd) in devlink_params_notify() argument 370 devlink_param_notify(devlink, 0, param_item, cmd); in devlink_params_notify() [all …]
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 388 u16 cmd; in vfio_msi_enable() local 394 cmd = vfio_pci_memory_lock_and_enable(vdev); in vfio_msi_enable() 402 vfio_pci_memory_unlock_and_restore(vdev, cmd); in vfio_msi_enable() 434 u16 cmd; in vfio_msi_alloc_irq() local 442 cmd = vfio_pci_memory_lock_and_enable(vdev); in vfio_msi_alloc_irq() 444 vfio_pci_memory_unlock_and_restore(vdev, cmd); in vfio_msi_alloc_irq() 456 u16 cmd; in vfio_msi_set_vector_signal() local 463 cmd = vfio_pci_memory_lock_and_enable(vdev); in vfio_msi_set_vector_signal() 504 cmd = vfio_pci_memory_lock_and_enable(vdev); in vfio_msi_set_vector_signal() 564 u16 cmd; in vfio_msi_disable() local [all …]
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bnad_ethtool.c | 236 struct ethtool_link_ksettings *cmd) in bnad_get_link_ksettings() argument 247 cmd->base.autoneg = AUTONEG_DISABLE; in bnad_get_link_ksettings() 250 cmd->base.port = PORT_FIBRE; in bnad_get_link_ksettings() 251 cmd->base.phy_address = 0; in bnad_get_link_ksettings() 254 cmd->base.speed = SPEED_10000; in bnad_get_link_ksettings() 255 cmd->base.duplex = DUPLEX_FULL; in bnad_get_link_ksettings() 257 cmd->base.speed = SPEED_UNKNOWN; in bnad_get_link_ksettings() 258 cmd->base.duplex = DUPLEX_UNKNOWN; in bnad_get_link_ksettings() 269 if (cmd->base.autoneg == AUTONEG_ENABLE) in bnad_set_link_ksettings() 272 if ((cmd->base.speed == SPEED_10000) && in bnad_set_link_ksettings() [all …]
|