/openbmc/qemu/hw/intc/ |
H A D | i8259.c | 237 int priority, cmd, irq; in pic_ioport_write() local 259 cmd = val >> 5; in pic_ioport_write() 260 switch (cmd) { in pic_ioport_write() 263 s->rotate_on_auto_eoi = cmd >> 2; in pic_ioport_write() 271 if (cmd == 5) { in pic_ioport_write()
|
/openbmc/pldm/tools/visualize-pdr/ |
H A D | pldm_visualise_pdrs.py | 47 def exec_command(self, cmd): argument 87 def exec_command(self, cmd): argument 88 _, stdout, stderr = self.client.exec_command(cmd) 109 def exec_command(self, cmd): argument 110 args = shlex.split(cmd)
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.h | 80 uint32_t (*post_prepare)(struct vmw_du_update_plane *update, void *cmd); 92 uint32_t (*pre_clip)(struct vmw_du_update_plane *update, void *cmd, 108 uint32_t (*clip)(struct vmw_du_update_plane *update, void *cmd, 119 uint32_t (*post_clip)(struct vmw_du_update_plane *update, void *cmd, 190 void *cmd; member
|
/openbmc/linux/drivers/platform/olpc/ |
H A D | olpc-ec.c | 22 u8 cmd; member 97 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, in olpc_ec_worker() 126 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) in olpc_ec_cmd() argument 147 desc.cmd = cmd; in olpc_ec_cmd()
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_perf.c | 362 u32 cmd; in live_noa_gpr() local 371 cmd = MI_STORE_REGISTER_MEM; in live_noa_gpr() 373 cmd++; in live_noa_gpr() 374 cmd |= MI_USE_GGTT; in live_noa_gpr() 376 *cs++ = cmd; in live_noa_gpr()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-ali1563.c | 234 unsigned short flags, char rw, u8 cmd, in ali1563_access() argument 283 outb_p(cmd, SMB_HST_DAT0); in ali1563_access() 286 outb_p(cmd, SMB_HST_CMD); in ali1563_access() 291 outb_p(cmd, SMB_HST_CMD); in ali1563_access() 298 outb_p(cmd, SMB_HST_CMD); in ali1563_access()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_sysfs.c | 42 uint8_t cmd; in reboot_store() member 81 param->cmd = words[i].cmd; in reboot_store() 249 param->cmd = MOTIONSENSE_CMD_KB_WAKE_ANGLE; in kb_wake_angle_show() 286 param->cmd = MOTIONSENSE_CMD_KB_WAKE_ANGLE; in kb_wake_angle_store()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | gen6_engine_cs.c | 180 u32 cmd, *cs; in mi_flush_dw() local 186 cmd = MI_FLUSH_DW; in mi_flush_dw() 194 cmd |= MI_FLUSH_DW_STORE_INDEX | MI_FLUSH_DW_OP_STOREDW; in mi_flush_dw() 202 cmd |= flags; in mi_flush_dw() 204 *cs++ = cmd; in mi_flush_dw()
|
/openbmc/u-boot/drivers/dma/ |
H A D | apbh_dma.c | 48 return desc->address + offsetof(struct mxs_dma_desc, cmd); in mxs_dma_cmd_address() 133 if (!(pdesc->cmd.data & MXS_DMA_DESC_CHAIN)) in mxs_dma_enable() 417 pdesc->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append() 427 last->cmd.next = mxs_dma_cmd_address(pdesc); in mxs_dma_desc_append() 428 last->cmd.data |= MXS_DMA_DESC_CHAIN; in mxs_dma_desc_append()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-help.c | 119 static void exec_failed(const char *cmd) in exec_failed() argument 122 pr_warning("failed to exec '%s': %s", cmd, str_error_r(errno, sbuf, sizeof(sbuf))); in exec_failed() 180 static void exec_man_cmd(const char *cmd, const char *page) in exec_man_cmd() argument 184 if (asprintf(&shell_cmd, "%s %s", cmd, page) > 0) { in exec_man_cmd() 188 exec_failed(cmd); in exec_man_cmd()
|
/openbmc/linux/drivers/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 170 int cmd, unsigned int ctrl) in bcm47xxnflash_ops_bcm4706_cmd_ctrl() argument 175 if (cmd == NAND_CMD_NONE) in bcm47xxnflash_ops_bcm4706_cmd_ctrl() 178 if (cmd & NAND_CTRL_CLE) in bcm47xxnflash_ops_bcm4706_cmd_ctrl() 179 code = cmd | NCTL_CMD0; in bcm47xxnflash_ops_bcm4706_cmd_ctrl() 182 if (cmd != NAND_CMD_RESET) in bcm47xxnflash_ops_bcm4706_cmd_ctrl()
|
/openbmc/linux/drivers/parport/ |
H A D | daisy.c | 301 static int cpp_daisy(struct parport *port, int cmd) in cpp_daisy() argument 333 parport_write_data(port, cmd); udelay(2); in cpp_daisy() 347 static int cpp_mux(struct parport *port, int cmd) in cpp_mux() argument 359 parport_write_data(port, cmd); udelay(2); in cpp_mux() 364 port->name, cmd, s); in cpp_mux()
|
/openbmc/linux/net/atm/ |
H A D | pppoatm.c | 370 static int pppoatm_devppp_ioctl(struct ppp_channel *chan, unsigned int cmd, in pppoatm_devppp_ioctl() argument 373 switch (cmd) { in pppoatm_devppp_ioctl() 439 static int pppoatm_ioctl(struct socket *sock, unsigned int cmd, in pppoatm_ioctl() argument 445 if (cmd != ATM_SETBACKEND && atmvcc->push != pppoatm_push) in pppoatm_ioctl() 447 switch (cmd) { in pppoatm_ioctl()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-cdev.c | 80 static long call_ioctl_locked(struct file *file, unsigned int cmd, in call_ioctl_locked() argument 87 ret = func(file, cmd, arg); in call_ioctl_locked() 244 static long linehandle_ioctl_unlocked(struct file *file, unsigned int cmd, in linehandle_ioctl_unlocked() argument 257 switch (cmd) { in linehandle_ioctl_unlocked() 303 static long linehandle_ioctl(struct file *file, unsigned int cmd, in linehandle_ioctl() argument 308 return call_ioctl_locked(file, cmd, arg, lh->gdev, in linehandle_ioctl() 313 static long linehandle_ioctl_compat(struct file *file, unsigned int cmd, in linehandle_ioctl_compat() argument 316 return linehandle_ioctl(file, cmd, (unsigned long)compat_ptr(arg)); in linehandle_ioctl_compat() 1621 static long linereq_ioctl_unlocked(struct file *file, unsigned int cmd, in linereq_ioctl_unlocked() argument 1630 switch (cmd) { in linereq_ioctl_unlocked() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | build.py | 455 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/drivers/net/ethernet/microchip/ |
H A D | encx24j600.c | 163 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() 950 cmd->base.autoneg = priv->autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE; in encx24j600_get_link_ksettings() 957 const struct ethtool_link_ksettings *cmd) in encx24j600_set_link_ksettings() argument [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | hci_conn.c | 241 struct hci_op_configure_data_path *cmd = NULL; in configure_datapath_sync() local 255 cmd = kzalloc(sizeof(*cmd) + vnd_len, GFP_KERNEL); in configure_datapath_sync() 256 if (!cmd) { in configure_datapath_sync() 261 err = hdev->get_data_path_id(hdev, &cmd->data_path_id); in configure_datapath_sync() 265 cmd->vnd_len = vnd_len; in configure_datapath_sync() 266 memcpy(cmd->vnd_data, vnd_data, vnd_len); in configure_datapath_sync() 268 cmd->direction = 0x00; in configure_datapath_sync() 270 sizeof(*cmd) + vnd_len, cmd, HCI_CMD_TIMEOUT); in configure_datapath_sync() 272 cmd->direction = 0x01; in configure_datapath_sync() 274 sizeof(*cmd) + vnd_len, cmd, in configure_datapath_sync() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 674 u32 cmd = 0; in skb_tx_csum() local 695 cmd |= MAC_HDR_EXTRA_4_BYTES; in skb_tx_csum() 697 cmd |= MAC_HDR_EXTRA_8_BYTES; in skb_tx_csum() 699 cmd |= GEN_TCP_UDP_CHECKSUM | GEN_TCP_UDP_CHK_FULL | in skb_tx_csum() 708 cmd |= UDP_FRAME; in skb_tx_csum() 720 cmd |= 5 << TX_IHL_SHIFT; in skb_tx_csum() 722 *command = cmd; in skb_tx_csum() 1484 struct ethtool_link_ksettings *cmd) in mv643xx_eth_get_link_ksettings_phy() argument 1488 phy_ethtool_ksettings_get(dev->phydev, cmd); in mv643xx_eth_get_link_ksettings_phy() 1494 cmd->link_modes.supported); in mv643xx_eth_get_link_ksettings_phy() [all …]
|
/openbmc/linux/drivers/mailbox/ |
H A D | rockchip-mailbox.c | 26 u32 cmd; member 68 chans->idx, msg->cmd); in rockchip_mbox_send_data() 72 writel_relaxed(msg->cmd, mb->mbox_base + MAILBOX_A2B_CMD(chans->idx)); in rockchip_mbox_send_data() 146 idx, msg->cmd); in rockchip_mbox_isr()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | mv88e6352.c | 267 const char *cmd, *ethname; in do_mvsw_reg() local 272 cmd = argv[1]; in do_mvsw_reg() 276 if (strcmp(cmd, "read") == 0) { in do_mvsw_reg() 283 } else if (strcmp(cmd, "write") == 0) { in do_mvsw_reg()
|
/openbmc/openbmc/meta-arm/meta-arm-toolchain/conf/distro/include/ |
H A D | external-arm-toolchain-versions.inc | 1 def eat_run(d, cmd, *args): 11 path = os.path.join(toolchain_path, 'bin', target_prefix + cmd) 66 cmd = '/bin/sh ' + lddpath + ' --version' 68 stdout, stderr = bb.process.run(cmd, cwd=topdir, stderr=subprocess.PIPE)
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | ndfc.c | 56 static void ndfc_hwcontrol(struct nand_chip *chip, int cmd, unsigned int ctrl) in ndfc_hwcontrol() argument 60 if (cmd == NAND_CMD_NONE) in ndfc_hwcontrol() 64 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_CMD); in ndfc_hwcontrol() 66 writel(cmd & 0xFF, ndfc->ndfcbase + NDFC_ALE); in ndfc_hwcontrol()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-turris-omnia.c | 44 static int omnia_cmd_write_u8(const struct i2c_client *client, u8 cmd, u8 val) in omnia_cmd_write_u8() argument 46 u8 buf[2] = { cmd, val }; in omnia_cmd_write_u8() 51 static int omnia_cmd_read_u8(const struct i2c_client *client, u8 cmd) in omnia_cmd_read_u8() argument 60 msgs[0].buf = &cmd; in omnia_cmd_read_u8()
|
/openbmc/linux/drivers/fsi/ |
H A D | fsi-master-hub.c | 72 __be32 cmd; in hub_master_break() local 75 cmd = cpu_to_be32(0xc0de0000); in hub_master_break() 77 return hub_master_write(master, link, 0, addr, &cmd, sizeof(cmd)); in hub_master_break()
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | set_memory_region_test.c | 58 uint64_t cmd; in vcpu_worker() local 69 cmd = get_ucall(vcpu, &uc); in vcpu_worker() 70 if (cmd != UCALL_SYNC) in vcpu_worker() 90 if (run->exit_reason == KVM_EXIT_IO && cmd == UCALL_ABORT) in vcpu_worker()
|