Searched refs:status_msg (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/platform/chrome/
H A Dcros_ec_proto.c70 struct cros_ec_command *status_msg; send_command() local
73 status_msg = kmalloc(sizeof(*status_msg) + sizeof(*status), send_command()
75 if (!status_msg) send_command()
78 status_msg->version = 0; send_command()
79 status_msg->command = EC_CMD_GET_COMMS_STATUS; send_command()
80 status_msg->insize = sizeof(*status); send_command()
81 status_msg->outsize = 0; send_command()
90 ret = ec_dev->cmd_xfer(ec_dev, status_msg); send_command()
94 msg->result = status_msg->result; send_command()
95 if (status_msg->result != EC_RES_SUCCESS) send_command()
99 status_msg->data; send_command()
104 kfree(status_msg); send_command()
/linux-4.4.14/drivers/scsi/
H A Dstex.c228 struct status_msg { struct
313 struct status_msg *status_buffer;
366 static struct status_msg *stex_get_status(struct st_hba *hba) stex_get_status()
368 struct status_msg *status = hba->status_buffer + hba->status_tail; stex_get_status()
721 struct status_msg *resp, unsigned int variable) stex_copy_data()
736 struct st_ccb *ccb, struct status_msg *resp) stex_check_cmd()
747 struct status_msg *resp; stex_mu_intr()
861 struct status_msg *resp; stex_ss_mu_intr()
996 h->status_sz = cpu_to_le16(sizeof(struct status_msg)); stex_common_handshake()
1070 h->status_sz = cpu_to_le16(sizeof(struct status_msg)); stex_ss_handshake()
1566 cp_offset = sts_offset + (ci->sts_count+1) * sizeof(struct status_msg); stex_probe()
1606 hba->status_buffer = (struct status_msg *)(hba->dma_mem + sts_offset); stex_probe()

Completed in 107 milliseconds