Home
last modified time | relevance | path

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

12

/linux/drivers/platform/chrome/
A 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()
A Dcros_ec_debugfs.c66 .command = EC_CMD_CONSOLE_SNAPSHOT + ec->cmd_offset, in cros_ec_console_log_work()
328 msg->command = EC_CMD_GET_CMD_VERSIONS + ec->cmd_offset; in ec_read_version_supported()
371 debug_info->read_msg->command = EC_CMD_CONSOLE_READ + ec->cmd_offset; in cros_ec_create_console_log()
A Dcros_ec.c27 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX),
32 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX),
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()
A Dcros_ec_proto.c820 ret = cros_ec_command(ec->ec_dev, 0, EC_CMD_GET_FEATURES + ec->cmd_offset, in cros_ec_check_features()
861 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_get_sensor_count()
881 if (sensor_count < 0 && ec->cmd_offset == 0 && ec_dev->cmd_readmem) { in cros_ec_get_sensor_count()
A Dcros_ec_sensorhub.c138 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensorhub_probe()
A Dcros_usbpd_logger.c70 msg->command = ec_dev->cmd_offset + EC_CMD_PD_GET_LOG_ENTRY; in ec_get_log_entry()
A Dcros_ec_lightbar.c98 msg->command = EC_CMD_LIGHTBAR_CMD + ec->cmd_offset; in alloc_lightbar_cmd_msg()
/linux/drivers/gpu/drm/sti/
A Dsti_hqvdp.c567 int cmd, cmd_offset, infoxp70; in hqvdp_dbg_show() local
612 cmd_offset = sti_hqvdp_get_curr_cmd(hqvdp); in hqvdp_dbg_show()
613 if (cmd_offset == -1) { in hqvdp_dbg_show()
616 virt = hqvdp->hqvdp_cmd + cmd_offset; in hqvdp_dbg_show()
624 cmd_offset = sti_hqvdp_get_next_cmd(hqvdp); in hqvdp_dbg_show()
625 if (cmd_offset == -1) { in hqvdp_dbg_show()
628 virt = hqvdp->hqvdp_cmd + cmd_offset; in hqvdp_dbg_show()
1128 int cmd_offset; in sti_hqvdp_atomic_update() local
1159 cmd_offset = sti_hqvdp_get_free_cmd(hqvdp); in sti_hqvdp_atomic_update()
1160 if (cmd_offset == -1) { in sti_hqvdp_atomic_update()
[all …]
/linux/include/linux/platform_data/
A Dcros_ec_proto.h188 u16 cmd_offset; member
207 u16 cmd_offset; member
/linux/drivers/mtd/nand/raw/ingenic/
A Dingenic_nand_drv.c33 unsigned long cmd_offset; member
265 cs->base + nfc->soc_info->cmd_offset); in ingenic_nand_exec_instr()
535 .cmd_offset = 0x00008000,
541 .cmd_offset = 0x00008000,
548 .cmd_offset = 0x00400000,
/linux/drivers/mfd/
A Dcros_ec_dev.c148 ec->cmd_offset = ec_platform->cmd_offset; in ec_device_probe()
/linux/drivers/iio/common/cros_ec_sensors/
A Dcros_ec_sensors_core.c39 u16 cmd_offset, u16 cmd, u32 *mask) in cros_ec_get_host_cmd_version_mask() argument
50 .command = EC_CMD_GET_CMD_VERSIONS + cmd_offset, in cros_ec_get_host_cmd_version_mask()
276 ec->cmd_offset, in cros_ec_sensors_core_init()
284 state->msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensors_core_init()
/linux/drivers/ata/
A Dpata_pdc2027x.c699 static const unsigned long cmd_offset[] = { 0x17c0, 0x15c0 }; in pdc2027x_init_one() local
734 pdc_ata_setup_port(&ap->ioaddr, mmio_base + cmd_offset[i]); in pdc2027x_init_one()
738 ata_port_pbar_desc(ap, PDC_MMIO_BAR, cmd_offset[i], "cmd"); in pdc2027x_init_one()
/linux/drivers/media/platform/vsp1/
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()
/linux/drivers/net/ethernet/brocade/bna/
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
/linux/drivers/net/ethernet/amd/
A Dni65.c180 short cmd_offset; member
191 .cmd_offset = 0x0,
202 .cmd_offset = 0x10,
213 .cmd_offset = 0x10,
454 p->cmdr_addr = ioaddr + cards[i].cmd_offset; in ni65_probe1()
/linux/drivers/platform/x86/
A Dibm_rtl.c51 u8 cmd_offset; member
/linux/drivers/acpi/nfit/
A Dnfit.h309 u64 cmd_offset; member
A Dcore.c2475 offset = nfit_blk->cmd_offset + mmio->size * bw; in write_blk_ctl()
2648 nfit_blk->cmd_offset = nfit_mem->dcr->command_offset; in acpi_nfit_blk_region_enable()
2683 if ((u32) nfit_blk->cmd_offset % mmio->line_size in acpi_nfit_blk_region_enable()
/linux/drivers/power/supply/
A Dcros_peripheral_charger.c70 msg->command = ec_dev->cmd_offset + command; in cros_pchg_ec_command()
A Dcros_usbpd-charger.c112 msg->command = ec_dev->cmd_offset + command; in cros_usbpd_charger_ec_command()
/linux/drivers/net/ethernet/broadcom/bnx2x/
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()
A Dbnx2x_init.h86 u32 cmd_offset:24; member
/linux/arch/arm64/kvm/vgic/
A Dvgic-its.c1598 u32 cmd_offset; in vgic_mmio_uaccess_write_its_creadr() local
1608 cmd_offset = ITS_CMD_OFFSET(val); in vgic_mmio_uaccess_write_its_creadr()
1609 if (cmd_offset >= ITS_CMD_BUFFER_SIZE(its->cbaser)) { in vgic_mmio_uaccess_write_its_creadr()
1614 its->creadr = cmd_offset; in vgic_mmio_uaccess_write_its_creadr()

Completed in 84 milliseconds

12