Home
last modified time | relevance | path

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

/Linux-v5.4/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()
167 msg->command = EC_CMD_GET_CHIP_INFO + ec->cmd_offset; in version_show()
191 msg->command = EC_CMD_GET_BOARD_VERSION + ec->cmd_offset; in version_show()
227 msg->command = EC_CMD_FLASH_INFO + ec->cmd_offset; in flashinfo_show()
261 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in kb_wake_angle_show()
298 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in kb_wake_angle_store()
Dcros_ec.c26 .cmd_offset = EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_EC_INDEX),
31 .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()
310 msg->command = EC_CMD_GET_CMD_VERSIONS + ec->cmd_offset; in ec_read_version_supported()
353 debug_info->read_msg->command = EC_CMD_CONSOLE_READ + ec->cmd_offset; in cros_ec_create_console_log()
Dcros_ec_chardev.c68 msg->command = EC_CMD_GET_VERSION + ec->cmd_offset; in ec_get_version()
304 s_cmd->command += ec->cmd_offset; in cros_ec_chardev_ioctl_xcmd()
Dcros_usbpd_logger.c70 msg->command = ec_dev->cmd_offset + EC_CMD_PD_GET_LOG_ENTRY; in ec_get_log_entry()
Dcros_ec_lightbar.c99 msg->command = EC_CMD_LIGHTBAR_CMD + ec->cmd_offset; in alloc_lightbar_cmd_msg()
/Linux-v5.4/drivers/mfd/
Dcros_ec_dev.c126 msg->command = EC_CMD_GET_FEATURES + ec->cmd_offset; in cros_ec_check_features()
172 msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensors_register()
302 if (ec->cmd_offset != 0) in cros_ec_accel_legacy_register()
353 ec->cmd_offset = ec_platform->cmd_offset; in ec_device_probe()
/Linux-v5.4/drivers/gpu/drm/sti/
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()
1123 int cmd_offset; in sti_hqvdp_atomic_update() local
1154 cmd_offset = sti_hqvdp_get_free_cmd(hqvdp); in sti_hqvdp_atomic_update()
1155 if (cmd_offset == -1) { in sti_hqvdp_atomic_update()
[all …]
/Linux-v5.4/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c36 unsigned long cmd_offset; member
180 writeb(cmd, cs->base + nfc->soc_info->cmd_offset); in ingenic_nand_cmd_ctrl()
489 .cmd_offset = 0x00008000,
496 .cmd_offset = 0x00008000,
503 .cmd_offset = 0x00400000,
/Linux-v5.4/include/linux/mfd/
Dcros_ec.h29 u16 cmd_offset; member
/Linux-v5.4/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c30 u16 cmd_offset, u16 cmd, u32 *mask) in cros_ec_get_host_cmd_version_mask() argument
41 .command = EC_CMD_GET_CMD_VERSIONS + cmd_offset, in cros_ec_get_host_cmd_version_mask()
110 ec->cmd_offset, in cros_ec_sensors_core_init()
118 state->msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset; in cros_ec_sensors_core_init()
/Linux-v5.4/include/linux/platform_data/
Dcros_ec_proto.h187 u16 cmd_offset; member
/Linux-v5.4/drivers/ata/
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-v5.4/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-v5.4/drivers/media/platform/vsp1/
Dvsp1_dl.c458 size_t cmd_offset = i * cmd_size; in vsp1_dl_cmd_pool_create() local
461 cmd_offset; in vsp1_dl_cmd_pool_create()
471 cmd->cmds = pool->mem + cmd_offset; in vsp1_dl_cmd_pool_create()
472 cmd->cmd_dma = pool->dma + cmd_offset; in vsp1_dl_cmd_pool_create()
/Linux-v5.4/drivers/net/ethernet/amd/
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-v5.4/drivers/acpi/nfit/
Dnfit.h278 u64 cmd_offset; member
Dcore.c2424 offset = nfit_blk->cmd_offset + mmio->size * bw; in write_blk_ctl()
2597 nfit_blk->cmd_offset = nfit_mem->dcr->command_offset; in acpi_nfit_blk_region_enable()
2632 if ((u32) nfit_blk->cmd_offset % mmio->line_size in acpi_nfit_blk_region_enable()
/Linux-v5.4/drivers/platform/x86/
Dibm_rtl.c51 u8 cmd_offset; member
/Linux-v5.4/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
Dbnx2x_main.c458 u32 cmd_offset; in bnx2x_post_dmae() local
461 cmd_offset = (DMAE_REG_CMD_MEM + sizeof(struct dmae_command) * idx); in bnx2x_post_dmae()
463 REG_WR(bp, cmd_offset + i*4, *(((u32 *)dmae) + i)); in bnx2x_post_dmae()
/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic-its.c1590 u32 cmd_offset; in vgic_mmio_uaccess_write_its_creadr() local
1600 cmd_offset = ITS_CMD_OFFSET(val); in vgic_mmio_uaccess_write_its_creadr()
1601 if (cmd_offset >= ITS_CMD_BUFFER_SIZE(its->cbaser)) { in vgic_mmio_uaccess_write_its_creadr()
1606 its->creadr = cmd_offset; in vgic_mmio_uaccess_write_its_creadr()
/Linux-v5.4/drivers/power/supply/
Dcros_usbpd-charger.c112 msg->command = ec_dev->cmd_offset + command; in cros_usbpd_charger_ec_command()
/Linux-v5.4/drivers/input/touchscreen/
Datmel_mxt_ts.c1156 static int mxt_t6_command(struct mxt_data *data, u16 cmd_offset, in mxt_t6_command() argument
1164 reg = data->T6_address + cmd_offset; in mxt_t6_command()