Home
last modified time | relevance | path

Searched refs:cmd_readmem (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/include/linux/platform_data/
Dcros_ec_proto.h142 int (*cmd_readmem)(struct cros_ec_device *ec, unsigned int offset, member
/Linux-v5.10/drivers/platform/chrome/
Dcros_ec_chardev.c324 if (!ec_dev->cmd_readmem) in cros_ec_chardev_ioctl_readmem()
330 num = ec_dev->cmd_readmem(ec_dev, s_mem.offset, s_mem.bytes, in cros_ec_chardev_ioctl_readmem()
Dcros_ec_proto.c877 if (sensor_count < 0 && ec->cmd_offset == 0 && ec_dev->cmd_readmem) { in cros_ec_get_sensor_count()
878 ret = ec_dev->cmd_readmem(ec_dev, EC_MEMMAP_ACC_STATUS, in cros_ec_get_sensor_count()
Dcros_ec_lpc.c391 ec_dev->cmd_readmem = cros_ec_lpc_readmem; in cros_ec_lpc_probe()
/Linux-v5.10/drivers/iio/accel/
Dcros_ec_accel_legacy.c225 if (state->ec->cmd_readmem != NULL) in cros_ec_accel_legacy_probe()
/Linux-v5.10/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors_core.c509 return ec->cmd_readmem(ec, offset, 1, dest); in cros_ec_sensors_cmd_read_u8()
516 int ret = ec->cmd_readmem(ec, offset, 2, &tmp); in cros_ec_sensors_cmd_read_u16()
Dcros_ec_sensors.c295 if ((state->core.ec->cmd_readmem != NULL) && in cros_ec_sensors_probe()