Searched refs:cmd_readmem (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/include/linux/platform_data/ |
D | cros_ec_proto.h | 135 int (*cmd_readmem)(struct cros_ec_device *ec, unsigned int offset, member
|
/Linux-v5.4/drivers/platform/chrome/ |
D | cros_ec_chardev.c | 325 if (!ec_dev->cmd_readmem) in cros_ec_chardev_ioctl_readmem() 331 num = ec_dev->cmd_readmem(ec_dev, s_mem.offset, s_mem.bytes, in cros_ec_chardev_ioctl_readmem()
|
D | cros_ec_lpc.c | 381 ec_dev->cmd_readmem = cros_ec_lpc_readmem; in cros_ec_lpc_probe()
|
/Linux-v5.4/drivers/mfd/ |
D | cros_ec_dev.c | 309 if (ec_dev->cmd_readmem) { in cros_ec_accel_legacy_register() 310 ret = ec_dev->cmd_readmem(ec_dev, EC_MEMMAP_ACC_STATUS, 1, in cros_ec_accel_legacy_register()
|
/Linux-v5.4/drivers/iio/accel/ |
D | cros_ec_accel_legacy.c | 187 if (state->ec->cmd_readmem != NULL) in cros_ec_accel_legacy_probe()
|
/Linux-v5.4/drivers/iio/common/cros_ec_sensors/ |
D | cros_ec_sensors_core.c | 278 return ec->cmd_readmem(ec, offset, 1, dest); in cros_ec_sensors_cmd_read_u8() 285 int ret = ec->cmd_readmem(ec, offset, 2, &tmp); in cros_ec_sensors_cmd_read_u16()
|
D | cros_ec_sensors.c | 296 if ((state->core.ec->cmd_readmem != NULL) && in cros_ec_sensors_probe()
|