Home
last modified time | relevance | path

Searched refs:cmd (Results 2651 – 2675 of 6838) sorted by relevance

1...<<101102103104105106107108109110>>...274

/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
H A Ddcn314_clk_mgr.c164 union dmub_rb_cmd cmd; in dcn314_update_clocks() local
275 memset(&cmd, 0, sizeof(cmd)); in dcn314_update_clocks()
276 cmd.notify_clocks.header.type = DMUB_CMD__CLK_MGR; in dcn314_update_clocks()
277 cmd.notify_clocks.header.sub_type = DMUB_CMD__CLK_MGR_NOTIFY_CLOCKS; in dcn314_update_clocks()
278 cmd.notify_clocks.clocks.dcfclk_khz = clk_mgr_base->clks.dcfclk_khz; in dcn314_update_clocks()
279 cmd.notify_clocks.clocks.dcfclk_deep_sleep_khz = in dcn314_update_clocks()
281 cmd.notify_clocks.clocks.dispclk_khz = clk_mgr_base->clks.dispclk_khz; in dcn314_update_clocks()
282 cmd.notify_clocks.clocks.dppclk_khz = clk_mgr_base->clks.dppclk_khz; in dcn314_update_clocks()
284 dm_execute_dmub_cmd(dc->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in dcn314_update_clocks()
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dcore.c2046 cmd->base.port = PORT_MII; in emac_ethtool_get_link_ksettings()
2051 cmd->base.autoneg = dev->phy.autoneg; in emac_ethtool_get_link_ksettings()
2052 cmd->base.speed = dev->phy.speed; in emac_ethtool_get_link_ksettings()
2053 cmd->base.duplex = dev->phy.duplex; in emac_ethtool_get_link_ksettings()
2073 cmd->link_modes.advertising); in emac_ethtool_set_link_ksettings()
2076 cmd->base.autoneg, cmd->base.speed, cmd->base.duplex, advertising); in emac_ethtool_set_link_ksettings()
2086 if (cmd->base.duplex != DUPLEX_HALF && cmd->base.duplex != DUPLEX_FULL) in emac_ethtool_set_link_ksettings()
2090 switch (cmd->base.speed) { in emac_ethtool_set_link_ksettings()
2121 cmd->base.duplex); in emac_ethtool_set_link_ksettings()
2319 DBG(dev, "ioctl %08x" NL, cmd); in emac_ioctl()
[all …]
/openbmc/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c948 static int fun_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, in fun_get_rxnfc() argument
951 switch (cmd->cmd) { in fun_get_rxnfc()
953 cmd->data = netdev->real_num_rx_queues; in fun_get_rxnfc()
1128 } cmd; in fun_get_port_module_page() local
1138 cmd.req.common = FUN_ADMIN_REQ_COMMON_INIT2(FUN_ADMIN_OP_PORT, in fun_get_port_module_page()
1139 sizeof(cmd.req)); in fun_get_port_module_page()
1140 cmd.req.u.xcvr_read = in fun_get_port_module_page()
1145 rc = fun_submit_admin_sync_cmd(fp->fdev, &cmd.req.common, &cmd.rsp, in fun_get_port_module_page()
1146 sizeof(cmd.rsp), 0); in fun_get_port_module_page()
1150 memcpy(req->data, cmd.rsp.data, req->length); in fun_get_port_module_page()
/openbmc/linux/drivers/regulator/
H A Dqcom-rpmh-regulator.c161 struct tcs_cmd *cmd, bool wait_for_ack) in rpmh_regulator_send_request() argument
166 ret = rpmh_write(vreg->dev, RPMH_ACTIVE_ONLY_STATE, cmd, 1); in rpmh_regulator_send_request()
168 ret = rpmh_write_async(vreg->dev, RPMH_ACTIVE_ONLY_STATE, cmd, in rpmh_regulator_send_request()
178 struct tcs_cmd cmd = { in _rpmh_regulator_vrm_set_voltage_sel() local
187 ret = rpmh_regulator_send_request(vreg, &cmd, wait_for_ack); in _rpmh_regulator_vrm_set_voltage_sel()
230 struct tcs_cmd cmd = { in rpmh_regulator_set_enable_state() local
244 ret = rpmh_regulator_send_request(vreg, &cmd, enable); in rpmh_regulator_set_enable_state()
264 struct tcs_cmd cmd = { in rpmh_regulator_vrm_set_mode_bypass() local
277 cmd.data = PMIC4_BOB_MODE_PASS; in rpmh_regulator_vrm_set_mode_bypass()
279 cmd.data = pmic_mode; in rpmh_regulator_vrm_set_mode_bypass()
[all …]
/openbmc/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c1625 struct srp_cmd *cmd = req->cmd->buf; in srp_map_data() local
1670 buf = (void *)cmd->add_data + cmd->add_cdb_len; in srp_map_data()
1695 buf = (void *)cmd->add_data + cmd->add_cdb_len; in srp_map_data()
1708 indirect_hdr = (void *)cmd->add_data + cmd->add_cdb_len; in srp_map_data()
1743 buf = (void *)cmd->add_data + cmd->add_cdb_len; in srp_map_data()
1795 cmd->buf_fmt = fmt; in srp_map_data()
2183 cmd = iu->buf; in srp_queuecommand()
2184 memset(cmd, 0, sizeof *cmd); in srp_queuecommand()
2188 cmd->tag = tag; in srp_queuecommand()
2191 cmd->add_cdb_len = round_up(scmnd->cmd_len - sizeof(cmd->cdb), in srp_queuecommand()
[all …]
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_main.c709 kdbtab_t cmd; /* Macro command */ member
734 kdb_register(&kdb_macro->cmd); in kdb_defcmd2()
788 mp = &kdb_macro->cmd; in kdb_defcmd()
852 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_exec_defcmd()
1137 static int handle_ctrl_cmd(char *cmd) in handle_ctrl_cmd() argument
1145 switch (*cmd) { in handle_ctrl_cmd()
2635 int kdb_register(kdbtab_t *cmd) in kdb_register() argument
2640 if (strcmp(kp->name, cmd->name) == 0) { in kdb_register()
2642 cmd->name, cmd->func, cmd->help); in kdb_register()
2672 void kdb_unregister(kdbtab_t *cmd) in kdb_unregister() argument
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.c447 pkt_size = APR_HDR_SIZE + sizeof(*cmd) + in __q6asm_memory_map_regions()
455 cmd = p + APR_HDR_SIZE; in __q6asm_memory_map_regions()
456 mregions = p + APR_HDR_SIZE + sizeof(*cmd); in __q6asm_memory_map_regions()
466 cmd->num_regions = num_regions; in __q6asm_memory_map_regions()
467 cmd->property_flag = 0x00; in __q6asm_memory_map_regions()
1337 uint32_t cmd, in q6asm_stream_remove_silence() argument
1355 pkt->hdr.opcode = cmd; in q6asm_stream_remove_silence()
1646 switch (cmd) { in __q6asm_cmd()
1677 if (cmd == CMD_FLUSH) in __q6asm_cmd()
1694 return __q6asm_cmd(ac, stream_id, cmd, true); in q6asm_cmd()
[all …]
/openbmc/linux/drivers/scsi/
H A D3w-sas.c764 switch (cmd) { in twl_chrdev_ioctl()
796 cmd); in twl_chrdev_ioctl()
1125 struct scsi_cmnd *cmd; in twl_interrupt() local
1208 cmd = tw_dev->srb[request_id]; in twl_interrupt()
1211 cmd->result = (DID_OK << 16); in twl_interrupt()
1220 scsi_dma_unmap(cmd); in twl_interrupt()
1221 scsi_done(cmd); in twl_interrupt()
1371 if (cmd) { in twl_reset_device_extension()
1372 cmd->result = (DID_RESET << 16); in twl_reset_device_extension()
1373 scsi_dma_unmap(cmd); in twl_reset_device_extension()
[all …]
/openbmc/linux/drivers/net/wireless/st/cw1200/
H A Dwsm.c83 void *arg, u16 cmd, long tmo);
752 u16 cmd = 0x001C | WSM_TX_LINK_ID(arg->link_id); in wsm_map_link() local
1074 void *arg, u16 cmd, long tmo) in wsm_cmd_send() argument
1094 if (cmd == WSM_WRITE_MIB_REQ_ID || in wsm_cmd_send()
1095 cmd == WSM_READ_MIB_REQ_ID) in wsm_cmd_send()
1097 cmd, __le16_to_cpu(((__le16 *)buf->begin)[2]), in wsm_cmd_send()
1100 pr_debug("[WSM] >>> 0x%.4X (%zu)\n", cmd, buf_len); in wsm_cmd_send()
1111 ((__le16 *)buf->begin)[1] = __cpu_to_le16(cmd); in wsm_cmd_send()
1118 priv->wsm_cmd.cmd = cmd; in wsm_cmd_send()
1325 wsm_cmd = priv->wsm_cmd.cmd & in wsm_handle_rx()
[all …]
/openbmc/linux/kernel/trace/
H A Dblktrace.c738 switch (cmd) { in blk_trace_ioctl()
1344 char cmd[TASK_COMM_LEN]; in blk_log_generic() local
1346 trace_find_cmdline(ent->pid, cmd); in blk_log_generic()
1391 char cmd[TASK_COMM_LEN]; in blk_log_plug() local
1393 trace_find_cmdline(ent->pid, cmd); in blk_log_plug()
1395 trace_seq_printf(s, "[%s]\n", cmd); in blk_log_plug()
1400 char cmd[TASK_COMM_LEN]; in blk_log_unplug() local
1402 trace_find_cmdline(ent->pid, cmd); in blk_log_unplug()
1409 char cmd[TASK_COMM_LEN]; in blk_log_split() local
1411 trace_find_cmdline(ent->pid, cmd); in blk_log_split()
[all …]
/openbmc/linux/include/linux/
H A Dsecurity.h392 int security_file_ioctl_compat(struct file *file, unsigned int cmd,
399 int security_file_lock(struct file *file, unsigned int cmd);
458 int security_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd);
466 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd);
471 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd);
986 static inline int security_file_ioctl(struct file *file, unsigned int cmd, in security_file_ioctl() argument
993 unsigned int cmd, in security_file_ioctl_compat() argument
1017 static inline int security_file_lock(struct file *file, unsigned int cmd) in security_file_lock() argument
1309 static inline int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument
1333 static inline int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument
[all …]
/openbmc/linux/sound/core/oss/
H A Dmixer_oss.c328 if (((cmd >> 8) & 0xff) == 'M') { in snd_mixer_oss_ioctl1()
329 switch (cmd) { in snd_mixer_oss_ioctl1()
372 if (cmd & SIOC_IN) { in snd_mixer_oss_ioctl1()
375 tmp = snd_mixer_oss_set_volume(fmixer, cmd & 0xff, tmp); in snd_mixer_oss_ioctl1()
379 } else if (cmd & SIOC_OUT) { in snd_mixer_oss_ioctl1()
380 tmp = snd_mixer_oss_get_volume(fmixer, cmd & 0xff); in snd_mixer_oss_ioctl1()
390 return snd_mixer_oss_ioctl1(file->private_data, cmd, arg); in snd_mixer_oss_ioctl()
404 return snd_mixer_oss_ioctl1(&fmixer, cmd, arg); in snd_mixer_oss_ioctl_card()
413 return snd_mixer_oss_ioctl1(file->private_data, cmd, in snd_mixer_oss_ioctl_compat()
1375 if (cmd == SND_MIXER_OSS_NOTIFY_REGISTER) { in snd_mixer_oss_notify_handler()
[all …]
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/
H A Dhw-ish-regs.h169 #define IPC_BUILD_MNG_MSG(cmd, length) \ argument
172 ((cmd)<<IPC_HEADER_MNG_CMD_OFFSET)| \
/openbmc/linux/drivers/watchdog/
H A Dindydog.c98 static long indydog_ioctl(struct file *file, unsigned int cmd, in indydog_ioctl() argument
108 switch (cmd) { in indydog_ioctl()
H A Dsbc_epx_c3.c101 static long epx_c3_ioctl(struct file *file, unsigned int cmd, in epx_c3_ioctl() argument
112 switch (cmd) { in epx_c3_ioctl()
/openbmc/linux/include/uapi/linux/
H A Dultrasound.h76 #define _GUS_CMD(chn, voice, cmd, p1, p2) \ argument
78 _seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\
/openbmc/u-boot/post/lib_powerpc/
H A Db.c32 static int cpu_post_test_bc (ulong cmd, ulong bo, ulong bi, in cpu_post_test_bc() argument
47 ASM_3O(cmd, bo, bi, 8), in cpu_post_test_bc()
/openbmc/linux/drivers/iio/adc/
H A Dviperboard_adc.c26 u8 cmd; member
64 admsg->cmd = VPRBRD_ADC_CMD_GET; in vprbrd_iio_read_raw()
/openbmc/linux/arch/mips/kernel/
H A Dsyscall.c207 SYSCALL_DEFINE3(sysmips, long, cmd, long, arg1, long, arg2) in SYSCALL_DEFINE3() argument
209 switch (cmd) { in SYSCALL_DEFINE3()
/openbmc/openbmc/meta-phosphor/recipes-core/os-release/
H A Dos-release.bbappend9 def run_git(d, cmd):
14 % (oeroot, oeroot, cmd))[0].strip('\n')
/openbmc/openbmc/meta-openembedded/meta-oe/lib/oeqa/selftest/cases/
H A Dsyzkaller.py123 cmd = "syz-manager -config %s" % self.syz_cfg
124 …runCmd(cmd, native_sysroot = self.syz_native_sysroot, timeout=self.syz_fuzztime, output_log=self.l…
/openbmc/openpower-proc-control/procedures/phal/
H A Denter_mpreboot.cpp98 uint32_t cmd = SBEFIFO_CMD_CLASS_MPIPL | SBEFIFO_CMD_ENTER_MPIPL; in sbeEnterMpReboot() local
103 std::to_string((index << 16) | cmd)); in sbeEnterMpReboot()
/openbmc/openbmc/poky/scripts/
H A Doe-check-sstate53 cmd = ['bitbake', '--dry-run', '--runall=build'] + args.target
54 output = subprocess.check_output(cmd, stderr=subprocess.STDOUT, env=env)
/openbmc/linux/drivers/xen/
H A Dxen-acpi-pad.c28 op.cmd = XENPF_core_parking; in xen_acpi_pad_idle_cpus()
39 op.cmd = XENPF_core_parking; in xen_acpi_pad_idle_cpus_num()
/openbmc/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.h131 int fun_submit_admin_cmd(struct fun_dev *fdev, struct fun_admin_req_common *cmd,
134 struct fun_admin_req_common *cmd, void *rsp,

1...<<101102103104105106107108109110>>...274