Lines Matching refs:cl_device
214 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()
926 ishtp_set_drvdata(cl_device, loader_ishtp_cl); in reset_handler()
929 client_data->cl_device = cl_device; in reset_handler()
933 dev_err(ishtp_device(cl_device), "Reset Failed\n"); in reset_handler()
949 static int loader_ishtp_cl_probe(struct ishtp_cl_device *cl_device) in loader_ishtp_cl_probe() argument
955 client_data = devm_kzalloc(ishtp_device(cl_device), in loader_ishtp_cl_probe()
961 loader_ishtp_cl = ishtp_cl_allocate(cl_device); in loader_ishtp_cl_probe()
965 ishtp_set_drvdata(cl_device, loader_ishtp_cl); in loader_ishtp_cl_probe()
968 client_data->cl_device = cl_device; in loader_ishtp_cl_probe()
982 ishtp_get_device(cl_device); in loader_ishtp_cl_probe()
1000 static void loader_ishtp_cl_remove(struct ishtp_cl_device *cl_device) in loader_ishtp_cl_remove() argument
1003 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device); in loader_ishtp_cl_remove()
1016 ishtp_put_device(cl_device); in loader_ishtp_cl_remove()
1027 static int loader_ishtp_cl_reset(struct ishtp_cl_device *cl_device) in loader_ishtp_cl_reset() argument
1030 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device); in loader_ishtp_cl_reset()