Searched refs:fw_client (Results 1 – 10 of 10) sorted by relevance
173 int ishtp_get_fw_client_id(struct ishtp_fw_client *fw_client) in ishtp_get_fw_client_id() argument175 return fw_client->client_id; in ishtp_get_fw_client_id()244 return(device->fw_client ? guid_equal(&driver->id[0].guid, in ishtp_cl_bus_match()245 &device->fw_client->props.protocol_name) : 0); in ishtp_cl_bus_match()421 device->fw_client = &dev->fw_clients[ in ishtp_bus_add_device()439 device->fw_client = in ishtp_bus_add_device()694 if (cl_device->fw_client && in ishtp_cl_device_bind()695 cl_device->fw_client->client_id == cl->fw_client_id) { in ishtp_cl_device_bind()755 cl_device->fw_client = NULL; in ishtp_bus_remove_all_clients()
549 struct ishtp_fw_client *fw_client; in ishtp_hbm_dispatch() local603 fw_client = &dev->fw_clients[dev->fw_client_presentation_num]; in ishtp_hbm_dispatch()612 if (fw_client->client_id != props_res->address) { in ishtp_hbm_dispatch()615 fw_client->client_id, props_res->address); in ishtp_hbm_dispatch()628 fw_client->props = props_res->client_properties; in ishtp_hbm_dispatch()
40 struct ishtp_fw_client *fw_client; member
21 size_t len = cl->device->fw_client->props.max_msg_length; in ishtp_cl_alloc_rx_ring()59 size_t len = cl->device->fw_client->props.max_msg_length; in ishtp_cl_alloc_tx_ring()
23 size = cl->tx_ring_free_size * cl->device->fw_client->props.max_msg_length; in ishtp_cl_get_tx_free_buffer_size()
80 struct ishtp_fw_client *fw_client; member452 struct ishtp_fw_client *fw_client; in ecl_ishtp_cl_init() local468 fw_client = ishtp_fw_cl_get_client(dev, &ecl_ishtp_id_table[0].guid); in ecl_ishtp_cl_init()469 if (!fw_client) { in ecl_ishtp_cl_init()475 ishtp_get_fw_client_id(fw_client)); in ecl_ishtp_cl_init()
379 struct ishtp_fw_client *fw_client; in cros_ish_init() local395 fw_client = ishtp_fw_cl_get_client(dev, &cros_ec_ishtp_id_table[0].guid); in cros_ish_init()396 if (!fw_client) { in cros_ish_init()404 ishtp_get_fw_client_id(fw_client)); in cros_ish_init()
846 struct ishtp_fw_client *fw_client; in loader_init() local862 fw_client = in loader_init()865 if (!fw_client) { in loader_init()873 ishtp_get_fw_client_id(fw_client)); in loader_init()
646 struct ishtp_fw_client *fw_client; in hid_ishtp_cl_init() local668 fw_client = ishtp_fw_cl_get_client(dev, &hid_ishtp_id_table[0].guid); in hid_ishtp_cl_init()669 if (!fw_client) { in hid_ishtp_cl_init()675 ishtp_get_fw_client_id(fw_client)); in hid_ishtp_cl_init()
119 int ishtp_get_fw_client_id(struct ishtp_fw_client *fw_client);