Searched refs:msg_node (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/arch/powerpc/platforms/powernv/ |
D | opal-memory-errors.c | 58 struct OpalMsgNode *msg_node; in handle_memory_error() local 62 msg_node = list_entry(opal_memory_err_list.next, in handle_memory_error() 64 list_del(&msg_node->list); in handle_memory_error() 68 &msg_node->msg.params[0]; in handle_memory_error() 70 kfree(msg_node); in handle_memory_error() 91 struct OpalMsgNode *msg_node; in opal_memory_err_event() local 96 msg_node = kzalloc(sizeof(*msg_node), GFP_ATOMIC); in opal_memory_err_event() 97 if (!msg_node) { in opal_memory_err_event() 102 memcpy(&msg_node->msg, msg, sizeof(msg_node->msg)); in opal_memory_err_event() 105 list_add(&msg_node->list, &opal_memory_err_list); in opal_memory_err_event()
|
D | opal-hmi.c | 274 struct OpalHmiEvtNode *msg_node; in hmi_event_handler() local 281 msg_node = list_entry(opal_hmi_evt_list.next, in hmi_event_handler() 283 list_del(&msg_node->list); in hmi_event_handler() 286 hmi_evt = (struct OpalHMIEvent *) &msg_node->hmi_evt; in hmi_event_handler() 289 kfree(msg_node); in hmi_event_handler() 335 struct OpalHmiEvtNode *msg_node; in opal_handle_hmi_event() local 345 msg_node = kzalloc(sizeof(*msg_node), GFP_ATOMIC); in opal_handle_hmi_event() 346 if (!msg_node) { in opal_handle_hmi_event() 350 memcpy(&msg_node->hmi_evt, hmi_evt, sizeof(*hmi_evt)); in opal_handle_hmi_event() 353 list_add(&msg_node->list, &opal_hmi_evt_list); in opal_handle_hmi_event()
|
D | opal.c | 254 struct opal_msg_node *msg_node; in queue_replay_msg() local 257 msg_node = kzalloc(sizeof(*msg_node), GFP_ATOMIC); in queue_replay_msg() 258 if (msg_node) { in queue_replay_msg() 259 INIT_LIST_HEAD(&msg_node->list); in queue_replay_msg() 260 memcpy(&msg_node->msg, msg, sizeof(struct opal_msg)); in queue_replay_msg() 261 list_add_tail(&msg_node->list, &msg_list); in queue_replay_msg() 273 struct opal_msg_node *msg_node, *tmp; in dequeue_replay_msg() local 275 list_for_each_entry_safe(msg_node, tmp, &msg_list, list) { in dequeue_replay_msg() 276 if (be32_to_cpu(msg_node->msg.msg_type) != msg_type) in dequeue_replay_msg() 281 &msg_node->msg); in dequeue_replay_msg() [all …]
|
/Linux-v6.6/drivers/macintosh/ |
D | smu.c | 83 struct device_node *msg_node; member 535 smu->msg_node = of_find_node_by_name(NULL, "smu-interrupt"); in smu_init() 536 if (smu->msg_node == NULL) in smu_init() 538 if (of_property_read_reg(smu->msg_node, 0, &data, NULL)) { in smu_init() 539 of_node_put(smu->msg_node); in smu_init() 540 smu->msg_node = NULL; in smu_init() 568 of_node_put(smu->msg_node); in smu_init() 593 if (smu->msg_node) { in smu_late_init() 594 smu->msg_irq = irq_of_parse_and_map(smu->msg_node, 0); in smu_late_init() 597 smu->msg_node); in smu_late_init()
|