Home
last modified time | relevance | path

Searched refs:cmd_offset (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_sysfs.c99 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 Dcros_ec_debugfs.c70 .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 Dcros_ec.c25 .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 Dcros_ec_chardev.c67 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 Dcros_ec_proto.c912 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 Dcros_ec_sensorhub.c138 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensorhub_probe()
H A Dcros_usbpd_logger.c70 msg->command = ec_dev->cmd_offset + EC_CMD_PD_GET_LOG_ENTRY; in ec_get_log_entry()
H A Dcros_ec_lightbar.c99 msg->command = EC_CMD_LIGHTBAR_CMD + ec->cmd_offset; in alloc_lightbar_cmd_msg()
H A Dcros_ec_proto_test.c2405 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 Dsti_hqvdp.c569 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 Dcros_ec_proto.h212 u16 cmd_offset; member
231 u16 cmd_offset; member
/openbmc/linux/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c32 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 Dcros_ec_dev.c151 ec->cmd_offset = ec_platform->cmd_offset; in ec_device_probe()
/openbmc/linux/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors_core.c33 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 Dpata_pdc2027x.c684 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 Dvsp1_dl.c460 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 Dbfi_enet.h370 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 Damd_manager.c165 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 Dnfit.h303 u64 cmd_offset; member
/openbmc/linux/drivers/platform/x86/
H A Dibm_rtl.c51 u8 cmd_offset; member
/openbmc/linux/drivers/power/supply/
H A Dcros_peripheral_charger.c71 msg->command = ec_dev->cmd_offset + command; in cros_pchg_ec_command()
H A Dcros_usbpd-charger.c113 msg->command = ec_dev->cmd_offset + command; in cros_usbpd_charger_ec_command()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_init_ops.h293 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 Dbnx2x_init.h86 u32 cmd_offset:24; member
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c1667 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()

12