Home
last modified time | relevance | path

Searched refs:curr_msg (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/char/ipmi/
Dipmi_si_intf.c133 struct ipmi_smi_msg *curr_msg; member
294 struct ipmi_smi_msg *msg = smi_info->curr_msg; in return_hosed_msg()
306 smi_info->curr_msg = NULL; in return_hosed_msg()
315 smi_info->curr_msg = NULL; in start_next_msg()
320 smi_info->curr_msg = smi_info->waiting_msg; in start_next_msg()
331 smi_info->curr_msg->data, in start_next_msg()
332 smi_info->curr_msg->data_size); in start_next_msg()
391 smi_info->curr_msg->data[0] = (IPMI_NETFN_APP_REQUEST << 2); in start_getting_msg_queue()
392 smi_info->curr_msg->data[1] = IPMI_GET_MSG_CMD; in start_getting_msg_queue()
393 smi_info->curr_msg->data_size = 2; in start_getting_msg_queue()
[all …]
Dipmi_ssif.c107 && (ssif)->curr_msg == NULL)
205 struct ipmi_smi_msg *curr_msg; member
395 ssif_info->curr_msg = NULL; in check_start_send()
415 ssif_info->curr_msg = msg; in start_event_fetch()
438 ssif_info->curr_msg = msg; in start_recv_msg_fetch()
604 } else if (ssif_info->curr_msg) { in ssif_alert()
749 msg = ssif_info->curr_msg; in msg_done_handler()
759 ssif_info->curr_msg = NULL; in msg_done_handler()
1050 ssif_info->curr_msg = NULL; in start_next_msg()
1055 ssif_info->curr_msg = ssif_info->waiting_msg; in start_next_msg()
[all …]
Dipmi_msghandler.c511 struct ipmi_smi_msg *curr_msg; member
1870 if (intf->curr_msg) { in smi_add_send_msg()
1877 intf->curr_msg = smi_msg; in smi_add_send_msg()
3734 while (intf->curr_msg && !list_empty(&intf->waiting_rcv_msgs)) { in cleanup_smi_msgs()
4833 if (intf->curr_msg == NULL && !intf->in_shutdown) { in smi_recv_work()
4845 intf->curr_msg = newmsg; in smi_recv_work()
4883 if (msg == intf->curr_msg) in ipmi_smi_msg_received()
4884 intf->curr_msg = NULL; in ipmi_smi_msg_received()
/linux-6.12.1/drivers/i2c/busses/
Di2c-gxp.c84 struct i2c_msg *curr_msg; member
100 drvdata->buf = drvdata->curr_msg->buf; in gxp_i2c_start()
101 drvdata->buf_remaining = drvdata->curr_msg->len; in gxp_i2c_start()
104 value = drvdata->curr_msg->addr << 9; in gxp_i2c_start()
107 value |= drvdata->curr_msg->flags & I2C_M_RD ? RW_CMD | START_CMD : START_CMD; in gxp_i2c_start()
121 drvdata->curr_msg = msgs; in gxp_i2c_master_xfer()
207 drvdata->buf = drvdata->curr_msg->buf; in gxp_i2c_restart()
208 drvdata->buf_remaining = drvdata->curr_msg->len; in gxp_i2c_restart()
210 value = drvdata->curr_msg->addr << 9; in gxp_i2c_restart()
212 if (drvdata->curr_msg->flags & I2C_M_RD) { in gxp_i2c_restart()
[all …]
Di2c-bcm2835.c65 struct i2c_msg *curr_msg; member
239 struct i2c_msg *msg = i2c_dev->curr_msg; in bcm2835_i2c_start_transfer()
264 i2c_dev->curr_msg = NULL; in bcm2835_i2c_finish_transfer()
294 if (!i2c_dev->curr_msg) { in bcm2835_i2c_isr()
296 } else if (i2c_dev->curr_msg->flags & I2C_M_RD) { in bcm2835_i2c_isr()
317 i2c_dev->curr_msg++; in bcm2835_i2c_isr()
359 i2c_dev->curr_msg = msgs; in bcm2835_i2c_xfer()
Di2c-mpc.c95 int curr_msg; member
508 msg = &i2c->msgs[i2c->curr_msg]; in mpc_i2c_do_action()
591 i2c->curr_msg++; in mpc_i2c_do_action()
594 if (i2c->curr_msg == i2c->num_msgs) { in mpc_i2c_do_action()
674 i2c->curr_msg = 0; in mpc_i2c_execute_msg()