/linux-6.1.9/drivers/thermal/ |
D | thermal_netlink.h | 27 int thermal_notify_cdev_state_update(int cdev_id, int state); 28 int thermal_notify_cdev_add(int cdev_id, const char *name, int max_state); 29 int thermal_notify_cdev_delete(int cdev_id); 87 static inline int thermal_notify_cdev_state_update(int cdev_id, int state) in thermal_notify_cdev_state_update() argument 92 static inline int thermal_notify_cdev_add(int cdev_id, const char *name, in thermal_notify_cdev_add() argument 98 static inline int thermal_notify_cdev_delete(int cdev_id) in thermal_notify_cdev_delete() argument
|
D | thermal_netlink.c | 58 int cdev_id; member 164 p->cdev_id) || in thermal_genl_event_cdev_add() 174 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, p->cdev_id)) in thermal_genl_event_cdev_delete() 183 p->cdev_id) || in thermal_genl_event_cdev_state_update() 374 int thermal_notify_cdev_state_update(int cdev_id, int cdev_state) in thermal_notify_cdev_state_update() argument 376 struct param p = { .cdev_id = cdev_id, .cdev_state = cdev_state }; in thermal_notify_cdev_state_update() 381 int thermal_notify_cdev_add(int cdev_id, const char *name, int cdev_max_state) in thermal_notify_cdev_add() argument 383 struct param p = { .cdev_id = cdev_id, .name = name, in thermal_notify_cdev_add() 389 int thermal_notify_cdev_delete(int cdev_id) in thermal_notify_cdev_delete() argument 391 struct param p = { .cdev_id = cdev_id }; in thermal_notify_cdev_delete()
|
/linux-6.1.9/tools/thermal/thermal-engine/ |
D | thermal-engine.c | 167 static int cdev_add(const char *name, int cdev_id, int max_state, __maybe_unused void *arg) in cdev_add() argument 169 INFO("Cooling device '%s'/%d (max state=%d) added\n", name, cdev_id, max_state); in cdev_add() 174 static int cdev_delete(int cdev_id, __maybe_unused void *arg) in cdev_delete() argument 176 INFO("Cooling device %d deleted", cdev_id); in cdev_delete() 181 static int cdev_update(int cdev_id, int cur_state, __maybe_unused void *arg) in cdev_update() argument 183 INFO("cdev:%d state:%d\n", cdev_id, cur_state); in cdev_update()
|
/linux-6.1.9/drivers/s390/char/ |
D | tape_core.c | 406 DBF_LH(3, "(%08x): Drive set online\n", device->cdev_id); in tape_generic_online() 448 device->cdev_id, device); in tape_generic_offline() 464 device->cdev_id); in tape_generic_offline() 469 DBF_LH(3, "(%08x): Drive set offline.\n", device->cdev_id); in tape_generic_offline() 585 device->cdev_id = devid_to_int(&dev_id); in tape_generic_probe() 625 DBF_LH(3, "(%08x): tape_generic_remove(%p)\n", device->cdev_id, cdev); in tape_generic_remove() 653 device->cdev_id); in tape_generic_remove() 830 DBF_LH(6, "%08x: Long busy timeout.\n", device->cdev_id); in tape_long_busy_timeout() 876 DBF_EVENT(3, "DEVICE: %08x OP\t: %s\n", device->cdev_id, op); in tape_dump_sense_dbf() 1027 DBF_EVENT(3, "IO stopped on %08x\n", device->cdev_id); in tape_do_io_interruptible() [all …]
|
D | tape_std.c | 45 device->cdev_id); in tape_std_assign_timeout() 49 "%i\n", device->cdev_id, rc); in tape_std_assign_timeout() 80 device->cdev_id); in tape_std_assign() 82 DBF_EVENT(3, "%08x: Tape assigned\n", device->cdev_id); in tape_std_assign() 99 device->cdev_id); in tape_std_unassign() 112 DBF_EVENT(3, "%08x: Unassign failed\n", device->cdev_id); in tape_std_unassign() 114 DBF_EVENT(3, "%08x: Tape unassigned\n", device->cdev_id); in tape_std_unassign()
|
D | tape_3590.c | 807 DBF_EVENT(3, "unsol.irq! tape ready: %08x\n", device->cdev_id); in tape_3590_unsolicited_irq() 811 DBF_EVENT(3, "unsol.irq! dev end: %08x\n", device->cdev_id); in tape_3590_unsolicited_irq() 917 device->cdev_id); in tape_3590_erp_read_alternate() 921 device->cdev_id); in tape_3590_erp_read_alternate() 1363 device->cdev_id); in tape_3590_unit_check() 1367 device->cdev_id); in tape_3590_unit_check() 1370 DBF_EVENT(2, "(%08x): End of Data Mark\n", device->cdev_id); in tape_3590_unit_check() 1375 device->cdev_id); in tape_3590_unit_check() 1379 device->cdev_id); in tape_3590_unit_check() 1394 DBF_EVENT(6, "(%08x): LONG BUSY\n", device->cdev_id); in tape_3590_unit_check() [all …]
|
D | tape.h | 184 int cdev_id; member
|
D | tape_34xx.c | 230 DBF_EVENT(3, "unsol.irq! dev end: %08x\n", device->cdev_id); in tape_34xx_unsolicited_irq()
|
/linux-6.1.9/tools/thermal/tmon/ |
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()
|
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-6.1.9/tools/lib/thermal/include/ |
D | thermal.h | 30 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg); 31 int (*cdev_delete)(int cdev_id, void *arg); 32 int (*cdev_update)(int cdev_id, int cur_state, void *arg);
|