Searched refs:ec_platform (Results 1 – 3 of 3) sorted by relevance
343 struct cros_ec_platform *ec_platform = dev_get_platdata(dev); in ec_device_probe() local353 ec->cmd_offset = ec_platform->cmd_offset; in ec_device_probe()370 ec_platform->ec_name = cros_mcu_devices[i].name; in ec_device_probe()382 retval = dev_set_name(&ec->class_dev, "%s", ec_platform->ec_name); in ec_device_probe()
378 struct cros_ec_platform *ec_platform = dev_get_platdata(ec_dev->dev); in cros_ec_chardev_probe() local389 data->misc.name = ec_platform->ec_name; in cros_ec_chardev_probe()
425 struct cros_ec_platform *ec_platform = dev_get_platdata(ec->dev); in cros_ec_debugfs_probe() local426 const char *name = ec_platform->ec_name; in cros_ec_debugfs_probe()