Home
last modified time | relevance | path

Searched refs:cmd (Results 976 – 1000 of 6808) sorted by relevance

1...<<31323334353637383940>>...273

/openbmc/phosphor-event/test/
H A Dutest.cpp45 char *cmd = nullptr; in CreateEventPath() local
48 resultAsp = asprintf(&cmd, "exec rm -r %s 2> /dev/null", eventsDir); in CreateEventPath()
52 resultSys = system(cmd); in CreateEventPath()
56 resultAsp = asprintf(&cmd, "exec mkdir %s 2> /dev/null", eventsDir); in CreateEventPath()
60 resultSys = system(cmd); in CreateEventPath()
64 free(cmd); in CreateEventPath()
68 char *cmd = nullptr; in RemoveEventPath() local
72 resultAsp = asprintf(&cmd, "exec rm -r %s 2> /dev/null", eventsDir); in RemoveEventPath()
76 resultSys = system(cmd); in RemoveEventPath()
80 free(cmd); in RemoveEventPath()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dqa.py136 def set_objdump(self, cmd, output): argument
137 self.objdump_output[cmd] = output
139 def run_objdump(self, cmd, d): argument
143 if cmd in self.objdump_output:
144 return self.objdump_output[cmd]
153 bb.note("%s %s %s" % (objdump, cmd, self.name))
154 … self.objdump_output[cmd] = bb.process.run([objdump, cmd, self.name], env=env, shell=False)[0]
155 return self.objdump_output[cmd]
157 bb.note("%s %s %s failed: %s" % (objdump, cmd, self.name, e))
/openbmc/linux/drivers/mfd/
H A Dssbi.c112 u32 cmd = SSBI_CMD_RDWRN | ((addr & 0xff) << 16); in ssbi_read_bytes() local
126 ssbi_writel(ssbi, cmd, SSBI2_CMD); in ssbi_read_bytes()
171 ssbi_pa_transfer(struct ssbi *ssbi, u32 cmd, u8 *data) in ssbi_pa_transfer() argument
176 ssbi_writel(ssbi, cmd, SSBI_PA_CMD); in ssbi_pa_transfer()
198 u32 cmd; in ssbi_pa_read_bytes() local
201 cmd = SSBI_PA_CMD_RDWRN | (addr & SSBI_PA_CMD_ADDR_MASK) << 8; in ssbi_pa_read_bytes()
204 ret = ssbi_pa_transfer(ssbi, cmd, buf); in ssbi_pa_read_bytes()
218 u32 cmd; in ssbi_pa_write_bytes() local
222 cmd = (addr & SSBI_PA_CMD_ADDR_MASK) << 8 | *buf; in ssbi_pa_write_bytes()
223 ret = ssbi_pa_transfer(ssbi, cmd, NULL); in ssbi_pa_write_bytes()
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_mdio.c42 static void sxgbe_mdio_ctrl_data(struct sxgbe_priv_data *sp, u32 cmd, in sxgbe_mdio_ctrl_data() argument
47 reg |= (cmd << 16) | SXGBE_SMA_SKIP_ADDRFRM | in sxgbe_mdio_ctrl_data()
52 static void sxgbe_mdio_c45(struct sxgbe_priv_data *sp, u32 cmd, int phyaddr, in sxgbe_mdio_c45() argument
62 sxgbe_mdio_ctrl_data(sp, cmd, phydata); in sxgbe_mdio_c45()
65 static void sxgbe_mdio_c22(struct sxgbe_priv_data *sp, u32 cmd, int phyaddr, in sxgbe_mdio_c22() argument
76 sxgbe_mdio_ctrl_data(sp, cmd, phydata); in sxgbe_mdio_c22()
79 static int sxgbe_mdio_access_c22(struct sxgbe_priv_data *sp, u32 cmd, in sxgbe_mdio_access_c22() argument
93 sxgbe_mdio_c22(sp, cmd, phyaddr, phyreg, phydata); in sxgbe_mdio_access_c22()
98 static int sxgbe_mdio_access_c45(struct sxgbe_priv_data *sp, u32 cmd, in sxgbe_mdio_access_c45() argument
109 sxgbe_mdio_c45(sp, cmd, phyaddr, devad, phyreg, phydata); in sxgbe_mdio_access_c45()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dquota.c90 struct iwl_time_quota_cmd *cmd) in iwl_mvm_adjust_quota_for_noa() argument
108 iwl_mvm_quota_cmd_get_quota(mvm, cmd, in iwl_mvm_adjust_quota_for_noa()
132 struct iwl_time_quota_cmd cmd = {}; in iwl_mvm_update_quotas() local
167 qdata = iwl_mvm_quota_cmd_get_quota(mvm, &cmd, i); in iwl_mvm_update_quotas()
217 qdata = iwl_mvm_quota_cmd_get_quota(mvm, &cmd, idx); in iwl_mvm_update_quotas()
253 qdata = iwl_mvm_quota_cmd_get_quota(mvm, &cmd, i); in iwl_mvm_update_quotas()
263 iwl_mvm_adjust_quota_for_noa(mvm, &cmd); in iwl_mvm_update_quotas()
267 qdata = iwl_mvm_quota_cmd_get_quota(mvm, &cmd, i); in iwl_mvm_update_quotas()
292 iwl_mvm_quota_cmd_size(mvm), &cmd); in iwl_mvm_update_quotas()
297 mvm->last_quota_cmd = cmd; in iwl_mvm_update_quotas()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c27 { .cmd = HNAE3_DBG_CMD_REG_SSU,
32 { .cmd = HNAE3_DBG_CMD_REG_SSU,
37 { .cmd = HNAE3_DBG_CMD_REG_SSU,
47 { .cmd = HNAE3_DBG_CMD_REG_RPU,
52 { .cmd = HNAE3_DBG_CMD_REG_RPU,
62 { .cmd = HNAE3_DBG_CMD_REG_RTC,
67 { .cmd = HNAE3_DBG_CMD_REG_PPP,
72 { .cmd = HNAE3_DBG_CMD_REG_RCB,
223 reg_msg->cmd); in hclge_dbg_dump_reg_tqp()
648 if (cmd == reg_info->cmd) { in hclge_dbg_dump_reg_cmd()
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.h25 int aq_add_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd);
26 int aq_del_rxnfc_rule(struct aq_nic_s *aq_nic, const struct ethtool_rxnfc *cmd);
27 int aq_get_rxnfc_rule(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd);
28 int aq_get_rxnfc_all_rules(struct aq_nic_s *aq_nic, struct ethtool_rxnfc *cmd,
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/
H A Dclk_synthesizer.c68 u8 cmd[2]; in clk_synthesizer_reg_write() local
72 cmd[0] = addr | CLK_SYNTHESIZER_BYTE_MODE; in clk_synthesizer_reg_write()
73 cmd[1] = val; in clk_synthesizer_reg_write()
76 rc = i2c_write(CLK_SYNTHESIZER_I2C_ADDR, addr, 1, cmd, 2); in clk_synthesizer_reg_write()
78 rc = dm_i2c_write(dev, addr, cmd, 2); in clk_synthesizer_reg_write()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_lnode.c214 cmd->ct_rev = FC_CT_REV; in csio_fill_ct_iu()
215 cmd->ct_fs_type = type; in csio_fill_ct_iu()
269 void *cmd; in csio_ln_fdmi_done() local
281 csio_ct_reason(cmd), csio_ct_expl(cmd)); in csio_ln_fdmi_done()
293 void *cmd; in csio_ln_fdmi_rhba_cbfn() local
315 csio_ct_reason(cmd), csio_ct_expl(cmd)); in csio_ln_fdmi_rhba_cbfn()
406 void *cmd; in csio_ln_fdmi_dprt_cbfn() local
431 csio_ct_reason(cmd), csio_ct_expl(cmd)); in csio_ln_fdmi_dprt_cbfn()
514 void *cmd; in csio_ln_fdmi_dhba_cbfn() local
532 csio_ct_reason(cmd), csio_ct_expl(cmd)); in csio_ln_fdmi_dhba_cbfn()
[all …]
/openbmc/linux/include/linux/mtd/
H A Dqinfo.h79 static inline map_word lpddr_build_cmd(u_long cmd, struct map_info *map) in lpddr_build_cmd() argument
82 val.x[0] = cmd; in lpddr_build_cmd()
87 #define CMDVAL(cmd) cmd.x[0] argument
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dx32lib.py21 cmd = 'readelf -h {} | grep Class | grep ELF32'.format(dest)
22 status1 = subprocess.call(cmd, shell=True)
23 cmd = 'readelf -h {} | grep Machine | grep X86-64'.format(dest)
24 status2 = subprocess.call(cmd, shell=True)
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.h28 enum hnae3_dbg_cmd cmd; member
50 enum hnae3_dbg_cmd cmd; member
53 int (*init)(struct hnae3_handle *handle, unsigned int cmd);
57 enum hnae3_dbg_cmd cmd; member
/openbmc/u-boot/drivers/usb/gadget/
H A Df_rockusb.c798 .cmd = K_FW_READ_10,
802 .cmd = K_FW_WRITE_10,
806 .cmd = K_FW_ERASE_10,
810 .cmd = K_FW_WRITE_SPARE,
814 .cmd = K_FW_READ_SPARE,
822 .cmd = K_FW_GET_VERSION,
826 .cmd = K_FW_LBA_READ_10,
858 .cmd = K_FW_LOW_FORMAT,
866 .cmd = K_FW_SPI_READ_10,
878 .cmd = K_FW_SESSION,
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf.c160 u8 *cmd; member
933 header->cmd = dheader->cmd; in vmw_cmdbuf_space_inline()
983 return header->cmd; in vmw_cmdbuf_alloc()
1089 return header->cmd; in vmw_cmdbuf_reserve()
1139 if (IS_ERR(cmd)) in vmw_cmdbuf_send_device_command()
1140 return PTR_ERR(cmd); in vmw_cmdbuf_send_device_command()
1173 } __packed cmd; in vmw_cmdbuf_preempt() local
1177 cmd.body.ignoreIDZero = 0; in vmw_cmdbuf_preempt()
1179 return vmw_cmdbuf_send_device_command(man, &cmd, sizeof(cmd)); in vmw_cmdbuf_preempt()
1199 } __packed cmd; in vmw_cmdbuf_startstop() local
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A Dvnic_dev.c268 if (_CMD_DIR(cmd) & _CMD_DIR_WRITE) { in vnic_dev_cmd1()
274 iowrite32(cmd, &devcmd->cmd); in vnic_dev_cmd1()
289 err, _CMD_N(cmd)); in vnic_dev_cmd1()
293 if (_CMD_DIR(cmd) & _CMD_DIR_READ) { in vnic_dev_cmd1()
326 pci_name(vdev->pdev), _CMD_N(cmd)); in vnic_dev_cmd2()
338 pci_name(vdev->pdev), _CMD_N(cmd)); in vnic_dev_cmd2()
344 dc2c->cmd_ring[posted].cmd = cmd; in vnic_dev_cmd2()
349 if (_CMD_DIR(cmd) & _CMD_DIR_WRITE) { in vnic_dev_cmd2()
381 cmd != CMD_CAPABILITY) in vnic_dev_cmd2()
384 err, _CMD_N(cmd)); in vnic_dev_cmd2()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util_base.h256 kvm_static_assert(!_IOC_SIZE(cmd) || sizeof(*arg) == _IOC_SIZE(cmd)); \
257 ioctl(fd, cmd, arg); \
261 kvm_do_ioctl(kvm_fd, cmd, arg)
271 #define kvm_ioctl(kvm_fd, cmd, arg) \ argument
272 _kvm_ioctl(kvm_fd, cmd, #cmd, arg)
276 #define __vm_ioctl(vm, cmd, arg) \ argument
279 kvm_do_ioctl((vm)->fd, cmd, arg); \
289 #define vm_ioctl(vm, cmd, arg) \ argument
290 _vm_ioctl(vm, cmd, #cmd, arg)
308 #define vcpu_ioctl(vcpu, cmd, arg) \ argument
[all …]
/openbmc/linux/drivers/s390/net/
H A Dqeth_core_main.c819 qeth_issue_ipa_msg(cmd, cmd->hdr.return_code, card); in qeth_check_ipa_data()
820 return cmd; in qeth_check_ipa_data()
837 qeth_issue_ipa_msg(cmd, cmd->hdr.return_code, card); in qeth_check_ipa_data()
854 return cmd; in qeth_check_ipa_data()
874 return cmd; in qeth_check_ipa_data()
979 if (cmd) { in qeth_issue_next_read_cb()
980 cmd = qeth_check_ipa_data(card, cmd); in qeth_issue_next_read_cb()
981 if (!cmd) in qeth_issue_next_read_cb()
1011 rc = reply->callback(card, reply, cmd ? (unsigned long)cmd : in qeth_issue_next_read_cb()
6529 switch (cmd) { in qeth_siocdevprivate()
[all …]
/openbmc/linux/drivers/media/usb/gspca/
H A Dsq930x.c495 idx = (cmd->val & 0xff00) | cmd->reg; in i2c_write()
499 *buf++ = cmd->val; in i2c_write()
502 cmd++; in i2c_write()
503 *buf++ = cmd->reg; in i2c_write()
504 *buf++ = cmd->val >> 8; in i2c_write()
506 *buf++ = cmd->val; in i2c_write()
549 idx = (cmd->bw_data << 8) | (cmd->bw_addr >> 8); in ucbus_write()
553 cmd++; in ucbus_write()
580 cmd++; in ucbus_write()
755 u16 cmd; in setexposure() local
[all …]
/openbmc/u-boot/drivers/net/phy/
H A Dncsi.c109 switch (cmd) { in cmd_payload()
541 hdr->type = cmd; in ncsi_send_command()
740 struct ncsi_cmd_ae_pkt cmd; in ncsi_send_ae() local
742 memset(&cmd, 0, sizeof(cmd)); in ncsi_send_ae()
746 ((unsigned char *)&cmd) in ncsi_send_ae()
755 memset(&cmd, 0, sizeof(cmd)); in ncsi_send_ebf()
759 ((unsigned char *)&cmd) in ncsi_send_ebf()
775 memset(&cmd, 0, sizeof(cmd)); in ncsi_send_sma()
777 cmd.mac[i] = addr[i]; in ncsi_send_sma()
778 cmd.index = 1; in ncsi_send_sma()
[all …]
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c421 struct ethtool_channels *cmd) in gve_get_channels() argument
427 cmd->max_other = 0; in gve_get_channels()
428 cmd->max_combined = 0; in gve_get_channels()
431 cmd->other_count = 0; in gve_get_channels()
432 cmd->combined_count = 0; in gve_get_channels()
436 struct ethtool_channels *cmd) in gve_set_channels() argument
442 int new_tx = cmd->tx_count; in gve_set_channels()
443 int new_rx = cmd->rx_count; in gve_set_channels()
481 cmd->rx_pending = priv->rx_desc_cnt; in gve_get_ringparam()
592 cmd->base.speed = priv->link_speed; in gve_get_link_ksettings()
[all …]
/openbmc/linux/scripts/
H A DKbuild.include180 cmd-check = $(if $(strip $(savedcmd_$@)),,1)
183 # Replace >$< with >$$< to preserve $ when reloading the .cmd file
201 if-changed-cond = $(newer-prereqs)$(cmd-check)$(check-FORCE)
207 $(cmd); \
208 printf '%s\n' 'savedcmd_$@ := $(make-cmd)' > $(dot-target).cmd
214 $(cmd); \
215 scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\
231 # (5) - due to missing .cmd file
236 # (4) The command line stored in the file named dir/.target.cmd
239 # (5) No dir/.target.cmd file (used to store command line)
[all …]
/openbmc/linux/block/
H A Dioctl.c248 unsigned cmd, unsigned long arg) in blkdev_compat_ptr_ioctl() argument
253 return disk->fops->ioctl(bdev, mode, cmd, in blkdev_compat_ptr_ioctl()
497 unsigned int cmd, unsigned long arg, in blkdev_common_ioctl() argument
502 switch (cmd) { in blkdev_common_ioctl()
504 return blkdev_flushbuf(bdev, cmd, arg); in blkdev_common_ioctl()
506 return blkdev_roset(bdev, cmd, arg); in blkdev_common_ioctl()
561 return blk_trace_ioctl(bdev, cmd, argp); in blkdev_common_ioctl()
592 switch (cmd) { in blkdev_ioctl()
621 return blk_trace_ioctl(bdev, cmd, argp); in blkdev_ioctl()
652 switch (cmd) { in compat_blkdev_ioctl()
[all …]
/openbmc/linux/kernel/
H A Dreboot.c82 void kernel_restart_prepare(char *cmd) in kernel_restart_prepare() argument
224 void do_kernel_restart(char *cmd) in do_kernel_restart() argument
266 void kernel_restart(char *cmd) in kernel_restart() argument
268 kernel_restart_prepare(cmd); in kernel_restart()
272 if (!cmd) in kernel_restart()
277 machine_restart(cmd); in kernel_restart()
318 unsigned long mode, void *cmd) in sys_off_notify() argument
326 data.cmd = cmd; in sys_off_notify()
725 ret = reboot_pid_ns(pid_ns, cmd); in SYSCALL_DEFINE4()
733 cmd = LINUX_REBOOT_CMD_HALT; in SYSCALL_DEFINE4()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Di2c.c88 } cmd; member
122 mlxsw_i2c->cmd.mb_off_in = tmp & in mlxsw_i2c_convert_mbox()
129 mlxsw_i2c->cmd.mb_off_out = tmp & in mlxsw_i2c_convert_mbox()
417 int off = mlxsw_i2c->cmd.mb_off_out; in mlxsw_i2c_cmd()
493 mutex_unlock(&mlxsw_i2c->cmd.lock); in mlxsw_i2c_cmd()
498 mutex_unlock(&mlxsw_i2c->cmd.lock); in mlxsw_i2c_cmd()
665 mutex_init(&mlxsw_i2c->cmd.lock); in mlxsw_i2c_probe()
710 mlxsw_i2c->cmd.mb_off_in, mlxsw_i2c->cmd.mb_size_out, in mlxsw_i2c_probe()
711 mlxsw_i2c->cmd.mb_off_out); in mlxsw_i2c_probe()
738 mutex_destroy(&mlxsw_i2c->cmd.lock); in mlxsw_i2c_probe()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_init_ops.c297 struct init_write_op *cmd, in qed_init_cmd_array() argument
301 u32 data = le32_to_cpu(cmd->data); in qed_init_cmd_array()
436 data = le32_to_cpu(cmd->op_data); in qed_init_cmd_rd()
457 cmd->op_data); in qed_init_cmd_rd()
461 data = le32_to_cpu(cmd->expected_val); in qed_init_cmd_rd()
472 addr, le32_to_cpu(cmd->expected_val), in qed_init_cmd_rd()
473 val, le32_to_cpu(cmd->op_data)); in qed_init_cmd_rd()
566 union init_op *cmd = &init_ops[cmd_num]; in qed_init_run() local
567 u32 data = le32_to_cpu(cmd->raw.op_data); in qed_init_run()
575 qed_init_cmd_rd(p_hwfn, p_ptt, &cmd->read); in qed_init_run()
[all …]

1...<<31323334353637383940>>...273