Searched refs:cmd_readmem (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/include/linux/platform_data/ |
H A D | cros_ec_proto.h | 162 int (*cmd_readmem)(struct cros_ec_device *ec, unsigned int offset, member
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_chardev.c | 324 if (!ec_dev->cmd_readmem) in cros_ec_chardev_ioctl_readmem() 333 num = ec_dev->cmd_readmem(ec_dev, s_mem.offset, s_mem.bytes, in cros_ec_chardev_ioctl_readmem()
|
H A D | cros_ec_proto.c | 973 if (sensor_count < 0 && ec->cmd_offset == 0 && ec_dev->cmd_readmem) { in cros_ec_get_sensor_count() 974 ret = ec_dev->cmd_readmem(ec_dev, EC_MEMMAP_ACC_STATUS, in cros_ec_get_sensor_count()
|
H A D | cros_ec_lpc.c | 422 ec_dev->cmd_readmem = cros_ec_lpc_readmem; in cros_ec_lpc_probe()
|
H A D | cros_ec_proto_test.c | 2548 ec_dev->cmd_readmem = cros_kunit_readmem_mock; in cros_ec_proto_test_get_sensor_count_legacy()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | cros_ec_accel_legacy.c | 225 if (state->ec->cmd_readmem != NULL) in cros_ec_accel_legacy_probe()
|
/openbmc/linux/drivers/iio/common/cros_ec_sensors/ |
H A D | cros_ec_sensors_core.c | 518 return ec->cmd_readmem(ec, offset, 1, dest); in cros_ec_sensors_cmd_read_u8() 525 int ret = ec->cmd_readmem(ec, offset, 2, &tmp); in cros_ec_sensors_cmd_read_u16()
|
H A D | cros_ec_sensors.c | 294 if ((state->core.ec->cmd_readmem != NULL) && in cros_ec_sensors_probe()
|