/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_sysfs.c | 99 msg->command = EC_CMD_REBOOT_EC + ec->cmd_offset; in reboot_store() 128 msg->command = EC_CMD_GET_VERSION + ec->cmd_offset; in version_show() 147 msg->command = EC_CMD_GET_BUILD_INFO + ec->cmd_offset; in version_show() 160 msg->command = EC_CMD_GET_CHIP_INFO + ec->cmd_offset; in version_show() 179 msg->command = EC_CMD_GET_BOARD_VERSION + ec->cmd_offset; in version_show() 213 msg->command = EC_CMD_FLASH_INFO + ec->cmd_offset; in flashinfo_show() 247 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in kb_wake_angle_show() 284 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in kb_wake_angle_store()
|
H A D | cros_ec_debugfs.c | 70 .command = EC_CMD_CONSOLE_SNAPSHOT + ec->cmd_offset, in cros_ec_console_log_work() 333 msg->command = EC_CMD_GET_CMD_VERSIONS + ec->cmd_offset; in ec_read_version_supported() 376 debug_info->read_msg->command = EC_CMD_CONSOLE_READ + ec->cmd_offset; in cros_ec_create_console_log()
|
H A D | cros_ec.c | 25 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX), 30 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX),
|
H A D | cros_ec_chardev.c | 67 msg->command = EC_CMD_GET_VERSION + ec->cmd_offset; in ec_get_version() 303 s_cmd->command += ec->cmd_offset; in cros_ec_chardev_ioctl_xcmd()
|
H A D | cros_ec_proto.c | 912 ret = cros_ec_cmd(ec->ec_dev, 0, EC_CMD_GET_FEATURES + ec->cmd_offset, in cros_ec_check_features() 953 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_get_sensor_count() 973 if (sensor_count < 0 && ec->cmd_offset == 0 && ec_dev->cmd_readmem) { in cros_ec_get_sensor_count()
|
H A D | cros_ec_sensorhub.c | 138 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensorhub_probe()
|
H A D | cros_usbpd_logger.c | 70 msg->command = ec_dev->cmd_offset + EC_CMD_PD_GET_LOG_ENTRY; in ec_get_log_entry()
|
H A D | cros_ec_lightbar.c | 99 msg->command = EC_CMD_LIGHTBAR_CMD + ec->cmd_offset; in alloc_lightbar_cmd_msg()
|
H A D | cros_ec_proto_test.c | 2405 ec.cmd_offset = 0; in cros_ec_proto_test_check_features_not_cached() 2458 ec.cmd_offset = 0; in cros_ec_proto_test_get_sensor_count_normal() 2503 ec.cmd_offset = 0; in cros_ec_proto_test_get_sensor_count_xfer_error() 2551 ec.cmd_offset = 0; in cros_ec_proto_test_get_sensor_count_legacy()
|
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_hqvdp.c | 569 int cmd, cmd_offset, infoxp70; in hqvdp_dbg_show() local 614 cmd_offset = sti_hqvdp_get_curr_cmd(hqvdp); in hqvdp_dbg_show() 615 if (cmd_offset == -1) { in hqvdp_dbg_show() 618 virt = hqvdp->hqvdp_cmd + cmd_offset; in hqvdp_dbg_show() 626 cmd_offset = sti_hqvdp_get_next_cmd(hqvdp); in hqvdp_dbg_show() 627 if (cmd_offset == -1) { in hqvdp_dbg_show() 630 virt = hqvdp->hqvdp_cmd + cmd_offset; in hqvdp_dbg_show() 1133 int cmd_offset; in sti_hqvdp_atomic_update() local 1164 cmd_offset = sti_hqvdp_get_free_cmd(hqvdp); in sti_hqvdp_atomic_update() 1165 if (cmd_offset == -1) { in sti_hqvdp_atomic_update() [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | cros_ec_proto.h | 212 u16 cmd_offset; member 231 u16 cmd_offset; member
|
/openbmc/linux/drivers/mtd/nand/raw/ingenic/ |
H A D | ingenic_nand_drv.c | 32 unsigned long cmd_offset; member 268 cs->base + nfc->soc_info->cmd_offset); in ingenic_nand_exec_instr() 536 .cmd_offset = 0x00008000, 543 .cmd_offset = 0x00008000, 550 .cmd_offset = 0x00400000,
|
/openbmc/linux/drivers/mfd/ |
H A D | cros_ec_dev.c | 151 ec->cmd_offset = ec_platform->cmd_offset; in ec_device_probe()
|
/openbmc/linux/drivers/iio/common/cros_ec_sensors/ |
H A D | cros_ec_sensors_core.c | 33 u16 cmd_offset, u16 cmd, u32 *mask) in cros_ec_get_host_cmd_version_mask() argument 44 .command = EC_CMD_GET_CMD_VERSIONS + cmd_offset, in cros_ec_get_host_cmd_version_mask() 271 ec->cmd_offset, in cros_ec_sensors_core_init() 279 state->msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensors_core_init()
|
/openbmc/linux/drivers/ata/ |
H A D | pata_pdc2027x.c | 684 static const unsigned long cmd_offset[] = { 0x17c0, 0x15c0 }; in pdc2027x_init_one() local 719 pdc_ata_setup_port(&ap->ioaddr, mmio_base + cmd_offset[i]); in pdc2027x_init_one() 723 ata_port_pbar_desc(ap, PDC_MMIO_BAR, cmd_offset[i], "cmd"); in pdc2027x_init_one()
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_dl.c | 460 size_t cmd_offset = i * cmd_size; in vsp1_dl_cmd_pool_create() local 463 cmd_offset; in vsp1_dl_cmd_pool_create() 473 cmd->cmds = pool->mem + cmd_offset; in vsp1_dl_cmd_pool_create() 474 cmd->cmd_dma = pool->dma + cmd_offset; in vsp1_dl_cmd_pool_create()
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfi_enet.h | 370 u16 cmd_offset; /*!< offset to invalid parameter */ member 389 u16 cmd_offset; /*!< offset to invalid parameter */ member 595 u16 cmd_offset; member
|
/openbmc/linux/drivers/soundwire/ |
H A D | amd_manager.c | 165 int cmd_offset) in amd_sdw_ctl_word_prep() argument 173 addr = msg->addr + cmd_offset; in amd_sdw_ctl_word_prep() 178 data = msg->buf[cmd_offset]; in amd_sdw_ctl_word_prep() 324 int cmd_offset) in _amd_sdw_xfer_msg() argument 329 amd_sdw_ctl_word_prep(&lower_data, &upper_data, msg, cmd_offset); in _amd_sdw_xfer_msg() 331 return amd_sdw_fill_msg_resp(amd_manager, msg, response, cmd_offset); in _amd_sdw_xfer_msg()
|
/openbmc/linux/drivers/acpi/nfit/ |
H A D | nfit.h | 303 u64 cmd_offset; member
|
/openbmc/linux/drivers/platform/x86/ |
H A D | ibm_rtl.c | 51 u8 cmd_offset; member
|
/openbmc/linux/drivers/power/supply/ |
H A D | cros_peripheral_charger.c | 71 msg->command = ec_dev->cmd_offset + command; in cros_pchg_ec_command()
|
H A D | cros_usbpd-charger.c | 113 msg->command = ec_dev->cmd_offset + command; in cros_usbpd_charger_ec_command()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_init_ops.h | 293 op_idx += op->if_mode.cmd_offset; in bnx2x_init_block() 301 op_idx += op->if_mode.cmd_offset; in bnx2x_init_block()
|
H A D | bnx2x_init.h | 86 u32 cmd_offset:24; member
|
/openbmc/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-its.c | 1667 u32 cmd_offset; in vgic_mmio_uaccess_write_its_creadr() local 1677 cmd_offset = ITS_CMD_OFFSET(val); in vgic_mmio_uaccess_write_its_creadr() 1678 if (cmd_offset >= ITS_CMD_BUFFER_SIZE(its->cbaser)) { in vgic_mmio_uaccess_write_its_creadr() 1683 its->creadr = cmd_offset; in vgic_mmio_uaccess_write_its_creadr()
|