Home
last modified time | relevance | path

Searched refs:cl_device (Results 1 – 8 of 8) sorted by relevance

/drivers/platform/chrome/
Dcros_ec_ishtp.c74 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device)
125 struct ishtp_cl_device *cl_device; member
349 static void ish_event_cb(struct ishtp_cl_device *cl_device) in ish_event_cb() argument
352 struct ishtp_cl *cros_ish_cl = ishtp_get_drvdata(cl_device); in ish_event_cb()
414 ishtp_register_event_cb(client_data->cl_device, ish_event_cb); in cros_ish_init()
595 struct ishtp_cl_device *cl_device; in reset_handler() local
603 cl_device = client_data->cl_device; in reset_handler()
610 cros_ish_cl = ishtp_cl_allocate(cl_device); in reset_handler()
616 ishtp_set_drvdata(cl_device, cros_ish_cl); in reset_handler()
644 static int cros_ec_ishtp_probe(struct ishtp_cl_device *cl_device) in cros_ec_ishtp_probe() argument
[all …]
/drivers/hid/intel-ish-hid/ishtp/
Dbus.c575 void ishtp_get_device(struct ishtp_cl_device *cl_device) in ishtp_get_device() argument
577 cl_device->reference_count++; in ishtp_get_device()
587 void ishtp_put_device(struct ishtp_cl_device *cl_device) in ishtp_put_device() argument
589 cl_device->reference_count--; in ishtp_put_device()
600 void ishtp_set_drvdata(struct ishtp_cl_device *cl_device, void *data) in ishtp_set_drvdata() argument
602 cl_device->driver_data = data; in ishtp_set_drvdata()
614 void *ishtp_get_drvdata(struct ishtp_cl_device *cl_device) in ishtp_get_drvdata() argument
616 return cl_device->driver_data; in ishtp_get_drvdata()
647 struct ishtp_cl_device *cl_device; in ishtp_bus_new_client() local
662 cl_device = ishtp_bus_add_device(dev, device_uuid, dev_name); in ishtp_bus_new_client()
[all …]
Dclient.c121 struct ishtp_cl *ishtp_cl_allocate(struct ishtp_cl_device *cl_device) in ishtp_cl_allocate() argument
129 ishtp_cl_init(cl, cl_device->ishtp_dev); in ishtp_cl_allocate()
/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c26 #define cl_data_to_dev(client_data) ishtp_device(client_data->cl_device)
531 dev_info(ishtp_device(client_data->cl_device), in ishtp_enum_enum_devices()
688 ishtp_register_event_cb(client_data->cl_device, ish_cl_event_cb); in hid_ishtp_cl_init()
752 struct ishtp_cl_device *cl_device; in hid_ishtp_cl_reset_handler() local
759 cl_device = client_data->cl_device; in hid_ishtp_cl_reset_handler()
763 dev_dbg(ishtp_device(client_data->cl_device), "%s\n", __func__); in hid_ishtp_cl_reset_handler()
767 hid_ishtp_cl = ishtp_cl_allocate(cl_device); in hid_ishtp_cl_reset_handler()
771 ishtp_set_drvdata(cl_device, hid_ishtp_cl); in hid_ishtp_cl_reset_handler()
811 static int hid_ishtp_cl_probe(struct ishtp_cl_device *cl_device) in hid_ishtp_cl_probe() argument
817 if (!cl_device) in hid_ishtp_cl_probe()
[all …]
Dishtp-fw-loader.c214 struct ishtp_cl_device *cl_device; member
242 #define cl_data_to_dev(client_data) ishtp_device((client_data)->cl_device)
259 struct device *devc = ishtp_get_pci_device(client_data->cl_device); in get_firmware_variant()
449 static void loader_cl_event_cb(struct ishtp_cl_device *cl_device) in loader_cl_event_cb() argument
452 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device); in loader_cl_event_cb()
644 struct device *devc = ishtp_get_pci_device(client_data->cl_device); in ish_fw_xfer_direct_dma()
884 ishtp_register_event_cb(client_data->cl_device, loader_cl_event_cb); in loader_init()
909 struct ishtp_cl_device *cl_device; in reset_handler() local
915 cl_device = client_data->cl_device; in reset_handler()
922 loader_ishtp_cl = ishtp_cl_allocate(cl_device); in reset_handler()
[all …]
Dishtp-hid.h139 struct ishtp_cl_device *cl_device; member
Dishtp-hid.c233 hid->dev.parent = ishtp_device(client_data->cl_device); in ishtp_hid_probe()
/drivers/platform/x86/intel/
Dishtp_eclite.c40 #define cl_data_to_dev(opr_dev) ishtp_device((opr_dev)->cl_device)
79 struct ishtp_cl_device *cl_device; member
423 static void ecl_ishtp_cl_event_cb(struct ishtp_cl_device *cl_device) in ecl_ishtp_cl_event_cb() argument
425 struct ishtp_cl *ecl_ishtp_cl = ishtp_get_drvdata(cl_device); in ecl_ishtp_cl_event_cb()
502 struct ishtp_cl_device *cl_device; in ecl_ishtp_cl_reset_handler() local
511 cl_device = opr_dev->cl_device; in ecl_ishtp_cl_reset_handler()
516 ecl_ishtp_cl = ishtp_cl_allocate(cl_device); in ecl_ishtp_cl_reset_handler()
520 ishtp_set_drvdata(cl_device, ecl_ishtp_cl); in ecl_ishtp_cl_reset_handler()
538 ishtp_register_event_cb(cl_device, ecl_ishtp_cl_event_cb); in ecl_ishtp_cl_reset_handler()
554 static int ecl_ishtp_cl_probe(struct ishtp_cl_device *cl_device) in ecl_ishtp_cl_probe() argument
[all …]