Searched refs:me_clients (Results 1 – 6 of 6) sorted by relevance
99 if (i >= 0 && !dev->me_clients[i].props.fixed_address) { in mei_ioctl_connect_client()100 cl->me_client_id = dev->me_clients[i].client_id; in mei_ioctl_connect_client()107 dev->me_clients[i].props.protocol_version); in mei_ioctl_connect_client()109 dev->me_clients[i].props.max_msg_length); in mei_ioctl_connect_client()141 dev->me_clients[i].props.max_msg_length; in mei_ioctl_connect_client()143 dev->me_clients[i].props.protocol_version; in mei_ioctl_connect_client()157 client->max_msg_length = dev->me_clients[i].props.max_msg_length; in mei_ioctl_connect_client()158 client->protocol_version = dev->me_clients[i].props.protocol_version; in mei_ioctl_connect_client()277 if (dev->me_clients[i].client_id == in amthi_read()286 if (WARN_ON(dev->me_clients[i].client_id != cl->me_client_id)) in amthi_read()[all …]
434 if (dev->me_clients != NULL) { in mei_allocate_me_clients_storage()435 kfree(dev->me_clients); in mei_allocate_me_clients_storage()436 dev->me_clients = NULL; in mei_allocate_me_clients_storage()449 dev->me_clients = clients; in mei_allocate_me_clients_storage()472 dev->me_clients[client_num].client_id = b; in mei_host_client_properties()473 dev->me_clients[client_num].mei_flow_ctrl_creds = 0; in mei_host_client_properties()529 dev->me_clients[i].props.protocol_name) == 0) { in mei_find_me_client_index()559 priv->me_client_id = dev->me_clients[i].client_id; in mei_find_me_client_update_filext()594 dev->iamthif_mtu = dev->me_clients[i].props.max_msg_length; in mei_host_init_iamthif()596 dev->me_clients[i].props.max_msg_length); in mei_host_init_iamthif()
256 struct mei_me_client *me_cl = &dev->me_clients[i]; in mei_flow_ctrl_creds()288 struct mei_me_client *me_cl = &dev->me_clients[i]; in mei_flow_ctrl_reduce()293 dev->me_clients[i].mei_flow_ctrl_creds--; in mei_flow_ctrl_reduce()
405 struct mei_me_client *me_client = &dev->me_clients[i]; in mei_read()631 if (dev->me_clients[i].client_id == in mei_write()636 if (WARN_ON(dev->me_clients[i].client_id != cl->me_client_id)) { in mei_write()641 (dev->me_clients[i].client_id != in mei_write()645 } else if (length > dev->me_clients[i].props.max_msg_length || in mei_write()699 if (dev->me_clients[i].client_id == in mei_write()703 if (WARN_ON(dev->me_clients[i].client_id != cl->me_client_id)) { in mei_write()711 if (length > dev->me_clients[i].props.max_msg_length || length <= 0) { in mei_write()
487 client = &dev->me_clients[i]; in add_single_flow_creds()704 if (props_res->status || !dev->me_clients) { in mei_irq_thread_read_bus_message()709 if (dev->me_clients[dev->me_client_presentation_num] in mei_irq_thread_read_bus_message()712 dev->me_clients[dev->me_client_presentation_num].props in mei_irq_thread_read_bus_message()
231 struct mei_me_client *me_clients; /* Note: memory has to be allocated */ member