Home
last modified time | relevance | path

Searched refs:cdev_id (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/thermal/
Dthermal_netlink.h21 int thermal_notify_cdev_state_update(int cdev_id, int state);
22 int thermal_notify_cdev_add(int cdev_id, const char *name, int max_state);
23 int thermal_notify_cdev_delete(int cdev_id);
79 static inline int thermal_notify_cdev_state_update(int cdev_id, int state) in thermal_notify_cdev_state_update() argument
84 static inline int thermal_notify_cdev_add(int cdev_id, const char *name, in thermal_notify_cdev_add() argument
90 static inline int thermal_notify_cdev_delete(int cdev_id) in thermal_notify_cdev_delete() argument
Dthermal_netlink.c53 int cdev_id; member
156 p->cdev_id) || in thermal_genl_event_cdev_add()
166 if (nla_put_u32(p->msg, THERMAL_GENL_ATTR_CDEV_ID, p->cdev_id)) in thermal_genl_event_cdev_delete()
175 p->cdev_id) || in thermal_genl_event_cdev_state_update()
329 int thermal_notify_cdev_state_update(int cdev_id, int cdev_state) in thermal_notify_cdev_state_update() argument
331 struct param p = { .cdev_id = cdev_id, .cdev_state = cdev_state }; in thermal_notify_cdev_state_update()
336 int thermal_notify_cdev_add(int cdev_id, const char *name, int cdev_max_state) in thermal_notify_cdev_add() argument
338 struct param p = { .cdev_id = cdev_id, .name = name, in thermal_notify_cdev_add()
344 int thermal_notify_cdev_delete(int cdev_id) in thermal_notify_cdev_delete() argument
346 struct param p = { .cdev_id = cdev_id }; in thermal_notify_cdev_delete()
/Linux-v5.10/drivers/s390/char/
Dtape_core.c406 DBF_LH(3, "(%08x): Drive set online\n", device->cdev_id); in tape_generic_online()
453 device->cdev_id, device); in tape_generic_pm_suspend()
475 DBF_LH(3, "(%08x): Drive suspended.\n", device->cdev_id); in tape_generic_pm_suspend()
497 device->cdev_id, device); in tape_generic_offline()
513 device->cdev_id); in tape_generic_offline()
518 DBF_LH(3, "(%08x): Drive set offline.\n", device->cdev_id); in tape_generic_offline()
634 device->cdev_id = devid_to_int(&dev_id); in tape_generic_probe()
674 DBF_LH(3, "(%08x): tape_generic_remove(%p)\n", device->cdev_id, cdev); in tape_generic_remove()
702 device->cdev_id); in tape_generic_remove()
879 DBF_LH(6, "%08x: Long busy timeout.\n", device->cdev_id); in tape_long_busy_timeout()
[all …]
Dtape_std.c45 device->cdev_id); in tape_std_assign_timeout()
49 "%i\n", device->cdev_id, rc); in tape_std_assign_timeout()
81 device->cdev_id); in tape_std_assign()
83 DBF_EVENT(3, "%08x: Tape assigned\n", device->cdev_id); in tape_std_assign()
100 device->cdev_id); in tape_std_unassign()
113 DBF_EVENT(3, "%08x: Unassign failed\n", device->cdev_id); in tape_std_unassign()
115 DBF_EVENT(3, "%08x: Tape unassigned\n", device->cdev_id); in tape_std_unassign()
Dtape_3590.c807 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 …]
Dtape.h184 int cdev_id; member
Dtape_34xx.c230 DBF_EVENT(3, "unsol.irq! dev end: %08x\n", device->cdev_id); in tape_34xx_unsolicited_irq()
/Linux-v5.10/tools/thermal/tmon/
Dsysfs.c204 int cdev_id; in find_tzone_cdev() local
220 cdev_id = get_instance_id(cdev_name_linked, 1, in find_tzone_cdev()
223 cdev_name, cdev_name_linked, cdev_id); in find_tzone_cdev()
224 tzi->cdev_binding |= (1 << cdev_id); in find_tzone_cdev()
238 tzi->trip_binding[cdev_id] |= 1 << trip_instance; in find_tzone_cdev()
241 tzi->trip_binding[cdev_id], in find_tzone_cdev()
242 cdev_id); in find_tzone_cdev()
Dtui.c446 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()