Searched refs:cdev_id (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/thermal/ |
| H A D | thermal_of.c | 280 cooling_spec.args[0] != cdev->cdev_id) in thermal_of_get_cooling_spec() 550 thermal_of_cooling_device_register(struct device_node *np, u32 cdev_id, in thermal_of_cooling_device_register() argument 562 cdev->cdev_id = cdev_id; in thermal_of_cooling_device_register() 581 u32 cdev_id, const char *type, void *devdata, in __devm_thermal_of_cooling_device_register() argument 587 cdev = thermal_of_cooling_device_register(np, cdev_id, type, devdata, ops); in __devm_thermal_of_cooling_device_register() 615 devm_thermal_of_cooling_device_register(struct device *dev, u32 cdev_id, in devm_thermal_of_cooling_device_register() argument 619 return __devm_thermal_of_cooling_device_register(dev, dev->of_node, cdev_id, in devm_thermal_of_cooling_device_register()
|
| H A D | thermal_netlink.c | 65 int cdev_id; member 173 p->cdev_id) || in thermal_genl_event_cdev_add() 183 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, p->cdev_id)) in thermal_genl_event_cdev_delete() 192 p->cdev_id) || in thermal_genl_event_cdev_state_update() 414 struct param p = { .cdev_id = cdev->id, .cdev_state = state }; in thermal_notify_cdev_state_update() 421 struct param p = { .cdev_id = cdev->id, .name = cdev->type, in thermal_notify_cdev_add() 429 struct param p = { .cdev_id = cdev->id }; in thermal_notify_cdev_delete()
|
| /linux/drivers/s390/char/ |
| H A D | tape_core.c | 405 DBF_LH(3, "(%08x): Drive set online\n", device->cdev_id); in tape_generic_online() 447 device->cdev_id, device); in tape_generic_offline() 463 device->cdev_id); in tape_generic_offline() 468 DBF_LH(3, "(%08x): Drive set offline.\n", device->cdev_id); in tape_generic_offline() 584 device->cdev_id = devid_to_int(&dev_id); in tape_generic_probe() 624 DBF_LH(3, "(%08x): tape_generic_remove(%p)\n", device->cdev_id, cdev); in tape_generic_remove() 652 device->cdev_id); in tape_generic_remove() 859 DBF_LH(6, "%08x: Long busy timeout.\n", device->cdev_id); in tape_long_busy_timeout() 905 DBF_EVENT(3, "DEVICE: %08x OP\t: %s\n", device->cdev_id, op); in tape_dump_sense_dbf() 1056 DBF_EVENT(3, "IO stopped on %08x\n", device->cdev_id); in tape_do_io_interruptible() [all …]
|
| H A D | tape_3490.c | 200 DBF_EVENT(3, "unsol.irq! dev end: %08x\n", device->cdev_id); in tape_3490_unsolicited_irq()
|
| /linux/tools/thermal/tmon/ |
| H A D | sysfs.c | 205 int cdev_id; in find_tzone_cdev() local 222 cdev_id = get_instance_id(cdev_name_linked, 1, in find_tzone_cdev() 225 cdev_name, cdev_name_linked, cdev_id); in find_tzone_cdev() 226 tzi->cdev_binding |= (1 << cdev_id); in find_tzone_cdev() 240 tzi->trip_binding[cdev_id] |= 1 << trip_instance; in find_tzone_cdev() 243 tzi->trip_binding[cdev_id], in find_tzone_cdev() 244 cdev_id); in find_tzone_cdev()
|
| H A D | tui.c | 446 int cdev_id = 0; in handle_input_choice() local 451 cdev_id = ch - base; in handle_input_choice() 452 if (ptdata.nr_cooling_dev == cdev_id) in handle_input_choice() 456 ptdata.cdi[cdev_id].type, in handle_input_choice() 457 ptdata.cdi[cdev_id].instance); in handle_input_choice() 459 handle_input_val(cdev_id); in handle_input_choice()
|
| /linux/tools/lib/thermal/include/ |
| H A D | thermal.h | 39 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg); 40 int (*cdev_delete)(int cdev_id, void *arg); 41 int (*cdev_update)(int cdev_id, int cur_state, void *arg);
|