Home
last modified time | relevance | path

Searched refs:fw_client (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c167 * @fw_client: firmware client used to fetch the ID
173 int ishtp_get_fw_client_id(struct ishtp_fw_client *fw_client) in ishtp_get_fw_client_id() argument
175 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 in ishtp_bus_remove_all_clients()
[all...]
H A Dhbm.c549 struct ishtp_fw_client *fw_client; in ishtp_hbm_dispatch() local
603 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()
H A Dbus.h24 * @fw_client: fw_client pointer to get fw information like protocol name
40 struct ishtp_fw_client *fw_client; member
H A Dclient-buffers.c21 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()
H A Dclient.c23 size = cl->tx_ring_free_size * cl->device->fw_client->props.max_msg_length; in ishtp_cl_get_tx_free_buffer_size()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c172 int ishtp_get_fw_client_id(struct ishtp_fw_client *fw_client) in ishtp_get_fw_client_id() argument
174 return fw_client->client_id; in ishtp_get_fw_client_id()
244 &device->fw_client->props.protocol_name); in ishtp_cl_bus_match()
436 device->fw_client = &dev->fw_clients[ in ishtp_bus_add_device()
454 device->fw_client = in ishtp_bus_add_device()
709 if (cl_device->fw_client && in ishtp_cl_device_bind()
710 cl_device->fw_client->client_id == cl->fw_client_id) { in ishtp_cl_device_bind()
770 cl_device->fw_client = NULL; in ishtp_bus_remove_all_clients()
H A Dhbm.c549 struct ishtp_fw_client *fw_client; in ishtp_hbm_dispatch() local
603 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()
H A Dbus.h24 * @fw_client: fw_client pointer to get fw information like protocol name
40 struct ishtp_fw_client *fw_client; member
H A Dclient-buffers.c21 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()
H A Dclient.c22 size = cl->tx_ring_free_size * cl->device->fw_client->props.max_msg_length; in ishtp_cl_get_tx_free_buffer_size()
/kernel/linux/linux-6.6/drivers/platform/x86/intel/
H A Dishtp_eclite.c80 struct ishtp_fw_client *fw_client; member
452 struct ishtp_fw_client *fw_client; in ecl_ishtp_cl_init() local
468 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()
/kernel/linux/linux-5.10/drivers/platform/chrome/
H A Dcros_ec_ishtp.c380 struct ishtp_fw_client *fw_client; in cros_ish_init() local
396 fw_client = ishtp_fw_cl_get_client(dev, &cros_ish_guid); in cros_ish_init()
397 if (!fw_client) { in cros_ish_init()
405 ishtp_get_fw_client_id(fw_client)); in cros_ish_init()
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dcros_ec_ishtp.c379 struct ishtp_fw_client *fw_client; in cros_ish_init() local
395 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()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/
H A Dishtp-fw-loader.c841 struct ishtp_fw_client *fw_client; in loader_init() local
857 fw_client = in loader_init()
860 if (!fw_client) { in loader_init()
868 ishtp_get_fw_client_id(fw_client)); in loader_init()
H A Dishtp-hid-client.c638 struct ishtp_fw_client *fw_client; in hid_ishtp_cl_init() local
660 fw_client = ishtp_fw_cl_get_client(dev, &hid_ishtp_guid); in hid_ishtp_cl_init()
661 if (!fw_client) { in hid_ishtp_cl_init()
667 ishtp_get_fw_client_id(fw_client)); in hid_ishtp_cl_init()
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/
H A Dishtp-fw-loader.c846 struct ishtp_fw_client *fw_client; in loader_init() local
862 fw_client = in loader_init()
865 if (!fw_client) { in loader_init()
873 ishtp_get_fw_client_id(fw_client)); in loader_init()
H A Dishtp-hid-client.c646 struct ishtp_fw_client *fw_client; in hid_ishtp_cl_init() local
668 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()
/kernel/linux/linux-5.10/include/linux/
H A Dintel-ish-client-if.h111 int ishtp_get_fw_client_id(struct ishtp_fw_client *fw_client);
/kernel/linux/linux-6.6/include/linux/
H A Dintel-ish-client-if.h119 int ishtp_get_fw_client_id(struct ishtp_fw_client *fw_client);

Completed in 17 milliseconds