Lines Matching refs:device

1177  * cpu_device_down - Bring down a cpu device
1178 * @dev: Pointer to the cpu device to offline
1180 * This function is meant to be used by device core cpu subsystem only.
1184 int cpu_device_down(struct device *dev)
1396 * cpu_device_up - Bring up a cpu device
1397 * @dev: Pointer to the cpu device to online
1399 * This function is meant to be used by device core cpu subsystem only.
1403 int cpu_device_up(struct device *dev)
2215 struct device *dev = get_cpu_device(cpu);
2224 struct device *dev = get_cpu_device(cpu);
2252 * So nothing would update device:offline state. That would
2292 static ssize_t show_cpuhp_state(struct device *dev, struct device_attribute *attr, char *buf)
2300 static ssize_t write_cpuhp_target(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
2344 static ssize_t show_cpuhp_target(struct device *dev, struct device_attribute *attr, char *buf)
2352 static ssize_t write_cpuhp_fail(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
2392 static ssize_t show_cpuhp_fail(struct device *dev, struct device_attribute *attr, char *buf)
2405 static ssize_t show_cpuhp_states(struct device *dev, struct device_attribute *attr, char *buf)
2432 static ssize_t _store_smt_control(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
2476 static ssize_t _store_smt_control(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
2490 static ssize_t show_smt_control(struct device *dev, struct device_attribute *attr, char *buf)
2497 static ssize_t store_smt_control(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
2503 static ssize_t show_smt_active(struct device *dev, struct device_attribute *attr, char *buf)
2534 struct device *dev = get_cpu_device(cpu);