/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-host_git.bb | 133 cmd = [] 134 cmd.append(os.path.join(workdir, 'merge_yamls.py')) 135 cmd.append(os.path.join(sensorsdir, 'sensor.yaml')) 145 cmd.append(filename) 148 subprocess.check_call(cmd)
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | bblayers.py | 175 cmd = '{} --layerlist {} list -v'.format(oe_setup_build_l, layers_json) 176 result = runCmd(cmd) 178 self.assertTrue(cond, "Incorrect output from {}: {}".format(cmd, result.output)) 188 cmd = '{} --layerlist {} setup -c {} --no-shell'.format(oe_setup_build_l, layers_json, conf) 189 result = runCmd(cmd)
|
/openbmc/linux/fs/ext4/ |
H A D | ioctl.c | 1230 ext4_debug("cmd = %u, arg = %lu\n", cmd, arg); in __ext4_ioctl() 1232 switch (cmd) { in __ext4_ioctl() 1618 return __ext4_ioctl(filp, cmd, arg); in ext4_ioctl() 1625 switch (cmd) { in ext4_compat_ioctl() 1627 cmd = EXT4_IOC_GETVERSION; in ext4_compat_ioctl() 1630 cmd = EXT4_IOC_SETVERSION; in ext4_compat_ioctl() 1633 cmd = EXT4_IOC_GROUP_EXTEND; in ext4_compat_ioctl() 1636 cmd = EXT4_IOC_GETVERSION_OLD; in ext4_compat_ioctl() 1639 cmd = EXT4_IOC_SETVERSION_OLD; in ext4_compat_ioctl() 1642 cmd = EXT4_IOC_GETRSVSZ; in ext4_compat_ioctl() [all …]
|
/openbmc/u-boot/board/micronas/vct/ |
H A D | scc.c | 437 static void dma_state_process(struct scc_dma_state *dma_state, u32 cmd) in dma_state_process() argument 439 dma_state->dma_status = dma_fsm[dma_state->dma_status][cmd]; in dma_state_process() 440 dma_state->dma_cmd = cmd; in dma_state_process() 476 int scc_dma_cmd(enum scc_id id, u32 cmd, u32 dma_id, u32 drs) in scc_dma_cmd() argument 487 dma_cmd.bits.action = cmd; in scc_dma_cmd() 498 dma_state_process_dma_command(dma_state, cmd); in scc_dma_cmd()
|
/openbmc/linux/drivers/watchdog/ |
H A D | pcwd.c | 218 static int send_isa_command(int cmd) in send_isa_command() argument 225 pr_debug("sending following data cmd=0x%02x\n", cmd); in send_isa_command() 228 control_status = (cmd & 0x0F) | WD_WCMD; in send_isa_command() 245 cmd, port0, last_port0); in send_isa_command() 586 static long pcwd_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in pcwd_ioctl() argument 603 switch (cmd) { in pcwd_ioctl()
|
/openbmc/linux/drivers/iio/gyro/ |
H A D | adxrs290.c | 115 static int adxrs290_get_rate_data(struct iio_dev *indio_dev, const u8 cmd, int *val) in adxrs290_get_rate_data() argument 122 temp = spi_w8r16(st->spi, cmd); in adxrs290_get_rate_data() 137 const u8 cmd = ADXRS290_READ_REG(ADXRS290_REG_TEMP0); in adxrs290_get_temp_data() local 143 temp = spi_w8r16(st->spi, cmd); in adxrs290_get_temp_data() 159 const u8 cmd = ADXRS290_READ_REG(ADXRS290_REG_FILTER); in adxrs290_get_3db_freq() local 165 temp = spi_w8r8(st->spi, cmd); in adxrs290_get_3db_freq()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mcp.h | 153 u32 cmd; member 415 u32 cmd, 440 u32 cmd, 619 u32 cmd, u32 addr, u8 *p_buf, u32 len); 802 u32 cmd; member 1014 u32 cmd,
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mtk-sd.yaml | 101 mediatek,hs200-cmd-int-delay: 110 mediatek,hs400-cmd-int-delay: 119 mediatek,hs400-cmd-resp-sel-rising: 327 mediatek,hs200-cmd-int-delay = <26>; 328 mediatek,hs400-cmd-int-delay = <14>; 329 mediatek,hs400-cmd-resp-sel-rising;
|
/openbmc/linux/fs/cachefiles/ |
H A D | daemon.c | 282 const struct cachefiles_daemon_cmd *cmd; in cachefiles_daemon_write() local 329 for (cmd = cachefiles_daemon_cmds; cmd->name[0]; cmd++) in cachefiles_daemon_write() 330 if (strcmp(cmd->name, data) == 0) in cachefiles_daemon_write() 343 ret = cmd->handler(cache, args); in cachefiles_daemon_write()
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | pmic_glink_altmode.c | 34 __le32 cmd; member 107 static int pmic_glink_altmode_request(struct pmic_glink_altmode *altmode, u32 cmd, u32 arg) in pmic_glink_altmode_request() argument 122 req.cmd = cpu_to_le32(cmd); in pmic_glink_altmode_request() 127 dev_err(altmode->dev, "failed to send altmode request: %#x (%d)\n", cmd, ret); in pmic_glink_altmode_request() 133 dev_err(altmode->dev, "timeout waiting for altmode request ack for: %#x\n", cmd); in pmic_glink_altmode_request()
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | gadget.c | 362 u32 cmd; in dwc3_gadget_start_config() local 367 cmd = DWC3_DEPCMD_DEPSTARTCFG; in dwc3_gadget_start_config() 373 cmd |= DWC3_DEPCMD_PARAM(2); in dwc3_gadget_start_config() 857 u32 cmd; in __dwc3_gadget_kick_transfer() local 893 cmd = DWC3_DEPCMD_STARTTRANSFER; in __dwc3_gadget_kick_transfer() 895 cmd = DWC3_DEPCMD_UPDATETRANSFER; in __dwc3_gadget_kick_transfer() 898 cmd |= DWC3_DEPCMD_PARAM(cmd_param); in __dwc3_gadget_kick_transfer() 1955 u32 cmd; in dwc3_stop_active_transfer() local 1982 cmd = DWC3_DEPCMD_ENDTRANSFER; in dwc3_stop_active_transfer() 1983 cmd |= force ? DWC3_DEPCMD_HIPRI_FORCERM : 0; in dwc3_stop_active_transfer() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945.c | 33 struct il_host_cmd cmd = { in il3945_send_led_cmd() local 41 return il_send_cmd(il, &cmd); in il3945_send_led_cmd() 695 struct il3945_tx_cmd *tx_cmd = (struct il3945_tx_cmd *)cmd->cmd.payload; in il3945_hw_build_tx_cmd_rate() 1664 struct il_host_cmd cmd = { in il3945_send_rxon_assoc() local 1687 rc = il_send_cmd_sync(il, &cmd); in il3945_send_rxon_assoc() 1691 pkt = (struct il_rx_pkt *)cmd.reply_page; in il3945_send_rxon_assoc() 1697 il_free_pages(il, cmd.reply_page); in il3945_send_rxon_assoc() 2241 addsta->mode = cmd->mode; in il3945_build_addsta_hcmd() 2244 addsta->station_flags = cmd->station_flags; in il3945_build_addsta_hcmd() 2245 addsta->station_flags_msk = cmd->station_flags_msk; in il3945_build_addsta_hcmd() [all …]
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | aacraid.h | 299 struct aac_hba_cmd_req cmd; member 302 } cmd; member 1710 #define aac_adapter_bounds(dev,cmd,lba) \ argument 1711 dev->a_ops.adapter_bounds(dev,cmd,lba) 1713 #define aac_adapter_read(fib,cmd,lba,count) \ argument 1714 ((fib)->dev)->a_ops.adapter_read(fib,cmd,lba,count) 1716 #define aac_adapter_write(fib,cmd,lba,count,fua) \ argument 1719 #define aac_adapter_scsi(fib,cmd) \ argument 1720 ((fib)->dev)->a_ops.adapter_scsi(fib,cmd) 2693 return scsi_cmd_priv(cmd); in aac_priv() [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 65 int cmd; in mt76_connac_mcu_init_download() local 70 cmd = MCU_CMD(PATCH_START_REQ); in mt76_connac_mcu_init_download() 302 .operation = cmd, in mt76_connac_mcu_alloc_wtbl_req() 1164 int err, idx, cmd, len; in mt76_connac_mcu_uni_add_dev() local 2575 .cmd = suspend ? 1 : 2, in mt76_connac_mcu_set_wow_ctrl() 2698 enum set_key_cmd cmd) in mt76_connac_mcu_sta_key_tlv() argument 2706 sec->add = cmd; in mt76_connac_mcu_sta_key_tlv() 2708 if (cmd == SET_KEY) { in mt76_connac_mcu_sta_key_tlv() 2939 .ctrl = cmd, in mt76_connac_mcu_rdd_cmd() 3182 int cmd, int *wait_seq) in mt76_connac2_mcu_fill_message() argument [all …]
|
/openbmc/u-boot/board/synopsys/hsdk/ |
H A D | hsdk.c | 280 int cmd = readl((void __iomem *)CREG_CPU_START); in smp_kick_cpu_x() local 285 cmd &= ~CREG_CPU_START_MASK; in smp_kick_cpu_x() 286 cmd |= (1 << cpu_id); in smp_kick_cpu_x() 287 writel(cmd, (void __iomem *)CREG_CPU_START); in smp_kick_cpu_x() 292 int cmd = readl((void __iomem *)CREG_CPU_START); in prepare_cpu_ctart_reg() local 294 cmd &= ~CREG_CPU_START_MASK; in prepare_cpu_ctart_reg() 296 return cmd | env_common.core_mask.val; in prepare_cpu_ctart_reg() 964 return c->cmd(cmdtp, flag, argc, argv); in do_hsdk_clock()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_api_cmd.c | 224 void *cmd, u16 cmd_size) in prepare_api_cmd() argument 254 memcpy(cell_ctxt->api_cmd_vaddr, cmd, cmd_size); in prepare_api_cmd() 268 void *cmd, u16 cmd_size) in prepare_cell() argument 274 prepare_api_cmd(chain, dest, cmd, cmd_size); in prepare_cell() 381 enum hinic_node_id dest, u8 *cmd, u16 cmd_size) in api_cmd() argument 392 prepare_cell(chain, dest, cmd, cmd_size); in api_cmd() 419 enum hinic_node_id dest, u8 *cmd, u16 size) in hinic_api_cmd_write() argument 423 return api_cmd(chain, dest, cmd, size); in hinic_api_cmd_write()
|
/openbmc/linux/drivers/s390/char/ |
H A D | tape_34xx.c | 224 if (irb->scsw.cmd.dstat == 0x85) { /* READY */ in tape_34xx_unsolicited_irq() 838 if ((irb->scsw.cmd.dstat & DEV_STAT_UNIT_EXCEP) && in tape_34xx_irq() 839 (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) && in tape_34xx_irq() 845 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) in tape_34xx_irq() 848 if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) { in tape_34xx_irq() 852 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_EXCEP) { in tape_34xx_irq() 870 tape_34xx_ioctl(struct tape_device *device, unsigned int cmd, unsigned long arg) in tape_34xx_ioctl() argument 872 if (cmd == TAPE390_DISPLAY) { in tape_34xx_ioctl()
|
H A D | tape_core.c | 875 irb->scsw.cmd.dstat, irb->scsw.cmd.cstat); in tape_dump_sense_dbf() 1090 if (irb->scsw.cmd.cc != 0 && in __tape_do_irq() 1091 (irb->scsw.cmd.fctl & SCSW_FCTL_START_FUNC) && in __tape_do_irq() 1094 device->cdev_id, irb->scsw.cmd.cc, irb->scsw.cmd.fctl); in __tape_do_irq() 1102 request->rescnt = irb->scsw.cmd.count; in __tape_do_irq() 1103 else if ((irb->scsw.cmd.dstat == 0x85 || irb->scsw.cmd.dstat == 0x80) && in __tape_do_irq() 1118 if (irb->scsw.cmd.dstat != 0x0c) { in __tape_do_irq()
|
/openbmc/linux/net/devlink/ |
H A D | dpipe.c | 213 enum devlink_command cmd, int flags, in devlink_dpipe_tables_fill() argument 235 &devlink_nl_family, NLM_F_MULTI, cmd); in devlink_dpipe_tables_fill() 479 dump_ctx->cmd); in devlink_dpipe_entry_ctx_prepare() 536 enum devlink_command cmd, int flags, in devlink_dpipe_entries_fill() argument 544 dump_ctx.cmd = cmd; in devlink_dpipe_entries_fill() 651 enum devlink_command cmd, int flags, in devlink_dpipe_headers_fill() argument 670 &devlink_nl_family, NLM_F_MULTI, cmd); in devlink_dpipe_headers_fill()
|
/openbmc/linux/drivers/firmware/tegra/ |
H A D | bpmp-debugfs.c | 111 .cmd = write ? CMD_DEBUG_OPEN_WO : CMD_DEBUG_OPEN_RO, in mrq_debug_open() 149 .cmd = CMD_DEBUG_CLOSE, in mrq_debug_close() 181 .cmd = CMD_DEBUG_READ, in mrq_debug_read() 246 .cmd = CMD_DEBUG_WRITE in mrq_debug_write() 309 .cmd = CMD_DEBUG_READ, in bpmp_debug_show() 490 .cmd = CMD_DEBUGFS_READ, in mrq_debugfs_read() 528 .cmd = CMD_DEBUGFS_WRITE, in mrq_debugfs_write() 551 .cmd = CMD_DEBUGFS_DUMPDIR, in mrq_debugfs_dumpdir()
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_clientmgr.c | 2157 unsigned int cmd, in snd_seq_ioctl_client_ump_info() argument 2169 if (cmd == SNDRV_SEQ_IOCTL_SET_CLIENT_UMP_INFO && in snd_seq_ioctl_client_ump_info() 2234 unsigned int cmd; member 2303 switch (cmd) { in snd_seq_ioctl() 2311 if (handler->cmd == cmd) in snd_seq_ioctl() 2314 if (handler->cmd == 0) in snd_seq_ioctl() 2323 size = _IOC_SIZE(handler->cmd); in snd_seq_ioctl() 2324 if (handler->cmd & IOC_IN) { in snd_seq_ioctl() 2336 (handler->cmd & IOC_OUT)) in snd_seq_ioctl() 2528 if (handler->cmd == cmd) in snd_seq_kernel_client_ctl() [all …]
|
/openbmc/u-boot/drivers/ata/ |
H A D | dwc_ahsata.c | 31 u32 cmd; member 166 tmp = readl(&port_mmio->cmd); in ahci_host_init() 181 writel_with_flush(tmp, &port_mmio->cmd); in ahci_host_init() 190 while ((readl(&port_mmio->cmd) & SATA_PORT_CMD_CR) in ahci_host_init() 201 tmp = readl(&port_mmio->cmd); in ahci_host_init() 202 writel((tmp | SATA_PORT_CMD_SUD), &port_mmio->cmd); in ahci_host_init() 206 while (!(readl(&port_mmio->cmd) | SATA_PORT_CMD_SUD) in ahci_host_init() 488 writel_with_flush((SATA_PORT_CMD_FRE | readl(&port_mmio->cmd)), in ahci_port_start() 489 &port_mmio->cmd); in ahci_port_start() 504 PORT_CMD_START, &port_mmio->cmd); in ahci_port_start()
|
/openbmc/linux/sound/isa/ad1816a/ |
H A D | ad1816a_lib.c | 167 int channel, int cmd, int iscapture) in snd_ad1816a_trigger() argument 171 switch (cmd) { in snd_ad1816a_trigger() 175 cmd = (cmd == SNDRV_PCM_TRIGGER_START) ? 0xff: 0x00; in snd_ad1816a_trigger() 182 AD1816A_PLAYBACK_ENABLE, cmd); in snd_ad1816a_trigger() 185 AD1816A_CAPTURE_ENABLE, cmd); in snd_ad1816a_trigger() 196 static int snd_ad1816a_playback_trigger(struct snd_pcm_substream *substream, int cmd) in snd_ad1816a_playback_trigger() argument 200 SNDRV_PCM_STREAM_PLAYBACK, cmd, 0); in snd_ad1816a_playback_trigger() 203 static int snd_ad1816a_capture_trigger(struct snd_pcm_substream *substream, int cmd) in snd_ad1816a_capture_trigger() argument 207 SNDRV_PCM_STREAM_CAPTURE, cmd, 1); in snd_ad1816a_capture_trigger()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ethtool.c | 83 struct ethtool_link_ksettings *cmd) in ixgbevf_get_link_ksettings() argument 87 ethtool_link_ksettings_zero_link_mode(cmd, supported); in ixgbevf_get_link_ksettings() 88 ethtool_link_ksettings_add_link_mode(cmd, supported, 10000baseT_Full); in ixgbevf_get_link_ksettings() 89 cmd->base.autoneg = AUTONEG_DISABLE; in ixgbevf_get_link_ksettings() 90 cmd->base.port = -1; in ixgbevf_get_link_ksettings() 107 cmd->base.speed = speed; in ixgbevf_get_link_ksettings() 108 cmd->base.duplex = DUPLEX_FULL; in ixgbevf_get_link_ksettings() 110 cmd->base.speed = SPEED_UNKNOWN; in ixgbevf_get_link_ksettings() 111 cmd->base.duplex = DUPLEX_UNKNOWN; in ixgbevf_get_link_ksettings() 875 switch (info->cmd) { in ixgbevf_get_rxnfc()
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | Makefile | 201 $(call cmd,copy_kern_src) 204 $(call cmd,copy_kern_src) 207 $(call cmd,copy_kern_src) 210 $(call cmd,copy_kern_src) 216 $(call cmd,copy_libfdt) 498 $(call cmd,mkdir) 501 $(call cmd,install) 504 $(call cmd,install_exe) 507 $(call cmd,install_dts) 510 $(call cmd,install_wrapper)
|