Home
last modified time | relevance | path

Searched refs:cmd (Results 2376 – 2400 of 6838) sorted by relevance

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

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcm4908_enet.c402 u32 cmd; in bcm4908_enet_gmac_init() local
406 cmd = enet_umac_read(enet, UMAC_CMD); in bcm4908_enet_gmac_init()
407 enet_umac_write(enet, UMAC_CMD, cmd | CMD_SW_RESET); in bcm4908_enet_gmac_init()
408 enet_umac_write(enet, UMAC_CMD, cmd & ~CMD_SW_RESET); in bcm4908_enet_gmac_init()
416 cmd = enet_umac_read(enet, UMAC_CMD); in bcm4908_enet_gmac_init()
417 cmd &= ~(CMD_SPEED_MASK << CMD_SPEED_SHIFT); in bcm4908_enet_gmac_init()
418 cmd &= ~CMD_TX_EN; in bcm4908_enet_gmac_init()
419 cmd &= ~CMD_RX_EN; in bcm4908_enet_gmac_init()
420 cmd |= CMD_SPEED_1000 << CMD_SPEED_SHIFT; in bcm4908_enet_gmac_init()
421 enet_umac_write(enet, UMAC_CMD, cmd); in bcm4908_enet_gmac_init()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_clk_mgr.c137 union dmub_rb_cmd cmd; in dcn31_update_clocks() local
247 memset(&cmd, 0, sizeof(cmd)); in dcn31_update_clocks()
248 cmd.notify_clocks.header.type = DMUB_CMD__CLK_MGR; in dcn31_update_clocks()
249 cmd.notify_clocks.header.sub_type = DMUB_CMD__CLK_MGR_NOTIFY_CLOCKS; in dcn31_update_clocks()
250 cmd.notify_clocks.clocks.dcfclk_khz = clk_mgr_base->clks.dcfclk_khz; in dcn31_update_clocks()
251 cmd.notify_clocks.clocks.dcfclk_deep_sleep_khz = in dcn31_update_clocks()
253 cmd.notify_clocks.clocks.dispclk_khz = clk_mgr_base->clks.dispclk_khz; in dcn31_update_clocks()
254 cmd.notify_clocks.clocks.dppclk_khz = clk_mgr_base->clks.dppclk_khz; in dcn31_update_clocks()
256 dm_execute_dmub_cmd(dc->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in dcn31_update_clocks()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
H A Ddcn315_clk_mgr.c129 union dmub_rb_cmd cmd; in dcn315_update_clocks() local
234 memset(&cmd, 0, sizeof(cmd)); in dcn315_update_clocks()
235 cmd.notify_clocks.header.type = DMUB_CMD__CLK_MGR; in dcn315_update_clocks()
236 cmd.notify_clocks.header.sub_type = DMUB_CMD__CLK_MGR_NOTIFY_CLOCKS; in dcn315_update_clocks()
237 cmd.notify_clocks.clocks.dcfclk_khz = clk_mgr_base->clks.dcfclk_khz; in dcn315_update_clocks()
238 cmd.notify_clocks.clocks.dcfclk_deep_sleep_khz = in dcn315_update_clocks()
240 cmd.notify_clocks.clocks.dispclk_khz = clk_mgr_base->clks.dispclk_khz; in dcn315_update_clocks()
241 cmd.notify_clocks.clocks.dppclk_khz = clk_mgr_base->clks.dppclk_khz; in dcn315_update_clocks()
243 dm_execute_dmub_cmd(dc->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in dcn315_update_clocks()
/openbmc/openbmc/poky/meta/recipes-kernel/linux/
H A Dkernel-devsrc.bb133 rm -f $kerneldir/include/generated/.vdso-offsets.h.cmd
134 rm -f $kerneldir/build/include/generated/.vdso-offsets.h.cmd
135 rm -f $kerneldir/build/include/generated/.compat_vdso-offsets.h.cmd
136 rm -f $kerneldir/build/include/generated/.vdso32-offsets.h.cmd
137 rm -f $kerneldir/build/include/generated/.vdso64-offsets.h.cmd
374 if [ -e "$kerneldir/build/include/config/auto.conf.cmd" ]; then
375 …eq "$(CC)" ".*-linux-.*gcc.*$/ifneq "$(CC)" "gcc"/' "$kerneldir/build/include/config/auto.conf.cmd"
377 …fneq "$(AR)" ".*-linux-.*ar.*$/ifneq "$(AR)" "ar"/' "$kerneldir/build/include/config/auto.conf.cmd"
384 …/ifneq "$(HOSTCXX)" ".*$/ifneq "$(HOSTCXX)" "g++"/' "$kerneldir/build/include/config/auto.conf.cmd"
385 …'s/ifneq "$(HOSTCC)" ".*$/ifneq "$(HOSTCC)" "gcc"/' "$kerneldir/build/include/config/auto.conf.cmd"
[all …]
/openbmc/u-boot/cmd/
H A Dmtd.c247 const char *cmd = argv[0]; in do_mtd_io() local
263 dump = !strncmp(cmd, "dump", 4); in do_mtd_io()
264 read = dump || !strncmp(cmd, "read", 4); in do_mtd_io()
265 raw = strstr(cmd, ".raw"); in do_mtd_io()
266 woob = strstr(cmd, ".oob"); in do_mtd_io()
267 write_empty_pages = !has_pages || strstr(cmd, ".dontskipff"); in do_mtd_io()
/openbmc/linux/sound/drivers/opl3/
H A Dopl3_lib.c26 static void snd_opl2_command(struct snd_opl3 * opl3, unsigned short cmd, unsigned char val) in snd_opl2_command() argument
36 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; in snd_opl2_command()
40 outb((unsigned char) cmd, port); in snd_opl2_command()
49 static void snd_opl3_command(struct snd_opl3 * opl3, unsigned short cmd, unsigned char val) in snd_opl3_command() argument
59 port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; in snd_opl3_command()
63 outb((unsigned char) cmd, port); in snd_opl3_command()
/openbmc/linux/drivers/staging/media/av7110/
H A Dbudget-patch.c136 static int budget_diseqc_send_master_cmd(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd* cmd) in budget_diseqc_send_master_cmd() argument
140 SendDiSEqCMsg (budget, cmd->msg_len, cmd->msg, 0); in budget_diseqc_send_master_cmd()
231 …int budget_patch_diseqc_send_master_cmd(struct dvb_frontend* fe, struct dvb_diseqc_master_cmd* cmd) in budget_patch_diseqc_send_master_cmd() argument
235 av7110_send_diseqc_msg (budget, cmd->msg_len, cmd->msg, 0); in budget_patch_diseqc_send_master_cmd()
/openbmc/linux/sound/pci/aw2/
H A Daw2-alsa.c112 int cmd);
114 int cmd);
403 int cmd) in snd_aw2_pcm_trigger_playback() argument
409 switch (cmd) { in snd_aw2_pcm_trigger_playback()
429 int cmd) in snd_aw2_pcm_trigger_capture() argument
435 switch (cmd) { in snd_aw2_pcm_trigger_capture()
/openbmc/linux/drivers/misc/
H A Dgehc-achc.c117 u8 cmd = EZPORT_CMD_RESET; in ezport_soft_reset() local
120 ret = spi_write(spi, &cmd, 1); in ezport_soft_reset()
129 static int ezport_send_simple(struct spi_device *spi, u8 cmd) in ezport_send_simple() argument
133 ret = spi_write(spi, &cmd, 1); in ezport_send_simple()
175 static const u8 cmd = EZPORT_CMD_BE; in ezport_bulk_erase() local
183 ret = spi_write(spi, &cmd, 1); in ezport_bulk_erase()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dcx24110.c399 struct dvb_diseqc_master_cmd *cmd) in cx24110_send_diseqc_msg() argument
405 if (cmd->msg_len < 3 || cmd->msg_len > 6) in cx24110_send_diseqc_msg()
408 for (i = 0; i < cmd->msg_len; i++) in cx24110_send_diseqc_msg()
409 cx24110_writereg(state, 0x79 + i, cmd->msg[i]); in cx24110_send_diseqc_msg()
419 cx24110_writereg(state, 0x76, ((rv & 0x90) | 0x40) | ((cmd->msg_len-3) & 3)); in cx24110_send_diseqc_msg()
/openbmc/linux/drivers/watchdog/
H A Dpcwd_usb.c208 unsigned char cmd, unsigned char *msb, unsigned char *lsb) in usb_pcwd_send_command() argument
224 buf[0] = cmd; /* Byte 0 = CMD */ in usb_pcwd_send_command()
241 cmd, *msb, *lsb); in usb_pcwd_send_command()
253 if ((got_response) && (cmd == usb_pcwd->cmd_command)) { in usb_pcwd_send_command()
390 static long usb_pcwd_ioctl(struct file *file, unsigned int cmd, in usb_pcwd_ioctl() argument
403 switch (cmd) { in usb_pcwd_ioctl()
/openbmc/linux/scripts/mod/
H A Dsumversion.c304 char *cmd, *file, *line, *dir, *pos; in parse_source_files() local
308 cmd = NOFAIL(malloc(strlen(objfile) + sizeof("..cmd"))); in parse_source_files()
314 sprintf(cmd, "%.*s.%s.cmd", dirlen, objfile, base); in parse_source_files()
317 sprintf(cmd, ".%s.cmd", objfile); in parse_source_files()
323 file = read_text_file(cmd); in parse_source_files()
386 free(cmd); in parse_source_files()
/openbmc/linux/include/sound/
H A Dsoc-component.h47 struct snd_compr_stream *stream, int cmd);
121 unsigned int cmd, void *arg);
130 struct snd_pcm_substream *substream, int cmd);
489 int snd_soc_component_compr_trigger(struct snd_compr_stream *cstream, int cmd);
510 unsigned int cmd, void *arg);
527 int cmd, int rollback);
/openbmc/linux/drivers/platform/x86/
H A Dintel_scu_ipc.c191 static inline void ipc_command(struct intel_scu_ipc_dev *scu, u32 cmd) in ipc_command() argument
194 writel(cmd | IPC_IOC, scu->ipc_base); in ipc_command()
450 int intel_scu_ipc_dev_simple_command(struct intel_scu_ipc_dev *scu, int cmd, in intel_scu_ipc_dev_simple_command() argument
463 cmdval = sub << 12 | cmd; in intel_scu_ipc_dev_simple_command()
489 int intel_scu_ipc_dev_command_with_size(struct intel_scu_ipc_dev *scu, int cmd, in intel_scu_ipc_dev_command_with_size() argument
512 cmdval = (size << 16) | (sub << 12) | cmd; in intel_scu_ipc_dev_command_with_size()
/openbmc/linux/drivers/iio/dac/
H A Dad5686.c458 u8 cmd; in ad5686_probe() local
506 cmd = AD5686_CMD_CONTROL_REG; in ad5686_probe()
511 cmd = AD5686_CMD_CONTROL_REG; in ad5686_probe()
516 cmd = AD5686_CMD_INTERNAL_REFER_SETUP; in ad5686_probe()
520 cmd = AD5686_CMD_CONTROL_REG; in ad5686_probe()
531 ret = st->write(st, cmd, 0, !!val); in ad5686_probe()
/openbmc/linux/include/trace/events/
H A Dufs.h313 TP_PROTO(const char *dev_name, enum ufs_trace_str_t str_t, u32 cmd,
316 TP_ARGS(dev_name, str_t, cmd, arg1, arg2, arg3),
321 __field(u32, cmd)
330 __entry->cmd = cmd;
339 __entry->cmd, __entry->arg1, __entry->arg2, __entry->arg3
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_drv.c468 unsigned int cmd, unsigned long arg) in radeon_drm_ioctl() argument
481 ret = drm_ioctl(filp, cmd, arg); in radeon_drm_ioctl()
489 static long radeon_kms_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in radeon_kms_compat_ioctl() argument
491 unsigned int nr = DRM_IOCTL_NR(cmd); in radeon_kms_compat_ioctl()
494 return drm_compat_ioctl(filp, cmd, arg); in radeon_kms_compat_ioctl()
496 return radeon_drm_ioctl(filp, cmd, arg); in radeon_kms_compat_ioctl()
/openbmc/linux/block/
H A Dblk.h400 int blkdev_report_zones_ioctl(struct block_device *bdev, unsigned int cmd,
403 unsigned int cmd, unsigned long arg);
408 unsigned int cmd, unsigned long arg) in blkdev_report_zones_ioctl() argument
413 blk_mode_t mode, unsigned int cmd, unsigned long arg) in blkdev_zone_mgmt_ioctl() argument
473 long blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg);
474 long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg);
/openbmc/qemu/scripts/
H A Dcompare-machine-types.py112 self.cached[driver] = self.vm.cmd('device-list-properties',
133 self.cached[name] = self.vm.cmd(
148 self.cached[driver] = self.vm.cmd('qom-list-properties',
177 qom_all_types = vm.cmd('qom-list-types', abstract=True)
188 imps = vm.cmd('qom-list-types', implements=drv.name)
359 raw_mt_defs = vm.cmd('query-machines', compat_props=True)
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dencx24j600.c163 static void encx24j600_cmd(struct encx24j600_priv *priv, u8 cmd) in encx24j600_cmd() argument
166 int ret = regmap_write(priv->ctx.regmap, cmd, 0); in encx24j600_cmd()
170 __func__, ret, cmd); in encx24j600_cmd()
935 struct ethtool_link_ksettings *cmd) in encx24j600_get_link_ksettings() argument
944 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported, in encx24j600_get_link_ksettings()
947 cmd->base.speed = priv->speed; in encx24j600_get_link_ksettings()
948 cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in encx24j600_get_link_ksettings()
949 cmd->base.port = PORT_TP; in encx24j600_get_link_ksettings()
957 const struct ethtool_link_ksettings *cmd) in encx24j600_set_link_ksettings() argument
959 return encx24j600_setlink(dev, cmd->base.autoneg, in encx24j600_set_link_ksettings()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dbuild.py455 cmd = runfile
459 cmd = [fakerootcmd, runfile]
488 cmd = splitval[0].decode("utf-8")
493 if cmd == 'bbplain':
495 elif cmd == 'bbnote':
497 elif cmd == 'bbverbnote':
499 elif cmd == 'bbwarn':
501 elif cmd == 'bberror':
503 elif cmd == 'bbfatal':
507 elif cmd == 'bbfatal_log':
[all …]
/openbmc/linux/Documentation/scsi/
H A DChangeLog.megaraid_sas188 struct megasas_cmd *cmd);
293 1. Add the fix of the driver cmd empty fix of the driver cmd empty.
360 make sure the FW will finish the pending cmd for KDUMP case.
371 a max of 60 seconds to respond to the INIT cmd.
384 driver schedules for cmd completion if there are pending cmds
406 cmd.
437 waiting for depending on cmd completion from isr path.
500 as WriteBack. The OS may send "SYNCHRONIZE_CACHE" cmd when Logical
504 the cmd and return success without sending down to FW.
536 cmd->sense to pci_pool_free. Fixed. Bug was pointed out by
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/
H A Dinput_formatter_global.h81 #define IF_PACK(val, cmd) ((val & 0x0fff) | (cmd /*& 0xf000*/)) argument
/openbmc/linux/include/xen/interface/io/
H A Dpvcalls.h41 uint32_t cmd; /* command to execute */ member
89 uint32_t cmd; member
/openbmc/linux/tools/testing/selftests/dma/
H A Ddma_map_benchmark.c35 int cmd = DMA_MAP_BENCHMARK; in main() local
116 if (ioctl(fd, cmd, &map)) { in main()

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