Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_sysfs.c100 msg->command = EC_CMD_REBOOT_EC + ec->cmd_offset; in reboot_store()
129 msg->command = EC_CMD_GET_VERSION + ec->cmd_offset; in version_show()
151 msg->command = EC_CMD_GET_BUILD_INFO + ec->cmd_offset; in version_show()
165 msg->command = EC_CMD_GET_CHIP_INFO + ec->cmd_offset; in version_show()
187 msg->command = EC_CMD_GET_BOARD_VERSION + ec->cmd_offset; in version_show()
221 msg->command = EC_CMD_FLASH_INFO + ec->cmd_offset; in flashinfo_show()
255 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in kb_wake_angle_show()
292 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in kb_wake_angle_store()
Dcros_ec.c24 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX),
29 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX),
Dcros_ec_debugfs.c67 .command = EC_CMD_CONSOLE_SNAPSHOT + ec->cmd_offset, in cros_ec_console_log_work()
329 msg->command = EC_CMD_GET_CMD_VERSIONS + ec->cmd_offset; in ec_read_version_supported()
372 debug_info->read_msg->command = EC_CMD_CONSOLE_READ + ec->cmd_offset; in cros_ec_create_console_log()
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()
Dcros_ec_proto.c910 ret = cros_ec_cmd(ec->ec_dev, 0, EC_CMD_GET_FEATURES + ec->cmd_offset, in cros_ec_check_features()
951 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_get_sensor_count()
971 if (sensor_count < 0 && ec->cmd_offset == 0 && ec_dev->cmd_readmem) { in cros_ec_get_sensor_count()
Dcros_ec_sensorhub.c138 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensorhub_probe()
Dcros_usbpd_logger.c70 msg->command = ec_dev->cmd_offset + EC_CMD_PD_GET_LOG_ENTRY; in ec_get_log_entry()
Dcros_ec_lightbar.c98 msg->command = EC_CMD_LIGHTBAR_CMD + ec->cmd_offset; in alloc_lightbar_cmd_msg()
Dcros_ec_proto_test.c2404 ec.cmd_offset = 0; in cros_ec_proto_test_check_features_not_cached()
2457 ec.cmd_offset = 0; in cros_ec_proto_test_get_sensor_count_normal()
2502 ec.cmd_offset = 0; in cros_ec_proto_test_get_sensor_count_xfer_error()
2550 ec.cmd_offset = 0; in cros_ec_proto_test_get_sensor_count_legacy()
/linux-6.1.9/drivers/gpu/drm/sti/
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()
1130 int cmd_offset; in sti_hqvdp_atomic_update() local
1161 cmd_offset = sti_hqvdp_get_free_cmd(hqvdp); in sti_hqvdp_atomic_update()
1162 if (cmd_offset == -1) { in sti_hqvdp_atomic_update()
[all …]
/linux-6.1.9/include/linux/platform_data/
Dcros_ec_proto.h190 u16 cmd_offset; member
209 u16 cmd_offset; member
/linux-6.1.9/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c33 unsigned long cmd_offset; member
269 cs->base + nfc->soc_info->cmd_offset); in ingenic_nand_exec_instr()
539 .cmd_offset = 0x00008000,
546 .cmd_offset = 0x00008000,
553 .cmd_offset = 0x00400000,
/linux-6.1.9/drivers/mfd/
Dcros_ec_dev.c157 ec->cmd_offset = ec_platform->cmd_offset; in ec_device_probe()
/linux-6.1.9/drivers/iio/common/cros_ec_sensors/
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()
267 ec->cmd_offset, in cros_ec_sensors_core_init()
275 state->msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensors_core_init()
/linux-6.1.9/drivers/ata/
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()
/linux-6.1.9/drivers/net/ethernet/brocade/bna/
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
/linux-6.1.9/drivers/media/platform/renesas/vsp1/
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()
/linux-6.1.9/drivers/acpi/nfit/
Dnfit.h303 u64 cmd_offset; member
/linux-6.1.9/drivers/platform/x86/
Dibm_rtl.c51 u8 cmd_offset; member
/linux-6.1.9/drivers/power/supply/
Dcros_peripheral_charger.c71 msg->command = ec_dev->cmd_offset + command; in cros_pchg_ec_command()
Dcros_usbpd-charger.c112 msg->command = ec_dev->cmd_offset + command; in cros_usbpd_charger_ec_command()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
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()
Dbnx2x_init.h86 u32 cmd_offset:24; member
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-its.c1651 u32 cmd_offset; in vgic_mmio_uaccess_write_its_creadr() local
1661 cmd_offset = ITS_CMD_OFFSET(val); in vgic_mmio_uaccess_write_its_creadr()
1662 if (cmd_offset >= ITS_CMD_BUFFER_SIZE(its->cbaser)) { in vgic_mmio_uaccess_write_its_creadr()
1667 its->creadr = cmd_offset; in vgic_mmio_uaccess_write_its_creadr()
/linux-6.1.9/drivers/input/touchscreen/
Datmel_mxt_ts.c1202 static int mxt_t6_command(struct mxt_data *data, u16 cmd_offset, in mxt_t6_command() argument
1210 reg = data->T6_address + cmd_offset; in mxt_t6_command()

12